From: <sy...@us...> - 2009-10-28 20:38:29
|
Revision: 22714 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=22714&view=rev Author: sylvieg Date: 2009-10-28 20:38:22 +0000 (Wed, 28 Oct 2009) Log Message: ----------- [FIX]fgal: show gal name in drop down Modified Paths: -------------- trunk/templates/duplicate_file_gallery.tpl Modified: trunk/templates/duplicate_file_gallery.tpl =================================================================== --- trunk/templates/duplicate_file_gallery.tpl 2009-10-28 20:35:57 UTC (rev 22713) +++ trunk/templates/duplicate_file_gallery.tpl 2009-10-28 20:38:22 UTC (rev 22714) @@ -9,7 +9,7 @@ <td> <select id="galleryId" name="galleryId"{if $all_galleries|@count eq '0'} disabled="disabled"{/if}> {section name=ix loop=$all_galleries} - <option value="{$all_galleries[ix].id}">{$all_galleries[ix].name}</option> + <option value="{$all_galleries[ix].id}">{$all_galleries[ix].label|escape}</option> {sectionelse} <option value="">{tr}None{/tr}</option> {/section} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <li...@us...> - 2012-08-30 02:56:45
|
Revision: 42795 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=42795&view=rev Author: lindonb Date: 2012-08-30 02:56:38 +0000 (Thu, 30 Aug 2012) Log Message: ----------- [FIX] Notices Modified Paths: -------------- trunk/templates/duplicate_file_gallery.tpl Modified: trunk/templates/duplicate_file_gallery.tpl =================================================================== --- trunk/templates/duplicate_file_gallery.tpl 2012-08-30 02:48:34 UTC (rev 42794) +++ trunk/templates/duplicate_file_gallery.tpl 2012-08-30 02:56:38 UTC (rev 42795) @@ -1,7 +1,7 @@ {* $Id$ *} {if $tiki_p_create_file_galleries eq 'y'} <h2>{tr}Duplicate File Gallery{/tr}</h2> - <form action="tiki-list_file_gallery.php{if $filegals_manager neq ''}?filegals_manager={$filegals_manager}{/if}" method="post"> + <form action="tiki-list_file_gallery.php{if isset($filegals_manager) and $filegals_manager neq ''}?filegals_manager={$filegals_manager}{/if}" method="post"> <table class="formcolor"> <tr> <td> @@ -16,7 +16,9 @@ <label for="description">{tr}Description:{/tr}</label> </td> <td> - <textarea id="description" name="description" rows="4" cols="40">{$description|escape}</textarea> + <textarea id="description" name="description" rows="4" cols="40"> + {if isset($description)}{$description|escape}{/if} + </textarea> </td> </tr> <tr> @@ -26,7 +28,9 @@ <td> <select id="galleryId" name="galleryId"{if $all_galleries|@count eq '0'} disabled="disabled"{/if}> {section name=ix loop=$all_galleries} - <option value="{$all_galleries[ix].id}"{if $galleryId eq $all_galleries[ix].id} selected="selected"{/if}>{$all_galleries[ix].label|escape}</option> + <option value="{$all_galleries[ix].id}"{if $galleryId eq $all_galleries[ix].id} + selected="selected"{/if}>{$all_galleries[ix].label|escape} + </option> {sectionelse} <option value="">{tr}None{/tr}</option> {/section} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chi...@us...> - 2013-12-05 02:02:41
|
Revision: 48972 http://sourceforge.net/p/tikiwiki/code/48972 Author: chibaguy Date: 2013-12-05 02:02:37 +0000 (Thu, 05 Dec 2013) Log Message: ----------- [REF] Replace table.formcolor with Bootstrap form divs. Modified Paths: -------------- trunk/templates/duplicate_file_gallery.tpl Modified: trunk/templates/duplicate_file_gallery.tpl =================================================================== --- trunk/templates/duplicate_file_gallery.tpl 2013-12-05 01:47:52 UTC (rev 48971) +++ trunk/templates/duplicate_file_gallery.tpl 2013-12-05 02:02:37 UTC (rev 48972) @@ -1,64 +1,51 @@ {* $Id$ *} {if $tiki_p_create_file_galleries eq 'y' and $gal_info.type neq 'user'} <h2>{tr}Duplicate File Gallery{/tr}</h2> - <form action="tiki-list_file_gallery.php{if isset($filegals_manager) and $filegals_manager neq ''}?filegals_manager={$filegals_manager}{/if}" method="post"> - <table class="formcolor"> - <tr> - <td> - <label for="name">{tr}Name:{/tr}</label> - </td> - <td> - <input type="text" size="50" id="name" name="name" value=""> - </td> - </tr> - <tr> - <td> - <label for="description">{tr}Description:{/tr}</label> - </td> - <td> - <textarea id="description" name="description" rows="4" cols="40"> - {if isset($description)}{$description|escape}{/if} - </textarea> - </td> - </tr> - <tr> - <td> - <label for="galleryId">{tr}File gallery:{/tr}</label> - </td> - <td> - <select id="galleryId" name="galleryId"{if $all_galleries|@count eq '0'} disabled="disabled"{/if}> - {section name=ix loop=$all_galleries} - <option value="{$all_galleries[ix].id}"{if $galleryId eq $all_galleries[ix].id} - selected="selected"{/if}>{$all_galleries[ix].label|escape} - </option> - {sectionelse} - <option value="">{tr}None{/tr}</option> - {/section} - </select> - </td> - </tr> - <tr> - <td> - <label for="dupCateg">{tr}Duplicate categories:{/tr}</label> - </td> - <td> - <input type="checkbox" id="dupCateg" name="dupCateg"> - </td> - </tr> - <tr> - <td> - <label for="dupPerms">{tr}Duplicate permissions:{/tr}</label> - </td> - <td> - <input type="checkbox" id="dupPerms" name="dupPerms"> - </td> - </tr> - <tr> - <td></td> - <td> - <input type="submit" class="btn btn-default btn-sm" name="duplicate" value="{tr}Duplicate{/tr}"> - </td> - </tr> - </table> - </form> + <form class="form-horizontal" role="form" action="tiki-list_file_gallery.php{if isset($filegals_manager) and $filegals_manager neq ''}?filegals_manager={$filegals_manager}{/if}" method="post"> + <div class="form-group"> + <label for="name" class="col-sm-2 control-label">{tr}Name:{/tr}</label> + <div class="col-sm-10"> + <input type="text" size="50" id="name" name="name" value=""> + </div> + </div> + <div class="form-group"> + <label for="description" class="col-sm-2 control-label">{tr}Description:{/tr}</label> + <div class="col-sm-10"> + <textarea id="description" name="description" rows="4" cols="40"> + {if isset($description)}{$description|escape}{/if} + </textarea> + </div> + </div> + <div class="form-group"> + <label for="galleryId" class="col-sm-2 control-label">{tr}File gallery:{/tr}</label> + <div class="col-sm-10"> + <select id="galleryId" name="galleryId"{if $all_galleries|@count eq '0'} disabled="disabled"{/if}> + {section name=ix loop=$all_galleries} + <option value="{$all_galleries[ix].id}"{if $galleryId eq $all_galleries[ix].id} + selected="selected"{/if}>{$all_galleries[ix].label|escape} + </option> + {sectionelse} + <option value="">{tr}None{/tr}</option> + {/section} + </select> + </div> + </div> + <div class="form-group"> + <label for="dupCateg" class="col-sm-2 control-label">{tr}Duplicate categories:{/tr}</label> + <div class="col-sm-10"> + <input type="checkbox" id="dupCateg" name="dupCateg"> + </div> + </div> + <div class="form-group"> + <label for="dupPerms" class="col-sm-2 control-label">{tr}Duplicate permissions:{/tr}</label> + <div class="col-sm-10"> + <input type="checkbox" id="dupPerms" name="dupPerms"> + </div> + </div> + <div class="form-group"> + <div class="col-sm-10 col-sm-push-2"> + <input type="submit" class="btn btn-default btn-sm" name="duplicate" value="{tr}Duplicate{/tr}"> + </div> + </div> + </form> {/if} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jy...@us...> - 2015-01-11 23:20:21
|
Revision: 53464 http://sourceforge.net/p/tikiwiki/code/53464 Author: jyhem Date: 2015-01-11 23:20:18 +0000 (Sun, 11 Jan 2015) Log Message: ----------- [FIX][bp/r53463] Avoid inserting plenty of white space in textarea Revision Links: -------------- http://sourceforge.net/p/tikiwiki/code/53463 Modified Paths: -------------- trunk/templates/duplicate_file_gallery.tpl Modified: trunk/templates/duplicate_file_gallery.tpl =================================================================== --- trunk/templates/duplicate_file_gallery.tpl 2015-01-11 23:12:17 UTC (rev 53463) +++ trunk/templates/duplicate_file_gallery.tpl 2015-01-11 23:20:18 UTC (rev 53464) @@ -11,9 +11,7 @@ <div class="form-group"> <label for="description" class="col-sm-2 control-label">{tr}Description{/tr}</label> <div class="col-sm-10"> - <textarea id="description" name="description" rows="4" cols="40"> - {if isset($description)}{$description|escape}{/if} - </textarea> + <textarea id="description" name="description" rows="4" cols="40">{if isset($description)}{$description|escape}{/if}</textarea> </div> </div> <div class="form-group"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |