From: <sam...@us...> - 2010-11-25 17:00:20
|
Revision: 30868 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=30868&view=rev Author: sampaioprimo Date: 2010-11-25 17:00:13 +0000 (Thu, 25 Nov 2010) Log Message: ----------- [FIX] only display simple and advanced mode buttons when using filegals_manager Modified Paths: -------------- branches/6.x/templates/tiki-upload_file.tpl Modified: branches/6.x/templates/tiki-upload_file.tpl =================================================================== --- branches/6.x/templates/tiki-upload_file.tpl 2010-11-25 16:36:05 UTC (rev 30867) +++ branches/6.x/templates/tiki-upload_file.tpl 2010-11-25 17:00:13 UTC (rev 30868) @@ -25,11 +25,13 @@ {if count($uploads) > 0} {button href="#upload" _text="{tr}Upload File{/tr}"} {/if} - {if $simpleMode eq 'y'}{button simpleMode='n' galleryId=$galleryId href="" _text="{tr}Advanced mode{/tr}" _ajax="n"}{else}{button galleryId=$galleryId href="" _text="{tr}Simple mode{/tr}" _ajax="n"}{/if} - <span{if $simpleMode eq 'y'} style="display:none;"{/if}> - <label for="keepOpenCbx">{tr}Keep gallery window open{/tr}</label> - <input type="checkbox" id="keepOpenCbx" checked="checked"> - </span> + {if isset($filegals_manager)} + {if $simpleMode eq 'y'}{button simpleMode='n' galleryId=$galleryId href="" _text="{tr}Advanced mode{/tr}" _ajax="n"}{else}{button galleryId=$galleryId href="" _text="{tr}Simple mode{/tr}" _ajax="n"}{/if} + <span{if $simpleMode eq 'y'} style="display:none;"{/if}> + <label for="keepOpenCbx">{tr}Keep gallery window open{/tr}</label> + <input type="checkbox" id="keepOpenCbx" checked="checked"> + </span> + {/if} </div> {/if} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |