plugins/admin/Home.php
changeset 1259 49db7495f6b8
parent 1227 bdac73ed481e
child 1268 57f3857a8161
equal deleted inserted replaced
1258:d972b1276d95 1259:49db7495f6b8
    48 			echo '<h3>' . $lang->get('acphome_msg_demo_title') . '</h3>
    48 			echo '<h3>' . $lang->get('acphome_msg_demo_title') . '</h3>
    49 						<p>' . $lang->get('acphome_msg_demo_body', array('reset_url' => makeUrlNS('Special', 'DemoReset', false, true))) . '</p>';
    49 						<p>' . $lang->get('acphome_msg_demo_body', array('reset_url' => makeUrlNS('Special', 'DemoReset', false, true))) . '</p>';
    50 		echo '</div>';
    50 		echo '</div>';
    51 	}
    51 	}
    52 	
    52 	
       
    53 	// Upgrade success
       
    54 	if ( getConfig('newly_upgraded') )
       
    55 	{
       
    56 		setConfig('newly_upgraded', false);
       
    57 		echo '<div class="acphome-box notice">'
       
    58 				. '<h3>' . $lang->get('acphome_msg_upgrade_success_title') . '</h3>'
       
    59 				. '<p>' . $lang->get('acphome_msg_upgrade_success_body') . '</p>'
       
    60 				. '</div>';
       
    61 	}
       
    62 	
    53 	// Check for the installer scripts
    63 	// Check for the installer scripts
    54 	if( file_exists(ENANO_ROOT.'/install/install.php') && !defined('ENANO_DEMO_MODE') )
    64 	if( file_exists(ENANO_ROOT.'/install/install.php') && !defined('ENANO_DEMO_MODE') )
    55 	{
    65 	{
    56 		echo '<div class="acphome-box warning">
    66 		echo '<div class="acphome-box warning">
    57 						<h3>' . $lang->get('acphome_msg_install_files_title') . '</h3>
    67 						<h3>' . $lang->get('acphome_msg_install_files_title') . '</h3>