{combine_script id='jquery.ui.sortable' require='jquery.ui' load='footer' path='themes/default/js/ui/minified/jquery.ui.sortable.min.js'} {footer_script} jQuery(document).ready(function(){ jQuery(".drag_button").show(); jQuery(".categoryLi").css("cursor","move"); jQuery(".categoryUl").sortable({ axis: "y", opacity: 0.8, update : function() { jQuery("#manualOrderInfo").show(); } }); jQuery("#infoOrdering").submit(function(){ ar = jQuery('.categoryUl').sortable('toArray'); for(i=0;i < ar.length ;i++) { iord = ar[i].split('iord_'); document.getElementsByName('infoOrd[' + iord[1] + ']')[0].value = i; } }); jQuery("#cancelManualOrderInfo").click(function(){ jQuery(".categoryUl").sortable("cancel"); jQuery("#manualOrderInfo").hide(); }); jQuery('.categoryLi').mouseover(function(){ jQuery(this).children('span').show(); }); jQuery('.categoryLi').mouseout(function(){ jQuery(this).children('span').hide(); }); }); {/footer_script}

{'Management information on picture page'|@translate}

{if isset ($addinfotemplate)}
{if isset ($addinfo_edit2)}
{'Info add/edit'|@translate}


{/if}
{'List info'|@translate}
{/if} {if isset ($gestionA)}
{'Add information before'|@translate} {html_options name="Add_Info_photos" options=$gestionA.OPTIONS selected=$gestionA.SELECTED}

{/if} {if isset ($gestionD)}
{'List info photo'|@translate} {foreach from=$info_photos item=infophoto} {/foreach}
{$infophoto.AIPDESIGNATION}
{/if}