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
  • plugins/attachments/_admin.php

    r2360 r2566  
    3838     public static function postHeaders() 
    3939     { 
    40           return  
     40          return 
    4141          '<script type="text/javascript" src="index.php?pf=attachments/js/post.js"></script>'; 
    4242     } 
    43      public static function adminPostFormItems($main,$sidebar,$post)  
     43     public static function adminPostFormItems($main,$sidebar,$post) 
    4444     { 
    4545          if ($post !== null) 
     
    6666                    '<li>'.files::size($f->size).' - '. 
    6767                    '<a href="'.$f->file_url.'">'.__('open').'</a>'.'</li>'. 
    68                      
     68 
    6969                    '<li class="media-action"><a class="attachment-remove" id="attachment-'.$f->media_id.'" '. 
    7070                    'href="post_media.php?post_id='.$post->post_id.'&amp;media_id='.$f->media_id.'&amp;remove=1">'. 
    7171                    '<img src="images/trash.png" alt="'.__('remove').'" /></a>'. 
    7272                    '</li>'. 
    73                      
     73 
    7474                    '</ul>'. 
    7575                    '</div>'; 
    7676               } 
    7777               unset($f); 
    78                 
     78 
    7979               if (empty($post_media)) { 
    8080                    $item .= '<p class="form-note s-attachments">'.__('No attachment.').'</p>'; 
    81                }  
     81               } 
    8282               $item .= '<p class="s-attachments"><a class="button" href="media.php?post_id='.$post->post_id.'">'.__('Add files to this entry').'</a></p>'; 
    8383               $sidebar['metas-box']['items']['attachments']= $item; 
    8484          } 
    8585     } 
    86       
     86 
    8787     public static function adminPostAfterForm($post) { 
    8888          if ($post !== null) 
     
    9898     } 
    9999} 
    100 ?> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map