fixes #2306 move save buttons to bottom of page (PR #2346)

For these pages :
 picture modify, album notification, category permission, comments, menubar, all configurations, site update, element set ranks, notification by mail

Change how success and errors messages are displayed and handled
This commit is contained in:
HWFord 2025-03-21 16:28:37 +01:00 committed by GitHub
parent 4a539bdfb7
commit 41d5c8a258
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
30 changed files with 492 additions and 148 deletions

View file

@ -150,7 +150,11 @@ SELECT
$message = l10n_dec('%d mail was sent.', '%d mails were sent.', count($users));
$message.= ' ('.implode(', ', $usernames).')';
$page['infos'][] = $message;
$template->assign(
array(
'save_success' =>$message,
)
);
}
elseif ('group' == $_POST['who'] and !empty($_POST['group']))
{
@ -166,7 +170,11 @@ SELECT
;';
list($group_name) = pwg_db_fetch_row(pwg_query($query));
$page['infos'][] = l10n('An information email was sent to group "%s"', $group_name);
$template->assign(
array(
'save_success' =>l10n('An information email was sent to group "%s"', $group_name),
)
);
}
unset_make_full_url();
@ -224,6 +232,8 @@ else
{
if ('private' == $category['status'])
{
$template->assign('permission_url', $admin_album_base_url.'-permissions');
$query = '
SELECT
group_id
@ -231,11 +241,6 @@ SELECT
WHERE cat_id = '.$category['id'].'
;';
$group_ids = array_from_query($query, 'group_id');
if (count($group_ids) == 0)
{
$template->assign('permission_url', $admin_album_base_url.'-permissions');
}
}
else
{

View file

@ -158,8 +158,13 @@ DELETE
add_permission_on_category($page['cat'], $grant_users);
}
}
$template->assign(
array(
'save_success' =>l10n('Album updated successfully'),
)
);
$page['infos'][] = l10n('Album updated successfully');
}
// +-----------------------------------------------------------------------+

View file

@ -36,7 +36,11 @@ if (!empty($_POST))
{
if (empty($_POST['comments']))
{
$page['errors'][] = l10n('Select at least one comment');
$template->assign(
array(
'save_warning' => l10n('Select at least one comment')
)
);
}
else
{
@ -47,20 +51,28 @@ if (!empty($_POST))
{
validate_user_comment($_POST['comments']);
$page['infos'][] = l10n_dec(
'%d user comment validated', '%d user comments validated',
count($_POST['comments'])
);
$template->assign(
array(
'save_success' => l10n_dec(
'%d user comment validated', '%d user comments validated',
count($_POST['comments'])
)
)
);
}
if (isset($_POST['reject']))
{
delete_user_comment($_POST['comments']);
$page['infos'][] = l10n_dec(
'%d user comment rejected', '%d user comments rejected',
count($_POST['comments'])
);
$template->assign(
array(
'save_error' => l10n_dec(
'%d user comment rejected', '%d user comments rejected',
count($_POST['comments'])
)
)
);
}
}
}

View file

@ -306,7 +306,12 @@ WHERE param = \''.$row['param'].'\'
pwg_query($query);
}
}
$page['infos'][] = l10n('Your configuration settings are saved');
$template->assign(
array(
'save_success' => l10n('Your configuration settings are saved'),
)
);
pwg_activity('system', ACTIVITY_SYSTEM_CORE, 'config', array('config_section'=>$page['section']));
}
@ -321,7 +326,12 @@ if ('sizes' == $page['section'] and isset($_GET['action']) and 'restore_settings
pwg_query('DELETE FROM '.CONFIG_TABLE.' WHERE param = \'disabled_derivatives\'');
clear_derivative_cache();
$page['infos'][] = l10n('Your configuration settings are saved');
$template->assign(
array(
'save_success' => l10n('Your configuration settings are saved'),
)
);
pwg_activity('system', ACTIVITY_SYSTEM_CORE, 'config', array('config_section'=>$page['section'],'config_action'=>$_GET['action']));
}

View file

@ -47,8 +47,6 @@ if (isset($_POST['submit']))
$page['category_id'],
array_keys($_POST['rank_of_image'])
);
$page['infos'][] = l10n('Images manual order was saved');
}
if (!empty($_POST['image_order_choice'])
@ -57,6 +55,8 @@ if (isset($_POST['submit']))
$image_order_choice = $_POST['image_order_choice'];
}
$message = l10n('Album updated successfully');
$image_order = null;
if ($image_order_choice=='user_define')
{
@ -72,6 +72,8 @@ if (isset($_POST['submit']))
elseif ($image_order_choice=='rank')
{
$image_order = '`rank` ASC';
$message = l10n('Images manual order was saved');
}
$query = '
UPDATE '.CATEGORIES_TABLE.'
@ -90,7 +92,11 @@ UPDATE '.CATEGORIES_TABLE.'
pwg_query($query);
}
$page['infos'][] = l10n('Your configuration settings are saved');
$template->assign(
array(
'save_success' => $message,
)
);
}
// +-----------------------------------------------------------------------+

View file

@ -243,8 +243,13 @@ if (count($errors) == 0)
{
clear_derivative_cache($changed_types);
}
$template->assign(
array(
'save_success' => l10n('Your configuration settings are saved'),
)
);
$page['infos'][] = l10n('Your configuration settings are saved');
pwg_activity('system', ACTIVITY_SYSTEM_CORE, 'config', array('config_section'=>'sizes'));
}
else

View file

@ -194,8 +194,13 @@ if (count($errors) == 0)
{
clear_derivative_cache($changed_types);
}
$template->assign(
array(
'save_success' => l10n('Your configuration settings are saved'),
)
);
$page['infos'][] = l10n('Your configuration settings are saved');
pwg_activity('system', ACTIVITY_SYSTEM_CORE, 'config', array('config_section'=>'watermark'));
}
else

View file

@ -136,7 +136,12 @@ UPDATE '.CONFIG_TABLE.'
';
pwg_query($query);
$page['infos'][] = l10n('Order of menubar items has been updated successfully.');
$template->assign(
array(
'save_success' => l10n('Order of menubar items has been updated successfully.'),
)
);
}
make_consecutive( $mb_conf );

View file

@ -526,10 +526,14 @@ switch ($page['mode'])
}
}
$page['infos'][] = l10n_dec(
'%d parameter was updated.', '%d parameters were updated.',
$updated_param_count
);
$template->assign(
array(
'save_success' => l10n_dec(
'%d parameter was updated.', '%d parameters were updated.',
$updated_param_count
)
)
);
}
}
case 'subscribe' :

View file

@ -181,7 +181,12 @@ UPDATE '.CATEGORIES_TABLE.'
$represented_albums = $_POST['represent'];
$page['infos'][] = l10n('Photo informations updated');
$template->assign(
array(
'save_success' => l10n('Photo informations updated'),
)
);
pwg_activity('photo', $_GET['image_id'], 'edit');
// refresh page cache

View file

@ -69,7 +69,12 @@ else
if (isset($page['no_md5sum_number']))
{
$page['messages'][] = '<a href="admin.php?page=batch_manager&amp;filter=prefilter-no_sync_md5sum">'.l10n('Some checksums are missing.').'<i class="icon-right"></i></a>';
$template->assign(
array(
'save_error' => '<a href="admin.php?page=batch_manager&amp;filter=prefilter-no_sync_md5sum">'.l10n('Some checksums are missing.').'<i class="icon-right"></i></a>',
)
);
}
// +-----------------------------------------------------------------------+

View file

@ -877,6 +877,37 @@ li.plupload_delete a:hover {background: url("images/cancelhover.svg")!important;
background-color:#FFA646;
}
.cat-modify-footer,
.savebar-footer {
border-color: #ececec;
background: white;
}
.cat-modify-footer-see-out,
.savebar-see-out,
.buttonSecond {
background-color: #ECECEC!important;
color: #3C3C3C!important;
}
.cat-modify-footer-see-out:hover,
.savebar-see-out:hover,
.buttonSecond:hover {
background-color: #F29F4B!important;
color: #3C3C3C!important;
}
.cat-modify-footer-see-out:focus {
border: 2px solid #F4AB4F;
background: #ECECEC;
}
.cat-modify-footer-see-out.disabled {
background-color: #ECECEC;
color: #B8B8B8;
.RenameTagPopInContainer {
background-color:#fff;
}

View file

@ -117,12 +117,24 @@ span.errors {
</p>
{/if}
<p class="actionButtons">
<button name="submitEmail" type="submit" class="buttonLike">
<i class="icon-mail"></i> {'Send'|translate}
</button>
<span class="errors" style="display:none">&#x2718; {'No recipient selected'|translate}</span>
</p>
<div class="savebar-footer">
<div class="savebar-footer-start">
</div>
<div class="savebar-footer-end">
{if isset($save_success)}
<div class="savebar-footer-block">
<div class="badge info-message">
<i class="icon-ok"></i>{$save_success}
</div>
</div>
{/if}
<div class="savebar-footer-block">
<button class="buttonLike" type="submit" name="submitEmail"><i class="icon-mail"></i> {'Send'|@translate}</button>
</div>
</div>
</div>
</fieldset>

View file

@ -330,7 +330,7 @@ pluginValues = [];
</div>
<div class="buttonLike action-save-global">
<i class="icon-floppy"></i>
Save all photos
{'Save all photos'|translate}
</div>
</div>
</div>

View file

@ -168,17 +168,33 @@ jQuery("#selectStatus").change(function() {
*}
</fieldset>
<p style="margin:12px;text-align:left;">
<button name="submit" type="submit" class="buttonLike">
<i class="icon-floppy"></i> {'Save Settings'|@translate}
</button>
<div class="savebar-footer">
<div class="savebar-footer-start">
<div class="savebar-footer-block">
<div class="switch-input">
<label class="switch">
<input type="checkbox" name="apply_on_sub" id="apply_on_sub" {if $INHERIT}checked="true"{/if}>
<span class="slider round"></span>
</label>
</div>
<label class="switch-label" for="apply_on_sub"><span>{'Apply to sub-albums'|@translate}</span></label>
</div>
</div>
<div class="savebar-footer-end">
<label id="applytoSubAction" class="font-checkbox">
<span class="icon-check"></span>
<input type="checkbox" name="apply_on_sub" {if $INHERIT}checked="checked"{/if}>
{'Apply to sub-albums'|@translate}
</label>
</p>
{if isset($save_success)}
<div class="savebar-footer-block">
<div class="badge info-message">
<i class="icon-ok"></i>{$save_success}
</div>
</div>
{/if}
<div class="savebar-footer-block">
<button class="buttonLike" type="submit" name="submit"><i class="icon-floppy"></i> {'Save Settings'|@translate}</button>
</div>
</div>
<input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
</div>
<input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
</form>

View file

@ -80,10 +80,38 @@ jQuery(document).ready(function(){
<a href="#" id="commentSelectInvert">{'Invert'|@translate}</a>
</p>
<p class="bottomButtons">
<input type="submit" name="validate" value="{'Validate'|@translate}">
<input type="submit" name="reject" value="{'Reject'|@translate}">
</p>
<div class="savebar-footer">
<div class="savebar-footer-start">
</div>
<div class="savebar-footer-end">
{if isset($save_success)}
<div class="savebar-footer-block">
<div class="badge info-message">
<i class="icon-ok"></i>{$save_success}
</div>
</div>
{/if}
{if isset($save_error)}
<div class="savebar-footer-block">
<div class="badge info-error">
<i class="icon-cancel-circled"></i>{$save_error}
</div>
</div>
{/if}
{if isset($save_warning)}
<div class="savebar-footer-block">
<div class="badge info-warning">
<i class="icon-attention"></i>{$save_warning}
</div>
</div>
{/if}
<div class="savebar-footer-block">
<button class="buttonSecond" type="submit" name="reject" value="{'Reject'|@translate}"><i class="icon-floppy"></i> {'Reject'|@translate}</button>
<button class="buttonLike" type="submit" name="validate" value="{'Validate'|@translate}"><i class="icon-floppy"></i> {'Validate'|@translate}</button>
</div>
</div>
</div>
</form>
{/if}

View file

@ -150,11 +150,22 @@
</div> <!-- configContent -->
<p class="formButtons">
<button name="submit" type="submit" class="buttonLike" {if $isWebmaster != 1}disabled{/if}>
<i class="icon-floppy"></i> {'Save Settings'|@translate}
</button>
</p>
<div class="savebar-footer">
<div class="savebar-footer-start">
</div>
<div class="savebar-footer-end">
{if isset($save_success)}
<div class="savebar-footer-block">
<div class="badge info-message">
<i class="icon-ok"></i>{$save_success}
</div>
</div>
{/if}
<div class="savebar-footer-block">
<button class="buttonLike" type="submit" name="submit" {if $isWebmaster != 1}disabled{/if}><i class="icon-floppy"></i> {'Save Settings'|@translate}</button>
</div>
</div>
<input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
</div>
<input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
</form>

View file

@ -318,11 +318,23 @@
</div> <!-- configContent -->
<p class="formButtons">
<button name="submit" type="submit" class="buttonLike" {if $isWebmaster != 1}disabled{/if}>
<i class="icon-floppy"></i> {'Save Settings'|@translate}
</button>
</p>
<div class="savebar-footer">
<div class="savebar-footer-start">
</div>
<div class="savebar-footer-end">
{if isset($save_success)}
<div class="savebar-footer-block">
<div class="badge info-message">
<i class="icon-ok"></i>{$save_success}
</div>
</div>
{/if}
<div class="savebar-footer-block">
<button class="buttonLike" type="submit" name="submit" {if $isWebmaster != 1}disabled{/if}><i class="icon-floppy"></i> {'Save Settings'|@translate}</button>
</div>
</div>
<input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
</div>
<input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
</form>

View file

@ -291,11 +291,22 @@ jQuery("input[name='email_admin_on_new_user_filter']").change(function() {
</div> <!-- configContent -->
<p class="formButtons">
<button name="submit" type="submit" class="buttonLike" {if $isWebmaster != 1}disabled{/if}>
<i class="icon-floppy"></i> {'Save Settings'|@translate}
</button>
</p>
<div class="savebar-footer">
<div class="savebar-footer-start">
</div>
<div class="savebar-footer-end">
{if isset($save_success)}
<div class="savebar-footer-block">
<div class="badge info-message">
<i class="icon-ok"></i>{$save_success}
</div>
</div>
{/if}
<div class="savebar-footer-block">
<button class="buttonLike" type="submit" name="submit" {if $isWebmaster != 1}disabled{/if}><i class="icon-floppy"></i> {'Save Settings'|@translate}</button>
</div>
</div>
<input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
</div>
<input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
</form>

View file

@ -221,11 +221,22 @@ $(".restore-settings-button").each(function() {
</div> <!-- configContent -->
<p class="formButtons">
<button name="submit" type="submit" class="buttonLike" {if $isWebmaster != 1}disabled{/if}>
<i class="icon-floppy"></i> {'Save Settings'|@translate}
</button>
</p>
<div class="savebar-footer">
<div class="savebar-footer-start">
</div>
<div class="savebar-footer-end">
{if isset($save_success)}
<div class="savebar-footer-block">
<div class="badge info-message">
<i class="icon-ok"></i>{$save_success}
</div>
</div>
{/if}
<div class="savebar-footer-block">
<button class="buttonLike" type="submit" name="submit" {if $isWebmaster != 1}disabled{/if}><i class="icon-floppy"></i> {'Save Settings'|@translate}</button>
</div>
</div>
<input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
</div>
<input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
</form>

View file

@ -129,11 +129,22 @@
</div> <!-- configContent -->
<p class="formButtons">
<button name="submit" type="submit" class="buttonLike" {if $isWebmaster != 1}disabled{/if}>
<i class="icon-floppy"></i> {'Save Settings'|@translate}
</button>
</p>
<div class="savebar-footer">
<div class="savebar-footer-start">
</div>
<div class="savebar-footer-end">
{if isset($save_success)}
<div class="savebar-footer-block">
<div class="badge info-message">
<i class="icon-ok"></i>{$save_success}
</div>
</div>
{/if}
<div class="savebar-footer-block">
<button class="buttonLike" type="submit" name="submit" {if $isWebmaster != 1}disabled{/if}><i class="icon-floppy"></i> {'Save Settings'|@translate}</button>
</div>
</div>
<input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
</div>
<input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
</form>

View file

@ -41,9 +41,8 @@ jQuery('.thumbnail').tipTip({
});
{/footer_script}
<form action="{$F_ACTION}" method="post">
<form action="{$F_ACTION}" method="post" id="element_set_ranks">
{if !empty($thumbnails)}
<p><input type="submit" value="{'Submit'|@translate}" name="submit"></p>
<fieldset>
<legend><span class="icon-sort-alt-down icon-blue"></span>{'Manual order'|@translate}</legend>
{if !empty($thumbnails)}
@ -92,15 +91,33 @@ jQuery('.thumbnail').tipTip({
{/foreach}
</div>
</fieldset>
<p>
<button name="submit" type="submit" class="buttonLike">
<i class="icon-floppy"></i> {'Save Settings'|@translate}
</button>
<label class="font-checkbox">
<span class="icon-check"></span>
<input type="checkbox" name="image_order_subcats" id="image_order_subcats">
{'Apply to sub-albums'|@translate}
</label>
</p>
<div class="savebar-footer">
<div class="savebar-footer-start">
<div class="savebar-footer-block">
<div class="switch-input">
<label class="switch">
<input type="checkbox" name="image_order_subcats" id="image_order_subcats">
<span class="slider round"></span>
</label>
</div>
<label class="switch-label" for="apply_on_sub"><span>{'Apply to sub-albums'|@translate}</span></label>
</div>
</div>
<div class="savebar-footer-end">
{if isset($save_success)}
<div class="savebar-footer-block">
<div class="badge info-message">
<i class="icon-ok"></i>{$save_success}
</div>
</div>
{/if}
<div class="savebar-footer-block">
<button id="applyAction" class="buttonLike" type="submit" name="submit"><i class="icon-floppy"></i>{'Save order'|@translate}</button>
</div>
</div>
</div>
</form>

View file

@ -61,10 +61,21 @@ jQuery(document).ready(function(){
</li>
{/foreach}
</ul>
<p class="menuSubmit">
<button name="submit" type="submit" class="buttonLike" {if $isWebmaster != 1}disabled{/if}>
<i class="icon-floppy"></i> {'Save Settings'|@translate}
</button>
</p>
<div class="savebar-footer">
<div class="savebar-footer-start">
</div>
<div class="savebar-footer-end">
{if isset($save_success)}
<div class="savebar-footer-block">
<div class="badge info-message">
<i class="icon-ok"></i>{$save_success}
</div>
</div>
{/if}
<div class="savebar-footer-block">
<button class="buttonLike" type="submit" name="submit" {if $isWebmaster != 1}disabled{/if}><i class="icon-floppy"></i> {'Save Settings'|@translate}</button>
</div>
</div>
</div>
</form>

View file

@ -69,10 +69,7 @@ jQuery(document).ready(function(){
</table>
</fieldset>
<p>
<input type="submit" value="{'Submit'|@translate}" name="param_submit">
<input type="reset" value="{'Reset'|@translate}" name="param_reset">
</p>
{/if}{* isset $param*}
{if isset($subscribe)}
@ -141,4 +138,35 @@ jQuery(document).ready(function(){
{/if}
{/if}{* isset $send*}
</form>
{if isset($param)}
<div class="savebar-footer">
<div class="savebar-footer-start">
<div class="savebar-footer-block">
<button class="savebar-see-out" type="reset" name="param_reset">{'Reset'|@translate}</button>
</div>
</div>
<div class="savebar-footer-end">
{if isset($save_success)}
<div class="savebar-footer-block">
<div class="badge info-message">
<i class="icon-ok"></i>{$save_success}
</div>
</div>
{/if}
{if isset($save_error)}
<div class="savebar-footer-block">
<div class="badge info-warning">
<i class="icon-attention"></i>{$save_error}
</div>
</div>
{/if}
<div class="savebar-footer-block">
<button class="buttonLike" type="submit" name="param_submit"><i class="icon-floppy"></i>{'Submit'|@translate}</button>
</div>
</div>
</div>
{/if}
</form>

View file

@ -107,19 +107,11 @@ const str_assoc_album_ab = '{'Associate to album'|translate|escape:javascript}';
<a class="icon-trash" title="{'delete photo'|@translate}" id='action-delete-picture'></a>
{/if}
</div>
{if isset($U_JUMPTO)}
<a class="see-out" href="{$U_JUMPTO}" >
<p><i class="icon-left-open"></i>{'Open in gallery'|@translate}</p>
{else}
<a class="see-out disabled" href="#" >
<p class="tiptip" title="{'You don\'t have access to this photo'|translate}" ><i class="icon-left-open"></i>{'Open in gallery'|translate}</p>
{/if}
{if $INTRO.is_svg}
<img src="{$PATH}" alt="{'Thumbnail'|translate}" class="svg-image other-image-format" style="{if $FORMAT}width:100%; max-height:100%; {else}max-width:100%; height:100%;{/if} object-fit:contain;">
{else}
<img src="{$TN_SRC}" alt="{'Thumbnail'|translate}" class="other-image-format" style="{if $FORMAT}width:100%; max-height:100%;{else}max-width:100%; height:100%;{/if} object-fit:contain;">
{/if}
</a>
</div>
<div id='picture-content'>
<div id='picture-infos'>
@ -224,10 +216,33 @@ const str_assoc_album_ab = '{'Associate to album'|translate|escape:javascript}';
</select>
</p>
<p>
<div class="savebar-footer">
<div class="savebar-footer-start">
<div class="savebar-footer-block">
{if isset($U_JUMPTO)}
<a class="savebar-see-out" href="{$U_JUMPTO}" ><i class="icon-left-open"></i>{'Open in gallery'|@translate}</a>
{else}
<a class="savebar-see-out tiptip disabled" href="#" title="{'You don\'t have access to this photo'|translate}"><i class="icon-left-open"></i>{'Open in gallery'|translate}</a>
{/if}
</div>
</div>
<div class="savebar-footer-end">
{if isset($save_success)}
<div class="savebar-footer-block">
<div class="badge info-message">
<i class="icon-ok"></i>{$save_success}
</div>
</div>
{/if}
<div class="savebar-footer-block">
<button class="buttonLike" type="submit" name="submit"><i class="icon-floppy"></i> {'Save Settings'|@translate}</button>
</div>
</div>
<input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
<input class="submit" type="submit" value="{'Save Settings'|@translate}" name="submit">
</p>
</div>
</div>
</form>

View file

@ -113,8 +113,31 @@ $('#syncFiles label').click(function () {
</ul>
</fieldset>
<p class="bottomButtons syncBtn">
<button class="icon-exchange buttonLike" type="submit" value="" name="submit"> {'Synchronize'|@translate} </button>
</p>
<div class="savebar-footer">
<div class="savebar-footer-start">
</div>
<div class="savebar-footer-end">
{if isset($save_success)}
<div class="savebar-footer-block">
<div class="badge info-message">
<i class="icon-ok"></i>{$save_success}
</div>
</div>
{/if}
{if isset($save_error)}
<div class="savebar-footer-block">
<div class="badge info-warning">
<i class="icon-attention"></i>{$save_error}
</div>
</div>
{/if}
<div class="savebar-footer-block">
<button class="buttonLike" type="submit" name="submit"><i class="icon-floppy"></i> {'Save Settings'|@translate}</button>
</div>
</div>
</form>
{/if}{*isset $introduction*}

View file

@ -705,54 +705,70 @@ LI.menuLi {
flex-wrap: wrap;
}
.cat-modify-footer {
.cat-modify-footer,
.savebar-footer
{
display: flex;
justify-content: space-between;
border-top: 1px solid #ececec;
border-top: 1px solid;
padding: 12px;
position: fixed;
bottom: 0;
right: 0;
width: 100%;
background: white;
}
z-index:1;
align-items:center;
}
.cat-modify-footer-see-out {
.cat-modify-footer-see-out,
.savebar-see-out,
.buttonSecond
{
display: flex;
background-color: #ECECEC;
color: #3C3C3C;
padding: 9px 10px;
font-size: 12px;
font-style: normal;
font-weight: 700;
line-height: normal;
border:none;
cursor:pointer;
}
.cat-modify-footer-see-out:hover {
background-color: #F29F4B;
color: #3C3C3C;
.savebar-footer-block .badge{
border-radius:15px;
padding:5px 10px;
font-size:12px;
font-weight:700;
display:block;
height:auto;
}
.cat-modify-footer-see-out:hover,
.savebar-see-out:hover
{
text-decoration: none;
}
.cat-modify-footer-see-out:focus {
border: 2px solid #F4AB4F;
background: #ECECEC;
}
.cat-modify-footer-start {
.cat-modify-footer-start,
.savebar-footer-start
{
margin-left: 230px;
}
.cat-modify-footer-end {
.cat-modify-footer-end,
.savebar-footer-end
{
display: flex;
}
.cat-modify-footer-see-out.disabled{
background-color: #ECECEC;
color: #B8B8B8;
.cat-modify-footer-see-out.disabled,
.savebar-see-out.disabled
{
cursor: not-allowed;
}
.cat-modify-footer-see-out.disabled:focus {
.cat-modify-footer-see-out.disabled:focus,
.savebar-see-out.disabled:focus{
border: none;
}
@ -774,6 +790,25 @@ LI.menuLi {
margin: 5px 3px 0 0;
}
.savebar-footer-block{
margin-right:15px;
align-self:center;
display: flex;
align-items: center;
}
/* Add padding bottom so nothing gets hidden by bottom save bar */
#picture-content,
#configContent,
#menuOrdering,
#categoryPermissions,
#element_set_ranks,
#update,
#pendingComments,
#action{
padding-bottom:62px!important;
}
/* Search bar */
.search-input{
@ -6538,7 +6573,6 @@ li.plupload_delete a:hover {background: url("images/cancelhover.svg")!important;
#permitAction {display: flex;}
#permitAction select {padding: 12px 10px; width: 280px; -webkit-appearance: none;}
.permitActionItem select { margin-bottom: 25px;}
#applyAction {padding: 10px 18px; margin-left: 0;}
.permitActionItem {margin-left: 30px; width: 225px;}
.permitActionItem .selectize-control.single.plugin-remove_button {width: auto !important;}
.permitActionItem .selectize-input.items.full.has-options.has-items {width: 500px !important; line-height: 23px;}
@ -6546,7 +6580,6 @@ li.plupload_delete a:hover {background: url("images/cancelhover.svg")!important;
#action_move a:last-child {margin-left: 15px; padding: 10px;}
#action_associate .head-button-2 {width: fit-content;}
#action_associate .head-button-2 p {margin-left: 5px; background: transparent;}
#applyAction i {margin-right: 15px;}
#action_delete_derivatives, #action_generate_derivatives {display: flex; flex-wrap: wrap; margin-top: 0px;}
.deleteDerivButtons a {border-radius: 4px; padding: 4px 10px; margin: 5px;}
.deleteDerivButtons {margin-bottom: 15px; margin-right: 51px; width: 100%; text-align: center;}

View file

@ -1046,7 +1046,8 @@ li.plupload_delete a:hover {background: url("images/cancelhover.svg")!important;
color : #c1c1c1 !important
}
.cat-modify-footer {
.cat-modify-footer,
.savebar-footer {
border-color: rgba(0, 0, 0, 0.2);
background: #444444;
}
@ -2173,12 +2174,15 @@ background:#6C2D2D!important;
}
.cat-modify-footer-see-out {
.cat-modify-footer-see-out,
.savebar-see-out,
.buttonSecond {
background-color: #2E2E2E;
color: #777777;
}
.cat-modify-footer-see-out:hover {
.cat-modify-footer-see-out:hover,
.savebar-see-out:hover {
background-color: #1B1B1B;
color: #777777;
}
@ -2190,12 +2194,12 @@ background:#6C2D2D!important;
.cat-modify-footer-see-out.disabled {
background: #5d5d5d !important;
color: #373737 !important;
background: #5d5d5d;
color: #373737;
}
.see-out.disabled p {
background-color: #5d5d5d !important;;
background-color: #5d5d5d !important;
color: #373737 !important;
}

View file

@ -1407,6 +1407,8 @@ $lang['This link is valid for %s. After this time, you will need to request a ne
$lang['To set your password, visit the following address:'] = 'To set your password, visit the following address:';
$lang['A photo library administrator has created the following account for you:'] = 'A photo library administrator has created the following account for you:';
$lang['Welcome to %s'] = 'Welcome to %s';
$lang['Save all photos'] = 'Save all photos';
$lang['Use standard Piwigo template for common pages.'] = 'Use standard Piwigo template for common pages.';
$lang['When enabled, a common template is used for the login, registration and forgotten password pages, regardless of the theme. Some themes might use these templates even if you uncheck this option'] = 'When enabled, a common template is used for the login, registration and forgotten password pages, regardless of the theme. Some themes might use these templates even if you uncheck this option';
// Leave this line empty

View file

@ -1409,6 +1409,7 @@ $lang['This link is valid for %s. After this time, you will need to request a ne
$lang['To set your password, visit the following address:'] = 'Pour définir votre mot de passe, rendez-vous à l\'adresse suivante :';
$lang['A photo library administrator has created the following account for you:'] = 'Un administrateur de la photothèque vous a créé le compte suivant :';
$lang['Welcome to %s'] = 'Bienvenue sur %s';
$lang['Save all photos'] = 'Enregistrer toutes les photos';
$lang['Use standard Piwigo template for common pages.'] = 'Utiliser le modèle standard de Piwigo pour les pages courantes.';
$lang['When enabled, a common template is used for the login, registration and forgotten password pages, regardless of the theme. Some themes might use these templates even if you uncheck this option'] = 'Lorsque cette option est activée, un modèle commun est utilisé pour les pages de connexion, d\'inscription et de mot de passe oublié, quel que soit le thème. Certains thèmes peuvent utiliser ces modèles même si cette option est décochée.';
// Leave this line empty