- Timestamp:
- 07/09/12 14:44:20 (13 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/importExport/inc/class.dc.import.feed.php
r557 r840 2 2 # -- BEGIN LICENSE BLOCK --------------------------------------- 3 3 # 4 # This file is part of Dotclear2.4 # This file is part of importExport, a plugin for DotClear2. 5 5 # 6 # Copyright (c) 2003-201 1Olivier Meunier & Association Dotclear6 # Copyright (c) 2003-2012 Olivier Meunier & Association Dotclear 7 7 # Licensed under the GPL version 2.0 license. 8 8 # See LICENSE file or … … 19 19 public function setInfo() 20 20 { 21 $this->type = 'i ';21 $this->type = 'import'; 22 22 $this->name = __('Feed import'); 23 23 $this->description = __('Imports a feed as new entries.'); … … 81 81 82 82 echo 83 '<h3>'.__('Import from a feed').'</h3>'.84 '<p>'.sprintf(__('This will import a feed (RSS or Atom) a as new content in the current blog: %s.'),85 '<strong>'.html::escapeHTML($this->core->blog->name).'</strong>').'</p>'.86 83 '<form action="'.$this->getURL(true).'" method="post">'. 84 '<fieldset><legend>'.__('Single blog').'</legend>'. 85 '<p>'.sprintf(__('This will import a feed (RSS or Atom) a as new content in the current blog: %s.'),html::escapeHTML($this->core->blog->name)).'</p>'. 87 86 88 '<div class="fieldset">'. 87 '<p><label for="feed_url">'.__('Feed URL:').'</label>'. 88 form::field('feed_url',50,300,html::escapeHTML($this->feed_url)).'</p>'. 89 90 '<p>'. 89 91 $this->core->formNonce(). 90 92 form::hidden(array('do'),1). 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>'. 93 '<input type="submit" value="'.__('Import').'" /></p>'. 94 95 '</fieldset>'. 95 96 '</form>'; 96 97 }
Note: See TracChangeset
for help on using the changeset viewer.