Beispiel #1
0
function pageAdminNotifications()
{
    $page = new page();
    $core = core::getInstance();
    if (!$page->createHomepage()) {
        show::msg($core->lang("No homepage defined"), "error");
    }
}
Beispiel #2
0
function pluginsmanagerAdminNotifications()
{
    $core = core::getInstance();
    $pluginsManager = pluginsManager::getInstance();
    $list = '';
    foreach ($pluginsManager->getPlugins() as $plugin) {
        if (!$pluginsManager->isActivePlugin($plugin->getName())) {
            $list .= $plugin->getInfoVal('name') . ', ';
        }
    }
    if ($list != '') {
        show::msg($core->lang("Plugins are inactive") . ' (' . trim($list, ', ') . ')', "info");
    }
}
Beispiel #3
0
                      </div>
		          <?php 
}
?>

		            <!-- NOTICATIONS -->
				  	<div id="notifs" class="reveal-modal" data-reveal aria-labelledby="modalTitle" aria-hidden="true" role="dialog">
				  			<h2 id="modalTitle"><?php 
echo $core->lang('Notifications center');
?>
</h2>
				  			<?php 
foreach ($core->check() as $k => $v) {
    ?>
							<?php 
    echo show::msg($v['msg'], $v['type']);
    ?>
							<?php 
}
?>
							<?php 
eval($core->callHook('adminNotifications'));
?>
							<a class="close-reveal-modal" aria-label="Close">&#215;</a>
					</div>
					<!-- /NOTICATIONS -->
		
            </div> <!-- /large-9 medium-8 columns -->
          </div> <!-- /row -->
        </section>
Beispiel #4
0
              </div>  <!-- /sidebar -->
              </div> <!-- /hide-for-small -->
            </div> <!-- /large-3 medium-4 columns -->
            
            
            <!-- CONTENU -->          
            <div class="large-9 medium-8 columns">
        <br><br>
		        <h2><?php 
echo $core->lang($pageTitle);
?>
</h2>
		        <hr><br><br>
		        <?php 
show::msg($msg, $msgType);
// Affichage de toutes les Notifications
?>
		        
		          <?php 
if ($core->detectAdminMode() == 'plugin' && $runPlugin->useAdminTabs()) {
    ?>
                      <dl class="radius tabs" data-tab>
           	          <?php 
    foreach ($runPlugin->getAdminTabs() as $k => $v) {
        ?>
			            <dd><a href="#tab-<?php 
        echo $k;
        ?>
"><?php 
        echo $core->lang($v);
Beispiel #5
0
   <?php 
defined('ROOT') or exit('No direct script access allowed');
?>
<br />
   <?php 
show::msg($core->lang("Do not change advanced settings if you're not on what you're doing."), "info");
?>
   
     <div class="row">
    <div class="large-6 columns">
      <input <?php 
if ($core->getConfigVal('debug')) {
    ?>
checked<?php 
}
?>
 type="checkbox" name="debug" /> <label for="debug"><?php 
echo $core->lang("Debug Mod");
?>
</label> 
    </div>
    <div class="large-6 columns">
      <input id="urlRewriting" type="checkbox" onclick="updateHtaccess('<?php 
echo $rewriteBase;
?>
');" <?php 
if ($core->getConfigVal('urlRewriting')) {
    ?>
checked<?php 
}
?>
Beispiel #6
0
  <div class="row"> 
    <!-- Login Form -->
    <div class="small-5 small-centered columns login">
     <div class="panel radius">
	  
	  <p class="text-center">
                   <img src="assets/logo.png" alt="logo" />
                </p>
	  
           <h1 class="text-center"><?php 
echo $core->lang('Login');
?>
</h1>
           <hr />
           <?php 
show::msg($msg, 'error');
?>
           
           <form method="post" action="index.php?action=login">   
           <?php 
show::adminTokenField();
?>
          
              <div class="row collapse">
                <div class="large-12 columns">
                   <label for="adminEmail"><?php 
echo $core->lang('Email');
?>
</label>
                   <input type="email" id="adminEmail" name="adminEmail" placeholder="*****@*****.**" required>
                </div>