mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
related to #1679 Regular title for edit album tabs
This commit is contained in:
@@ -55,6 +55,10 @@ $tabsheet->assign();
|
||||
// | Load the tab |
|
||||
// +-----------------------------------------------------------------------+
|
||||
|
||||
$template->assign(array(
|
||||
'ADMIN_PAGE_TITLE' => l10n('Edit album'),
|
||||
));
|
||||
|
||||
if ('properties' == $page['tab'])
|
||||
{
|
||||
include(PHPWG_ROOT_PATH.'admin/cat_modify.php');
|
||||
|
||||
@@ -181,10 +181,12 @@ $template->set_filename('album_notification', 'album_notification.tpl');
|
||||
$template->assign(
|
||||
array(
|
||||
'CATEGORIES_NAV' =>
|
||||
get_cat_display_name_from_id(
|
||||
$page['cat'],
|
||||
'admin.php?page=album-'
|
||||
),
|
||||
trim(
|
||||
get_cat_display_name_from_id(
|
||||
$page['cat'],
|
||||
'admin.php?page=album-'
|
||||
)
|
||||
),
|
||||
'F_ACTION' => $admin_album_base_url.'-notification',
|
||||
'PWG_TOKEN' => get_pwg_token(),
|
||||
)
|
||||
|
||||
@@ -211,7 +211,7 @@ if (!empty($category['id_uppercat']))
|
||||
|
||||
$template->assign(
|
||||
array(
|
||||
'CATEGORIES_NAV' => $navigation,
|
||||
'CATEGORIES_NAV' => trim($navigation),
|
||||
'CAT_ID' => $category['id'],
|
||||
'CAT_NAME' => @htmlspecialchars($category['name']),
|
||||
'CAT_COMMENT' => @htmlspecialchars($category['comment']),
|
||||
|
||||
@@ -126,7 +126,7 @@ $navigation = get_cat_display_name_cache(
|
||||
|
||||
$template->assign(
|
||||
array(
|
||||
'CATEGORIES_NAV' => $navigation,
|
||||
'CATEGORIES_NAV' => trim($navigation),
|
||||
'F_ACTION' => $base_url.get_query_string_diff(array()),
|
||||
)
|
||||
);
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
|
||||
{footer_script}
|
||||
jQuery(document).ready(function() {
|
||||
$("h1").append(' <span style="letter-spacing:0">{$CATEGORIES_NAV}</span>');
|
||||
|
||||
jQuery("input[name=who]").change(function () {
|
||||
checkWhoOptions();
|
||||
});
|
||||
@@ -55,10 +57,6 @@ span.errors {
|
||||
}
|
||||
{/html_style}
|
||||
|
||||
<div class="titrePage">
|
||||
<h2><span style="letter-spacing:0">{$CATEGORIES_NAV}</span> › {'Edit album'|@translate} {$TABSHEET_TITLE}</h2>
|
||||
</div>
|
||||
|
||||
<form action="{$F_ACTION}" method="post" id="categoryNotify">
|
||||
|
||||
<fieldset id="emailCatInfo">
|
||||
|
||||
@@ -38,6 +38,8 @@ categoriesCache.selectize(jQuery('[data-selectize=categories]'), {
|
||||
});
|
||||
|
||||
jQuery(document).ready(function() {
|
||||
$("h1").append('<span title="{"Numeric identifier"|@translate}"> #{$CAT_ID}</span> <span style="letter-spacing:0">{$CATEGORIES_NAV}</span>');
|
||||
|
||||
jQuery(document).on('click', '.refreshRepresentative', function(e) {
|
||||
var $this = jQuery(this);
|
||||
var method = 'pwg.categories.refreshRepresentative';
|
||||
@@ -232,11 +234,6 @@ function cropImage() {
|
||||
}
|
||||
{/html_style}
|
||||
|
||||
|
||||
<div class="titrePage">
|
||||
<h2>{'Edit album'|@translate} <span title="{'Numeric identifier'|@translate}">#{$CAT_ID}</span> <span style="letter-spacing:0">{$CATEGORIES_NAV}</span></h2>
|
||||
</div>
|
||||
|
||||
<div id="catModify">
|
||||
|
||||
<form action="{$F_ACTION}" method="POST">
|
||||
|
||||
@@ -47,11 +47,11 @@ jQuery("#selectStatus").change(function() {
|
||||
});
|
||||
{/if}
|
||||
}());
|
||||
{/footer_script}
|
||||
|
||||
<div class="titrePage">
|
||||
<h2><span style="letter-spacing:0">{$CATEGORIES_NAV}</span> › {'Edit album'|@translate} {$TABSHEET_TITLE}</h2>
|
||||
</div>
|
||||
$(document).ready(function () {
|
||||
$("h1").append(' <span style="letter-spacing:0">{$CATEGORIES_NAV}</span>');
|
||||
})
|
||||
{/footer_script}
|
||||
|
||||
<form action="{$F_ACTION}" method="post" id="categoryPermissions">
|
||||
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
{combine_script id='common' load='footer' path='admin/themes/default/js/common.js'}
|
||||
|
||||
{footer_script require='jquery.ui.sortable'}{literal}
|
||||
{footer_script require='jquery.ui.sortable'}
|
||||
jQuery(document).ready(function() {
|
||||
$("h1").append(' <span style="letter-spacing:0">{$CATEGORIES_NAV}</span>');
|
||||
|
||||
function checkOrderOptions() {
|
||||
jQuery("#image_order_user_define_options").hide();
|
||||
if (jQuery("input[name=image_order_choice]:checked").val() == "user_define") {
|
||||
@@ -37,11 +38,7 @@ jQuery('.thumbnail').tipTip({
|
||||
'fadeOut' : 200
|
||||
});
|
||||
});
|
||||
{/literal}{/footer_script}
|
||||
|
||||
<div class="titrePage">
|
||||
<h2><span style="letter-spacing:0">{$CATEGORIES_NAV}</span> › {'Edit album'|@translate} {$TABSHEET_TITLE}</h2>
|
||||
</div>
|
||||
{/footer_script}
|
||||
|
||||
<form action="{$F_ACTION}" method="post">
|
||||
{if !empty($thumbnails)}
|
||||
|
||||
Reference in New Issue
Block a user