Files
Piwigo/admin/themes/default/template/include/add_album.inc.tpl
T
mistic100 bd4ff9fe71 Merged revision(s) 30630 from trunk:
bug 3183: Improve album creation 
update popup selectize with new album
init popup selectize with main selectize value

git-svn-id: http://piwigo.org/svn/branches/2.7@30633 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-11-30 17:42:18 +00:00

26 lines
1.0 KiB
Smarty

{if empty($load_mode)}{$load_mode='footer'}{/if}
{include file='include/colorbox.inc.tpl' load_mode=$load_mode}
{combine_script id='jquery.selectize' load='footer' path='themes/default/js/plugins/selectize.min.js'}
{combine_css id='jquery.selectize' path="themes/default/js/plugins/selectize.{$themeconf.colorscheme}.css"}
{combine_script id='addAlbum' load=$load_mode path='admin/themes/default/js/addAlbum.js'}
<div style="display:none">
<div id="addAlbumForm">
<form>
{'Parent album'|@translate}<br>
<select name="category_parent"></select>
<br><br>
{'Album name'|@translate}<br>
<input name="category_name" type="text" maxlength="255">
<span id="categoryNameError" style="color:red;">{'The name of an album must not be empty'|translate}</span>
<br><br><br>
<input type="submit" value="{'Create'|@translate}">
<span id="albumCreationLoading" style="display:none"><img src="themes/default/images/ajax-loader-small.gif"></span>
</form>
</div>
</div>