modify update manage online design, add image files and fix bugs.
(cherry picked from commit 17142bdfb9
)
|
@ -34,8 +34,7 @@ if(!enterprise_installed()){
|
||||||
$open=true;
|
$open=true;
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "<p><b>" . sprintf(__("The last version of package installed is: %d"),
|
|
||||||
$current_package) . "</b></p>";
|
|
||||||
|
|
||||||
|
|
||||||
$memory_limit = ini_get("memory_limit");
|
$memory_limit = ini_get("memory_limit");
|
||||||
|
@ -67,10 +66,14 @@ if ($memory_limit < 100) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
echo "<div id='box_online' class='cargatextodialogo'>";
|
echo "<div id='box_online' style='padding-top:40px;padding-bottom:40px;' class='cargatextodialogo'>";
|
||||||
echo "<span class='loading' style='font-size:18pt;'>";
|
echo "<span class='loading' style='font-size:18pt;'>";
|
||||||
echo "<img src='images/wait.gif' />";
|
echo "<img src='images/wait.gif' />";
|
||||||
echo "</span>";
|
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 "<div class='checking_package' style='font-size:18pt;width:100%; text-align: center; display: none;'>";
|
||||||
echo __('Checking for the newest package.');
|
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){
|
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>
|
||||||
";
|
";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 8.5 KiB |
After Width: | Height: | Size: 391 B |
|
@ -1028,7 +1028,7 @@ function config_process_config () {
|
||||||
|
|
||||||
if (!isset ($config["custom_logo"])) {
|
if (!isset ($config["custom_logo"])) {
|
||||||
if(enterprise_installed()){
|
if(enterprise_installed()){
|
||||||
config_update_value ('custom_logo', 'pandora_logo_head.png');
|
config_update_value ('custom_logo', 'pandora_logo_head_4.png');
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
config_update_value ('custom_logo', 'pandora_logo_head_3.png');
|
config_update_value ('custom_logo', 'pandora_logo_head_3.png');
|
||||||
|
|
|
@ -93,6 +93,25 @@ $(document).ready (function () {
|
||||||
|
|
||||||
return false;
|
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;
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|