mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-08 14:25:02 +02:00
69cee6540a
* Redesign of album manager to correspond to the group manager * Bug fix on move album : album can now be moved in first place * Design fixes on album edit, especially on thumbnail * Minor design fixes
84 lines
3.6 KiB
Smarty
84 lines
3.6 KiB
Smarty
{footer_script}
|
|
var data = {json_encode($album_data)};
|
|
var pwg_token = "{$PWG_TOKEN}";
|
|
var str_show_sub = "{'Show sub-albums'|@translate}";
|
|
var str_hide_sub = "{'Hide sub-albums'|@translate}";
|
|
var str_manage_sub_album = "{'Manage sub-albums'|@translate}";
|
|
var str_apply_order = "{'Apply an automatic order to sub-albums'|@translate}";
|
|
var str_edit = "{'Edit album'|@translate}";
|
|
var str_are_you_sure = "{'The status of the album \'%s\' and its sub-albums will change to private. Are you sure?'|@translate}";
|
|
var str_yes_change_parent = "{'Yes change parent anyway'|@translate}"
|
|
var str_no_change_parent = "{'No, don\'t move this album here'|@translate}"
|
|
var str_root = "{'Root'|@translate}"
|
|
var openCat = {$open_cat};
|
|
{/footer_script}
|
|
|
|
{combine_script id='jquery.confirm' load='footer' require='jquery' path='themes/default/js/plugins/jquery-confirm.min.js'}
|
|
{combine_css path="themes/default/js/plugins/jquery-confirm.min.css"}
|
|
{combine_script id='common' load='footer' path='admin/themes/default/js/common.js'}
|
|
{combine_css path="themes/default/js/plugins/jqtree.css"}
|
|
{combine_script id='jtree' load='footer' path='themes/default/js/plugins/tree.jquery.js'}
|
|
{combine_css path="admin/themes/default/fontello/css/animation.css"}
|
|
|
|
{combine_script id='cat_move' load='footer' path='admin/themes/default/js/cat_move.js'}
|
|
|
|
<div class="titrePage">
|
|
<h2>{'Move albums'|@translate}</h2>
|
|
</div>
|
|
|
|
<div class="cat-move-order-popin">
|
|
<div class="order-popin-container">
|
|
<a class="close-popin icon-cancel" onClick="$('.cat-move-order-popin').fadeOut()"> </a>
|
|
<div class="popin-title"><span class="icon-sort-name-up icon-purple"></span>{"Apply an automatic order"|@translate}</div>
|
|
<div class="album-name icon-sitemap"></div>
|
|
<form action="{$F_ACTION}" method="post">
|
|
<input type="hidden" name="id" value="-1">
|
|
<div class="choice-container">
|
|
<label class="font-checkbox">
|
|
<span class="icon-dot-circled"> </span>
|
|
<input type="radio" value="name ASC" name="order" checked>
|
|
{'Album name, A → Z'|@translate}
|
|
</label>
|
|
|
|
<label class="font-checkbox">
|
|
<span class="icon-dot-circled"> </span>
|
|
<input type="radio" value="name DESC" name="order">
|
|
{'Album name, Z → A'|@translate}
|
|
</label>
|
|
|
|
<label class="font-checkbox">
|
|
<span class="icon-dot-circled"> </span>
|
|
<input type="radio" value="date_creation DESC" name="order">
|
|
{'Date created, new → old'|@translate}
|
|
</label>
|
|
|
|
<label class="font-checkbox">
|
|
<span class="icon-dot-circled"> </span>
|
|
<input type="radio" value="date_creation ASC" name="order">
|
|
{'Date created, old → new'|@translate}
|
|
</label>
|
|
|
|
<label class="font-checkbox">
|
|
<span class="icon-dot-circled"> </span>
|
|
<input type="radio" value="date_available DESC" name="order">
|
|
{'Date posted, new → old'|@translate}
|
|
</label>
|
|
|
|
<label class="font-checkbox">
|
|
<span class="icon-dot-circled"> </span>
|
|
<input type="radio" value="date_available ASC" name="order">
|
|
{'Date posted, old → new'|@translate}
|
|
</label>
|
|
</div>
|
|
<input type="submit" name="simpleAutoOrder" value="{'Apply to direct sub-albums'|@translate}"/>
|
|
<input type="submit" name="recursiveAutoOrder" value="{'Apply to the whole hierarchy'|@translate}"/>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="cat-move-header">
|
|
<div class="cat-move-info icon-help-circled"> {'Drag and drop to reorder albums'|@translate}</div>
|
|
<a class="order-root icon-sitemap"> {'Apply an automatic order to root albums'|@translate} </a>
|
|
</div>
|
|
|
|
<div class='tree'> </div> |