modify update manage online design, add image files and fix bugs.

This commit is contained in:
enriquecd 2016-10-03 19:37:59 +02:00
parent 9e5f383099
commit 17142bdfb9
9 changed files with 30 additions and 8 deletions

View File

@ -34,8 +34,7 @@ if(!enterprise_installed()){
$open=true;
}
echo "<p><b>" . sprintf(__("The last version of package installed is: %d"),
$current_package) . "</b></p>";
$memory_limit = ini_get("memory_limit");
@ -67,10 +66,14 @@ if ($memory_limit < 100) {
echo "<div id='box_online' class='cargatextodialogo'>";
echo "<span class='loading' style='font-size:18pt;'>";
echo "<img src='images/wait.gif' />";
echo "</span>";
echo "<div id='box_online' style='padding-top:40px;padding-bottom:40px;' class='cargatextodialogo'>";
echo "<span class='loading' style='font-size:18pt;'>";
echo "<img src='images/wait.gif' />";
echo "</span><br><br>";
echo "<div><b>".__('The last version of package installed is:')."</b></div><br>";
echo "<div style='color:#82b92e;font-size:40pt;font-weight:bold;'>".$current_package."</div>";
echo "<div class='checking_package' style='font-size:18pt;width:100%; text-align: center; display: none;'>";
echo __('Checking for the newest package.');
@ -94,7 +97,7 @@ You can of course remove the warnings, that's why we include the source and do n
*/
if($open){
echo "<div id='updatemodal' class='publienterprise' title='Community version' style=''><img data-title='Enterprise version' class='img_help forced_title' data-use_title_for_force_title='1' src='images/alert_enterprise.png'></div>
echo "<br><br><div id='updatemodal' class='publienterprisehide' title='Community version' style=''><img data-title='Enterprise version' class='img_help forced_title' data-use_title_for_force_title='1' src='images/icono_exclamacion_2.png'></div><br>
";
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 391 B

View File

@ -1047,7 +1047,7 @@ function config_process_config () {
if (!isset ($config["custom_logo"])) {
if(enterprise_installed()){
config_update_value ('custom_logo', 'pandora_logo_head.png');
config_update_value ('custom_logo', 'pandora_logo_head_4.png');
}
else{
config_update_value ('custom_logo', 'pandora_logo_head_3.png');

View File

@ -93,6 +93,25 @@ $(document).ready (function () {
return false;
});
$(".publienterprisehide").click (function () {
$('body').append( "<div id='opacidad' style='position:fixed;background:black;opacity:0.6;z-index:1'></div>" );
jQuery.get ("ajax.php",
{
"page": "general/alert_enterprise",
"message":$(this).attr("id")},
function (data, status) {
$("#alert_messages").hide ()
.empty ()
.append (data)
.show ();
},
"html"
);
return false;
});