diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-25 22:00:44 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-25 22:00:44 +0000 |
commit | c2e2d3ae222a55086bed95d897c6e8c50b066c37 (patch) | |
tree | 9039f6be684ab133c13e5f4cb8e36ff37f2aec5a /views | |
parent | d86408d2662b961645b4ed4cdbd37d5150819cf4 (diff) | |
download | elgg-c2e2d3ae222a55086bed95d897c6e8c50b066c37.tar.gz elgg-c2e2d3ae222a55086bed95d897c6e8c50b066c37.tar.bz2 |
Converting all line endings to unix style.
git-svn-id: http://code.elgg.org/elgg/trunk@5512 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-rw-r--r-- | views/default/annotation/annotatelike.php | 20 | ||||
-rw-r--r-- | views/default/annotation/likes.php | 78 | ||||
-rw-r--r-- | views/foaf/search/entity_list.php | 28 | ||||
-rw-r--r-- | views/opendd/search/entity_list.php | 24 | ||||
-rw-r--r-- | views/rss/search/entity_list.php | 26 |
5 files changed, 88 insertions, 88 deletions
diff --git a/views/default/annotation/annotatelike.php b/views/default/annotation/annotatelike.php index 7c7b1887a..08bac55ae 100644 --- a/views/default/annotation/annotatelike.php +++ b/views/default/annotation/annotatelike.php @@ -1,11 +1,11 @@ -<?php
-
-$performed_by = get_entity($vars['item']->subject_guid);
-$object = get_entity($vars['item']->object_guid);
-$url = $object->getURL();
-$title = $object->title;
-
-$string = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a> ";
-$string .= elgg_echo("likes:river:annotate") . " <a href=\"{$object->getURL()}\">" . $title . "</a> " . friendly_time($object->time_created);
-
+<?php + +$performed_by = get_entity($vars['item']->subject_guid); +$object = get_entity($vars['item']->object_guid); +$url = $object->getURL(); +$title = $object->title; + +$string = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a> "; +$string .= elgg_echo("likes:river:annotate") . " <a href=\"{$object->getURL()}\">" . $title . "</a> " . friendly_time($object->time_created); + echo $string;
\ No newline at end of file diff --git a/views/default/annotation/likes.php b/views/default/annotation/likes.php index 8b3505482..4cf27e82b 100644 --- a/views/default/annotation/likes.php +++ b/views/default/annotation/likes.php @@ -1,40 +1,40 @@ -<?php
-/**
- * Elgg show the user who liked the object
- */
-
-$owner = get_user($vars['annotation']->owner_guid);
-
-?>
-<div class="elgg_likes clearfloat">
- <div class="elgg_likes_icon">
- <?php
- echo elgg_view("profile/icon", array(
- 'entity' => $owner,
- 'size' => 'tiny'
- ));
- ?>
- </div>
-
- <div class="elgg_likes_details">
- <?php
- // if the user looking at the like listing can edit, show the delete link
- if ($vars['annotation']->canEdit()) {
- ?>
- <span class="delete_button">
- <?php echo elgg_view("output/confirmlink",array(
- 'href' => $vars['url'] . "action/likes/delete?annotation_id=" . $vars['annotation']->id,
- 'text' => elgg_echo('remove'),
- 'confirm' => elgg_echo('deleteconfirm')
- ));
- ?>
- </span>
- <?php
- } //end of can edit if statement
- ?>
- <p class="elgg_likes_owner">
- <a href="<?php echo $owner->getURL(); ?>"><?php echo $owner->name; ?></a> <?php echo elgg_echo('likes:this') .
- " <span class=\"entity_subtext\">" . friendly_time($vars['annotation']->time_created) . "</span>"; ?>
- </p>
- </div>
+<?php +/** + * Elgg show the user who liked the object + */ + +$owner = get_user($vars['annotation']->owner_guid); + +?> +<div class="elgg_likes clearfloat"> + <div class="elgg_likes_icon"> + <?php + echo elgg_view("profile/icon", array( + 'entity' => $owner, + 'size' => 'tiny' + )); + ?> + </div> + + <div class="elgg_likes_details"> + <?php + // if the user looking at the like listing can edit, show the delete link + if ($vars['annotation']->canEdit()) { + ?> + <span class="delete_button"> + <?php echo elgg_view("output/confirmlink",array( + 'href' => $vars['url'] . "action/likes/delete?annotation_id=" . $vars['annotation']->id, + 'text' => elgg_echo('remove'), + 'confirm' => elgg_echo('deleteconfirm') + )); + ?> + </span> + <?php + } //end of can edit if statement + ?> + <p class="elgg_likes_owner"> + <a href="<?php echo $owner->getURL(); ?>"><?php echo $owner->name; ?></a> <?php echo elgg_echo('likes:this') . + " <span class=\"entity_subtext\">" . friendly_time($vars['annotation']->time_created) . "</span>"; ?> + </p> + </div> </div>
\ No newline at end of file diff --git a/views/foaf/search/entity_list.php b/views/foaf/search/entity_list.php index 984efe750..9a88f600a 100644 --- a/views/foaf/search/entity_list.php +++ b/views/foaf/search/entity_list.php @@ -1,15 +1,15 @@ -<?php
-/**
- * Elgg default layout
- *
- * @package Elgg
- * @subpackage Core
- * @author Curverider Ltd
- * @link http://elgg.org/
- */
-$entities = $vars['entities'];
-if (is_array($entities) && sizeof($entities) > 0) {
- foreach($entities as $entity) {
- echo elgg_view_entity($entity);
- }
+<?php +/** + * Elgg default layout + * + * @package Elgg + * @subpackage Core + * @author Curverider Ltd + * @link http://elgg.org/ + */ +$entities = $vars['entities']; +if (is_array($entities) && sizeof($entities) > 0) { + foreach($entities as $entity) { + echo elgg_view_entity($entity); + } }
\ No newline at end of file diff --git a/views/opendd/search/entity_list.php b/views/opendd/search/entity_list.php index 3ea06f40f..40b7cc840 100644 --- a/views/opendd/search/entity_list.php +++ b/views/opendd/search/entity_list.php @@ -1,13 +1,13 @@ -<?php
-/**
- * @package Elgg
- * @subpackage Core
- * @author Curverider Ltd
- * @link http://elgg.org/
- */
-$entities = $vars['entities'];
-if (is_array($entities) && sizeof($entities) > 0) {
- foreach($entities as $entity) {
- echo elgg_view_entity($entity);
- }
+<?php +/** + * @package Elgg + * @subpackage Core + * @author Curverider Ltd + * @link http://elgg.org/ + */ +$entities = $vars['entities']; +if (is_array($entities) && sizeof($entities) > 0) { + foreach($entities as $entity) { + echo elgg_view_entity($entity); + } }
\ No newline at end of file diff --git a/views/rss/search/entity_list.php b/views/rss/search/entity_list.php index 05e90904f..72c0676ec 100644 --- a/views/rss/search/entity_list.php +++ b/views/rss/search/entity_list.php @@ -1,14 +1,14 @@ -<?php
-/**
- * @package Elgg
- * @subpackage Core
- * @author Curverider Ltd
- * @link http://elgg.org/
- */
-
-$entities = $vars['entities'];
-if (is_array($entities) && sizeof($entities) > 0) {
- foreach($entities as $entity) {
- echo elgg_view_entity($entity);
- }
+<?php +/** + * @package Elgg + * @subpackage Core + * @author Curverider Ltd + * @link http://elgg.org/ + */ + +$entities = $vars['entities']; +if (is_array($entities) && sizeof($entities) > 0) { + foreach($entities as $entity) { + echo elgg_view_entity($entity); + } }
\ No newline at end of file |