From: <sy...@us...> - 2007-02-28 18:11:17
|
Update of /cvsroot/tikiwiki/tiki/templates In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv32448/templates Modified Files: tiki-objectpermissions.tpl Log Message: [FIX]perms: add in objectpermissions the ability to assign/remove to all the sub-structure as it was in pagepermissions Index: tiki-objectpermissions.tpl =================================================================== RCS file: /cvsroot/tikiwiki/tiki/templates/tiki-objectpermissions.tpl,v retrieving revision 1.20 retrieving revision 1.21 diff -u -d -r1.20 -r1.21 --- tiki-objectpermissions.tpl 28 Feb 2007 15:19:54 -0000 1.20 +++ tiki-objectpermissions.tpl 28 Feb 2007 18:11:16 -0000 1.21 @@ -34,6 +34,9 @@ <div> {tr}Perform action with checked:{/tr} <input type="image" name="delsel" src='pics/icons/cross.png' alt='{tr}delete{/tr}' title='{tr}delete{/tr}' /> +{if isset($inStructure)} +{tr}and also to all pages of the sub-structure:{/tr} <input name="removestructure" type="checkbox" /> +{/if} </div> <h2>{tr}Assign permissions to this object{/tr}</h2> @@ -61,6 +64,9 @@ {/section} </select> <input type="submit" name="assign" value="{tr}assign{/tr}" /> +{if ($objectType eq 'wiki' or $objectType eq 'wiki page') and !empty($inStructure)} +{tr}and also to all pages of the sub-structure:{/tr} <input name="assignstructure" type="checkbox" /> +{/if} <br /><br /> <div class="button2"> <a href="#" onclick="javascript:flip('edithelpzone'); return false;" class="linkbut">{tr}perms help{/tr}</a> |