diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-16 12:52:01 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-16 12:52:01 +0000 |
commit | 254d24bef4f9bc84da8496f4014e65763bdcffd9 (patch) | |
tree | 2aaa32d649f24c6b8f3f12bdbc7ec4f52a1a4470 /views/default | |
parent | 7c4ba8ffa30cfdedd254e0946f1351619ad9f190 (diff) | |
download | elgg-254d24bef4f9bc84da8496f4014e65763bdcffd9.tar.gz elgg-254d24bef4f9bc84da8496f4014e65763bdcffd9.tar.bz2 |
theme updates
git-svn-id: https://code.elgg.org/elgg/trunk@2761 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default')
-rw-r--r-- | views/default/friends/collections.php | 4 | ||||
-rw-r--r-- | views/default/friends/forms/edit.php | 60 | ||||
-rw-r--r-- | views/default/friends/tablelist.php | 2 |
3 files changed, 35 insertions, 31 deletions
diff --git a/views/default/friends/collections.php b/views/default/friends/collections.php index 14995309d..6a77f7773 100644 --- a/views/default/friends/collections.php +++ b/views/default/friends/collections.php @@ -16,6 +16,8 @@ if (!isset($friendspicker)) $friendspicker = 0;
+ echo "<div class=\"contentWrapper\">";
+
if (is_array($vars['collections']) && sizeof($vars['collections'])) {
echo "<ul id=\"friends_collections_accordian\">";
@@ -34,6 +36,8 @@ echo elgg_echo("friends:nocollections");
}
+
+ echo "</div>";
?>
diff --git a/views/default/friends/forms/edit.php b/views/default/friends/forms/edit.php index 80a080f3e..683e0503c 100644 --- a/views/default/friends/forms/edit.php +++ b/views/default/friends/forms/edit.php @@ -1,31 +1,31 @@ -<?php
-
- /**
- * Elgg friend collections add/edit
- *
- * @package Elgg
- * @subpackage Core
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Curverider Ltd
- * @copyright Curverider Ltd 2008-2009
- * @link http://elgg.org/
- *
- * @uses $vars['object'] Optionally, the collection edit
- */
-
- // var_export($vars['collection'][0]->id);
-
- // Set title, form destination
- if (isset($vars['collection'])) {
- $action = "friends/editcollection";
- $title = $vars['collection'][0]->name;
- } else {
- $action = "friends/addcollection";
- $title = "";
- }
+<?php + + /** + * Elgg friend collections add/edit + * + * @package Elgg + * @subpackage Core + * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2 + * @author Curverider Ltd + * @copyright Curverider Ltd 2008-2009 + * @link http://elgg.org/ + * + * @uses $vars['object'] Optionally, the collection edit + */ + + // var_export($vars['collection'][0]->id); + + // Set title, form destination + if (isset($vars['collection'])) { + $action = "friends/editcollection"; + $title = $vars['collection'][0]->name; + } else { + $action = "friends/addcollection"; + $title = ""; + } - $form_body = "<p><label>" . elgg_echo("friends:collectionname") . "<br />" . + $form_body = "<div class='contentWrapper'><p><label>" . elgg_echo("friends:collectionname") . "<br />" . elgg_view("input/text", array( "internalname" => "collection_name", "value" => $title, @@ -45,15 +45,15 @@ $form_body .= "</p>"; - $form_body .= "<p><label>" . elgg_echo("friends:addfriends") . "<br />". - elgg_view('friends/picker',array('entities' => $vars['friends'], 'internalname' => 'friends_collection')) . "</label></p>"; + $form_body .= "<p><label>" . elgg_echo("friends:addfriends") . "</label>". + elgg_view('friends/picker',array('entities' => $vars['friends'], 'internalname' => 'friends_collection')) . "</p>"; $form_body .= "<p>"; if (isset($vars['collection'])) { $form_body .= elgg_view('input/hidden', array('internalname' => 'collection_id', 'value' => "{$vars['collection'][0]->id}")); } $form_body .= elgg_view('input/submit', array('internalname' => 'submit', 'value' => elgg_echo('save'))); - $form_body .= "</p>"; + $form_body .= "</p></div>"; - echo elgg_view('input/form', array('body' => $form_body, 'action' => "{$vars['url']}action/$action"));
+ echo elgg_view('input/form', array('body' => $form_body, 'action' => "{$vars['url']}action/$action")); ?>
\ No newline at end of file diff --git a/views/default/friends/tablelist.php b/views/default/friends/tablelist.php index aa01461e0..eca106b69 100644 --- a/views/default/friends/tablelist.php +++ b/views/default/friends/tablelist.php @@ -18,7 +18,7 @@ ?> - <table cellspacing="0" id="collectionMembersTable" style="margin:10px;"> + <table cellspacing="0" id="collectionMembersTable"> <tr> <?php $column = 0; |