diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-13 14:42:25 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-13 14:42:25 +0000 |
commit | b239115b1144418a22bdee83e359f6cbce88c774 (patch) | |
tree | 53d010184ba966d3056989916903ea44fe4043a7 /views/default/admin | |
parent | a1a3677c24ef96dbf682a83743a6fce7111eac2a (diff) | |
download | elgg-b239115b1144418a22bdee83e359f6cbce88c774.tar.gz elgg-b239115b1144418a22bdee83e359f6cbce88c774.tar.bz2 |
Moved plugin settings so they're more obvious.
git-svn-id: https://code.elgg.org/elgg/trunk@2746 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/admin')
-rw-r--r-- | views/default/admin/plugins_opt/plugin.php | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/views/default/admin/plugins_opt/plugin.php b/views/default/admin/plugins_opt/plugin.php index 5cb1797c4..a5199fb2b 100644 --- a/views/default/admin/plugins_opt/plugin.php +++ b/views/default/admin/plugins_opt/plugin.php @@ -50,7 +50,16 @@ <?php } ?> </div> - <h3><?php echo $plugin; ?></h3> + <h3><?php echo $plugin; ?><?php if (elgg_view("settings/{$plugin}/edit")) { ?> <a class="pluginsettings_link">[<?php echo elgg_echo('settings'); ?>]</a><?php } ?></h3>
+
+ <?php if (elgg_view("settings/{$plugin}/edit")) { ?>
+ <div class="pluginsettings">
+ <div id="<?php echo $plugin; ?>_settings">
+ <?php echo elgg_view("object/plugin", array('plugin' => $plugin, 'entity' => find_plugin_settings($plugin))) ?>
+ </div>
+ </div>
+ <?php } ?>
+ <p><a class="manifest_details"><?php echo elgg_echo("admin:plugins:label:moreinfo"); ?></a></p> <div class="manifest_file"> @@ -62,15 +71,6 @@ <div><?php echo elgg_echo('admin:plugins:label:licence') . ": ". $manifest['licence'] . $manifest['license'] ?></div> <div><?php echo elgg_echo('admin:plugins:label:website') . ": "; ?><a href="<?php echo $manifest['website']; ?>"><?php echo $manifest['website']; ?></a></div> <?php } ?> - - <?php if (elgg_view("settings/{$plugin}/edit")) { ?> - <div class="pluginsettings"> - <h3><?php echo elgg_echo("settings"); ?></h3> - <div id="<?php echo $plugin; ?>_settings"> - <?php echo elgg_view("object/plugin", array('plugin' => $plugin, 'entity' => find_plugin_settings($plugin))) ?> - </div> - </div> - <?php } ?> </div> |