mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fixes #2439 update whats new popup
This commit is contained in:
@@ -376,10 +376,10 @@ if (userprefs_get_param('show_whats_new_'.$whats_new_major_version, true) and pw
|
||||
$release_note_url = PHPWG_URL.'/releases/'.$whats_new_major_version.'.0.0';
|
||||
|
||||
$whats_new_imgs = array(
|
||||
'1' =>'https://ressources.piwigo.com/uploads/c/v/7/cv7jpz6hf8//2024/11/07/20241107171642-58ded6af.png',
|
||||
'2' =>'https://ressources.piwigo.com/uploads/c/v/7/cv7jpz6hf8//2024/11/07/20241107171642-9d651969.png',
|
||||
'3' =>'https://ressources.piwigo.com/uploads/c/v/7/cv7jpz6hf8//2024/11/07/20241107171643-d659d017.png',
|
||||
'4' =>'https://ressources.piwigo.com/uploads/c/v/7/cv7jpz6hf8//2024/11/07/20241107171642-1109101f.png',
|
||||
'1' =>'https://ressources.piwigo.com/uploads/c/v/7/cv7jpz6hf8//2025/11/12/20251112112645-7e309b67.png',
|
||||
'2' =>'https://ressources.piwigo.com/uploads/c/v/7/cv7jpz6hf8//2025/11/12/20251112112645-61f2fcd0.png',
|
||||
'3' =>'https://ressources.piwigo.com/uploads/c/v/7/cv7jpz6hf8//2025/11/12/20251112112646-b322153b.png',
|
||||
// '4' =>'https://ressources.piwigo.com/uploads/c/v/7/cv7jpz6hf8//2024/11/07/20241107171642-1109101f.png',
|
||||
);
|
||||
|
||||
$display_bell = false;
|
||||
|
||||
@@ -43,25 +43,25 @@
|
||||
<h3>{'What\'s new in version %s'|translate:$WHATS_NEW_MAJOR_VERSION}</h3>
|
||||
<div>
|
||||
<div class="whats_new_block_container">
|
||||
<div class="whats_new_block icon-yellow">
|
||||
<h4>{'A new interface for user management'|translate}</h4>
|
||||
<div class="whats_new_block icon-blue whats_new_block_w_60">
|
||||
<h4>Brand new login & preferences with Standard pages !</h4>
|
||||
<a href="{$RELEASE_NOTE_URL}" target="_blank"><img src="{$WHATS_NEW_IMGS.1}"></a>
|
||||
</div>
|
||||
<div class="whats_new_block icon-green">
|
||||
<h4>{'Brand new features : Activities logs and PDF reader'|translate}</h4>
|
||||
<div class="whats_new_block icon-purple whats_new_block_w_40">
|
||||
<h4>Two factor authentication is here</h4>
|
||||
<a href="{$RELEASE_NOTE_URL}" target="_blank"><img src="{$WHATS_NEW_IMGS.2}"></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="whats_new_block_container">
|
||||
<div class="whats_new_block icon-blue">
|
||||
<h4>{'Enhanced interface for batch manager and album selector'|translate}</h4>
|
||||
<div class="whats_new_block icon-green whats_new_block_w_100">
|
||||
<h4>UI redesigns that make a difference</h4>
|
||||
<a href="{$RELEASE_NOTE_URL}" target="_blank"><img src="{$WHATS_NEW_IMGS.3}"></a>
|
||||
</div>
|
||||
<div class="whats_new_block icon-purple">
|
||||
{* <div class="whats_new_block icon-yellow">
|
||||
<h4>{'Even more filters for the gallery search engine'|translate}</h4>
|
||||
<a href="{$RELEASE_NOTE_URL}" target="_blank"><img src="{$WHATS_NEW_IMGS.4}"></a>
|
||||
</div>
|
||||
</div>
|
||||
</div> *}
|
||||
</div>
|
||||
<div class="whats_new_buttons">
|
||||
<button onClick="hide_user_whats_new()"><i class="icon-thumbs-up"></i> {'Ok, got it!'|translate}</button>
|
||||
|
||||
@@ -8396,7 +8396,7 @@ color:#FF7B00;
|
||||
}
|
||||
|
||||
#whats_new .whats_new_block.icon-green:hover{
|
||||
transform-origin: top right;
|
||||
transform-origin: top center;
|
||||
}
|
||||
|
||||
#whats_new .whats_new_block.icon-blue:hover{
|
||||
@@ -8407,20 +8407,22 @@ color:#FF7B00;
|
||||
transform-origin: bottom right;
|
||||
}
|
||||
|
||||
#whats_new .whats_new_block.icon-yellow,
|
||||
#whats_new .whats_new_block.icon-purple{
|
||||
#whats_new .whats_new_block_w_40{
|
||||
width:40%;
|
||||
}
|
||||
|
||||
#whats_new .whats_new_block.icon-green,
|
||||
.whats_new_block.icon-blue{
|
||||
#whats_new .whats_new_block_w_60{
|
||||
width:60%;
|
||||
}
|
||||
|
||||
#whats_new .whats_new_block_w_100{
|
||||
width:100%;
|
||||
}
|
||||
|
||||
#whats_new .whats_new_block img{
|
||||
width:100%;
|
||||
height:auto;
|
||||
margin-bottom:-4px;
|
||||
}
|
||||
|
||||
#whats_new .whats_new_buttons{
|
||||
|
||||
Reference in New Issue
Block a user