mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-26 03:09:58 +03:00
related to #1679 Added breadcrumb to page title (WIP)
This commit is contained in:
parent
1c8b690dc7
commit
83eeab2ee8
6 changed files with 17 additions and 4 deletions
|
@ -201,7 +201,7 @@ $sort_orders_checked = array_keys($sort_orders);
|
|||
|
||||
$template->assign(array(
|
||||
'ADMIN_PAGE_TITLE' => l10n('Album list management'),
|
||||
'CATEGORIES_NAV'=>$navigation,
|
||||
'CATEGORIES_NAV'=> preg_replace("# {2,}#"," ",preg_replace("#(\r\n|\n\r|\n|\r)#"," ",$navigation)),
|
||||
'F_ACTION'=>$form_action,
|
||||
'PWG_TOKEN' => get_pwg_token(),
|
||||
'sort_orders' => $sort_orders,
|
||||
|
|
|
@ -211,7 +211,7 @@ if (!empty($category['id_uppercat']))
|
|||
|
||||
$template->assign(
|
||||
array(
|
||||
'CATEGORIES_NAV' => trim($navigation),
|
||||
'CATEGORIES_NAV' => preg_replace("# {2,}#"," ",preg_replace("#(\r\n|\n\r|\n|\r)#"," ",$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' => trim($navigation),
|
||||
'CATEGORIES_NAV' => preg_replace("# {2,}#"," ",preg_replace("#(\r\n|\n\r|\n|\r)#"," ",$navigation)),
|
||||
'F_ACTION' => $base_url.get_query_string_diff(array()),
|
||||
)
|
||||
);
|
||||
|
|
|
@ -38,7 +38,7 @@ 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>');
|
||||
$("h1").append('<span title="{"Numeric identifier"|@translate}"> <span class="image-id">#{$CAT_ID}</span></span> <span style="letter-spacing:0" class="bc-albums">{$CATEGORIES_NAV}</span>');
|
||||
|
||||
jQuery(document).on('click', '.refreshRepresentative', function(e) {
|
||||
var $this = jQuery(this);
|
||||
|
|
|
@ -1937,6 +1937,16 @@ h1 .image-id {
|
|||
font-weight: 100;
|
||||
opacity: 0.5;
|
||||
}
|
||||
h1 .bc-albums {
|
||||
padding: 4px 8px;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
border-radius: 7px;
|
||||
background-color: #c6c6c6;
|
||||
font-size: 12px;
|
||||
position: relative;
|
||||
top: -3px;
|
||||
}
|
||||
h2 { letter-spacing:1px; font-weight:bold; display: none;}
|
||||
h2:lang(en) { text-transform:capitalize; }
|
||||
|
||||
|
|
|
@ -45,6 +45,9 @@ h1 {
|
|||
background-color: #565656;
|
||||
color: #c1c1c1;
|
||||
}
|
||||
h1 .bc-albums {
|
||||
background-color: #333;
|
||||
}
|
||||
|
||||
#tabsheet {
|
||||
background-color:#565656;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue