26ed60c972
Many improvements git-svn-id: http://piwigo.org/svn/trunk@13234 68402e56-0260-453c-a942-63ccdbb3a9ee
23 lines
No EOL
680 B
Smarty
23 lines
No EOL
680 B
Smarty
{if isset($errors)}
|
|
<div class="ui-bar ui-bar-e errors">
|
|
<h3>{'Error'|@translate}</h3>
|
|
<div><a href="#" data-role="button" data-icon="delete" data-iconpos="notext" class="close-button">Button</a></div>
|
|
<p>{'<br>'|@implode:$errors}</p>
|
|
</div>
|
|
{/if}
|
|
|
|
{if not empty($infos)}
|
|
<div class="ui-bar ui-bar-b infos">
|
|
<h3>{'Info'|@translate}</h3>
|
|
<div><a href="#" data-role="button" data-icon="delete" data-iconpos="notext" class="close-button">Button</a></div>
|
|
<p>{'<br>'|@implode:$infos}</p>
|
|
</div>
|
|
{/if}
|
|
|
|
{footer_script}{literal}
|
|
$(document).ready(function () {
|
|
$('.close-button').click(function() {
|
|
$(this).parents('.ui-bar').remove();
|
|
});
|
|
});
|
|
{/literal}{/footer_script} |