From: <te...@us...> - 2004-06-18 20:55:21
|
Update of /cvsroot/tikiwiki/tiki/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14960/templates Modified Files: tiki-categpermissions.tpl Log Message: added option to recursively assign/remove categ permission; recursively assigning categ perms is recommended for best performance Index: tiki-categpermissions.tpl =================================================================== RCS file: /cvsroot/tikiwiki/tiki/templates/tiki-categpermissions.tpl,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- tiki-categpermissions.tpl 8 Jun 2004 17:41:56 -0000 1.2 +++ tiki-categpermissions.tpl 18 Jun 2004 20:55:12 -0000 1.3 @@ -14,7 +14,8 @@ <td class="{cycle advance=false}">{$category_perms[pg].groupName}</td> <td class="{cycle advance=false}">{$category_perms[pg].permName}</td> <td class="{cycle}"> - (<a class="link" href="tiki-categpermissions.php?referer={$referer}&action=remove&objectName={$objectName}&objectId={$objectId}&objectType={$objectType}&permType={$permType}&categId={$categId}&perm={$category_perms[pg].permName}&group={$category_perms[pg].groupName}">{tr}remove from this category{/tr}</a>) + (<a class="link" href="tiki-categpermissions.php?referer={$referer}&action=remove_all&objectName={$objectName}&objectId={$objectId}&objectType={$objectType}&permType={$permType}&categId={$categId}&perm={$category_perms[pg].permName}&group={$category_perms[pg].groupName}">{tr}remove from this category & all its children{/tr}</a>) + (<a class="link" href="tiki-categpermissions.php?referer={$referer}&action=remove&objectName={$objectName}&objectId={$objectId}&objectType={$objectType}&permType={$permType}&categId={$categId}&perm={$category_perms[pg].permName}&group={$category_perms[pg].groupName}">{tr}remove from this category only{/tr}</a>) </td></tr> {sectionelse} <tr><td>{tr}No individual permissions global permissions apply{/tr}</td></tr> @@ -36,5 +37,8 @@ {/section} </select> {tr}for{/tr} -<input type="submit" name="assign" value="{tr}this category{/tr}" /> -</form> \ No newline at end of file +<input type="submit" name="assign_all" value="{tr}this category & all its children{/tr}" /> +or +<input type="submit" name="assign" value="{tr}this category only{/tr}" /> +</form> +<div class="simplebox highlight">Assigning permissions for <b>all children</b> is recommended for best performance.</div> \ No newline at end of file |