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/core/class.dc.utils.php

    r2388 r2566  
    2424     <var>user_id</var>, <var>user_name</var>, <var>user_firstname</var> and 
    2525     <var>user_displayname</var>. 
    26       
     26 
    2727     @param    user_id             <b>string</b>  User ID 
    2828     @param    user_name           <b>string</b>  User's name 
     
    3636               return $user_displayname; 
    3737          } 
    38            
     38 
    3939          if (!empty($user_name)) { 
    4040               if (!empty($user_firstname)) { 
     
    4646               return $user_firstname; 
    4747          } 
    48            
     48 
    4949          return $user_id; 
    5050     } 
    51       
     51 
    5252     /** 
    5353     Cleanup a list of IDs 
    54       
     54 
    5555     @param    ids            <b>mixed</b>   ID(s) 
    5656     @return   <b>array</b> 
     
    5959     { 
    6060          $clean_ids = array(); 
    61            
     61 
    6262          if (!is_array($ids)) { 
    6363               $ids = array($ids); 
    6464          } 
    65            
     65 
    6666          foreach($ids as $id) 
    6767          { 
    6868               $id = abs((integer) $id); 
    69                 
     69 
    7070               if (!empty($id)) { 
    7171                    $clean_ids[] = $id; 
     
    9898     } 
    9999} 
    100  
    101 ?> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map