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
  • admin/blog.php

    r2314 r2566  
    2828     $blog_name = $cur->blog_name = $_POST['blog_name']; 
    2929     $blog_desc = $cur->blog_desc = $_POST['blog_desc']; 
    30       
     30 
    3131     try 
    3232     { 
    3333          # --BEHAVIOR-- adminBeforeBlogCreate 
    3434          $core->callBehavior('adminBeforeBlogCreate',$cur,$blog_id); 
    35            
     35 
    3636          $core->addBlog($cur); 
    37            
     37 
    3838          # Default settings and override some 
    3939          $core->blogDefaults($cur->blog_id); 
     
    4242          $blog_settings->system->put('lang',$core->auth->getInfo('user_lang')); 
    4343          $blog_settings->system->put('blog_timezone',$core->auth->getInfo('user_tz')); 
    44            
     44 
    4545          if (substr($blog_url,-1) == '?') { 
    4646               $blog_settings->system->put('url_scan','query_string'); 
     
    4848               $blog_settings->system->put('url_scan','path_info'); 
    4949          } 
    50            
     50 
    5151          # --BEHAVIOR-- adminAfterBlogCreate 
    5252          $core->callBehavior('adminAfterBlogCreate',$cur,$blog_id,$blog_settings); 
     
    7575               )) 
    7676     ); 
    77       
     77 
    7878     echo 
    7979     '<form action="blog.php" method="post" id="blog-form">'. 
    80       
     80 
    8181     '<div>'.$core->formNonce().'</div>'. 
    8282     '<p><label class="required" for="blog_id"><abbr title="'.__('Required field').'">*</abbr> '.__('Blog ID:').'</label> '. 
     
    8888          '<p class="form-note warn">'.__('Please note that changing your blog ID may require changes in your public index.php file.').'</p>'; 
    8989     } 
    90       
     90 
    9191     echo 
    9292     '<p><label class="required" for="blog_name"><abbr title="'.__('Required field').'">*</abbr> '.__('Blog name:').'</label> '. 
    9393     form::field('blog_name',30,255,html::escapeHTML($blog_name)).'</p>'. 
    94       
     94 
    9595     '<p><label class="required" for="blog_url"><abbr title="'.__('Required field').'">*</abbr> '.__('Blog URL:').'</label> '. 
    9696     form::field('blog_url',30,255,html::escapeHTML($blog_url)).'</p>'. 
    97       
     97 
    9898     '<p class="area"><label for="blog_desc">'.__('Blog description:').'</label> '. 
    9999     form::textarea('blog_desc',60,5,html::escapeHTML($blog_desc)).'</p>'. 
    100       
     100 
    101101     '<p><input type="submit" accesskey="s" value="'.__('Create').'" /></p>'. 
    102102     '</form>'; 
     
    105105     dcPage::close(); 
    106106} 
    107 ?> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map