diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2011-05-29 19:00:44 +0200 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2011-05-29 19:00:44 +0200 |
| commit | 75bb13e531654a561dc7baa2f2bc594aa4a8fc52 (patch) | |
| tree | 0b80f48e53d969292b2ffd401cb06470a1156bff /templates/template-album.tmpl | |
| parent | eb3092f8bd30d065c4e6f4bf0159309e1a960156 (diff) | |
| download | cataract-75bb13e531654a561dc7baa2f2bc594aa4a8fc52.tar.xz | |
Introduce new theming system
This extends current templating system to another dimension,
bringing the possibility to have multiple themes generated
at once. The purpose is to be able to switch between multiple
designs, from PC to mobile, classic vs. flat view, slideshow, etc.
For the moment, only the classic theme is available.
Rules:
* for switching between themes, place a link inside your template
manually - it's not a cgg concern, only your theming infrastructure
* don't forget to define different file names for index and album
pages across different themes
* it's recommended to keep default theme named as "index.*" to avoid
showing directory listing on webserver
Notes:
* some TODOs will be fixed when we have new theme using these advanced
features (e.g. pictures in album pages)
* TODO: introduce tag/block conditional system, allow custom user
defines for each theme/page
* TODO: deprecate <show_go_up>, <show_exif_table> and <border style>
in favor of conditionals (these tags belong to theming)
Diffstat (limited to 'templates/template-album.tmpl')
| -rw-r--r-- | templates/template-album.tmpl | 88 |
1 files changed, 0 insertions, 88 deletions
diff --git a/templates/template-album.tmpl b/templates/template-album.tmpl deleted file mode 100644 index 9f31fb3..0000000 --- a/templates/template-album.tmpl +++ /dev/null @@ -1,88 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> -<head profile="http://www.w3.org/2005/10/profile"> - <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <title>$(PAGE_TITLE)</title> -<!-- $(CGG_META_TAGS) --> -<!-- $(CGG_ATOM_FEED_TAGS) --> - <link href="$(TEMPLATES_PATH)styles.css" type="text/css" rel="stylesheet" media="screen, print" /> - <script type="text/javascript" src="$(TEMPLATES_PATH)scripts-general.js"> </script> -</head> -<body> - - -<!-- ## Navigation bar --> -<div class="navigation"> - <div class="navlinks"><!-- $(NAV_BAR) --></div> - <div class="navposition"> - <span class="navposnumber"><!-- $(TOTAL_ITEMS) --> items</span> - </div> -</div> - - -<div class="master_content"> - <!-- ## Description --> - <div class="description"> - <!-- $(BEGIN_GO_UP) --> - <div class="desc_go_up">:. <a href="$(GO_UP_LINK)">Go Up</a></div> - <!-- $(END_GO_UP) --> - <div class="desc_title"><!-- $(TITLE) --></div> - <div class="desc_text"><!-- $(DESCRIPTION) --></div> - </div> - - <!-- ## Images --> - <div class="album_thumbs"> - <!-- $(BEGIN_IMG_LIST) --> - <!-- $(BEGIN_IMG_LIST_LANDSCAPE) --> - <div class="album_item"> - <div class="position_marker" id="$(IMG_LIST_ID)"></div> - <a href="$(IMG_SUBPAGE)"> - <img src="$(IMG_THUMBNAIL)" width="$(IMG_SIZE_THUMB_W)" height="$(IMG_SIZE_THUMB_H)" alt="$(IMG_TITLE)" /> - <span class="album_thumb_text"><!-- $(IMG_FILENAME) --></span> - </a> - </div> - <!-- $(END_IMG_LIST_LANDSCAPE) --> - <!-- $(BEGIN_IMG_LIST_PORTRAIT) --> - <div class="album_item"> - <div class="position_marker" id="$(IMG_LIST_ID)"></div> - <a href="$(IMG_SUBPAGE)"> - <img src="$(IMG_THUMBNAIL)" width="$(IMG_SIZE_THUMB_W)" height="$(IMG_SIZE_THUMB_H)" alt="$(IMG_TITLE)" class="portrait" /> - <span class="album_thumb_text"><!-- $(IMG_FILENAME) --></span> - </a> - </div> - <!-- $(END_IMG_LIST_PORTRAIT) --> - <!-- $(BEGIN_IMG_LIST_SQUARED) --> - <div class="album_item"> - <div class="position_marker" id="$(IMG_LIST_ID)"></div> - <a href="$(IMG_SUBPAGE)"> - <img src="$(IMG_THUMBNAIL)" width="$(IMG_SIZE_THUMB_W)" height="$(IMG_SIZE_THUMB_H)" alt="$(IMG_TITLE)" class="squared" /> - <span class="album_thumb_text"><!-- $(IMG_FILENAME) --></span> - </a> - </div> - <!-- $(END_IMG_LIST_SQUARED) --> - <!-- $(BEGIN_LIST_SEPARATOR) --> - <div class="separators"> - <div class="index_separator"><!-- $(LIST_SEPARATOR_TITLE) --></div> - </div> - <!-- $(END_LIST_SEPARATOR) --> - <!-- $(BEGIN_LIST_INTERSPACE) --> - <div class="interspace"> - <div class="index_interspace"><!-- $(LIST_INTERSPACE_TITLE) --></div> - </div> - <!-- $(END_LIST_INTERSPACE) --> - <!-- $(END_IMG_LIST) --> - </div> - - <!-- ## Footnote, also acts as a bottom border --> - <div class="footnote"> - <div class="desc_text"><!-- $(FOOTNOTE) --></div> - </div> -</div> <!-- end of master_content --> - - -<!-- ## Footer --> -<div class="footer"><!-- $(FOOTER) --></div> - -</body> -</html> |
