From: <ri...@us...> - 2010-10-15 16:40:51
|
Revision: 30048 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=30048&view=rev Author: ricks99 Date: 2010-10-15 16:40:45 +0000 (Fri, 15 Oct 2010) Log Message: ----------- [ENH] forward port of 30047 from branches/6.x Modified Paths: -------------- trunk/templates/tiki-objectpermissions.tpl Modified: trunk/templates/tiki-objectpermissions.tpl =================================================================== --- trunk/templates/tiki-objectpermissions.tpl 2010-10-15 16:31:30 UTC (rev 30047) +++ trunk/templates/tiki-objectpermissions.tpl 2010-10-15 16:40:45 UTC (rev 30048) @@ -94,6 +94,7 @@ {treetable _data=$perms _checkbox=$permGroups _checkboxTitles=$groupNames _checkboxColumnIndex=$permGroupCols _valueColumnIndex="permName" _columns="\"label\"=\"{tr}Permission{/tr}\"" _sortColumn='type' _openall='y' _showSelected='y' _columnsContainHtml='y'} + {if ($perms|@count) eq '0'}{remarksbox type="warning" title="{tr}Warning{/tr}"}{tr}You must select at least one feature{/tr}.{/remarksbox}{/if} <div class="input_submit_container" style="text-align: center"> <input type="submit" name="assign" value="{tr}Assign{/tr}" /> {if $permissions_displayed eq 'direct' and $objectType neq 'global'} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |