aboutsummaryrefslogtreecommitdiffstats
path: root/mod/photos.php
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-09-26 12:29:07 +0200
committermarijus <mario@mariovavti.com>2014-09-26 12:29:07 +0200
commitb948ab595592e4a43f684a49dc681a755f8c8673 (patch)
treec3f7413eff7458bc7d311519754ba416525276ba /mod/photos.php
parent1e7fbac6c1a26e6ae5be18ce3e5332f222bc2977 (diff)
downloadvolse-hubzilla-b948ab595592e4a43f684a49dc681a755f8c8673.tar.gz
volse-hubzilla-b948ab595592e4a43f684a49dc681a755f8c8673.tar.bz2
volse-hubzilla-b948ab595592e4a43f684a49dc681a755f8c8673.zip
some more work on photos - work in progress
Diffstat (limited to 'mod/photos.php')
-rw-r--r--mod/photos.php21
1 files changed, 12 insertions, 9 deletions
diff --git a/mod/photos.php b/mod/photos.php
index 44a7ce0f0..c2d90184e 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -652,9 +652,10 @@ function photos_content(&$a) {
intval($a->pager['start']),
intval($a->pager['itemspage'])
);
-
- $o .= '<h3>' . $album . '</h3>';
+ $o .= '<div class="section-title-wrapper">';
+ $o .= '<h3>' . $album . '</h3>';
+ $o .= '<div class="section-title-submenu">';
if($cmd === 'edit') {
if(($album !== t('Profile Photos')) && ($album !== 'Contact Photos') && ($album !== t('Contact Photos'))) {
if($can_post) {
@@ -680,22 +681,24 @@ function photos_content(&$a) {
else {
if(($album !== t('Profile Photos')) && ($album !== 'Contact Photos') && ($album !== t('Contact Photos'))) {
if($can_post) {
- $o .= '<div id="album-edit-link"><a href="'. $a->get_baseurl() . '/photos/'
- . $a->data['channel']['channel_address'] . '/album/' . bin2hex($album) . '/edit' . '">'
- . t('Edit Album') . '</a></div>';
+ $o .= '<a href="'. $a->get_baseurl() . '/photos/' . $a->data['channel']['channel_address'] . '/album/' . bin2hex($album) . '/edit' . '">' . t('Edit Album') . '</a>';
}
}
}
if($_GET['order'] === 'posted')
- $o .= '<div class="photos-upload-link" ><a href="' . $a->get_baseurl() . '/photos/' . $a->data['channel']['channel_address'] . '/album/' . bin2hex($album) . '" >' . t('Show Newest First') . '</a></div>';
+ $o .= '<a href="' . $a->get_baseurl() . '/photos/' . $a->data['channel']['channel_address'] . '/album/' . bin2hex($album) . '" >' . t('Show Newest First') . '</a>';
else
- $o .= '<div class="photos-upload-link" ><a href="' . $a->get_baseurl() . '/photos/' . $a->data['channel']['channel_address'] . '/album/' . bin2hex($album) . '?f=&order=posted" >' . t('Show Oldest First') . '</a></div>';
-
+ $o .= '<a href="' . $a->get_baseurl() . '/photos/' . $a->data['channel']['channel_address'] . '/album/' . bin2hex($album) . '?f=&order=posted" >' . t('Show Oldest First') . '</a>';
+ /*
if($can_post) {
- $o .= '<div class="photos-upload-link" ><a href="' . $a->get_baseurl() . '/photos/' . $a->data['channel']['channel_address'] . '/upload/' . bin2hex($album) . '" >' . t('Upload New Photos') . '</a></div>';
+ $o .= '<a href="' . $a->get_baseurl() . '/photos/' . $a->data['channel']['channel_address'] . '/upload/' . bin2hex($album) . '" >' . t('Upload New Photos') . '</<a>';
}
+ */
+
+ $o .= '</div>'; // section-title-submenu
+ $o .= '</div>'; // section-title-wrapper
$ajaxout = '';