From b948ab595592e4a43f684a49dc681a755f8c8673 Mon Sep 17 00:00:00 2001 From: marijus Date: Fri, 26 Sep 2014 12:29:07 +0200 Subject: some more work on photos - work in progress --- mod/photos.php | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'mod/photos.php') 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 .= '

' . $album . '

'; + $o .= '
'; + $o .= '

' . $album . '

'; + $o .= '
'; 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 .= ''; + $o .= '' . t('Edit Album') . ''; } } } if($_GET['order'] === 'posted') - $o .= ''; + $o .= '' . t('Show Newest First') . ''; else - $o .= ''; - + $o .= '' . t('Show Oldest First') . ''; + /* if($can_post) { - $o .= ''; + $o .= '' . t('Upload New Photos') . ''; } + */ + + $o .= '
'; // section-title-submenu + $o .= '
'; // section-title-wrapper $ajaxout = ''; -- cgit v1.2.3