Project

General

Profile

« Previous | Next » 

Revision 240

Added by stefan about 19 years ago

Applied aportale's patch to use label instead of javascript toggle code

View differences:

settings.html
51 51
			<!-- BEGIN group_list_block -->
52 52
			<li>
53 53
			<input type="checkbox" name="admin_groups[]" id="admin_group_{ID}" value="{ID}"{CHECKED}{DISABLED} />
54
			<a href="javascript: toggle_checkbox('admin_group_{TOGGLE}');" style="color: #{LINK_COLOR}; cursor: {CURSOR};">{NAME}</a>
54
			<label for="admin_group_{TOGGLE}">{NAME}</label>
55 55
			</li>
56 56
			<!-- END group_list_block -->
57 57
		</ul>
......
63 63
				<!-- BEGIN group_list_block2 -->
64 64
				<li>
65 65
				<input type="checkbox" name="viewing_groups[]" id="viewing_group_{ID}" value="{ID}"{CHECKED}{DISABLED} />
66
				<a href="javascript: toggle_checkbox('viewing_group_{TOGGLE}');" style="color: #{LINK_COLOR}; cursor: {CURSOR};">{NAME}</a>
66
				<label for="viewing_group_{TOGGLE}">{NAME}</label>
67 67
				</li>
68 68
				<!-- END group_list_block2 -->
69 69
			</ul>
......
76 76
				<!-- BEGIN group_list_block2 -->
77 77
				<li>
78 78
				<input type="checkbox" name="viewing_groups[]" id="viewing_group_{ID}" value="{ID}"{CHECKED}{DISABLED} />
79
				<a href="javascript: toggle_checkbox('viewing_group_{TOGGLE}');" style="color: #{LINK_COLOR}; cursor: {CURSOR};">{NAME}</a>
79
				<label for="viewing_group_{TOGGLE}">{NAME}</label>
80 80
				</li>
81 81
				<!-- END group_list_block2 -->
82 82
			</ul>

Also available in: Unified diff