Dotclear


Ignore:
Timestamp:
11/17/13 20:25:53 (12 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
2.6
Children:
2567:6c11245cbf04, 2568:61c67a7d17fa
Message:

Add some people in CREDITS, remove trailing spaces and tabs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/admin/lib.admincombos.php

    r2154 r2566  
    1414@ingroup DC_CORE 
    1515@nosubgrouping 
    16 @brief Admin combo library  
     16@brief Admin combo library 
    1717 
    1818Dotclear utility class that provides reuseable combos across all admin 
     
    2323     /** @var dcCore dcCore instance */ 
    2424     public static $core; 
    25       
     25 
    2626     /** 
    2727     Returns an hierarchical categories combo from a category record 
    28       
     28 
    2929     @param    categories          <b>record</b>       the category record 
    3030     @return   <b>array</b> the combo box (form::combo -compatible format) 
     
    4444          return $categories_combo; 
    4545     } 
    46       
     46 
    4747     /** 
    48      Returns available post status combo  
    49       
     48     Returns available post status combo 
     49 
    5050     @return   <b>array</b> the combo box (form::combo -compatible format) 
    5151     */ 
     
    5757          return $status_combo; 
    5858     } 
    59       
     59 
    6060     /** 
    6161     Returns an users combo from a users record 
    62       
     62 
    6363     @param    users          <b>record</b>       the users record 
    6464     @return   <b>array</b> the combo box (form::combo -compatible format) 
     
    7070               $user_cn = dcUtils::getUserCN($users->user_id,$users->user_name, 
    7171               $users->user_firstname,$users->user_displayname); 
    72                 
     72 
    7373               if ($user_cn != $users->user_id) { 
    7474                    $user_cn .= ' ('.$users->user_id.')'; 
    7575               } 
    76                 
    77                $users_combo[$user_cn] = $users->user_id;  
     76 
     77               $users_combo[$user_cn] = $users->user_id; 
    7878          } 
    7979          return $users_combo; 
    8080     } 
    81       
     81 
    8282     /** 
    8383     Returns an date combo from a date record 
    84       
     84 
    8585     @param    dates          <b>record</b>       the dates record 
    8686     @return   <b>array</b> the combo box (form::combo -compatible format) 
    87      */    
     87     */ 
    8888     public static function getDatesCombo($dates) { 
    8989          $dt_m_combo= array(); 
    9090          while ($dates->fetch()) { 
    9191               $dt_m_combo[dt::str('%B %Y',$dates->ts())] = $dates->year().$dates->month(); 
    92           }          
     92          } 
    9393          return $dt_m_combo; 
    9494     } 
    95       
     95 
    9696     /** 
    9797     Returns an lang combo from a lang record 
    98       
     98 
    9999     @param    langs          <b>record</b>       the langs record 
    100100     @param    with_available <b>boolean</b> if false, only list items from record 
    101101                                                       if true, also list available languages 
    102102     @return   <b>array</b> the combo box (form::combo -compatible format) 
    103      */    
     103     */ 
    104104     public static function getLangsCombo($langs,$with_available=false) { 
    105105          $all_langs = l10n::getISOcodes(0,1); 
     
    124124          return $langs_combo; 
    125125     } 
    126       
     126 
    127127     /** 
    128128     Returns a combo containing all available and installed languages for administration pages 
    129       
     129 
    130130     @return   <b>array</b> the combo box (form::combo -compatible format) 
    131      */    
     131     */ 
    132132     public static function getAdminLangsCombo() { 
    133133          $lang_combo = array(); 
     
    139139          return $lang_combo; 
    140140     } 
    141       
     141 
    142142     /** 
    143143     Returns a combo containing all available formaters in admin 
    144       
     144 
    145145     @return   <b>array</b> the combo box (form::combo -compatible format) 
    146      */    
     146     */ 
    147147     public static function getFormatersCombo() { 
    148148          foreach (self::$core->getFormaters() as $v) { 
     
    151151          return $formaters_combo; 
    152152     } 
    153       
     153 
    154154     /** 
    155155     Returns a combo containing available blog statuses 
    156       
     156 
    157157     @return   <b>array</b> the combo box (form::combo -compatible format) 
    158      */    
     158     */ 
    159159     public static function getBlogStatusesCombo() { 
    160160          $status_combo = array(); 
     
    164164          return $status_combo; 
    165165     } 
    166       
     166 
    167167     /** 
    168168     Returns a combo containing available comment statuses 
    169       
     169 
    170170     @return   <b>array</b> the combo box (form::combo -compatible format) 
    171      */    
     171     */ 
    172172     public static function getCommentStatusescombo() { 
    173173          $status_combo = array(); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map