Changeset 557:e4ca21f50855 for plugins/importExport/inc
- Timestamp:
- 07/10/11 11:48:44 (14 years ago)
- Branch:
- default
- Location:
- plugins/importExport/inc
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/importExport/inc/class.dc.export.flat.php
r270 r557 157 157 '<p>'.sprintf(__('This will create an export of your current blog: %s'), 158 158 '<strong>'.html::escapeHTML($this->core->blog->name).'</strong>').'</p>'. 159 '<p><label for="file_name" class="classic">'.__('File name:').' 159 '<p><label for="file_name" class="classic">'.__('File name:').'</label>'. 160 160 form::field(array('file_name','file_name'),25,255,date('Y-m-d-').html::escapeHTML($this->core->blog->id.'-backup.txt')). 161 '</label> '.162 161 '<input type="submit" value="'.__('Export').'" />'. 163 162 form::hidden(array('do'),'export_blog'). … … 172 171 '<form action="'.$this->getURL(true).'" method="post">'. 173 172 '<fieldset><legend>'.__('Export all content').'</legend>'. 174 '<p><label for="file_name2" class="classic">'.__('File name:').' 173 '<p><label for="file_name2" class="classic">'.__('File name:').'</label>'. 175 174 form::field(array('file_name','file_name2'),25,255,date('Y-m-d-').'dotclear-backup.txt'). 176 '</label> '.177 175 '<input type="submit" value="'.__('Export all content').'" />'. 178 176 form::hidden(array('do'),'export_all'). -
plugins/importExport/inc/class.dc.import.feed.php
r270 r557 86 86 '<form action="'.$this->getURL(true).'" method="post">'. 87 87 88 '< fieldset>'.88 '<div class="fieldset">'. 89 89 $this->core->formNonce(). 90 90 form::hidden(array('do'),1). 91 '<p><label for="feed_url">'.__('Feed URL:').' 92 form::field('feed_url',40,300,html::escapeHTML($this->feed_url)).'</ label></p>'.93 '<p><input type="submit" value="'.__(' Send').'" /></p>'.94 '</ fieldset>'.91 '<p><label for="feed_url">'.__('Feed URL:').'</label>'. 92 form::field('feed_url',40,300,html::escapeHTML($this->feed_url)).'</p>'. 93 '<p><input type="submit" value="'.__('Import').'" /></p>'. 94 '</div>'. 95 95 '</form>'; 96 96 } -
plugins/importExport/inc/class.dc.import.flat.php
r270 r557 160 160 '<form action="'.$this->getURL(true).'" method="post" enctype="multipart/form-data">'. 161 161 162 '< fieldset>'.162 '<div class="fieldset">'. 163 163 $this->core->formNonce(). 164 164 form::hidden(array('do'),1). 165 165 form::hidden(array('MAX_FILE_SIZE'),DC_MAX_UPLOAD_SIZE). 166 '<p><label for="up_single_file">'.__('Upload a backup file').' 166 '<p><label for="up_single_file">'.__('Upload a backup file').'</label>'. 167 167 '<input type="file" id="up_single_file" name="up_single_file" size="20" />'. 168 '</ label></p>';168 '</p>'; 169 169 170 170 $public_files = $this->getPublicFiles(); … … 178 178 179 179 echo 180 '<p><input type="submit" value="'.__(' Send').'" /></p>'.181 '</ fieldset>'.180 '<p><input type="submit" value="'.__('Import').'" /></p>'. 181 '</div>'. 182 182 '</form>'; 183 183 … … 189 189 '<div>'.form::hidden(array('MAX_FILE_SIZE'),DC_MAX_UPLOAD_SIZE).'</div>'. 190 190 191 '< fieldset>'.191 '<div class="fieldset">'. 192 192 $this->core->formNonce(). 193 193 form::hidden(array('do'),1). 194 194 form::hidden(array('MAX_FILE_SIZE'),DC_MAX_UPLOAD_SIZE). 195 '<p><label for="up_full_file">'.__('Upload a backup file').' 195 '<p><label for="up_full_file">'.__('Upload a backup file').'</label>'. 196 196 '<input type="file" id="up_full_file" name="up_full_file" size="20" />'. 197 '</ label></p>';197 '</p>'; 198 198 199 199 echo 200 '<p><label for="public_full_file">'.__('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').'</label>'. 201 201 form::combo('public_full_file',$public_files, '', '', '', $empty). 202 '</ label></p>';202 '</p>'; 203 203 204 204 echo 205 '<p ><strong>'.__('Warning: This will reset all the content of your database, except users.').'</strong></p>'.206 207 '<p><label for="your_pwd" >'.__('Your password:').208 form::password('your_pwd',20,255).'</ label></p>'.209 210 '<p><input type="submit" value="'.__(' Send').'" /></p>'.211 '</ fieldset>'.205 '<p class="form-note warning"><strong>'.__('Warning: This will reset all the content of your database, except users.').'</strong></p>'. 206 207 '<p><label for="your_pwd" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Your password:').'</label>'. 208 form::password('your_pwd',20,255).'</p>'. 209 210 '<p><input type="submit" value="'.__('Import').'" /></p>'. 211 '</div>'. 212 212 '</form>'; 213 213 }
Note: See TracChangeset
for help on using the changeset viewer.