Changeset 1561 for trunk/gregarius/admin/opml.php
- Timestamp:
- 09/09/06 14:52:23 (2 years ago)
- Files:
-
- 1 modified
-
trunk/gregarius/admin/opml.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/gregarius/admin/opml.php
r1560 r1561 36 36 //disable file upload formfields when file_upload is false 37 37 $disableupload = ini_get('file_uploads') ? "":" disabled=\"disabled\" "; 38 echo "<h2>". LBL_ADMIN_OPML."</h2>\n";38 echo "<h2>". __('OPML:') ."</h2>\n"; 39 39 echo "<div id=\"admin_opml\">\n"; 40 40 41 41 echo "<fieldset id=\"opmlimport\">\n" 42 ."<legend>" . LBL_ADMIN_OPML_IMPORT_OPML. "</legend>";42 ."<legend>" . __('Import OPML:') . "</legend>"; 43 43 44 44 echo "<form enctype=\"multipart/form-data\" method=\"post\" action=\"" .$_SERVER['PHP_SELF'] ."\">\n"; 45 45 echo "<p><input type=\"hidden\" name=\"". CST_ADMIN_DOMAIN ."\" value=\"".CST_ADMIN_DOMAIN_CHANNEL."\"/>\n"; 46 echo "<label for=\"opml\">" . LBL_ADMIN_OPML_IMPORT_FROM_URL."</label>\n";46 echo "<label for=\"opml\">" . __('... from URL:') ."</label>\n"; 47 47 echo "<input type=\"text\" name=\"opml\" id=\"opml\" value=\"http://\" onfocus=\"this.select()\"/></p>\n"; 48 48 … … 50 50 echo '<p><input type="hidden" name="' . CST_ADMIN_DOMAIN . '" value="' . CST_ADMIN_DOMAIN_CHANNEL . "\" />\n"; 51 51 echo '<input type="hidden" name="MAX_FILE_SIZE" value="150000" />' . "\n"; 52 echo '<label for="opmlfile">' . LBL_ADMIN_OPML_IMPORT_FROM_FILE. "</label>\n";52 echo '<label for="opmlfile">' . __('... from File:') . "</label>\n"; 53 53 echo '<input name="opmlfile" type="file" id="opmlfile" '.$disableupload.'/></p>' . "\n"; 54 54 … … 61 61 62 62 echo "\n" 63 ."<p>". LBL_ADMIN_OPML_IMPORT_AND."</p>"63 ."<p>".__('Import new feeds and:')."</p>" 64 64 65 65 ."<p style=\"padding-left:1em;\"><input checked=\"checked\" type=\"radio\" id=\"opml_import_option_merge\" name=\"opml_import_option\" value=\"".CST_ADMIN_OPML_IMPORT_MERGE."\" />\n" 66 ."<label for=\"opml_import_option_merge\" >". LBL_ADMIN_OPML_IMPORT_MERGE."</label></p>\n"66 ."<label for=\"opml_import_option_merge\" >".__('... merge them with the existing ones.')."</label></p>\n" 67 67 68 68 69 69 ."<p style=\"padding-left:1em;\"><input type=\"radio\" id=\"opml_import_option_folder\" name=\"opml_import_option\" value=\"".CST_ADMIN_OPML_IMPORT_FOLDER."\" />\n" 70 ."<label for=\"opml_import_option_folder\" >". LBL_ADMIN_OPML_IMPORT_FOLDER."</label>"70 ."<label for=\"opml_import_option_folder\" >".__('... add them to the folder:')."</label>" 71 71 .rss_toolkit_folders_combo('opml_import_to_folder',null) 72 72 ."</p>\n" 73 73 74 74 ."<p style=\"padding-left:1em;\"><input type=\"radio\" id=\"opml_import_option_wipe\" name=\"opml_import_option\" value=\"".CST_ADMIN_OPML_IMPORT_WIPE."\" />\n" 75 ."<label for=\"opml_import_option_wipe\" >". LBL_ADMIN_OPML_IMPORT_WIPE."</label></p>\n"75 ."<label for=\"opml_import_option_wipe\" >".__('... replace all existing feeds and items.')."</label></p>\n" 76 76 77 77 .""; … … 79 79 80 80 echo "<p style=\"text-align:center\"><input type=\"hidden\" name=\"". CST_ADMIN_METAACTION ."\" value=\"ACT_ADMIN_IMPORT\" />\n"; 81 echo "<input type=\"submit\" name=\"action\" value=\"". LBL_ADMIN_OPML_IMPORT."\" /></p>\n";81 echo "<input type=\"submit\" name=\"action\" value=\"". __('Import') ."\" /></p>\n"; 82 82 83 83 … … 105 105 $action = getPath() ."opml.php"; 106 106 } 107 echo "<fieldset style=\"vertical-align:top\">\n<legend>". LBL_ADMIN_OPML_EXPORT_OPML."</legend>\n";107 echo "<fieldset style=\"vertical-align:top\">\n<legend>".__('Export OPML:')."</legend>\n"; 108 108 echo "<form method=\"$method\" action=\"$action\">\n" 109 ."<p><label for=\"action\">". LBL_ADMIN_OPML_EXPORT_OPML. "</label>\n"110 ."<input type=\"submit\" name=\"act\" id=\"action\" value=\"". LBL_ADMIN_EXPORT."\" />"109 ."<p><label for=\"action\">". __('Export OPML:'). "</label>\n" 110 ."<input type=\"submit\" name=\"act\" id=\"action\" value=\"". __('Export') ."\" />" 111 111 ."</p>\n</form>\n" 112 112 ."</fieldset>\n";
