From: <lph...@us...> - 2008-03-30 16:05:21
|
Revision: 12267 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=12267&view=rev Author: lphuberdeau Date: 2008-03-30 09:05:17 -0700 (Sun, 30 Mar 2008) Log Message: ----------- [FIX] Only display translate option if edit permission is granted. Modified Paths: -------------- branches/1.10/templates/translated-lang.tpl Modified: branches/1.10/templates/translated-lang.tpl =================================================================== --- branches/1.10/templates/translated-lang.tpl 2008-03-30 15:57:10 UTC (rev 12266) +++ branches/1.10/templates/translated-lang.tpl 2008-03-30 16:05:17 UTC (rev 12267) @@ -40,8 +40,10 @@ {section name=i loop=$trads} <option value="{$trads[i].objName}">{$trads[i].langName}</option> {/section} + {if $tiki_p_edit eq 'y'} <option value="-">---</option> <option value="_translate_">{tr}Translate{/tr}</option> + {/if} </select> </form> {/if} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |