From 4f3bce79bfb5851cef9e7bc655c91bb3093cc401 Mon Sep 17 00:00:00 2001 From: donncha Date: Tue, 12 Jul 2005 11:27:54 +0000 Subject: Initial Import git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-inst/wp-admin/plugins.php | 120 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 wp-inst/wp-admin/plugins.php (limited to 'wp-inst/wp-admin/plugins.php') diff --git a/wp-inst/wp-admin/plugins.php b/wp-inst/wp-admin/plugins.php new file mode 100644 index 0000000..3b0f997 --- /dev/null +++ b/wp-inst/wp-admin/plugins.php @@ -0,0 +1,120 @@ + + + +

activated.') ?>

+
+ + +

deactivated.') ?>

+
+ + +
+

+

wp-content/plugins directory. Once a plugin is installed, you may activate it or deactivate it here. If something goes wrong with a plugin and you can’t use WordPress, delete that plugin from the wp-content/plugins directory and it will be automatically deactivated.'); ?>

+Couldn't open plugins directory or there are no plugins available.

"); // TODO: make more helpful +} else { +?> + + + + + + + + + $plugin_data) { + $style = ('class="alternate"' == $style|| 'class="alternate active"' == $style) ? '' : 'alternate'; + + if (!empty($current_plugins) && in_array($plugin_file, $current_plugins)) { + $action = "".__('Deactivate').""; + $plugin_data['Title'] = "{$plugin_data['Title']}"; + $style .= $style == 'alternate' ? ' active' : 'active'; + } else { + $action = "".__('Activate').""; + } + $plugin_data['Description'] = wp_kses($plugin_data['Description'], array('a' => array('href' => array(),'title' => array()),'abbr' => array('title' => array()),'acronym' => array('title' => array()),'code' => array(),'em' => array(),'strong' => array()) ); ; + if ($style != '') $style = 'class="' . $style . '"'; + echo " + + + + + + + "; + } +?> + +
{$plugin_data['Title']}{$plugin_data['Version']}{$plugin_data['Author']}{$plugin_data['Description']}$action
+ + +

+

WordPress plugin directory. To install a plugin you generally just need to upload the plugin file into your wp-content/plugins directory. Once a plugin is uploaded, you may activate it here.'); ?>

+ +
+ + -- cgit