From 5cbb5b140c62c07a512861217ee61058580d6901 Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Fri, 29 May 2015 16:08:17 +0200 Subject: [PATCH] css work --- mod/photos.php | 17 +++++++++-------- view/templates/photo_albums.tpl | 2 +- view/theme/duepuntozero/style.css | 6 ++++-- view/theme/frost/style.css | 6 ++++-- view/theme/quattro/dark/style.css | 3 ++- view/theme/quattro/green/style.css | 3 ++- view/theme/quattro/lilac/style.css | 3 ++- view/theme/quattro/quattro.less | 2 +- view/theme/smoothly/style.css | 2 ++ 9 files changed, 27 insertions(+), 17 deletions(-) diff --git a/mod/photos.php b/mod/photos.php index 1bb380696a..8ec83b622b 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -58,11 +58,11 @@ function photos_init(&$a) { $ret['albums'] = array(); foreach($albums as $k => $album) { $entry = array( - 'text' => $album['album'], - 'total' => $album['total'], - 'url' => z_root() . '/photos/' . $a->data['user']['nickname'] . '/album/' . bin2hex($album['album']), + 'text' => $album['album'], + 'total' => $album['total'], + 'url' => z_root() . '/photos/' . $a->data['user']['nickname'] . '/album/' . bin2hex($album['album']), 'urlencode' => urlencode($album['album']), - 'bin2hex' => bin2hex($album['album']) + 'bin2hex' => bin2hex($album['album']) ); $ret['albums'][] = $entry; } @@ -75,10 +75,11 @@ function photos_init(&$a) { if($albums['success']) { $photo_albums_widget = replace_macros(get_markup_template('photo_albums.tpl'),array( - '$nick' => $a->data['user']['nickname'], - '$title' => t('Photo Albums'), - '$albums' => $albums['albums'], - '$baseurl' => z_root(), + '$nick' => $a->data['user']['nickname'], + '$title' => t('Photo Albums'), + 'recent' => t('Recent Photos'), + '$albums' => $albums['albums'], + '$baseurl' => z_root(), '$upload' => array( t('Upload New Photos'), $a->get_baseurl() . '/photos/' . $a->data['user']['nickname'] . '/upload/' . bin2hex($album)), '$can_post' => $can_post )); diff --git a/view/templates/photo_albums.tpl b/view/templates/photo_albums.tpl index de8f2cd16c..02b4392957 100644 --- a/view/templates/photo_albums.tpl +++ b/view/templates/photo_albums.tpl @@ -1,7 +1,7 @@