Dotclear

Changeset 3067:42a2dc49b08f


Ignore:
Timestamp:
08/11/15 17:25:03 (9 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

2.8 Changelog

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG

    r2958 r3067  
     1Dotclear 2.8 - 2015-08-13 
     2=========================================================== 
     3* New module dependencies system (plugins) 
     4* Theme editor: Cope with css theme sub-folder 
     5* extension/heritage system applied to mustek templateset 
     6* installation wizard now allows SQLite engine 
     7* Legacy editor toolbar may now be displayed below textarea 
     8* Breadcrumb plugin added to the distribution, included in mustek/currywurst templatesets 
     9* Allow a fifth parameter (optional) for image to insert a legend using figure/figcaption tags (wiki) 
     10* XHTML validator removed from legacy editor 
     11* Update jQuery from 1.11.2 to 1.11.3 
     12* Add a blog parameter to disable internal search 
     13* Add some sort orders and filters criteria for posts and comments 
     14* Update CKEditor from 4.4.8 to 4.5.2 
     15* Add IP and antispam filter columns when displaying spams 
     16* Add actions to directly blacklist IP from comments list 
     17* Lexical sort order for tags and widgets 
     18* Use HTML5 audio tag for MP3 attachments 
     19* Lot of bug fixes 
     20* Various cosmestic adjustments 
     21 
    122Dotclear 2.7.4 - 2015-02-13 
    223=========================================================== 
  • inc/core/class.dc.modules.php

    r3066 r3067  
    6161      * @return array list of enabled modules with unmet dependencies, and that must be disabled. 
    6262      */ 
    63      public function checkDependencies() { 
     63     public function checkDependencies() 
     64     { 
    6465          $this->to_disable = array(); 
    6566          foreach ($this->all_modules as $k => &$m) { 
     
    106107      * Checks all modules dependencies, and disable unmet dependencies 
    107108      * @param  string $redir_url URL to redirect if modules are to disable 
    108       * @return boolea, true if a redirection has been performed 
     109      * @return boolean, true if a redirection has been performed 
    109110      */ 
    110      public function disableDepModules($redir_url) { 
     111     public function disableDepModules($redir_url) 
     112     { 
    111113          if (isset($_GET['dep'])) { 
    112114               // Avoid infinite redirects 
     
    115117          $reason = array(); 
    116118          foreach ($this->to_disable as $module) { 
    117                     try{ 
    118                          $this->deactivateModule($module['name']); 
    119                          $reason[] = sprintf("<li>%s : %s</li>",$module['name'],join(',',$module['reason'])); 
    120                     } catch (Exception $e) { 
    121                     } 
     119               try{ 
     120                    $this->deactivateModule($module['name']); 
     121                    $reason[] = sprintf("<li>%s : %s</li>",$module['name'],join(',',$module['reason'])); 
     122               } catch (Exception $e) { 
     123               } 
    122124          } 
    123125          if (count($reason)) { 
    124126               $message = sprintf ("<p>%s</p><ul>%s</ul>", 
    125                     __("The following extensions have been disabled :"), 
     127                    __('The following extensions have been disabled :'), 
    126128                    join('',$reason) 
    127129               ); 
    128                dcPage::addWarningNotice($message,array('divtag'=>true,'with_ts' => false)); 
    129                if (strpos($redir_url,"?")) { 
    130                     $url = $redir_url."&"."dep=1"; 
    131                } else { 
    132                     $url = $redir_url."?"."dep=1"; 
    133                } 
     130               dcPage::addWarningNotice($message,array('divtag' => true,'with_ts' => false)); 
     131               $url = $redir_url.(strpos($redir_url,"?") ? '&' : '?').'dep=1'; 
    134132               http::redirect($url); 
    135133               return true; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map