mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-13 21:31:35 +02:00
related to #1679 first go on title uniformization still work to do
This commit is contained in:
@@ -93,6 +93,7 @@ jQuery(document).ready(function () {
|
||||
success: function (raw_data) {
|
||||
loadState.reverse();
|
||||
data = jQuery.parseJSON(raw_data);
|
||||
console.log(data);
|
||||
if (data.stat === "ok") {
|
||||
$(".addGroupFormLabelAndInput input").val('');
|
||||
group = data.result.groups[0];
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
<div class="titrePage">
|
||||
<h2>{'Properties'|@translate} {$TABSHEET_TITLE}</h2>
|
||||
</div>
|
||||
|
||||
<form method="post" action="{$F_ACTION}" id="cat_options">
|
||||
<fieldset>
|
||||
<legend>{$L_SECTION}</legend>
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
{combine_script id='common' load='footer' path='admin/themes/default/js/common.js'}
|
||||
|
||||
{footer_script}
|
||||
$(document).ready(() => {
|
||||
$("h1").append("<span class='badge-number'>"+{$nb_cats}+"</span>");
|
||||
});
|
||||
var data = {json_encode($data_cat)};
|
||||
/*
|
||||
Here data is an associative array id => category under this form
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
}());
|
||||
{/footer_script}
|
||||
|
||||
<h2>{'Piwigo configuration'|translate} {$TABSHEET_TITLE}</h2>
|
||||
<h2>{'Piwigo configuration'|translate}</h2>
|
||||
|
||||
<form method="post" action="{$F_ACTION}" class="properties">
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{combine_script id='common' load='footer' path='admin/themes/default/js/common.js'}
|
||||
|
||||
<h2>{'Piwigo configuration'|translate} {$TABSHEET_TITLE}</h2>
|
||||
<h2>{'Piwigo configuration'|translate}</h2>
|
||||
|
||||
<form method="post" name="profile" action="{$GUEST_F_ACTION}" id="profile" class="properties">
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
}
|
||||
{/html_style}
|
||||
|
||||
<h2>{'Piwigo configuration'|translate} {$TABSHEET_TITLE}</h2>
|
||||
<h2>{'Piwigo configuration'|translate}</h2>
|
||||
|
||||
<form method="post" action="{$F_ACTION}" class="properties">
|
||||
|
||||
|
||||
@@ -69,7 +69,7 @@ jQuery("input[name='mail_theme']").change(function() {
|
||||
});
|
||||
{/footer_script}
|
||||
|
||||
<h2>{'Piwigo configuration'|translate} {$TABSHEET_TITLE}</h2>
|
||||
<h2>{'Piwigo configuration'|translate}</h2>
|
||||
|
||||
<form method="post" action="{$F_ACTION}" class="properties">
|
||||
|
||||
|
||||
@@ -79,7 +79,7 @@ $(".restore-settings-button").each(function() {
|
||||
.sizeEditOpen { margin-left:10px; }
|
||||
{/html_style}
|
||||
|
||||
<h2>{'Piwigo configuration'|translate} {$TABSHEET_TITLE}</h2>
|
||||
<h2>{'Piwigo configuration'|translate}</h2>
|
||||
|
||||
<form method="post" action="{$F_ACTION}" class="properties">
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
}());
|
||||
{/footer_script}
|
||||
|
||||
<h2>{'Piwigo configuration'|translate} {$TABSHEET_TITLE}</h2>
|
||||
<h2>{'Piwigo configuration'|translate}</h2>
|
||||
|
||||
<form method="post" action="{$F_ACTION}" class="properties" enctype="multipart/form-data">
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@ const guest_id = {$guest_id};
|
||||
{combine_script id='jquery.confirm' load='footer' require='jquery' path='themes/default/js/plugins/jquery-confirm.min.js'}
|
||||
{combine_css path="admin/themes/default/fontello/css/animation.css" order=10} {* order 10 is required, see issue 1080 *}
|
||||
|
||||
<h2>{'History'|@translate} {$TABSHEET_TITLE}</h2>
|
||||
<h2>{'History'|@translate}</h2>
|
||||
|
||||
<form class="filter" method="post" name="filter" action="">
|
||||
<fieldset class="history-filter">
|
||||
|
||||
@@ -16,7 +16,7 @@ $(".delete-lang-button").each(function() {
|
||||
{/footer_script}
|
||||
|
||||
<div class="titrePage">
|
||||
<h2>{'Installed Languages'|@translate}</h2>
|
||||
<h2>{'Languages'|@translate}</h2>
|
||||
</div>
|
||||
|
||||
{foreach from=$language_states item=language_state}
|
||||
|
||||
@@ -10,7 +10,7 @@ jQuery().ready(function(){ldelim}
|
||||
{/footer_script}
|
||||
|
||||
<div class="titrePage">
|
||||
<h2>{'Add New Language'|@translate}</h2>
|
||||
<h2>{'Languages'|@translate}</h2>
|
||||
</div>
|
||||
|
||||
{if $isWebmaster == 1}
|
||||
|
||||
@@ -17,7 +17,7 @@ jQuery(document).ready(function(){
|
||||
{/literal}{/footer_script}
|
||||
|
||||
<div class="titrePage">
|
||||
<h2>{'Send mail to users'|@translate} {$TABSHEET_TITLE}</h2>
|
||||
<h2>{'Send mail to users'|@translate}</h2>
|
||||
</div>
|
||||
|
||||
<form method="post" name="notification_by_mail" id="notification_by_mail" action="{$F_ACTION}">
|
||||
|
||||
@@ -28,7 +28,7 @@ form fieldset p.actionButtons {margin-bottom:0}
|
||||
{/html_style}
|
||||
|
||||
<div class="titrePage">
|
||||
<h2>{'Permalinks'|@translate}</h2>
|
||||
<h2>{'Albums'|@translate}<span class='badge-number'>{$nb_cats}</span></h2>
|
||||
</div>
|
||||
|
||||
<p id="showAddPermalink"><a href="#" id="addPermalinkOpen">{'Add/delete a permalink'|@translate}</a></p>
|
||||
|
||||
@@ -69,7 +69,7 @@ jQuery().ready(function(){
|
||||
{/literal}{/html_head}
|
||||
|
||||
<div class="titrePage">
|
||||
<h2>{'Upload Photos'|@translate} {$TABSHEET_TITLE}</h2>
|
||||
<h2>{'Upload Photos'|@translate}</h2>
|
||||
</div>
|
||||
|
||||
<div class="applicationContainer">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<div class="titrePage">
|
||||
<h2>{'Upload Photos'|@translate} {$TABSHEET_TITLE}</h2>
|
||||
<h2>{'Upload Photos'|@translate}</h2>
|
||||
</div>
|
||||
|
||||
<div id="ftpPage">
|
||||
|
||||
@@ -34,7 +34,7 @@ jQuery("select[name=cat]").change(function(){
|
||||
});
|
||||
{/footer_script}
|
||||
|
||||
<h2>{$NB_ELEMENTS} {'Photos'|@translate}</h2>
|
||||
<h2>{'Rating'|@translate}<span class='badge-number'>{$NB_ELEMENTS}</span></h2>
|
||||
|
||||
<form action="{$F_ACTION}" method="GET" class="filter">
|
||||
<fieldset>
|
||||
|
||||
@@ -37,7 +37,7 @@ body .ui-tooltip {
|
||||
|
||||
{/html_style}
|
||||
|
||||
<h2>{$ratings|@count} {'Users'|@translate}</h2>
|
||||
<h2>{'Rating'|@translate}<span class='badge-number'>{$ratings|@count}</span></h2>
|
||||
|
||||
<form action="{$F_ACTION}" method="GET">
|
||||
<fieldset>
|
||||
|
||||
@@ -63,7 +63,7 @@ $(window).bind("load", function() {
|
||||
{/literal}{/footer_script}
|
||||
|
||||
<div class="titrePage">
|
||||
<h2>{'Installed Themes'|@translate}</h2>
|
||||
<h2>{'Themes'|@translate}</h2>
|
||||
</div>
|
||||
|
||||
<div id="themesContent">
|
||||
|
||||
@@ -20,7 +20,7 @@ $(window).bind("load", function() {
|
||||
})
|
||||
{/literal}{/footer_script}
|
||||
<div class="titrePage">
|
||||
<h2>{'Add New Theme'|@translate}</h2>
|
||||
<h2>{'Themes'|@translate}</h2>
|
||||
</div>
|
||||
|
||||
{if not empty($new_themes)}
|
||||
|
||||
@@ -209,4 +209,5 @@ $("#update_all").click(function() {
|
||||
{/foreach}
|
||||
</fieldset>
|
||||
{/if}
|
||||
{/foreach}
|
||||
{/foreach}
|
||||
{/if}
|
||||
@@ -669,6 +669,8 @@ function append_pagination_item(page = null) {
|
||||
|
||||
|
||||
$(document).ready(function () {
|
||||
$("h1").append(`<span class='badge-number'>`+{$nb_users - 1}+`</span>`);
|
||||
|
||||
$('select').on('change', function (user) {
|
||||
if ($(".selectize-input").hasClass("full")) {
|
||||
{* call ajax sur activity list avec uid en param *}
|
||||
|
||||
Reference in New Issue
Block a user