Dotclear


Ignore:
Timestamp:
05/02/11 08:28:04 (14 years ago)
Author:
kozlika
Branch:
userprefs
Message:

Fixes

  • décalage de la première icône du tableau de bord sur IE
  • largeur de la boîte de chaque icône du tableau de bord
  • terme anglais (media) : originale > original
  • étoile rouge sur la création de catégorie pour le champ titre
  • étoile rouge sur les champs requis de blog_pref et de création/édition de page
Location:
plugins/importExport/inc
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • plugins/importExport/inc/class.dc.export.flat.php

    r0 r82  
    156156          '<p>'.sprintf(__('This will create an export of your current blog: %s'), 
    157157          '<strong>'.html::escapeHTML($this->core->blog->name).'</strong>').'</p>'. 
    158           '<p><label class="classic">'.__('File name:').' '. 
     158          '<p><label for="file_name" class="classic">'.__('File name:').' '. 
    159159          form::field(array('file_name'),25,255,date('Y-m-d-').html::escapeHTML($this->core->blog->id.'-backup.txt')). 
    160160          '</label> '. 
     
    171171               '<form action="'.$this->getURL(true).'" method="post">'. 
    172172               '<fieldset><legend>'.__('Export all content').'</legend>'. 
    173                '<p><label class="classic">'.__('File name:').' '. 
    174                form::field(array('file_name'),25,255,date('Y-m-d-').'dotclear-backup.txt'). 
     173               '<p><label for="file_name2" class="classic">'.__('File name:').' '. 
     174               form::field(array('file_name','file_name2'),25,255,date('Y-m-d-').'dotclear-backup.txt'). 
    175175               '</label> '. 
    176176               '<input type="submit" value="'.__('Export all content').'" />'. 
  • plugins/importExport/inc/class.dc.import.dc1.php

    r0 r82  
    151151                    printf($this->imForm(1,__('General information'),__('Import my blog now')), 
    152152                    '<h3>'.__('We first need some information about your old Dotclear 1.2 installation.').'</h3>'. 
    153                     '<p><label>'.__('Database Host Name:').' '. 
     153                    '<p><label for="db_host">'.__('Database Host Name:').' '. 
    154154                    form::field('db_host',30,255,html::escapeHTML($this->vars['db_host'])).'</label></p>'. 
    155                     '<p><label>'.__('Database Name:',html::escapeHTML($this->vars['db_name'])).' '. 
     155                    '<p><label for="db_name">'.__('Database Name:',html::escapeHTML($this->vars['db_name'])).' '. 
    156156                    form::field('db_name',30,255,html::escapeHTML($this->vars['db_name'])).'</label></p>'. 
    157                     '<p><label>'.__('Database User Name:').' '. 
     157                    '<p><label for="db_user">'.__('Database User Name:').' '. 
    158158                    form::field('db_user',30,255,html::escapeHTML($this->vars['db_user'])).'</label></p>'. 
    159                     '<p><label>'.__('Database Password:').' '. 
     159                    '<p><label for="db_pwd">'.__('Database Password:').' '. 
    160160                    form::password('db_pwd',30,255).'</label></p>'. 
    161                     '<p><label>'.__('Database Tables Prefix:').' '. 
     161                    '<p><label for="db_prefix">'.__('Database Tables Prefix:').' '. 
    162162                    form::field('db_prefix',30,255,html::escapeHTML($this->vars['db_prefix'])).'</label></p>'. 
    163163                    '<h3>'.__('Entries import options').'</h3>'. 
    164                     '<p><label>'.__('Number of entries to import at once:').' '. 
     164                    '<p><label for="post_limit">'.__('Number of entries to import at once:').' '. 
    165165                    form::field('post_limit',3,3,html::escapeHTML($this->vars['post_limit'])).'</label></p>' 
    166166                    ); 
  • plugins/importExport/inc/class.dc.import.feed.php

    r0 r82  
    8989          $this->core->formNonce(). 
    9090          form::hidden(array('do'),1). 
    91           '<p><label>'.__('Feed URL:').' '. 
     91          '<p><label for="feed_url">'.__('Feed URL:').' '. 
    9292          form::field('feed_url',40,300,html::escapeHTML($this->feed_url)).'</label></p>'. 
    9393          '<p><input type="submit" value="'.__('Send').'" /></p>'. 
  • plugins/importExport/inc/class.dc.import.flat.php

    r0 r82  
    164164          form::hidden(array('do'),1). 
    165165          form::hidden(array('MAX_FILE_SIZE'),DC_MAX_UPLOAD_SIZE). 
    166           '<p><label>'.__('Upload a backup file').' '. 
     166          '<p><label for="up_single_file">'.__('Upload a backup file').' '. 
    167167          '<input type="file" id="up_single_file" name="up_single_file" size="20" />'. 
    168168          '</label></p>'; 
     
    173173          $public_files = array_merge(array('-' => ''),$public_files); 
    174174          echo 
    175           '<p><label>'.__('or pick up a local file in your public directory').' '. 
     175          '<p><label for="public_single_file">'.__('or pick up a local file in your public directory').' '. 
    176176          form::combo('public_single_file',$public_files, '', '', '', $empty). 
    177177          '</label></p>'; 
     
    193193               form::hidden(array('do'),1). 
    194194               form::hidden(array('MAX_FILE_SIZE'),DC_MAX_UPLOAD_SIZE). 
    195                '<p><label>'.__('Upload a backup file').' '. 
     195               '<p><label for="up_full_file">'.__('Upload a backup file').' '. 
    196196               '<input type="file" id="up_full_file" name="up_full_file" size="20" />'. 
    197197               '</label></p>'; 
    198198                
    199199               echo 
    200                '<p><label>'.__('or pick up a local file in your public directory').' '. 
     200               '<p><label for="public_full_file">'.__('or pick up a local file in your public directory').' '. 
    201201               form::combo('public_full_file',$public_files, '', '', '', $empty). 
    202202               '</label></p>'; 
     
    205205               '<p><strong>'.__('Warning: This will reset all the content of your database, except users.').'</strong></p>'. 
    206206                
    207                '<p><label>'.__('Your password:'). 
     207               '<p><label for="your_pwd">'.__('Your password:'). 
    208208               form::password('your_pwd',20,255).'</label></p>'. 
    209209                
  • plugins/importExport/inc/class.dc.import.wp.php

    r0 r82  
    182182                    printf($this->imForm(1,__('General information'),__('Import my blog now')), 
    183183                    '<h3>'.__('We first need some information about your old WordPress installation.').'</h3>'. 
    184                     '<p><label>'.__('Database Host Name:').' '. 
     184                    '<p><label for="db_host">'.__('Database Host Name:').' '. 
    185185                    form::field('db_host',30,255,html::escapeHTML($this->vars['db_host'])).'</label></p>'. 
    186                     '<p><label>'.__('Database Name:',html::escapeHTML($this->vars['db_name'])).' '. 
     186                    '<p><label for="db_name">'.__('Database Name:',html::escapeHTML($this->vars['db_name'])).' '. 
    187187                    form::field('db_name',30,255,html::escapeHTML($this->vars['db_name'])).'</label></p>'. 
    188                     '<p><label>'.__('Database User Name:').' '. 
     188                    '<p><label for="db_user">'.__('Database User Name:').' '. 
    189189                    form::field('db_user',30,255,html::escapeHTML($this->vars['db_user'])).'</label></p>'. 
    190                     '<p><label>'.__('Database Password:').' '. 
     190                    '<p><label for="db_pwd">'.__('Database Password:').' '. 
    191191                    form::password('db_pwd',30,255).'</label></p>'. 
    192                     '<p><label>'.__('Database Tables Prefix:').' '. 
     192                    '<p><label for="db_prefix">'.__('Database Tables Prefix:').' '. 
    193193                    form::field('db_prefix',30,255,html::escapeHTML($this->vars['db_prefix'])).'</label></p>'. 
    194194                    '<h3>'.__('Entries import options').'</h3>'. 
     
    202202                    'category, you can just ignore it while importing your blog, as Dotclear allows you to '. 
    203203                    'actually keep your posts uncategorized.').'</p>'. 
    204                     '<p><label class="classic">'.form::checkbox('ignore_first_cat',1,$this->vars['ignore_first_cat']).' '. 
     204                    '<p><label for="ignore_first_cat" class="classic">'.form::checkbox('ignore_first_cat',1,$this->vars['ignore_first_cat']).' '. 
    205205                    __('Ignore the first category:').'</label></p>'. 
    206                     '<p><label class="classic">'.form::checkbox('cat_import',1,$this->vars['cat_import']).' '. 
     206                    '<p><label for="cat_import" class="classic">'.form::checkbox('cat_import',1,$this->vars['cat_import']).' '. 
    207207                    __('Import lowest numbered category on posts:').'</label></p>'. 
    208                     '<p><label class="classic">'.form::checkbox('cat_as_tags',1,$this->vars['cat_as_tags']).' '. 
     208                    '<p><label for="cat_as_tags" class="classic">'.form::checkbox('cat_as_tags',1,$this->vars['cat_as_tags']).' '. 
    209209                    __('Import all categories as tags:').'</label></p>'. 
    210                     '<p><label>'.__('Prefix such tags with:').' '. 
     210                    '<p><label for="cat_tags_prefix">'.__('Prefix such tags with:').' '. 
    211211                    form::field('cat_tags_prefix',10,20,html::escapeHTML($this->vars['cat_tags_prefix'])).'</label></p>'. 
    212                     '<p><label>'.__('Number of entries to import at once:').' '. 
     212                    '<p><label for="post_limit">'.__('Number of entries to import at once:').' '. 
    213213                    form::field('post_limit',3,3,html::escapeHTML($this->vars['post_limit'])).'</label></p>'. 
    214214                     
    215215                    '<h3>'.__('Content filters').'</h3>'. 
    216216                    '<p>'.__('You may want to process your post and/or comment content with the following filters.').'</p>'. 
    217                     '<p><label>'.__('Post content formatter:').' '.form::combo('post_formater',$this->formaters,$this->vars['post_formater']).'</label></p>'. 
    218                     '<p><label>'.__('Comment content formatter:').' '.form::combo('comment_formater',$this->formaters,$this->vars['comment_formater']).'</label></p>' 
     217                    '<p><label for="post_formater">'.__('Post content formatter:').' '.form::combo('post_formater',$this->formaters,$this->vars['post_formater']).'</label></p>'. 
     218                    '<p><label for="comment_formater">'.__('Comment content formatter:').' '.form::combo('comment_formater',$this->formaters,$this->vars['comment_formater']).'</label></p>' 
    219219                    ); 
    220220                    break; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map