Exemplo n.º 1
0
 public static function echoAll()
 {
     if (count(self::$errors)) {
         echo '<ul class="log_list_errors">';
         MessageManager::echoAllErrors('<li>', '</li>');
         echo '</ul>';
     }
     if (count(self::$warnings)) {
         echo '<ul class="log_list_warnings">';
         MessageManager::echoAllWarnings('<li>', '</li>');
         echo '</ul>';
     }
     if (count(self::$msgs)) {
         echo '<ul class="log_list_messages">';
         MessageManager::echoAllMessages('<li>', '</li>');
         echo '</ul>';
     }
 }
Exemplo n.º 2
0
 public static function meta_showDefaultConfig()
 {
     $config = ServerInterface::getInstance()->getDefaultConfig();
     echo '<table>';
     foreach ($config as $key => $value) {
         echo '<tr><td>' . $key . ':</td><td>' . $value . '</td></tr>';
     }
     echo '</table>';
     MessageManager::echoAllErrors();
 }