Dotclear


Ignore:
Timestamp:
10/01/13 16:39:40 (12 years ago)
Author:
Dsls
Branch:
default
Message:
  • Removed superfluous space in addNotice
  • Non-repeatable notifications, step 2 : blogs and categories
  • Fixed blogs breadcrumb

see #1710

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/admin/lib.dc.page.php

    r2181 r2189  
    177177           
    178178          if (isset($_SESSION['notifications'])) { 
    179                $types = array("success" => "success", "warning" => "warning-msg"); 
     179               $types = array("success" => "success", "warning" => "warning-msg", "error" => "error"); 
    180180               $notifications = $_SESSION['notifications']; 
    181181               foreach ($types as $type => $class) { 
     
    201201          self::addNotice("warning",$message); 
    202202     } 
    203       
     203     public static function addErrorNotice($message) { 
     204          self::addNotice("error",$message); 
     205     }     
    204206     protected static function getNotification($msg,$class) { 
    205207          global $core; 
    206208          $res = '<p class="'.$class.'">'. 
    207           dt::str(__('[%H:%M:%S] '),$msg['ts'],$core->auth->getInfo('user_tz')).' '.$msg['text']. 
     209          dt::str(__('[%H:%M:%S]'),$msg['ts'],$core->auth->getInfo('user_tz')).' '.$msg['text']. 
    208210          '</p>'; 
    209211          return $res;    
Note: See TracChangeset for help on using the changeset viewer.

Sites map