import.html.php 923 B

12345678910111213141516
  1. <?php if (!defined('HTMLY')) die('HTMLy'); ?>
  2. <?php if (isset($error)) { ?>
  3. <div class="error-message"><?php echo $error ?></div>
  4. <?php } ?>
  5. <h1><?php echo i18n('Import_RSS_Feed_2.0');?></h1>
  6. <p><?php echo i18n('By_using_this_importer_you_confirm_that_the_feed_is_yours_or_that_at_least_you_have_the_authority_to_publish_it');?></p>
  7. <form method="POST">
  8. <label><?php echo i18n('Feed_Url');?> <span class="required">*</span></label><input type="url" class="form-control text <?php if (isset($url)) {
  9. if (empty($url)) {
  10. echo 'error';
  11. }
  12. } ?>" name="url"/><br>
  13. <?php echo i18n('Add_source_link_optional');?> <input type="checkbox" class="checkbox" name="credit" value="yes"/><br><br>
  14. <input type="hidden" name="csrf_token" value="<?php echo get_csrf() ?>">
  15. <input type="submit" name="submit" class="btn btn-primary submit" value="<?php echo i18n('Import_Feed');?>"/>
  16. </form>