Changeset 1561 for trunk/gregarius/admin/plugins.php
- Timestamp:
- 09/09/06 14:52:23 (2 years ago)
- Files:
-
- 1 modified
-
trunk/gregarius/admin/plugins.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/gregarius/admin/plugins.php
r1560 r1561 84 84 85 85 // Rendering 86 echo "<h2 class=\"trigger\">". LBL_ADMIN_PLUGINS."</h2>\n"86 echo "<h2 class=\"trigger\">".__('Plugins')."</h2>\n" 87 87 ."<div id=\"admin_plugins\">\n"; 88 88 89 89 90 echo LBL_ADMIN_PLUGINS_GET_MORE;90 echo __('<p style="font-size:small">Plugins are third-party scripts that offer extended functionalities. More plugins can be downloaded at the <a style="text-decoration:underline" href="http://plugins.gregarius.net/">Plugin Repository</a>.</p>'); 91 91 92 92 echo "<form method=\"post\" action=\"" .$_SERVER['PHP_SELF'] ."\">\n"; 93 93 echo "<p><input type=\"hidden\" name=\"".CST_ADMIN_DOMAIN."\" value=\"".CST_ADMIN_DOMAIN_PLUGINS."\" /></p>\n"; 94 94 echo "\n<table id=\"plugintable\">\n<tr>\n" 95 ."<th>". LBL_ADMIN_PLUGINS_HEADING_ACTION."</th>\n"96 ."<th>". LBL_ADMIN_PLUGINS_HEADING_NAME."</th>\n"97 ."<th>". LBL_ADMIN_PLUGINS_HEADING_VERSION."</th>\n"98 ."<th>". LBL_ADMIN_PLUGINS_HEADING_AUTHOR."</th>\n"99 ."<th>". LBL_ADMIN_PLUGINS_HEADING_DESCRIPTION."</th>\n"100 ."<th>". LBL_ADMIN_PLUGINS_HEADING_OPTIONS."</th>\n";95 ."<th>".__('Active')."</th>\n" 96 ."<th>".__('Name')."</th>\n" 97 ."<th>".__('Version')."</th>\n" 98 ."<th>".__('Author')."</th>\n" 99 ."<th>".__('Description')."</th>\n" 100 ."<th>".__('Options')."</th>\n"; 101 101 if ($doUpdates) { 102 echo "<th>". LBL_ADMIN_PLUGINS_HEADING_UPDATES."</th>\n";102 echo "<th>".__('Update Available')."</th>\n"; 103 103 } 104 104 … … 147 147 ."&action=". CST_ADMIN_EDIT_ACTION. "&plugin_name=".$escaped_plugin_name 148 148 ."&" .CST_ADMIN_VIEW ."=" .CST_ADMIN_DOMAIN_PLUGIN_OPTIONS 149 ."\">" . LBL_ADMIN_EDIT149 ."\">" . __('edit') 150 150 ."</a>"; 151 151 } else { … … 168 168 echo "</table>\n"; 169 169 echo "<p><input type=\"hidden\" name=\"". CST_ADMIN_METAACTION ."\" value=\"ACT_ADMIN_SUBMIT_CHANGES\"/>\n"; 170 echo "<input type=\"submit\" name=\"admin_plugin_submit_changes\" value=\"". LBL_ADMIN_SUBMIT_CHANGES."\" />\n";171 echo "<input type=\"submit\" name=\"admin_plugin_check_for_updates\" value=\"". LBL_ADMIN_CHECK_FOR_UPDATES."\" /></p></form>\n";170 echo "<input type=\"submit\" name=\"admin_plugin_submit_changes\" value=\"".__('Submit Changes')."\" />\n"; 171 echo "<input type=\"submit\" name=\"admin_plugin_check_for_updates\" value=\"".__('Check for Updates')."\" /></p></form>\n"; 172 172 echo "</div>"; 173 173 } … … 200 200 if ($plugin_output) { // Let us set up a form 201 201 echo "<h2 202 class=\"trigger\">". LBL_ADMIN_PLUGINS_OPTIONS." ".TITLE_SEP." ". $plugin_info['name']. "</h2>\n"202 class=\"trigger\">".__('Plugin Options')." ".TITLE_SEP." ". $plugin_info['name']. "</h2>\n" 203 203 ."<div id=\"admin_plugin_options\">\n"; 204 204 echo "<form method=\"post\" action=\"" .$_SERVER['PHP_SELF'] ."\">\n"; … … 210 210 ."\" value=\"ACT_ADMIN_SUBMIT_CHANGES\"/>\n"; 211 211 echo "<input type=\"submit\" name=\"admin_plugin_options_submit_changes\" value=\"" 212 . LBL_ADMIN_SUBMIT_CHANGES."\" />\n";212 .__('Submit Changes')."\" />\n"; 213 213 echo "<input type=\"submit\" name=\"admin_plugin_options_cancel_changes\" 214 value=\"". LBL_ADMIN_CANCEL."\" /></p></form>\n";214 value=\"".__('Cancel')."\" /></p></form>\n"; 215 215 echo "</div>"; 216 216 } else {
