From e6cf70ea01f42d637870374e154c8fb0e27899c8 Mon Sep 17 00:00:00 2001 From: nojhan Date: Mon, 12 May 2008 20:18:17 +0000 Subject: [PATCH] =?UTF-8?q?l=C3=A9g=C3=A8re=20modification=20du=20style?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- configuration-dist.php | 5 +++++ gallery.php | 2 +- ...ault.html => gallery_template_default.html | 19 +++++++++++++------ style_default.css | 2 ++ 4 files changed, 21 insertions(+), 7 deletions(-) rename template_gallery_default.html => gallery_template_default.html (73%) diff --git a/configuration-dist.php b/configuration-dist.php index 44b522f..7f909e9 100644 --- a/configuration-dist.php +++ b/configuration-dist.php @@ -92,6 +92,11 @@ class configuration * Number of thumbnails per gallery page */ var $thumbs_per_page = 5; + + /** + * Size of the thumbnails + */ + var $thumb_size = "200px"; } ?> diff --git a/gallery.php b/gallery.php index c2196e8..158ed88 100644 --- a/gallery.php +++ b/gallery.php @@ -106,7 +106,7 @@ class gallery_manager function generate() { $sm = new strip_manager; $output = new HTML_Template_Flexy($sm->options); - $output->compile('template_gallery_default.html'); + $output->compile('gallery_'.$sm->general->template_html); $output->outputObject($this,$this->items_list); } } diff --git a/template_gallery_default.html b/gallery_template_default.html similarity index 73% rename from template_gallery_default.html rename to gallery_template_default.html index 35fb950..33eccb3 100644 --- a/template_gallery_default.html +++ b/gallery_template_default.html @@ -4,7 +4,7 @@ - {general.title} - {title} + {general.title} @@ -21,7 +21,8 @@ +
{foreach:items_list,id,strip} -
- + + +
-
-{end:} + {end:} +

{lang.forum}

diff --git a/style_default.css b/style_default.css index 123700c..fd5262e 100644 --- a/style_default.css +++ b/style_default.css @@ -41,6 +41,7 @@ a:hover { border-bottom:thin solid black; margin-top:1em; padding-bottom:1em; + clear:left; } #title { font-size:large; @@ -58,6 +59,7 @@ a:hover { .stripbox { border:1px solid black; background-color:white; + float:left; } #strip {