diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-17 05:01:50 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-17 05:01:50 +0000 |
commit | 4de4452ba04cf48dfaaea664a3b07a491232e2c5 (patch) | |
tree | 8921db6a42e248d1da83c2733b1244edef999675 /views | |
parent | 0b9a0eae2bf248fe3b03be16837e20e2c6431224 (diff) | |
download | elgg-4de4452ba04cf48dfaaea664a3b07a491232e2c5.tar.gz elgg-4de4452ba04cf48dfaaea664a3b07a491232e2c5.tar.bz2 |
Cleaned up a manual implementation of elgg-module
git-svn-id: http://code.elgg.org/elgg/trunk@8274 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-rw-r--r-- | views/default/admin/components/plugin_settings.php | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/views/default/admin/components/plugin_settings.php b/views/default/admin/components/plugin_settings.php index 48e65b4dd..6feb78725 100644 --- a/views/default/admin/components/plugin_settings.php +++ b/views/default/admin/components/plugin_settings.php @@ -12,18 +12,11 @@ $plugin = $vars['plugin']; $plugin_id = $plugin->getID(); if (elgg_view_exists("settings/$plugin_id/edit")) { -?> - -<div class="elgg-module elgg-module-info"> - <div class="elgg-head"> - <h3><?php echo $plugin->manifest->getName(); ?></h3> - </div> - <div class="elgg-body"> - <?php - $params = array('id' => "$plugin_id-settings"); - echo elgg_view_form("plugins/settings/save", $params, $vars); - ?> - </div> -</div> -<?php + + $title = $plugin->manifest->getName(); + + $params = array('id' => "$plugin_id-settings"); + $body = elgg_view_form("plugins/settings/save", $params, $vars); + + echo elgg_view_module('info', $title, $body); }
\ No newline at end of file |