Changeset 12825 for trunk/admin
- Timestamp:
- Jan 2, 2012, 4:55:47 PM (13 years ago)
- Location:
- trunk/admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/cat_perm.php
r12020 r12825 149 149 pwg_query($query); 150 150 } 151 else if (isset($_POST['grant_users_submit'])) 151 else if (isset($_POST['grant_users_submit']) 152 and isset($_POST['grant_users']) 153 and count($_POST['grant_users']) > 0) 152 154 { 153 155 add_permission_on_category($page['cat'], $_POST['grant_users']); -
trunk/admin/themes/default/template/cat_perm.tpl
r12020 r12825 26 26 {/foreach} 27 27 </ul> 28 <input class="submit" type="submit" name="grant_groups_submit" value="{'Grant selected groups'|@translate}"> 28 29 <label><input type="checkbox" name="apply_on_sub">{'Apply to sub-albums'|@translate}</label> 29 <input class="submit" type="submit" name="grant_groups_submit" value="{'Grant selected groups'|@translate}">30 30 </fieldset> 31 31 … … 60 60 {/foreach} 61 61 </ul> 62 <input class="submit" type="submit" name="grant_users_submit" value="{'Grant selected users'|@translate}"> 62 63 <label><input type="checkbox" name="apply_on_sub">{'Apply to sub-albums'|@translate}</label> 63 <input class="submit" type="submit" name="grant_users_submit" value="{'Grant selected users'|@translate}">64 64 </fieldset> 65 65
Note: See TracChangeset
for help on using the changeset viewer.