From 5f6bf36832c83f177bad66b3ed1c6663166c1ca8 Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sat, 5 Jan 2008 19:53:15 +0100 Subject: issue59, remove HTML table from main skeleton Signed-off-by: Andreas Unterkircher --- themes/default/templates/index.tpl | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/themes/default/templates/index.tpl b/themes/default/templates/index.tpl index 791dd32..10459aa 100644 --- a/themes/default/templates/index.tpl +++ b/themes/default/templates/index.tpl @@ -22,20 +22,12 @@
- - - - - - - -
- {include file="search.tpl"} -
-
- {include file="tags.tpl"} -
-
+
+ {include file="search.tpl"} +
+
+ {include file="tags.tpl"} +
-- cgit v1.2.3-18-g5258 From f89f1aeb2004bbccf3d08fdccc41b235f8e1beb0 Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sat, 5 Jan 2008 19:55:38 +0100 Subject: issue59, remove HTML table from main skeleton Signed-off-by: Andreas Unterkircher --- themes/default/templates/credits.tpl | 42 +++++++++++------------------------- 1 file changed, 13 insertions(+), 29 deletions(-) diff --git a/themes/default/templates/credits.tpl b/themes/default/templates/credits.tpl index 54991d4..a940b03 100644 --- a/themes/default/templates/credits.tpl +++ b/themes/default/templates/credits.tpl @@ -1,29 +1,13 @@ - - - - - - - - -
- {$product} {$version}
-
-
- - - - -
- by Andreas Unterkircher
- Licensed under GPLv3, phpfspot -
- HTML_AJAX -
- PHP tag-cloud code by Jenny Ferenc. -
- F-Spot database version: {$db_version} -
-
-
- +
+ {$product} {$version}
+
+
+ by Andreas Unterkircher
+ Licensed under GPLv3, phpfspot +
+ HTML_AJAX +
+ PHP tag-cloud code by Jenny Ferenc. +
+ F-Spot database version: {$db_version} +
-- cgit v1.2.3-18-g5258 From 86a2dc30b73dfbd4d4bc0b0561082713d83c5aa8 Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sat, 5 Jan 2008 19:57:26 +0100 Subject: issue59, remove HTML table from main skeleton Signed-off-by: Andreas Unterkircher --- themes/default/templates/welcome.tpl | 24 +++++------------------- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/themes/default/templates/welcome.tpl b/themes/default/templates/welcome.tpl index fa8d80e..960e7cf 100644 --- a/themes/default/templates/welcome.tpl +++ b/themes/default/templates/welcome.tpl @@ -1,16 +1,8 @@ - - - - - - - -
- phpfspot welcomes you to a dynamic photo gallery for F-Spot
-
-
- - - - -
+
+ phpfspot welcomes you to a dynamic photo gallery for F-Spot
+
+
This application targets to provide an easy way, to presentate your F-Spot
pictures in the web, in a way where you do not need any of the current
web2.0 providers or setup complex apps like gallery
@@ -19,11 +11,5 @@ You can addept this welcome page in the file "welcome.tpl" in the template
directory. ;)

[ Click here to take a look at your photo index or select a tag from the list on the left ] -
-
-
+ -- cgit v1.2.3-18-g5258 From d2bf1852a4934d0432ed808c02e2cc36712492bd Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sat, 5 Jan 2008 19:58:45 +0100 Subject: issue59, remove HTML table from main skeleton Signed-off-by: Andreas Unterkircher --- themes/default/templates/export.tpl | 25 +++++++++---------------- 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/themes/default/templates/export.tpl b/themes/default/templates/export.tpl index 14354b7..3647863 100644 --- a/themes/default/templates/export.tpl +++ b/themes/default/templates/export.tpl @@ -1,21 +1,14 @@ {include file="header.tpl"}
- - - - -
-
- - -
-
-
-
+
+ + +
+
{include file="footer.tpl"} -- cgit v1.2.3-18-g5258 From b763268cced064495deaacf4f0e894f498b2d37b Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sat, 5 Jan 2008 20:00:07 +0100 Subject: stylesheet improvements, removed some html table styles Signed-off-by: Andreas Unterkircher --- themes/default/stylesheet.css | 26 ++------------------------ 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/themes/default/stylesheet.css b/themes/default/stylesheet.css index 1f7e7d4..5c29ddf 100644 --- a/themes/default/stylesheet.css +++ b/themes/default/stylesheet.css @@ -84,14 +84,14 @@ td.searchfor { font-weight: bolder; } -td.index_header { +td.index_header,div.index_header { background-color: #eeeeee; padding: 10px; vertical-align: middle; white-space: nowrap; } -td.content_title { +td.content_title,div.content_title { background-color: #eeeeee; padding: 10px; vertical-align: middle; @@ -136,28 +136,6 @@ a.calendar { font-size: 10px; } -#single { - padding: 10px; - display: table; - table-layout: fixed; - border: hidden; - border-spacing: 10px; - border-collapse: separate; - margin-left: auto; - margin-right: auto; -} - -table.matrix { - padding: 10px; - display: table; - table-layout: fixed; - border-style: hidden; - border-spacing: 10px; - border-collapse: separate; - margin-left: auto; - margin-right: auto; -} - div.thumb { text-align: center; vertical-align: top; -- cgit v1.2.3-18-g5258 From afb2c9f1e796232722c029a3d7f2c265c0b734c6 Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sat, 5 Jan 2008 19:53:15 +0100 Subject: issue59, remove HTML table from main skeleton Signed-off-by: Andreas Unterkircher --- themes/default/templates/credits.tpl | 42 +++++++++++------------------------- themes/default/templates/export.tpl | 25 ++++++++------------- themes/default/templates/index.tpl | 20 ++++++----------- themes/default/templates/welcome.tpl | 24 +++++---------------- 4 files changed, 33 insertions(+), 78 deletions(-) diff --git a/themes/default/templates/credits.tpl b/themes/default/templates/credits.tpl index 54991d4..a940b03 100644 --- a/themes/default/templates/credits.tpl +++ b/themes/default/templates/credits.tpl @@ -1,29 +1,13 @@ - - - - - - - - -
- {$product} {$version}
-
-
- - - - -
- by Andreas Unterkircher
- Licensed under GPLv3, phpfspot -
- HTML_AJAX -
- PHP tag-cloud code by Jenny Ferenc. -
- F-Spot database version: {$db_version} -
-
-
- +
+ {$product} {$version}
+
+
+ by Andreas Unterkircher
+ Licensed under GPLv3, phpfspot +
+ HTML_AJAX +
+ PHP tag-cloud code by Jenny Ferenc. +
+ F-Spot database version: {$db_version} +
diff --git a/themes/default/templates/export.tpl b/themes/default/templates/export.tpl index 14354b7..3647863 100644 --- a/themes/default/templates/export.tpl +++ b/themes/default/templates/export.tpl @@ -1,21 +1,14 @@ {include file="header.tpl"}
- - - - -
-
- - -
-
-
-
+
+ + +
+
{include file="footer.tpl"} diff --git a/themes/default/templates/index.tpl b/themes/default/templates/index.tpl index 791dd32..10459aa 100644 --- a/themes/default/templates/index.tpl +++ b/themes/default/templates/index.tpl @@ -22,20 +22,12 @@
- - - - - - - -
- {include file="search.tpl"} -
-
- {include file="tags.tpl"} -
-
+
+ {include file="search.tpl"} +
+
+ {include file="tags.tpl"} +
diff --git a/themes/default/templates/welcome.tpl b/themes/default/templates/welcome.tpl index fa8d80e..960e7cf 100644 --- a/themes/default/templates/welcome.tpl +++ b/themes/default/templates/welcome.tpl @@ -1,16 +1,8 @@ - - - - - - - -
- phpfspot welcomes you to a dynamic photo gallery for F-Spot
-
-
- - - - -
+
+ phpfspot welcomes you to a dynamic photo gallery for F-Spot
+
+
This application targets to provide an easy way, to presentate your F-Spot
pictures in the web, in a way where you do not need any of the current
web2.0 providers or setup complex apps like gallery
@@ -19,11 +11,5 @@ You can addept this welcome page in the file "welcome.tpl" in the template
directory. ;)

[ Click here to take a look at your photo index or select a tag from the list on the left ] -
-
-
+ -- cgit v1.2.3-18-g5258 From 09840d69393cddaf881159e62beff40790db05ae Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sat, 5 Jan 2008 20:00:07 +0100 Subject: stylesheet improvements, removed some html table styles Signed-off-by: Andreas Unterkircher --- themes/default/stylesheet.css | 26 ++------------------------ 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/themes/default/stylesheet.css b/themes/default/stylesheet.css index 1f7e7d4..5c29ddf 100644 --- a/themes/default/stylesheet.css +++ b/themes/default/stylesheet.css @@ -84,14 +84,14 @@ td.searchfor { font-weight: bolder; } -td.index_header { +td.index_header,div.index_header { background-color: #eeeeee; padding: 10px; vertical-align: middle; white-space: nowrap; } -td.content_title { +td.content_title,div.content_title { background-color: #eeeeee; padding: 10px; vertical-align: middle; @@ -136,28 +136,6 @@ a.calendar { font-size: 10px; } -#single { - padding: 10px; - display: table; - table-layout: fixed; - border: hidden; - border-spacing: 10px; - border-collapse: separate; - margin-left: auto; - margin-right: auto; -} - -table.matrix { - padding: 10px; - display: table; - table-layout: fixed; - border-style: hidden; - border-spacing: 10px; - border-collapse: separate; - margin-left: auto; - margin-right: auto; -} - div.thumb { text-align: center; vertical-align: top; -- cgit v1.2.3-18-g5258 From 7fb51129a3375bfa36750994ce12833623d0cb6e Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sat, 5 Jan 2008 19:53:15 +0100 Subject: issue59, remove HTML table from main skeleton Signed-off-by: Andreas Unterkircher --- themes/default/templates/photo_index.tpl | 119 ++++++++++++++----------------- 1 file changed, 55 insertions(+), 64 deletions(-) diff --git a/themes/default/templates/photo_index.tpl b/themes/default/templates/photo_index.tpl index 39df0c0..f4a38d2 100644 --- a/themes/default/templates/photo_index.tpl +++ b/themes/default/templates/photo_index.tpl @@ -1,68 +1,59 @@ - - - - - - - -
- - - - - -
- Photo Index - {if $searchfor } - {if $count == 1} - {$count} image is the result for your search about "{$searchfor}". - {else} - {$count} images are the result for your search about "{$searchfor}". - {/if} - {elseif $tag_result} - {if $count == 1} - {$count} image has been found for the selected tags. - {else} - {$count} images have been found for the selected tags. - {/if} - {else} - {if $count == 1} - {$count} image has been found. - {else} - {$count} images have been found. - {/if} - {/if} - {if $from_date && $to_date } - Results are limited to a date within {$from_date} to {$to_date}. - {/if} - - {if $slideshow_link } - - {/if} - {if $extern_link } - - {/if} - - -
-
-
- {section name="row" loop=$rows step=1} - {section name="col" loop=$columns step=1} - {if $images[row][col] } - - {/if} - {/section} - {/section} -
-
+
+ Photo Index + {if $searchfor } + {if $count == 1} + {$count} image is the result for your search about "{$searchfor}". + {else} + {$count} images are the result for your search about "{$searchfor}". + {/if} + {elseif $tag_result} + {if $count == 1} + {$count} image has been found for the selected tags. + {else} + {$count} images have been found for the selected tags. + {/if} + {else} + {if $count == 1} + {$count} image has been found. + {else} + {$count} images have been found. + {/if} + {/if} + {if $from_date && $to_date } + Results are limited to a date within {$from_date} to {$to_date}. + {/if} +
+
+ {if $slideshow_link } + + {/if} + {if $extern_link } + + {/if} + {if $export_link } + + {/if} + {if $rss_link } + + {/if} +
+ +
+ {section name="row" loop=$rows step=1} + {section name="col" loop=$columns step=1} + {if $images[row][col] } + + {/if} + {/section} + {/section} +

-- cgit v1.2.3-18-g5258