mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
set admin page title only once for all edit photo tabs
This commit is contained in:
@@ -53,6 +53,12 @@ $tabsheet->set_id('photo');
|
||||
$tabsheet->select($page['tab']);
|
||||
$tabsheet->assign();
|
||||
|
||||
$template->assign(
|
||||
array(
|
||||
'ADMIN_PAGE_TITLE' => l10n('Edit photo #%s', $_GET['image_id']),
|
||||
)
|
||||
);
|
||||
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Load the tab |
|
||||
// +-----------------------------------------------------------------------+
|
||||
|
||||
@@ -3,8 +3,6 @@
|
||||
{/html_head}
|
||||
{combine_script id='jquery.jcrop' load='footer' require='jquery' path='themes/default/js/plugins/jquery.Jcrop.min.js'}
|
||||
|
||||
<h2>{$TITLE} › {'Edit photo'|@translate} {$TABSHEET_TITLE}</h2>
|
||||
|
||||
<form method="post">
|
||||
|
||||
<fieldset>
|
||||
|
||||
@@ -84,8 +84,6 @@ $('#action-delete-picture').on('click', function() {
|
||||
}());
|
||||
{/footer_script}
|
||||
|
||||
<h2>{'Edit photo #%s'|@translate:$INTRO.id}</h2>
|
||||
|
||||
<form action="{$F_ACTION}" method="post" id="pictureModify">
|
||||
<div id='picture-preview'>
|
||||
<div class='picture-preview-actions'>
|
||||
|
||||
Reference in New Issue
Block a user