diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-12-12 19:51:49 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-12-12 19:51:49 +0000 |
commit | 621177abc2bc60e9edb3ca723a4afaa9d9e713ef (patch) | |
tree | d6064f1fe767d042ea41e4adea88e57b8e5138ff /views/default/tidypics/breadcrumbs.php | |
parent | b40060fafaba46e2fb8800b2c2e557a8c6bde9db (diff) | |
download | elgg-621177abc2bc60e9edb3ca723a4afaa9d9e713ef.tar.gz elgg-621177abc2bc60e9edb3ca723a4afaa9d9e713ef.tar.bz2 |
convert line endings to Unix
Diffstat (limited to 'views/default/tidypics/breadcrumbs.php')
-rw-r--r-- | views/default/tidypics/breadcrumbs.php | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/views/default/tidypics/breadcrumbs.php b/views/default/tidypics/breadcrumbs.php index 1a96e921c..c4d347e6e 100644 --- a/views/default/tidypics/breadcrumbs.php +++ b/views/default/tidypics/breadcrumbs.php @@ -1,22 +1,22 @@ -<?php
- $file_guid = $vars['file_guid'];
- $page_owner = page_owner_entity();
-
- $first_level_text = '';
- $first_level_link = $CONFIG->wwwroot . "pg/photos/owned/" . $page_owner->username;
- if (get_loggedin_userid() == $page_owner->guid)
- $first_level_text = elgg_echo('album:yours');
- else
- $first_level_text = sprintf(elgg_echo('album:user'), $page_owner->name);
-?>
-<a href="<?php echo $first_level_link; ?>"><?php echo $first_level_text; ?></a>
-<?php
- $second_level_text = '';
- if (isset($vars['album'])) {
- $second_level_text = $vars['album']->title;
- $second_level_link = $vars['album']->getURL();
-?>
->> <a href="<?php echo $second_level_link; ?>"><?php echo $second_level_text; ?></a>
-<?php
- }
-?>
+<?php + $file_guid = $vars['file_guid']; + $page_owner = page_owner_entity(); + + $first_level_text = ''; + $first_level_link = $CONFIG->wwwroot . "pg/photos/owned/" . $page_owner->username; + if (get_loggedin_userid() == $page_owner->guid) + $first_level_text = elgg_echo('album:yours'); + else + $first_level_text = sprintf(elgg_echo('album:user'), $page_owner->name); +?> +<a href="<?php echo $first_level_link; ?>"><?php echo $first_level_text; ?></a> +<?php + $second_level_text = ''; + if (isset($vars['album'])) { + $second_level_text = $vars['album']->title; + $second_level_link = $vars['album']->getURL(); +?> +>> <a href="<?php echo $second_level_link; ?>"><?php echo $second_level_text; ?></a> +<?php + } +?> |