- Timestamp:
- 05/02/11 08:28:04 (14 years ago)
- Branch:
- userprefs
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/importExport/inc/class.dc.import.wp.php
r0 r82 182 182 printf($this->imForm(1,__('General information'),__('Import my blog now')), 183 183 '<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:').' '. 185 185 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'])).' '. 187 187 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:').' '. 189 189 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:').' '. 191 191 form::password('db_pwd',30,255).'</label></p>'. 192 '<p><label >'.__('Database Tables Prefix:').' '.192 '<p><label for="db_prefix">'.__('Database Tables Prefix:').' '. 193 193 form::field('db_prefix',30,255,html::escapeHTML($this->vars['db_prefix'])).'</label></p>'. 194 194 '<h3>'.__('Entries import options').'</h3>'. … … 202 202 'category, you can just ignore it while importing your blog, as Dotclear allows you to '. 203 203 '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']).' '. 205 205 __('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']).' '. 207 207 __('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']).' '. 209 209 __('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:').' '. 211 211 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:').' '. 213 213 form::field('post_limit',3,3,html::escapeHTML($this->vars['post_limit'])).'</label></p>'. 214 214 215 215 '<h3>'.__('Content filters').'</h3>'. 216 216 '<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>' 219 219 ); 220 220 break;
Note: See TracChangeset
for help on using the changeset viewer.