diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-13 10:01:37 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-13 10:01:37 +0000 |
commit | 1044828301f9e76bbd022ae48e8b6d163cea6318 (patch) | |
tree | afa5092fba760a69d378b974e9d726f5b5e6279b /views | |
parent | 5582e8070201138cc8ce76a3b900d3f1fbbc3337 (diff) | |
download | elgg-1044828301f9e76bbd022ae48e8b6d163cea6318.tar.gz elgg-1044828301f9e76bbd022ae48e8b6d163cea6318.tar.bz2 |
- User search box
Marcus Povey
git-svn-id: https://code.elgg.org/elgg/trunk@907 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-rw-r--r-- | views/default/admin/site.php | 2 | ||||
-rw-r--r-- | views/default/admin/statistics_opt/online.php | 4 | ||||
-rw-r--r-- | views/default/admin/user.php | 2 | ||||
-rw-r--r-- | views/default/admin/user_opt/search.php | 20 |
4 files changed, 25 insertions, 3 deletions
diff --git a/views/default/admin/site.php b/views/default/admin/site.php index 34a89481d..8792431c2 100644 --- a/views/default/admin/site.php +++ b/views/default/admin/site.php @@ -16,5 +16,5 @@ // Description of what's going on echo "<p>" . nl2br(elgg_echo("admin:site:description")) . "</p>"; - echo elgg_view("settings/system",array("action" => $CONFIG->wwwroot."action/admin/site/update_basic")); + echo elgg_view("settings/system",array("action" => $CONFIG->wwwroot."action/admin/site/update_basic")); // Always want to do this first. ?>
\ No newline at end of file diff --git a/views/default/admin/statistics_opt/online.php b/views/default/admin/statistics_opt/online.php index 2a9532470..1c86c21d1 100644 --- a/views/default/admin/statistics_opt/online.php +++ b/views/default/admin/statistics_opt/online.php @@ -16,4 +16,6 @@ <div> <h2><?php echo sprintf(elgg_echo('admin:statistics:label:onlineusers'), 10); ?></h2> -</div>
\ No newline at end of file +</div> + +TODO: Writeme
\ No newline at end of file diff --git a/views/default/admin/user.php b/views/default/admin/user.php index 0f5a5daf6..ee708d30e 100644 --- a/views/default/admin/user.php +++ b/views/default/admin/user.php @@ -14,5 +14,5 @@ // Description of what's going on echo "<p>" . nl2br(elgg_echo("admin:user:description")) . "</p>"; - + echo elgg_view("admin/user_opt/search"); ?>
\ No newline at end of file diff --git a/views/default/admin/user_opt/search.php b/views/default/admin/user_opt/search.php new file mode 100644 index 000000000..071d982c4 --- /dev/null +++ b/views/default/admin/user_opt/search.php @@ -0,0 +1,20 @@ +<?php + /** + * Elgg user search box. + * + * @package Elgg + * @subpackage Core + * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2 + * @author Marcus Povey + * @copyright Curverider Ltd 2008 + * @link http://elgg.org/ + */ +?> +<div id="search-box"> + <form> + <b><?php echo elgg_echo('admin:user:label:search'); ?></b> + <input type="text" name="search" /> + <input type="submit" name="<?php echo elgg_echo('admin:user:label:seachbutton'); ?>" + value="<?php echo elgg_echo('admin:user:label:seachbutton'); ?>" /> + </form> +</div> |