diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-05-23 08:42:05 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-05-23 08:42:05 +0000 |
commit | 8b242d995c04b453a63fbb4b02743a3fba40a493 (patch) | |
tree | 0ab7503b8ffdaa4949e5e8fd385cec9d10bb86ee /wp-admin/plugins.php | |
parent | d1e5a30f84677d1361137277164fe783dc3e54c3 (diff) | |
download | wordpress-mu-8b242d995c04b453a63fbb4b02743a3fba40a493.tar.gz wordpress-mu-8b242d995c04b453a63fbb4b02743a3fba40a493.tar.xz wordpress-mu-8b242d995c04b453a63fbb4b02743a3fba40a493.zip |
Only display the "get more plugins" message if user is a site admin, fixes #317
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@981 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/plugins.php')
-rw-r--r-- | wp-admin/plugins.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wp-admin/plugins.php b/wp-admin/plugins.php index a4edf30..c4e5808 100644 --- a/wp-admin/plugins.php +++ b/wp-admin/plugins.php @@ -164,12 +164,14 @@ if (empty($plugins)) { } ?> +<?php if( is_site_admin() ) { ?> <p><?php printf(__('If something goes wrong with a plugin and you can’t use WordPress, delete or rename that file in the <code>%s</code> directory and it will be automatically deactivated.'), PLUGINDIR); ?></p> <h2><?php _e('Get More Plugins'); ?></h2> <p><?php _e('You can find additional plugins for your site in the <a href="http://wordpress.org/extend/plugins/">WordPress plugin directory</a>.'); ?></p> <p><?php printf(__('To install a plugin you generally just need to upload the plugin file into your <code>%s</code> directory. Once a plugin is uploaded, you may activate it here.'), PLUGINDIR); ?></p> +<?php } // is_site_admin() ?> </div> <?php |