+
\ No newline at end of file
diff --git a/views/default/account/forms/login.php b/views/default/account/forms/login.php
index 394c1ea88..766b2ca28 100644
--- a/views/default/account/forms/login.php
+++ b/views/default/account/forms/login.php
@@ -10,16 +10,16 @@
global $CONFIG;
-$form_body = "
\ No newline at end of file
diff --git a/views/default/admin/main.php b/views/default/admin/main.php
index fc143244d..e345f56d6 100644
--- a/views/default/admin/main.php
+++ b/views/default/admin/main.php
@@ -9,4 +9,4 @@
*/
// Description of what's going on
-echo "
diff --git a/views/default/admin/site.php b/views/default/admin/site.php
index 67cfca5a1..0893e4970 100644
--- a/views/default/admin/site.php
+++ b/views/default/admin/site.php
@@ -11,8 +11,6 @@
global $CONFIG;
// Description of what's going on
-echo "
" . elgg_view('output/longtext', array('value' => elgg_echo("admin:site:description"))) . " ";
+echo elgg_view('output/longtext', array('value' => elgg_echo("admin:site:description")));
-echo elgg_view("settings/system",array("action" => $CONFIG->wwwroot."action/admin/site/update_basic")); // Always want to do this first.
-
-echo "
";
\ No newline at end of file
+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/basic.php b/views/default/admin/statistics_opt/basic.php
index eed94c76b..f89314fef 100644
--- a/views/default/admin/statistics_opt/basic.php
+++ b/views/default/admin/statistics_opt/basic.php
@@ -19,9 +19,9 @@ $version = get_version();
$release = get_version(true);
?>
-
+
\ No newline at end of file
diff --git a/views/default/admin/user.php b/views/default/admin/user.php
index 409afbe88..eb07d120e 100644
--- a/views/default/admin/user.php
+++ b/views/default/admin/user.php
@@ -8,11 +8,12 @@
* @link http://elgg.org/
*/
-// Description of what's going on
-echo "
+
\ No newline at end of file
diff --git a/views/default/annotation/latest_comments.php b/views/default/annotation/latest_comments.php
new file mode 100755
index 000000000..85ddfab7b
--- /dev/null
+++ b/views/default/annotation/latest_comments.php
@@ -0,0 +1,39 @@
+";
+ echo "
" . elgg_echo('latestcomments') . "
";
+ foreach($vars['comments'] as $comment){
+ //grab the entity the comment is on
+ $entity = get_entity($comment->entity_guid);
+ //comment owner
+ $comment_owner = get_user($comment->owner_guid);
+ $friendlytime = friendly_time($comment->time_created); // get timestamp for comment
+
+ //set the title
+ if($entity->title)
+ $objecttitle = $entity->title;
+ else
+ $objecttitle = elgg_echo('file:untitled');
+
+ //if the entity has been deleted, don't link to it
+ if($entity){
+ $url = $entity->getURL(); // get url to file for comment link
+ $url_display = "{$objecttitle}";
+ //$owner = $entity->getOwnerEntity(); // get file owner
+ }else{
+ $url_display = $objecttitle;
+ }
+
+ echo "
";
+
+ }
+ echo "";
+}
\ No newline at end of file
diff --git a/views/default/canvas/default.php b/views/default/canvas/default.php
index 0cfa8b49a..9ad941ccc 100644
--- a/views/default/canvas/default.php
+++ b/views/default/canvas/default.php
@@ -8,8 +8,7 @@
* @link http://elgg.org/
*/
-for ($i = 1; $i < 8; $i++) {
- if (isset($vars["area{$i}"])) {
- echo $vars["area{$i}"];
- }
-}
\ No newline at end of file
+if (isset($vars['area1'])) {
+ echo $vars['area1'];
+}
+
diff --git a/views/default/canvas/layouts/one_column.php b/views/default/canvas/layouts/one_column.php
index c71c2def6..68a75f784 100644
--- a/views/default/canvas/layouts/one_column.php
+++ b/views/default/canvas/layouts/one_column.php
@@ -8,10 +8,8 @@
* @link http://elgg.org/
*/
?>
-
-
-
-
-
-
-
\ No newline at end of file
+
+
+
+
+
\ No newline at end of file
diff --git a/views/default/canvas/layouts/one_column_with_sidebar.php b/views/default/canvas/layouts/one_column_with_sidebar.php
new file mode 100644
index 000000000..f7fff4d08
--- /dev/null
+++ b/views/default/canvas/layouts/one_column_with_sidebar.php
@@ -0,0 +1,23 @@
+
+
";
+
+?>
\ No newline at end of file
diff --git a/views/default/navigation/pagination.php b/views/default/navigation/pagination.php
index 11dfd0e86..9dde51eea 100644
--- a/views/default/navigation/pagination.php
+++ b/views/default/navigation/pagination.php
@@ -38,12 +38,14 @@ if (isset($vars['nonefound'])) {
$totalpages = ceil($count / $limit);
$currentpage = ceil($offset / $limit) + 1;
+//$baseurl = elgg_http_remove_url_query_element($vars['baseurl'], $word);
+
//only display if there is content to paginate through or if we already have an offset
if (($count > $limit || $offset > 0) && get_context() != 'widget') {
?>
-
- name; ?> time_created); ?> -
- canEdit()) { ?> -+