aboutsummaryrefslogtreecommitdiffstats
path: root/themes/Sylvia/themeconf.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'themes/Sylvia/themeconf.inc.php')
-rw-r--r--themes/Sylvia/themeconf.inc.php11
1 files changed, 8 insertions, 3 deletions
diff --git a/themes/Sylvia/themeconf.inc.php b/themes/Sylvia/themeconf.inc.php
index e06d2b465..b1523d611 100644
--- a/themes/Sylvia/themeconf.inc.php
+++ b/themes/Sylvia/themeconf.inc.php
@@ -23,11 +23,16 @@ function Sylvia_album($tpl_thumbnails_var)
}
function Sylvia_album_prefilter($content, &$smarty)
{
- $search = '#\{html_style\}#';
- $replacement = '{html_style}
+ $search = '#\{html_style\}#';
+ $replacement = '{html_style}
.thumbnailCategory .description .text{ldelim}
height: {$derivative_params->max_height()-30}px;
}';
- return preg_replace($search, $replacement, $content);
+ $content = preg_replace($search, $replacement, $content);
+ $search = '#\.thumbnailCategory[\t ]*.description\{ldelim\}[\s]*height:[\t ]*\{\$derivative_params->max_height\(\)\+5#';
+ $replacement = '.thumbnailCategory .description{ldelim}
+ height: {$derivative_params->max_height()+15';
+ $content = preg_replace($search, $replacement, $content);
+ return $content;
}
?>