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:

template.html
21 21
			<!-- BEGIN group_list_block -->
22 22
			<li>
23 23
			<input type="checkbox" name="admin_groups[]" id="admin_group_{ID}" value="{ID}"{CHECKED}{DISABLED} />
24
			<a href="javascript: toggle_checkbox('admin_group_{TOGGLE}');" style="color: #{LINK_COLOR}; cursor: {CURSOR};">{NAME}</a>
24
			<label for="admin_group_{TOGGLE}">{NAME}</label>
25 25
			</li>
26 26
			<!-- END group_list_block -->
27 27
		</ul>
......
33 33
				<!-- BEGIN group_list_block2 -->
34 34
				<li>
35 35
				<input type="checkbox" name="viewing_groups[]" id="viewing_group_{ID}" value="{ID}"{CHECKED}{DISABLED} />
36
				<a href="javascript: toggle_checkbox('viewing_group_{TOGGLE}');" style="color: #{LINK_COLOR}; cursor: {CURSOR};">{NAME}</a>
36
				<label for="viewing_group_{TOGGLE}">{NAME}</label>
37 37
				</li>
38 38
				<!-- END group_list_block2 -->
39 39
			</ul>
......
46 46
				<!-- BEGIN group_list_block2 -->
47 47
				<li>
48 48
				<input type="checkbox" name="viewing_groups[]" id="viewing_group_{ID}" value="{ID}"{CHECKED}{DISABLED} />
49
				<a href="javascript: toggle_checkbox('viewing_group_{TOGGLE}');" style="color: #{LINK_COLOR}; cursor: {CURSOR};">{NAME}</a>
49
				<label for="viewing_group_{TOGGLE}">{NAME}</label>
50 50
				</li>
51 51
				<!-- END group_list_block2 -->
52 52
			</ul>

Also available in: Unified diff