Dotclear


Ignore:
Timestamp:
08/20/13 16:47:16 (12 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:

Let fieldsets be fieldsets (work in progress): blogpref, category, blogtheme, langs, media, plugins, user actions, antispam, importexport.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/blog_theme.php

    r1428 r1499  
    250250     $themes = $core->themes->getModules(); 
    251251     if (isset($themes[$core->blog->settings->system->theme])) { 
    252           echo '<p>'.sprintf(__('You are currently using "%s"'),$themes[$core->blog->settings->system->theme]['name']).'.</p>'; 
     252          echo '<p>'.sprintf(__('You are currently using <strong>%s</strong>'),$themes[$core->blog->settings->system->theme]['name']).'.</p>'; 
    253253     } 
    254254      
     
    299299               # 'Upload theme' form 
    300300               echo 
    301                '<form method="post" action="blog_theme.php" id="uploadpkg" enctype="multipart/form-data">'. 
    302                '<fieldset>'. 
    303                '<legend>'.__('Upload a zip file').'</legend>'. 
     301               '<form method="post" action="blog_theme.php" id="uploadpkg" enctype="multipart/form-data" class="fieldset">'. 
     302               '<h4>'.__('Upload a zip file').'</h4>'. 
    304303               '<p class="field"><label for="pkg_file" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Theme zip file:').'</label> '. 
    305304               '<input type="file" name="pkg_file" id="pkg_file" /></p>'. 
    306305               '<p class="field"><label for="your_pwd1" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Your password:').'</label> '. 
    307306               form::password(array('your_pwd','your_pwd1'),20,255).'</p>'. 
    308                '<input type="submit" name="upload_pkg" value="'.__('Upload theme').'" />'. 
    309                $core->formNonce(). 
    310                '</fieldset>'. 
     307               '<p><input type="submit" name="upload_pkg" value="'.__('Upload theme').'" />'. 
     308               $core->formNonce().'</p>'. 
    311309               '</form>'; 
    312310                
    313311               # 'Fetch theme' form 
    314312               echo 
    315                '<form method="post" action="blog_theme.php" id="fetchpkg">'. 
    316                '<fieldset>'. 
    317                '<legend>'.__('Download a zip file').'</legend>'. 
     313               '<form method="post" action="blog_theme.php" id="fetchpkg" class="fieldset">'. 
     314               '<h4>'.__('Download a zip file').'</h4>'. 
    318315               '<p class="field"><label for="pkg_url" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Theme zip file URL:').'</label> '. 
    319316               form::field(array('pkg_url','pkg_url'),40,255).'</p>'. 
    320317               '<p class="field"><label for="your_pwd2" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Your password:').'</label> '. 
    321318               form::password(array('your_pwd','your_pwd2'),20,255).'</p>'. 
    322                '<input type="submit" name="fetch_pkg" value="'.__('Download theme').'" />'. 
    323                $core->formNonce(). 
    324                '</fieldset>'. 
     319               '<p><input type="submit" name="fetch_pkg" value="'.__('Download theme').'" />'. 
     320               $core->formNonce().'</p>'. 
    325321               '</form>'; 
    326322          } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map