diff options
author | plegall <plg@piwigo.org> | 2010-03-13 00:00:52 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2010-03-13 00:00:52 +0000 |
commit | 14778ce673277f2df41f963aa70df1cbed427294 (patch) | |
tree | 8c723d4d9827876dbf19d2bd581405fc50910860 /template | |
parent | c396f08708d431c6f7e8656eaca4fd8e440fdd39 (diff) |
feature 1502: based on Dotclear model, P@t has reorganized the way Piwigo
manages template/theme in a simpler "theme only level" architecture. It
supports multiple level inheritance.
git-svn-id: http://piwigo.org/svn/trunk@5123 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template')
254 files changed, 0 insertions, 5053 deletions
diff --git a/template/default/about.tpl b/template/default/about.tpl deleted file mode 100644 index 370e3ccc3..000000000 --- a/template/default/about.tpl +++ /dev/null @@ -1,18 +0,0 @@ -<div id="content" class="content"> - <div class="titrePage"> - <ul class="categoryActions"> - <li> - <a href="{$U_HOME}" title="{'return to homepage'|@translate}"> - <img src="{$themeconf.icon_dir}/Home.png" class="button" alt="{'Home'|@translate}"> - </a> - </li> - </ul> - <h2>{'About'|@translate}</h2> - </div> - <ul> - {$ABOUT_MESSAGE} - {if isset($THEME_ABOUT) } - <li>{$THEME_ABOUT}</li> - {/if} - </ul> -</div> diff --git a/template/default/comment_list.tpl b/template/default/comment_list.tpl deleted file mode 100644 index f431a1cd5..000000000 --- a/template/default/comment_list.tpl +++ /dev/null @@ -1,58 +0,0 @@ -{* $Id$ *} -<ul class="thumbnailCategories"> -{foreach from=$comments item=comment name=comment_loop} -<li> - <div class="thumbnailCategory {if $smarty.foreach.comment_loop.index is odd}odd{else}even{/if}"> - {if isset($comment.TN_SRC)} - <div class="illustration"> - <a href="{$comment.U_PICTURE}"> - <img src="{$comment.TN_SRC}" alt="{$comment.ALT}"> - </a> - </div> - {/if} - <div class="description" style="height:{if isset($comment.IN_EDIT)}200{/if}px"> - {if isset($comment.U_DELETE) or isset($comment.U_VALIDATE) or isset($comment.U_EDIT) } - <ul class="actions" style="float:right"> - {if isset($comment.U_DELETE)} - <li> - <a href="{$comment.U_DELETE}" title="{'delete this comment'|@translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');"> - <img src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" class="button" alt="[delete]"> - </a> - </li> - {/if} - {if isset($comment.U_EDIT) and !isset($comment.IN_EDIT)} - <li> - <a class="editComment" href="{$comment.U_EDIT}#edit_comment" title="{'edit this comment'|@translate}"> - <img src="{$ROOT_URL}{$themeconf.icon_dir}/edit.png" class="button" alt="[edit]"> - </a> - </li> - {/if} - {if isset($comment.U_VALIDATE)} - <li> - <a href="{$comment.U_VALIDATE}" title="{'validate this comment'|@translate}"> - <img src="{$ROOT_URL}{$themeconf.icon_dir}/validate_s.png" class="button" alt="[validate]"> - </a> - </li> - {/if} - </ul> - {/if} - <span class="author">{$comment.AUTHOR}</span> - <span class="date">{$comment.DATE}</span> - {if isset($comment.IN_EDIT)} - <a name="edit_comment"></a> - <form method="post" action="{$comment.U_EDIT}" class="filter" id="editComment"> - <fieldset> - <legend>{'Edit a comment'|@translate}</legend> - <label>{'Comment'|@translate}<textarea name="content" id="contenteditid" rows="5" cols="80">{$Comment.CONTENT|@escape}</textarea></label> - <input type="hidden" name="key" value="{$comment.KEY}"> - <input type="hidden" name="image_id" value="{$comment.IMAGE_ID|@default:$current.id}"> - <input class="submit" type="submit" value="{'Submit'|@translate}"> - </fieldset> - </form> - {else} - <blockquote>{$comment.CONTENT}</blockquote> - {/if} - </div> - </div> -</li> -{/foreach} -</ul> diff --git a/template/default/comments.tpl b/template/default/comments.tpl deleted file mode 100644 index 68941e03d..000000000 --- a/template/default/comments.tpl +++ /dev/null @@ -1,76 +0,0 @@ -<div id="content" class="content"> - - <div class="titrePage"> - <ul class="categoryActions"> - <li><a href="{$U_HOME}" title="{'Home'|@translate}"><img src="{$themeconf.icon_dir}/Home.png" class="button" alt="{'Home'|@translate}"></a></li> - </ul> - <h2>{'User comments'|@translate}</h2> - </div> - -<form class="filter" action="{$F_ACTION}" method="get"> - - <fieldset> - <legend>{'Filter'|@translate}</legend> - - <label>{'Keyword'|@translate}<input type="text" name="keyword" value="{$F_KEYWORD}"></label> - - <label>{'Author'|@translate}<input type="text" name="author" value="{$F_AUTHOR}"></label> - - <label> - {'Category'|@translate} - <select name="cat"> - <option value="0">------------</option> - {html_options options=$categories selected=$categories_selected} - </select> - </label> - - <label> - {'Since'|@translate} - <select name="since"> - {html_options options=$since_options selected=$since_options_selected} - </select> - </label> - - </fieldset> - - <fieldset> - - <legend>{'Display'|@translate}</legend> - - <label> - {'Sort by'|@translate} - <select name="sort_by"> - {html_options options=$sort_by_options selected=$sort_by_options_selected} - </select> - </label> - - <label> - {'Sort order'|@translate} - <select name="sort_order"> - {html_options options=$sort_order_options selected=$sort_order_options_selected} - </select> - </label> - - <label> - {'Number of items'|@translate} - <select name="items_number"> - {html_options options=$item_number_options selected=$item_number_options_selected} - </select> - </label> - - </fieldset> - - <p><input class="submit" type="submit" value="{'Filter and display'|@translate}"></p> - -</form> - -{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} - -{if isset($comments)} -<div id="comments"> - {include file='comment_list.tpl'} -</div> -{/if} - -</div> <!-- content --> - diff --git a/template/default/footer.tpl b/template/default/footer.tpl deleted file mode 100644 index 89c034965..000000000 --- a/template/default/footer.tpl +++ /dev/null @@ -1,35 +0,0 @@ -<div id="copyright"> - <a name="EoP"></a> <!-- End of Page --> - {if isset($debug.TIME) } - {'SQL queries in'|@translate} {$debug.TIME} ({$debug.NB_QUERIES} {'SQL queries in'|@translate} {$debug.SQL_TIME}) - - {/if} - - {* Please, do not remove this copyright. If you really want to, - contact us on http://piwigo.org to find a solution on how - to show the origin of the script... - *} - - {'Powered by'|@translate} - <a href="{$PHPWG_URL}" class="Piwigo"> - <span class="Piwigo">Piwigo</span></a> - {$VERSION} - {if isset($CONTACT_MAIL)} - - {'Contact'|@translate} - <a href="mailto:{$CONTACT_MAIL}?subject={'title_send_mail'|@translate|@escape:url}">{'Webmaster'|@translate}</a> - {/if} - - -{if isset($footer_elements)} -{foreach from=$footer_elements item=v} -{$v} -{/foreach} -{/if} -</div> <!-- the_page --> -{if isset($debug.QUERIES_LIST)} -<div id="debug"> -{$debug.QUERIES_LIST} -</div> -{/if} -</div> <!-- copyright --> -</body> -</html>
\ No newline at end of file diff --git a/template/default/header.tpl b/template/default/header.tpl deleted file mode 100644 index 74bc82b13..000000000 --- a/template/default/header.tpl +++ /dev/null @@ -1,91 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html lang="{$lang_info.code}" dir="{$lang_info.direction}"> -<head> -<meta http-equiv="Content-Type" content="text/html; charset={$CONTENT_ENCODING}"> -<meta name="generator" content="Piwigo (aka PWG), see piwigo.org"> -{if isset($meta_ref) } -{if isset($INFO_AUTHOR)} -<meta name="author" content="{$INFO_AUTHOR|@replace:'"':' '}"> -{/if} -{if isset($related_tags)} -<meta name="keywords" content="{foreach from=$related_tags item=tag name=tag_loop}{if !$smarty.foreach.tag_loop.first}, {/if}{$tag.name}{/foreach}"> -{/if} -{if isset($COMMENT_IMG)} -<meta name="description" content="{$COMMENT_IMG|@strip_tags:false|@replace:'"':' '}{if isset($INFO_FILE)} - {$INFO_FILE}{/if}"> -{else} -<meta name="description" content="{$PAGE_TITLE}{if isset($INFO_FILE)} - {$INFO_FILE}{/if}"> -{/if} -{/if} - -{if (isset($REVERSE) and $REVERSE and $PAGE_TITLE == l10n('home'))} -<title>{$GALLERY_TITLE} | {$PAGE_TITLE}</title>{else} -<title>{$PAGE_TITLE} | {$GALLERY_TITLE}</title>{/if} -<link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}template-common/favicon.ico"> - -<link rel="start" title="{'Home'|@translate}" href="{$U_HOME}" > -<link rel="search" title="{'Search'|@translate}" href="{$ROOT_URL}search.php" > -{if isset($first.U_IMG) }<link rel="first" title="{'First'|@translate}" href="{$first.U_IMG}" >{/if} -{if isset($previous.U_IMG)}<link rel="prev" title="{'Previous'|@translate}" href="{$previous.U_IMG}" >{/if} -{if isset($next.U_IMG) }<link rel="next" title="{'Next'|@translate}" href="{$next.U_IMG}" >{/if} -{if isset($last.U_IMG) }<link rel="last" title="{'Last'|@translate}" href="{$last.U_IMG}" >{/if} -{if isset($U_UP) }<link rel="up" title="{'Thumbnails'|@translate}" href="{$U_UP}" >{/if} - -<link rel="stylesheet" type="text/css" href="{$ROOT_URL}template/{$themeconf.template}/layout.css"> -{* the next css is used to fix khtml (Konqueror/Safari) issue the "text/nonsense" prevents gecko based browsers to load it *} -<link rel="stylesheet" type="text/nonsense" href="{$ROOT_URL}template/{$themeconf.template}/fix-khtml.css"> -<!--[if lt IE 7]> - <link rel="stylesheet" type="text/css" href="{$ROOT_URL}template/{$themeconf.template}/fix-ie5-ie6.css"> -<![endif]--> -<!--[if gt IE 6]> - <link rel="stylesheet" type="text/css" href="{$ROOT_URL}template/{$themeconf.template}/fix-ie7.css"> -<![endif]--> -<!--[if !IE]> <--> - <link rel="stylesheet" href="{$ROOT_URL}template/{$themeconf.template}/not-ie.css" type="text/css"> -<!--> <![endif]--> -<link rel="stylesheet" type="text/css" media="print" href="{$ROOT_URL}template/{$themeconf.template}/print.css"> -<link rel="stylesheet" type="text/css" href="{$ROOT_URL}template/{$themeconf.template}/theme/{$themeconf.theme}/theme.css"> -{$themeconf.local_head} -{if isset($U_PREFETCH) }<link rel="prefetch" href="{$U_PREFETCH}">{/if} - -{if not empty($page_refresh) }<meta http-equiv="refresh" content="{$page_refresh.TIME};url={$page_refresh.U_REFRESH}">{/if} - -<script type="text/javascript" src="{$ROOT_URL}template-common/scripts.js"></script> -<!--[if lt IE 7]> -<style> - {* only because we need {$ROOT_URL} otherwise use fix-ie5-ie6.css *} - BODY {ldelim} behavior:url("{$ROOT_URL}template-common/csshover.htc"); } - A IMG, .button, .icon {ldelim} - behavior:url("{$ROOT_URL}template-common/tooltipfix.htc"); - } - FORM {ldelim} behavior: url("{$ROOT_URL}template-common/inputfix.htc"); } -</style> -<script type="text/javascript" src="{$ROOT_URL}template-common/pngfix.js"></script> -<![endif]--> - -{if not empty($head_elements)} - {foreach from=$head_elements item=elt}{$elt} - {/foreach} -{/if} - -</head> - -<body id="{$BODY_ID}"> -<div id="the_page"> - -{if not empty($header_msgs)} -<div class="header_msgs"> - {foreach from=$header_msgs item=elt} - {$elt}<br> - {/foreach} -</div> -{/if} - -<div id="theHeader">{$PAGE_BANNER}</div> -{if isset($theSwiftHeader)}{$theSwiftHeader}{/if} -{if not empty($header_notes)} -<div class="header_notes"> - {foreach from=$header_notes item=elt} - <p>{$elt}</p> - {/foreach} -</div> -{/if} diff --git a/template/default/identification.tpl b/template/default/identification.tpl deleted file mode 100644 index b63415e7b..000000000 --- a/template/default/identification.tpl +++ /dev/null @@ -1,71 +0,0 @@ -<div id="content" class="content"> - - <div class="titrePage"> - <ul class="categoryActions"> - <li><a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/lost_password.png" class="button" alt="{'Forgot your password?'|@translate}"></a></li> - {if isset($U_REGISTER) } - <li><a href="{$U_REGISTER}" title="{'Register'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/register.png" class="button" alt="{'Register'|@translate}"></a></li> - {/if} - <li><a href="{$U_HOME}" title="{'Home'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/Home.png" class="button" alt="{'Home'|@translate}"></a></li> - </ul> - <h2>{'Identification'|@translate}</h2> - </div> - - {if isset($errors) } - <div class="errors"> - <ul> - {foreach from=$errors item=error} - <li>{$error}</li> - {/foreach} - </ul> - </div> - {/if} - -<form action="{$F_LOGIN_ACTION}" method="post" name="login_form" class="properties"> - <fieldset> - <legend>{'Connection settings'|@translate}</legend> - - <input type="hidden" name="redirect" value="{$U_REDIRECT}"> - - <ul> - <li> - <span class="property"> - <label for="username">{'Username'|@translate}</label> - </span> - <input tabindex="1" class="login" type="text" name="username" id="username" size="25" maxlength="40"> - </li> - - <li> - <span class="property"> - <label for="password">{'Password'|@translate}</label> - </span> - <input tabindex="2" class="login" type="password" name="password" id="password" size="25" maxlength="25"> - </li> - - {if $authorize_remembering } - <li> - <span class="property"> - <label for="Auto login">{'Auto login'|@translate}</label> - </span> - <input tabindex="3" type="checkbox" name="remember_me" id="remember_me" value="1"> - </li> - {/if} - </ul> - </fieldset> - - <p><input class="submit" tabindex="4" type="submit" name="login" value="{'Submit'|@translate}"></p> - - <p> - {if isset($U_REGISTER) } - <a href="{$U_REGISTER}" title="{'Register'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/register.png" class="button" alt="{'Register'|@translate}"> {'Register'|@translate}</a> - {/if} - <a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/lost_password.png" class="button" alt="{'Forgot your password?'|@translate}"> {'Forgot your password?'|@translate}</a> - </p> - -</form> - -<script type="text/javascript"><!-- -document.login_form.username.focus(); -//--></script> - -</div> <!-- content --> diff --git a/template/default/include/autosize.inc.tpl b/template/default/include/autosize.inc.tpl deleted file mode 100644 index 5529d07bd..000000000 --- a/template/default/include/autosize.inc.tpl +++ /dev/null @@ -1,13 +0,0 @@ -{known_script id="jquery" src=$ROOT_URL|@cat:"template-common/lib/jquery.packed.js"} -{known_script id="jquery.autogrow" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.autogrow-textarea.js"} - -{* Auto size and auto grow textarea *} -{literal} -<script type="text/javascript"> - jQuery().ready(function(){ - jQuery('textarea').css('overflow-y', 'hidden'); - // Auto size and auto grow for all text area - jQuery('textarea').autogrow(); - }); -</script> -{/literal} diff --git a/template/default/include/datepicker.inc.tpl b/template/default/include/datepicker.inc.tpl deleted file mode 100644 index cd502e91e..000000000 --- a/template/default/include/datepicker.inc.tpl +++ /dev/null @@ -1,24 +0,0 @@ - -{known_script id="jquery" src=$ROOT_URL|@cat:"template-common/lib/jquery.packed.js"} -{known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/packed/ui.core.packed.js"} -{known_script id="jquery.ui.datepicker" src=$ROOT_URL|@cat:"template-common/lib/ui/packed/ui.datepicker.packed.js"} -{known_script id="datepicker.js" src=$ROOT_URL|@cat:"template-common/datepicker.js"} - -{assign var="datepicker_language" value="template-common/lib/ui/i18n/ui.datepicker-"|@cat:$lang_info.code|@cat:".js"} - -{if "PHPWG_ROOT_PATH"|@constant|@cat:$datepicker_language|@file_exists} -{known_script id="jquery.ui.datepicker-$lang_info.code" src=$ROOT_URL|@cat:$datepicker_language} -{/if} - -{html_head} -<link rel="stylesheet" type="text/css" href="{$ROOT_URL}template-common/lib/ui/theme/ui.datepicker.css"> -{/html_head} - -<script type="text/javascript"> -function pwg_initialization_datepicker(day, month, year, linked_date, checked_on_change, min_linked_date, max_linked_date) -{ldelim} - return pwg_common_initialization_datepicker( - "{$ROOT_URL}{$themeconf.icon_dir}/datepicker.png", - day, month, year, linked_date, checked_on_change, min_linked_date, max_linked_date); -} -</script> diff --git a/template/default/include/resize.inc.tpl b/template/default/include/resize.inc.tpl deleted file mode 100644 index aebb9f6c5..000000000 --- a/template/default/include/resize.inc.tpl +++ /dev/null @@ -1,22 +0,0 @@ -{known_script id="jquery" src=$ROOT_URL|@cat:"template-common/lib/jquery.packed.js"} -{known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/packed/ui.core.packed.js"} -{known_script id="jquery.ui.resizable" src=$ROOT_URL|@cat:"template-common/lib/ui/packed/ui.resizable.packed.js"} - -{* Resize possible *} -{literal} -<script type="text/javascript"> - jQuery().ready(function(){ - // Resize possible for list - jQuery(".categoryList").resizable({ - handles: "all", - animate: true, - animateDuration: "slow", - animateEasing: "swing", - preventDefault: true, - preserveCursor: true, - autoHide: true, - ghost: true - }); - }); -</script> -{/literal} diff --git a/template/default/index.tpl b/template/default/index.tpl deleted file mode 100644 index 6bad8e319..000000000 --- a/template/default/index.tpl +++ /dev/null @@ -1,116 +0,0 @@ -{$MENUBAR} -{if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if} -<div id="content" class="content"> - <div class="titrePage"> - <ul class="categoryActions"> - {if !empty($image_orders) } - <li> - {'Sort order'|@translate}: - <select onchange="document.location = this.options[this.selectedIndex].value;"> - {foreach from=$image_orders item=image_order } - <option value="{$image_order.URL}"{if $image_order.SELECTED} selected="selected"{/if}>{$image_order.DISPLAY}</option> - {/foreach} - </select> - </li> - {/if} - - {if isset($favorite) } - <li><a href="{$favorite.U_FAVORITE}" title="{'delete all images from your favorites'|@translate}"><img src="{$favorite.FAVORITE_IMG}" class="button" alt="favorite" title="{'delete all images from your favorites'|@translate}"></a></li> - {/if} - - {if isset($U_CADDIE) } - <li><a href="{$U_CADDIE}" title="{'caddie'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/caddie_add.png" class="button" alt="{'caddie'|@translate}"></a></li> - {/if} - - {if isset($U_EDIT) } - <li><a href="{$U_EDIT}" title="{'edit'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/category_edit.png" class="button" alt="{'edit'|@translate}"></a></li> - {/if} - - {if isset($U_SEARCH_RULES) } - <li><a href="{$U_SEARCH_RULES}" onclick="popuphelp(this.href); return false;" title="{'Search rules'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/search_rules.png" class="button" alt="(?)"></a></li> - {/if} - - {if isset($U_SLIDESHOW) } - <li><a href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/start_slideshow.png" class="button" alt="{'slideshow'|@translate}"></a></li> - {/if} - - {if isset($U_MODE_FLAT) } - <li><a href="{$U_MODE_FLAT}" title="{'display all elements in all sub-categories'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/flat.png" class="button" alt="{'display all elements in all sub-categories'|@translate}"></a></li> - {/if} - - {if isset($U_MODE_NORMAL) } - <li><a href="{$U_MODE_NORMAL}" title="{'return to normal view mode'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/normal_mode.png" class="button" alt="{'return to normal view mode'|@translate}"></a></li> - {/if} - - {if isset($U_MODE_POSTED) } - <li><a href="{$U_MODE_POSTED}" title="{'display a calendar by posted date'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/calendar.png" class="button" alt="{'display a calendar by posted date'|@translate}"></a></li> - {/if} - - {if isset($U_MODE_CREATED) } - <li><a href="{$U_MODE_CREATED}" title="{'display a calendar by creation date'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/calendar_created.png" class="button" alt="{'display a calendar by creation date'|@translate}"></a></li> - {/if} - - {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if} - </ul> - - <h2>{$TITLE}</h2> - - {if isset($chronology_views) } - <div class="calendarViews">{'View'|@translate}: - <select onchange="document.location = this.options[this.selectedIndex].value;"> - {foreach from=$chronology_views item=view} - <option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}>{$view.CONTENT}</option> - {/foreach} - </select> - </div> - {/if} - - {if isset($chronology.TITLE) } - <h2>{$chronology.TITLE}</h2> - {/if} - - </div> <!-- titrePage --> - -{if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if} - -{if !empty($category_search_results) } -<div style="font-size:16px;margin:10px 16px">{'Category results for'|@translate} <strong>{$QUERY_SEARCH}</strong> : - <em><strong> - {foreach from=$category_search_results item=res name=res_loop} - {if !$smarty.foreach.res_loop.first} — {/if} - {$res} - {/foreach} - </strong></em> -</div> -{/if} - -{if !empty($tag_search_results) } -<div style="font-size:16px;margin:10px 16px">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> : - <em><strong> - {foreach from=$tag_search_results item=res name=res_loop} - {if !$smarty.foreach.res_loop.first} — {/if} - {$res} - {/foreach} - </strong></em> -</div> -{/if} - -{if isset($FILE_CHRONOLOGY_VIEW) } -{include file=$FILE_CHRONOLOGY_VIEW} -{/if} - -{if !empty($CATEGORIES) }{$CATEGORIES}{/if} -{if !empty($THUMBNAILS) }{$THUMBNAILS}{/if} - -{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} - -{if !empty($CONTENT_DESCRIPTION) } -<div class="additional_info"> - {$CONTENT_DESCRIPTION} -</div> -{/if} - -{if !empty($PLUGIN_INDEX_CONTENT_END) }{$PLUGIN_INDEX_CONTENT_END}{/if} -</div> <!-- content --> - -{if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if} diff --git a/template/default/mail/text/html/cat_group_info.tpl b/template/default/mail/text/html/cat_group_info.tpl deleted file mode 100644 index a0c703bb0..000000000 --- a/template/default/mail/text/html/cat_group_info.tpl +++ /dev/null @@ -1,8 +0,0 @@ -<div id="cat_group_info"> -<h2>{'Informations'|@translate}</h2> -<p>{$IMG_URL}</p> -<p>{'Hello,'|@translate}</p> -<p>{'Come to discover the category:'|@translate} <a href="{$LINK}">{$CAT_NAME}</a></p> -<p>{$CPL_CONTENT}</p> -<p>{'See you soon.'|@translate}</p> -</div> diff --git a/template/default/mail/text/html/footer.tpl b/template/default/mail/text/html/footer.tpl deleted file mode 100644 index 92e69b089..000000000 --- a/template/default/mail/text/html/footer.tpl +++ /dev/null @@ -1,22 +0,0 @@ -</div> <!-- content --> -<div id="copyright"> -<hr> - {'Sent by'|@translate} - <a href="{$GALLERY_URL}">{$GALLERY_TITLE}</a> - - {* Please, do not remove this copyright. If you really want to, - contact us on http://piwigo.org to find a solution on how - to show the origin of the script...*} - - {'powered_by'|@translate} - <a href="http://piwigo.org" class="Piwigo"> - <span class="Piwigo">Piwigo</span></a> - {$VERSION} - - - {'send_mail'|@translate} - <a href="mailto:{$MAIL}?subject={$TITLE_MAIL}">{'Webmaster'|@translate}</a> - -</div> <!-- copyright --> -</div> <!-- the_page --> - -</body> -</html> diff --git a/template/default/mail/text/html/global-mail-css.tpl b/template/default/mail/text/html/global-mail-css.tpl deleted file mode 100644 index 5c8e87a54..000000000 --- a/template/default/mail/text/html/global-mail-css.tpl +++ /dev/null @@ -1,11 +0,0 @@ -/* Global mail css */ - -body {ldelim} font-family: Univers, Helvetica, Optima; font-size:12px; margin:0px; padding:0px; } -#the_page {ldelim} margin:0px; padding:0px; text-align:left;} -#content {ldelim} margin:0px; padding:82px 0px 0px 62px; width:732px;} -hr {ldelim} width:632px; margin-left:0;} -#copyright {ldelim} font-size:10px; margin:0px; padding:48px 0px 32px 62px;} -.PWG {ldelim} font-family:verdana, sans-serif !important; font-size:0.9em; font-weight:normal; letter-spacing:0px;} -h2 {ldelim} padding:7px 15px; width:617px; font-weight:bold;} -img {ldelim} margin:16px; border:16px solid #aaa; -moz-border-radius: 4px; border-radius: 4px 4px; } -img:hover {ldelim} padding: 15px; border: 1px solid yellow; -moz-border-radius: 4px; border-radius: 4px 4px; } diff --git a/template/default/mail/text/html/header.tpl b/template/default/mail/text/html/header.tpl deleted file mode 100644 index 9ab46693c..000000000 --- a/template/default/mail/text/html/header.tpl +++ /dev/null @@ -1,18 +0,0 @@ ------={$BOUNDARY_KEY} -Content-Type: {$CONTENT_TYPE}; charset="{$CONTENT_ENCODING}"; -Content-Transfer-Encoding: 8bit - -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> -<html lang="{$lang_info.code}" dir="{$lang_info.direction}"> -<head> -<title>Piwigo Mail</title> -<meta http-equiv="Content-Type" content="text/html; charset={$CONTENT_ENCODING}"> -<style><!-- /* Mini style for mails */ -{if isset($GLOBAL_MAIL_CSS)}{$GLOBAL_MAIL_CSS}{/if} -{if isset($MAIL_CSS)}{$MAIL_CSS}{/if} -{if isset($LOCAL_MAIL_CSS)}{$LOCAL_MAIL_CSS}{/if} ---></style> -</head> -<body> -<div id="the_page"> -<div id="content" class="content"> diff --git a/template/default/mail/text/html/notification_by_mail.tpl b/template/default/mail/text/html/notification_by_mail.tpl deleted file mode 100644 index 5a0115e2f..000000000 --- a/template/default/mail/text/html/notification_by_mail.tpl +++ /dev/null @@ -1,56 +0,0 @@ -<div id="nbm_message"> -<h2>{'Notification'|@translate}</h2> -<p>{'nbm_content_hello_1'|@translate}{$USERNAME}{'nbm_content_hello_2'|@translate}</p> - -{if isset($subscribe_by_admin)} -<p>{'nbm_content_subscribe_by_admin'|@translate}</p> -{/if} -{if isset($subscribe_by_himself)} -<p>{'nbm_content_subscribe_by_himself'|@translate}</p> -{/if} -{if isset($unsubscribe_by_admin)} -<p>{'nbm_content_unsubscribe_by_admin'|@translate}</p> -{/if} -{if isset($unsubscribe_by_himself)} -<p>{'nbm_content_unsubscribe_by_himself'|@translate}</p> -{/if} -{if isset($content_new_elements_single)} -<p>{'nbm_content_new_elements'|@translate}{'nbm_content_new_elements_single'|@translate}{$content_new_elements_single.DATE_SINGLE}.</p> -{/if} -{if isset($content_new_elements_between)} -<p>{'nbm_content_new_elements'|@translate}{'nbm_content_new_elements_between_1'|@translate}{$content_new_elements_between.DATE_BETWEEN_1}{'nbm_content_new_elements_between_2'|@translate}{$content_new_elements_between.DATE_BETWEEN_2}.</p> -{/if} - -{if not empty($global_new_lines)} -<ul id="nbm_new_line"> -{foreach from=$global_new_lines item=line} - <li>{$line}</li> -{/foreach} -</ul> -{/if} - -{if not empty($custom_mail_content)} -<p>{$custom_mail_content}</p> -{/if} - -{if not empty($GOTO_GALLERY_TITLE)} -<p>{'nbm_content_goto_1'|@translate}<a href="{$GOTO_GALLERY_URL}">{$GOTO_GALLERY_TITLE}</a>{'nbm_content_goto_2'|@translate}</p> -{/if} -<p>{'nbm_content_byebye'|@translate}</p> -<p style="text-align:center">{$SEND_AS_NAME}</p> -<p> -<br><hr> -{'nbm_content_unsubscribe_link'|@translate}{'nbm_content_click_on'|@translate}<a href="{$UNSUBSCRIBE_LINK}">{$UNSUBSCRIBE_LINK}</a><br> -{'nbm_content_subscribe_link'|@translate}{'nbm_content_click_on'|@translate}<a href="{$SUBSCRIBE_LINK}">{$SUBSCRIBE_LINK}</a><br> -{'nbm_content_problem_contact'|@translate}<a href="mailto:{$CONTACT_EMAIL}?subject={'nbm_content_pb_contact_object'|@translate}">{$CONTACT_EMAIL}</a><br> -<hr><br> -</p> -{if not empty($recent_posts)} -</div> -<div id="nbm_recent_post"> - {foreach from=$recent_posts item=recent_post } - <h2>{$recent_post.TITLE}</h2> - {$recent_post.HTML_DATA} - {/foreach} -{/if} -</div> diff --git a/template/default/mail/text/plain/cat_group_info.tpl b/template/default/mail/text/plain/cat_group_info.tpl deleted file mode 100644 index 59604846e..000000000 --- a/template/default/mail/text/plain/cat_group_info.tpl +++ /dev/null @@ -1,8 +0,0 @@ -{'Hello,'|@translate} - -{'Come to discover the category:'|@translate} {$CAT_NAME} -{$LINK} - -{$CPL_CONTENT} - -{'See you soon.'|@translate} diff --git a/template/default/mail/text/plain/footer.tpl b/template/default/mail/text/plain/footer.tpl deleted file mode 100644 index c386f0962..000000000 --- a/template/default/mail/text/plain/footer.tpl +++ /dev/null @@ -1,3 +0,0 @@ - ------------------------------------------------------------------------------- -{'Sent by'|@translate} {$GALLERY_URL} - {'powered_by'|@translate} Piwigo {$VERSION} - {'send_mail'|@translate} {$MAIL} diff --git a/template/default/mail/text/plain/header.tpl b/template/default/mail/text/plain/header.tpl deleted file mode 100644 index 6fcc863d2..000000000 --- a/template/default/mail/text/plain/header.tpl +++ /dev/null @@ -1,5 +0,0 @@ ------={$BOUNDARY_KEY} -Content-Type: {$CONTENT_TYPE}; charset="{$CONTENT_ENCODING}"; -Content-Transfer-Encoding: 8bit{literal} - -{/literal}{*note that there must be an empty line to separate the mime headers*} diff --git a/template/default/mail/text/plain/notification_by_mail.tpl b/template/default/mail/text/plain/notification_by_mail.tpl deleted file mode 100644 index b1928853f..000000000 --- a/template/default/mail/text/plain/notification_by_mail.tpl +++ /dev/null @@ -1,41 +0,0 @@ -{'nbm_content_hello_1'|@translate}{$USERNAME}{'nbm_content_hello_2'|@translate} - -{if isset($subscribe_by_admin)} -{'nbm_content_subscribe_by_admin'|@translate} -{/if} -{if isset($subscribe_by_himself)} -{'nbm_content_subscribe_by_himself'|@translate} -{/if} -{if isset($unsubscribe_by_admin)} -{'nbm_content_unsubscribe_by_admin'|@translate} -{/if} -{if isset($unsubscribe_by_himself)} -{'nbm_content_unsubscribe_by_himself'|@translate} -{/if} -{if isset($content_new_elements_single)} -{'nbm_content_new_elements'|@translate}{'nbm_content_new_elements_single'|@translate}{$content_new_elements_single.DATE_SINGLE}. -{/if} -{if isset($content_new_elements_between)} -{'nbm_content_new_elements'|@translate}{'nbm_content_new_elements_between_1'|@translate}{$content_new_elements_between.DATE_BETWEEN_1}{'nbm_content_new_elements_between_2'|@translate}{$content_new_elements_between.DATE_BETWEEN_2}. -{/if} -{if not empty($global_new_lines)} -{foreach from=$global_new_lines item=line} - o {$line} -{/foreach} -{/if} -{if not empty($custom_mail_content)} -{$custom_mail_content} -{/if} -{if not empty($GOTO_GALLERY_TITLE)} -{'nbm_content_goto_1'|@translate}{$GOTO_GALLERY_TITLE} {$GOTO_GALLERY_URL} {'nbm_content_goto_2'|@translate} -{/if} - -{'nbm_content_byebye'|@translate} - {$SEND_AS_NAME} - -______________________________________________________________________________ - -{'nbm_content_unsubscribe_link'|@translate}{'nbm_content_click_on'|@translate}{$UNSUBSCRIBE_LINK} -{'nbm_content_subscribe_link'|@translate}{'nbm_content_click_on'|@translate}{$SUBSCRIBE_LINK} -{'nbm_content_problem_contact'|@translate}{$CONTACT_EMAIL} -______________________________________________________________________________ diff --git a/template/default/mainpage_categories.tpl b/template/default/mainpage_categories.tpl deleted file mode 100644 index 0a88d3534..000000000 --- a/template/default/mainpage_categories.tpl +++ /dev/null @@ -1,31 +0,0 @@ - -<ul class="thumbnailCategories"> -{foreach from=$category_thumbnails item=cat} - <li> - <div class="thumbnailCategory"> - <div class="illustration"> - <a href="{$cat.URL}"> - <img src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '} - {'shows images at the root of this category'|@translate}"> - </a> - </div> - <div class="description"> - <h3> - <a href="{$cat.URL}">{$cat.NAME}</a> - {if !empty($cat.icon_ts)} - <img title="{$cat.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent{if $cat.icon_ts.IS_CHILD_DATE}_by_child{/if}.png" class="icon" alt="(!)"> - {/if} - </h3> - <div class="text"> - {if isset($cat.INFO_DATES) } - <p class="dates">{$cat.INFO_DATES}</p> - {/if} - <p class="Nb_images">{$cat.CAPTION_NB_IMAGES}</p> - {if not empty($cat.DESCRIPTION)} - <p>{$cat.DESCRIPTION}</p> - {/if} - </div> - </div> - </div> - </li> -{/foreach} -</ul> diff --git a/template/default/menubar.tpl b/template/default/menubar.tpl deleted file mode 100644 index 8b1e8f4b6..000000000 --- a/template/default/menubar.tpl +++ /dev/null @@ -1,13 +0,0 @@ -{if !empty($blocks) } -<div id="menubar"> - {foreach from=$blocks key=id item=block} - <dl id="{$id}"> - {if not empty($block->template)} - {include file=$block->template|@get_extent:$id } - {else} - {$block->raw_content} - {/if} - </dl> - {/foreach} -</div> -{/if}
\ No newline at end of file diff --git a/template/default/menubar_categories.tpl b/template/default/menubar_categories.tpl deleted file mode 100644 index 02a9b6668..000000000 --- a/template/default/menubar_categories.tpl +++ /dev/null @@ -1,39 +0,0 @@ -<dt> - {if isset($U_START_FILTER)} - <a href="{$U_START_FILTER}" title="{'display only recently posted images'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/start_filter.png" class="button" alt="start filter"></a> - {/if} - {if isset($U_STOP_FILTER)} - <a href="{$U_STOP_FILTER}" title="{'return to the display of all images'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/stop_filter.png" class="button" alt="stop filter"></a> - {/if} - <a href="{$block->data.U_CATEGORIES}">{'Categories'|@translate}</a> -</dt> -<dd> -{assign var='ref_level' value=0} -{foreach from=$block->data.MENU_CATEGORIES item=cat} - {if $cat.LEVEL > $ref_level} - <ul> - {else} - </li> - {'</ul></li>'|@str_repeat:$ref_level-$cat.LEVEL} - {/if} - <li {if $cat.SELECTED}class="selected"{/if}> - <a href="{$cat.URL}" {if $cat.IS_UPPERCAT}rel="up"{/if} title="{$cat.TITLE}">{$cat.NAME}</a> - {if $cat.count_images > 0} - <span class="{if $cat.nb_images > 0}menuInfoCat{else}menuInfoCatByChild{/if}" title="{$cat.TITLE}">[{$cat.count_images}]</span> - {/if} - {if !empty($cat.icon_ts)} - <img title="{$cat.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent{if $cat.icon_ts.IS_CHILD_DATE}_by_child{/if}.png" class="icon" alt="(!)"> - {/if} - {assign var='ref_level' value=$cat.LEVEL} -{/foreach} -{'</li></ul>'|@str_repeat:$ref_level} - - {if isset($block->data.U_UPLOAD)} - <ul> - <li> - <a href="{$block->data.U_UPLOAD}">{'Upload a picture'|@translate}</a> - </li> - </ul> - {/if} - <p class="totalImages">{$pwg->l10n_dec('%d element', '%d elements', $block->data.NB_PICTURE)}</p> -</dd> diff --git a/template/default/menubar_identification.tpl b/template/default/menubar_identification.tpl deleted file mode 100644 index 2717e1019..000000000 --- a/template/default/menubar_identification.tpl +++ /dev/null @@ -1,64 +0,0 @@ -<dt>{'Identification'|@translate}</dt> -<dd> - {if isset($USERNAME)} - <p>{'Hello'|@translate} {$USERNAME} !</p> - {/if} - - <ul> - {if isset($U_REGISTER)} - <li><a href="{$U_REGISTER}" title="{'Register'|@translate}" rel="nofollow">{'Register'|@translate}</a></li> - {/if} - - {if isset($U_LOGIN)} - <li><a href="{$U_LOGIN}" rel="nofollow">{'Login'|@translate}</a></li> - {/if} - - {if isset($U_LOGOUT)} - <li><a href="{$U_LOGOUT}">{'Logout'|@translate}</a></li> - {/if} - - {if isset($U_PROFILE)} - <li><a href="{$U_PROFILE}" title="{'Customize'|@translate}">{'Customize'|@translate}</a></li> - {/if} - - {if isset($U_ADMIN)} - <li><a href="{$U_ADMIN}" title="{'Administration'|@translate}">{'Administration'|@translate}</a></li> - {/if} - </ul> - - {if isset($U_LOGIN)} - <form method="post" action="{$U_LOGIN}" id="quickconnect"> - <fieldset> - <legend>{'Quick connect'|@translate}</legend> - <div> - <label for="username">{'Username'|@translate}</label><br> - <input type="text" name="username" id="username" value="" style="width:99%"> - </div> - - <div><label for="password">{'Password'|@translate}</label> - <br> - <input type="password" name="password" id="password" style="width:99%"> - </div> - - {if $AUTHORIZE_REMEMBERING} - <div><label for="remember_me"> - {'Auto login'|@translate} - <input type="checkbox" name="remember_me" id="remember_me" value="1"> - </label></div> - {/if} - - <div> - <input class="submit" type="submit" name="login" value="{'Submit'|@translate}"> - <ul class="actions"> - <li><a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/lost_password.png" class="button" alt="{'Forgot your password?'|@translate}"></a></li> - {if isset($U_REGISTER)} - <li><a href="{$U_REGISTER}" title="{'Register'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/register.png" class="button" alt="{'Register'|@translate}"></a></li> - {/if} - </ul> - </div> - - </fieldset> - </form> - {/if} -</dd> - diff --git a/template/default/menubar_links.tpl b/template/default/menubar_links.tpl deleted file mode 100644 index a945bd0d6..000000000 --- a/template/default/menubar_links.tpl +++ /dev/null @@ -1,15 +0,0 @@ -<dt>{'Links'|@translate}</dt> -<dd> - <ul> - {foreach from=$block->data item=link} - <li> - <a href="{$link.URL}" class="external" - {if isset($link.new_window) } onclick="window.open(this.href, '{$link.new_window.NAME}','{$link.new_window.FEATURES}'); return false;"{/if} - > - {$link.LABEL} - </a> - </li> - {/foreach} - </ul> -</dd> - diff --git a/template/default/menubar_menu.tpl b/template/default/menubar_menu.tpl deleted file mode 100644 index 0d6541b97..000000000 --- a/template/default/menubar_menu.tpl +++ /dev/null @@ -1,20 +0,0 @@ -<dt>{'Menu'|@translate}</dt> -<dd> - {if isset($block->data.qsearch) and $block->data.qsearch==true} - <form action="{$ROOT_URL}qsearch.php" method="get" id="quicksearch" onsubmit="return this.q.value!='' && this.q.value!=qsearch_prompt;"> - <p style="margin:0;padding:0"{*this <p> is for html validation only - does not affect positioning*}> - <input type="text" name="q" id="qsearchInput" onfocus="if (value==qsearch_prompt) value='';" onblur="if (value=='') value=qsearch_prompt;" style="width:90%"> - </p> - </form> - <script type="text/javascript">var qsearch_prompt="{'qsearch'|@translate|@escape:'javascript'}"; document.getElementById('qsearchInput').value=qsearch_prompt;</script> - {/if} - - <ul> - {foreach from=$block->data item=link} - {if is_array($link)} - <li><a href="{$link.URL}" title="{$link.TITLE}" {if isset($link.REL)}{$link.REL}{/if}>{$link.NAME}</a></li> - {/if} - {/foreach} - </ul> -</dd> - diff --git a/template/default/menubar_specials.tpl b/template/default/menubar_specials.tpl deleted file mode 100644 index 1f00a2dc9..000000000 --- a/template/default/menubar_specials.tpl +++ /dev/null @@ -1,9 +0,0 @@ -<dt>{'Specials'|@translate}</dt> -<dd> - <ul> - {foreach from=$block->data item=link} - <li><a href="{$link.URL}" title="{$link.TITLE}" {if isset($link.REL)}{$link.REL}{/if}>{$link.NAME}</a></li> - {/foreach} - </ul> -</dd> - diff --git a/template/default/menubar_tags.tpl b/template/default/menubar_tags.tpl deleted file mode 100644 index 220175008..000000000 --- a/template/default/menubar_tags.tpl +++ /dev/null @@ -1,17 +0,0 @@ -<dt>{'Related tags'|@translate}</dt> -<dd> - <div id="menuTagCloud"> - {foreach from=$block->data item=tag} - <span> - {if !empty($tag.U_ADD) } - <a href="{$tag.U_ADD}" - title="{$pwg->l10n_dec('%d element are also linked to current tags', '%d elements are also linked to current tags', $tag.counter)}" - rel="nofollow"> - <img src="{$ROOT_URL}{$themeconf.icon_dir}/add_tag.png" alt="+"> - </a> - {/if} - <a href="{$tag.URL}" class="tagLevel{$tag.level}" title="{'See images linked to this tag only'|@translate}">{$tag.name}</a>{* there should be no space between end of a and span elements to avoid IE8 bug https://connect.microsoft.com/IE/feedback/ViewFeedback.aspx?FeedbackID=366567 *}</span> - {/foreach} - </div> -</dd> - diff --git a/template/default/month_calendar.tpl b/template/default/month_calendar.tpl deleted file mode 100644 index 45d6079e1..000000000 --- a/template/default/month_calendar.tpl +++ /dev/null @@ -1,86 +0,0 @@ - -{if !empty($chronology_navigation_bars) } -{foreach from=$chronology_navigation_bars item=bar} -<div class="calendarBar"> - {if isset($bar.previous)} - <div style="float:left">« <a href="{$bar.previous.URL}">{$bar.previous.LABEL}</a></div> - {/if} - {if isset($bar.next)} - <div style="float:right"><a href="{$bar.next.URL}">{$bar.next.LABEL}</a> »</div> - {/if} - {if empty($bar.items)} - - {else} - {foreach from=$bar.items item=item} - <span class="calItem{if !isset($item.URL)}Empty{/if}" {if isset($item.NB_IMAGES)}title="{$pwg->l10n_dec('%d element', '%d elements', $item.NB_IMAGES)}"{/if}> - {if isset($item.URL)} - <a href="{$item.URL}">{$item.LABEL}</a> - {else} - {$item.LABEL} - {/if} - </span> - {/foreach} - {/if} -</div> -{/foreach} -{/if} - -{if !empty($chronology_calendar.calendar_bars) } -{foreach from=$chronology_calendar.calendar_bars item=bar} -<div class="calendarCalBar"> - <span class="calCalHead"><a href="{$bar.U_HEAD}">{$bar.HEAD_LABEL}</a> ({$bar.NB_IMAGES})</span><br> - {foreach from=$bar.items item=item} - <span class="calCal{if !isset($item.URL)}Empty{/if}"> - {if isset($item.URL)} - <a href="{$item.URL}">{$item.LABEL}</a> - {else} - {$item.LABEL} - {/if} - {if isset($item.NB_IMAGES)}({$item.NB_IMAGES}){/if} - </span> - {/foreach} -</div> -{/foreach} -{/if} - -{if isset($chronology_calendar.month_view) } -<table class="calMonth"> - <thead> - <tr> - {foreach from=$chronology_calendar.month_view.wday_labels item=wday} - <td class="calDayHead">{$wday}</td> - {/foreach} - </tr> - </thead> -{html_head} {*add the style to html head for strict standard compliance*} -<style type="text/css"> -TABLE.calMonth TBODY TD, TABLE.calMonth TBODY TD DIV.calImg {ldelim} - width:{$chronology_calendar.month_view.CELL_WIDTH}px;height:{$chronology_calendar.month_view.CELL_HEIGHT}px; -} -</style> -{/html_head} - {foreach from=$chronology_calendar.month_view.weeks item=week} - <tr> - {foreach from=$week item=day} - {if !empty($day)} - {if isset($day.IMAGE)} - <td class="calDayCellFull"> - <div class="calBackDate">{$day.DAY}</div><div class="calForeDate">{$day.DAY}</div> - <div class="calImg"> - <a href="{$day.U_IMG_LINK}"> - <img style="{$day.IMAGE_STYLE}" src="{$day.IMAGE}" alt="{$day.IMAGE_ALT}" title="{$pwg->l10n_dec('%d element','%d elements', $day.NB_ELEMENTS)}"> - </a> - </div> - {else} - <td class="calDayCellEmpty">{$day.DAY} - {/if} - {else} - <td class="calDayCellBlank"> - {/if} - </td> - {/foreach} {*day in week*} - </tr> - {/foreach} {*week in month*} -</table> -{/if} - diff --git a/template/default/navigation_bar.tpl b/template/default/navigation_bar.tpl deleted file mode 100644 index 82c66bd15..000000000 --- a/template/default/navigation_bar.tpl +++ /dev/null @@ -1,28 +0,0 @@ -<div class="navigationBar"> - {if isset($navbar.URL_FIRST)} - <a href="{$navbar.URL_FIRST}" rel="first">{'First'|@translate}</a> | - <a href="{$navbar.URL_PREV}" rel="prev">{'Previous'|@translate}</a> | - {else} - {'First'|@translate} | - {'Previous'|@translate} | - {/if} - - {assign var='prev_page' value=0} - {foreach from=$navbar.pages key=page item=url} - {if $page > $prev_page+1}...{/if} - {if $page == $navbar.CURRENT_PAGE} - <span class="pageNumberSelected">{$page}</span> - {else} - <a href="{$url}">{$page}</a> - {/if} - {assign var='prev_page' value=$page} - {/foreach} - - {if isset($navbar.URL_NEXT)} - | <a href="{$navbar.URL_NEXT}" rel="next">{'Next'|@translate}</a> - | <a href="{$navbar.URL_LAST}" rel="last">{'Last'|@translate}</a> - {else} - | {'Next'|@translate} - | {'Last'|@translate} - {/if} -</div> diff --git a/template/default/nbm.tpl b/template/default/nbm.tpl deleted file mode 100644 index 646335813..000000000 --- a/template/default/nbm.tpl +++ /dev/null @@ -1,30 +0,0 @@ - -<div id="content" class="content"> - <div class="titrePage"> - <ul class="categoryActions"> - <li><a href="{$U_HOME}" title="{'Home'|@translate}"><img src="{$themeconf.icon_dir}/Home.png" class="button" alt="{'Home'|@translate}"></a></li> - </ul> - <h2>{'Notification'|@translate}</h2> - </div> - - {if not empty($errors)} - <div class="errors"> - <ul> - {foreach from=$errors item=error} - <li>{$error}</li> - {/foreach} - </ul> - </div> - {/if} - - {if not empty($infos)} - <div class="infos"> - <ul> - {foreach from=$infos item=info} - <li>{$info}</li> - {/foreach} - </ul> - </div> - {/if} - -</div> diff --git a/template/default/notification.tpl b/template/default/notification.tpl deleted file mode 100644 index 8f6dcb680..000000000 --- a/template/default/notification.tpl +++ /dev/null @@ -1,24 +0,0 @@ -{html_head} -<link rel="alternate" type="application/rss+xml" title="{'Image only RSS feed'|@translate}" href="{$U_FEED_IMAGE_ONLY}"> -<link rel="alternate" type="application/rss+xml" title="{'Complete RSS feed (images, comments)'|@translate}" href="{$U_FEED}"> -{/html_head} -<div id="content" class="content"> - - <div class="titrePage"> - <ul class="categoryActions"> - <li><a href="{$U_HOME}" title="{'Home'|@translate}"><img src="{$themeconf.icon_dir}/Home.png" class="button" alt="{'Home'|@translate}"></a></li> - </ul> - <h2>{'Notification'|@translate}</h2> - </div> - - <p>{'The RSS notification feed provides notification on news from this website : new pictures, updated categories, new comments. Use a RSS feed reader.'|@translate}</p> - - <dl> - <dt> - <a href="{$U_FEED_IMAGE_ONLY}">{'Image only RSS feed'|@translate}</a><br><br> - </dt> - <dt> - <a href="{$U_FEED}">{'Complete RSS feed (images, comments)'|@translate}</a> - </dt> - </dl> -</div> diff --git a/template/default/password.tpl b/template/default/password.tpl deleted file mode 100644 index 1e0471bd5..000000000 --- a/template/default/password.tpl +++ /dev/null @@ -1,53 +0,0 @@ -<div id="content" class="content"> - - <div class="titrePage"> - <ul class="categoryActions"> - <li><a href="{$U_HOME}" title="{'Home'|@translate}"><img src="{$themeconf.icon_dir}/Home.png" class="button" alt="{'Home'|@translate}"></a></li> - </ul> - <h2>{'Password forgotten'|@translate}</h2> - </div> - - {if count($errors)} - <div class="errors"> - <ul> - {foreach from=$errors item=error} - <li>{$error}</li> - {/foreach} - </ul> - </div> - {/if} - - {if count($infos)} - <div class="infos"> - <ul> - {foreach from=$infos item=info} - <li>{$info}</li> - {/foreach} - </ul> - </div> - {/if} - -<form action="{$F_ACTION}" method="post" class="properties"> - <fieldset> - <legend>{'Retrieve password'|@translate}</legend> - - <ul> - <li> - <span class="property"> - <label for="mail_address">{'Email address'|@translate}</label> - </span> - <input class="login" type="text" name="mail_address" id="mail_address" size="40" maxlength="40" > - </li> - <li> - <span class="property"> - <label for="no_mail_address">{'No email address'|@translate}</label> - </span> - <input type="checkbox" id="no_mail_address" name="no_mail_address" value="1"> - </li> - </ul> - </fieldset> - - <p><input class="submit" type="submit" name="submit" value="{'Send new password'|@translate}"></p> -</form> - -</div> <!-- content --> diff --git a/template/default/picture.tpl b/template/default/picture.tpl deleted file mode 100644 index 9499a546d..000000000 --- a/template/default/picture.tpl +++ /dev/null @@ -1,280 +0,0 @@ - -{* Example of resizeable *} -{* -{include file='include/autosize.inc.tpl'} -*} - -{if isset($errors)} -<div class="errors"> - <ul> - {foreach from=$errors item=error} - <li>{$error}</li> - {/foreach} - </ul> -</div> -{/if} - -{if isset($infos)} -<div class="infos"> - <ul> - {foreach from=$infos item=info} - <li>{$info}</li> - {/foreach} - </ul> -</div> -{/if} - -{if !empty($PLUGIN_PICTURE_BEFORE)}{$PLUGIN_PICTURE_BEFORE}{/if} - -<div id="imageHeaderBar"> - <div class="browsePath"> - <a href="{$U_HOME}" rel="Home">{'Home'|@translate}</a> - {if !$IS_HOME}{$LEVEL_SEPARATOR}{$SECTION_TITLE}{/if} - {$LEVEL_SEPARATOR}{$current.TITLE} - </div> - <div class="imageNumber">{$PHOTO}</div> - {if $SHOW_PICTURE_NAME_ON_TITLE } - <h2>{$current.TITLE}</h2> - {/if} -</div> - -<div id="imageToolBar"> - <div class="randomButtons"> - {if isset($U_SLIDESHOW_START) } - <a href="{$U_SLIDESHOW_START}" title="{'slideshow'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/start_slideshow.png" class="button" alt="{'slideshow'|@translate}"></a> - {/if} - {if isset($U_SLIDESHOW_STOP) } - <a href="{$U_SLIDESHOW_STOP}" title="{'stop the slideshow'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/stop_slideshow.png" class="button" alt="{'stop the slideshow'|@translate}"></a> - {/if} - <a href="{$U_METADATA}" title="{'Show file metadata'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/metadata.png" class="button" alt="metadata"></a> - {if isset($current.U_DOWNLOAD) } - <a href="{$current.U_DOWNLOAD}" title="{'download'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/save.png" class="button" alt="{'download'|@translate}"></a> - {/if} - {if isset($PLUGIN_PICTURE_ACTIONS)}{$PLUGIN_PICTURE_ACTIONS}{/if} - {if isset($favorite) } - <a href="{$favorite.U_FAVORITE}" title="{$favorite.FAVORITE_HINT}"><img src="{$favorite.FAVORITE_IMG}" class="button" alt="favorite" title="{$favorite.FAVORITE_HINT}"></a> - {/if} - {if !empty($U_SET_AS_REPRESENTATIVE) } - <a href="{$U_SET_AS_REPRESENTATIVE}" title="{'representative'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/representative.png" class="button" alt="{'representative'|@translate}"></a> - {/if} - {if isset($U_ADMIN) } - <a href="{$U_ADMIN}" title="{'edit'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/preferences.png" class="button" alt="{'edit'|@translate}"></a> - {/if} - {if isset($U_CADDIE) }{*caddie management BEGIN*} -<script type="text/javascript"> -{literal}function addToCadie(aElement, rootUrl, id) -{ -if (aElement.disabled) return; -aElement.disabled=true; -var y = new PwgWS(rootUrl); - -y.callService( - "pwg.caddie.add", {image_id: id} , - { - onFailure: function(num, text) { alert(num + " " + text); document.location=aElement.href; }, - onSuccess: function(result) { aElement.disabled = false; } - } - ); -}{/literal} -</script> - <a href="{$U_CADDIE}" onclick="addToCadie(this, '{$ROOT_URL|@escape:'javascript'}', {$current.id}); return false;" title="{'caddie'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/caddie_add.png" class="button" alt="{'caddie'|@translate}"></a> - {/if}{*caddie management END*} - </div> - {include file='picture_nav_buttons.tpl'|@get_extent:'picture_nav_buttons'} -</div> <!-- imageToolBar --> - -<div id="theImage"> -{$ELEMENT_CONTENT} - -{if isset($COMMENT_IMG)} -<p>{$COMMENT_IMG}</p> -{/if} - -{if isset($U_SLIDESHOW_STOP) } -<p> - [ <a href="{$U_SLIDESHOW_STOP}">{'stop the slideshow'|@translate}</a> ] -</p> -{/if} - -</div> - -{if isset($previous) } -<a class="navThumb" id="linkPrev" href="{$previous.U_IMG}" title="{'Previous'|@translate} : {$previous.TITLE}" rel="prev"> - <img src="{$previous.THUMB_SRC}" alt="{$previous.TITLE}"> -</a> -{/if} -{if isset($next) } -<a class="navThumb" id="linkNext" href="{$next.U_IMG}" title="{'Next'|@translate} : {$next.TITLE}" rel="next"> - <img src="{$next.THUMB_SRC}" alt="{$next.TITLE}"> -</a> -{/if} - -<table id="standard" class="infoTable" summary="{'Some info about this picture'|@translate}"> - <tr id="Author"> - <td class="label">{'Author'|@translate}</td> - <td class="value">{if isset($INFO_AUTHOR)}{$INFO_AUTHOR}{else}{'N/A'|@translate}{/if}</td> - </tr> - <tr id="datecreate"> - <td class="label">{'Created on'|@translate}</td> - <td class="value">{if isset($INFO_CREATION_DATE)}{$INFO_CREATION_DATE}{else}{'N/A'|@translate}{/if}</td> - </tr> - <tr id="datepost"> - <td class="label">{'Posted on'|@translate}</td> - <td class="value">{$INFO_POSTED_DATE}</td> - </tr> - <tr id="Dimensions"> - <td class="label">{'Dimensions'|@translate}</td> - <td class="value">{if isset($INFO_DIMENSIONS)}{$INFO_DIMENSIONS}{else}{'N/A'|@translate}{/if}</td> - </tr> - <tr id="File"> - <td class="label">{'File'|@translate}</td> - <td class="value">{$INFO_FILE}</td> - </tr> - <tr id="Filesize"> - <td class="label">{'Filesize'|@translate}</td> - <td class="value">{if isset($INFO_FILESIZE)}{$INFO_FILESIZE}{else}{'N/A'|@translate}{/if}</td> - </tr> - <tr id="Tags"> - <td class="label">{'Tags'|@translate}</td> - <td class="value"> - {if isset($related_tags)} - {foreach from=$related_tags item=tag name=tag_loop}{if !$smarty.foreach.tag_loop.first}, {/if} - <a href="{$tag.URL}">{$tag.name}</a>{/foreach} - {/if} - </td> - </tr> - <tr id="Categories"> - <td class="label">{'Categories'|@translate}</td> - <td class="value"> - {if isset($related_categories)} - <ul> - {foreach from=$related_categories item=cat} - <li>{$cat}</li> - {/foreach} - </ul> - {/if} - </td> - </tr> - <tr id="Visits"> - <td class="label">{'Visits'|@translate}</td> - <td class="value">{$INFO_VISITS}</td> - </tr> - -{if isset($rate_summary) } - <tr id="Average"> - <td class="label">{'Average rate'|@translate}</td> - <td class="value" id="ratingSummary"> - {if $rate_summary.count} - {assign var='rate_text' value='%.2f (rated %d times, standard deviation = %.2f)'|@translate } - {$pwg->sprintf($rate_text, $rate_summary.average, $rate_summary.count, $rate_summary.std) } - {else} - {'no rate'|@translate} - {/if} - </td> - </tr> -{/if} - -{if isset($rating)} - <tr id="rating"> - <td class="label"> - <span id="updateRate">{if isset($rating.USER_RATE)}{'Rate this picture'|@translate}{else}{'Rate this picture'|@translate}{/if}</span> - </td> - <td class="value"> - <form action="{$rating.F_ACTION}" method="post" id="rateForm" style="margin:0;"> - <div> - {foreach from=$rating.marks item=mark name=rate_loop} - {if !$smarty.foreach.rate_loop.first} | {/if} - {if isset($rating.USER_RATE) && $mark==$rating.USER_RATE} - <input type="button" name="rate" value="{$mark}" class="rateButtonSelected" title="{$mark}"> - {else} - <input type="submit" name="rate" value="{$mark}" class="rateButton" title="{$mark}"> - {/if} - {/foreach} - <script type="text/javascript" src="{$ROOT_URL}template/{$themeconf.template}/rating.js"></script> - <script type="text/javascript"> - makeNiceRatingForm( {ldelim}rootUrl: '{$ROOT_URL|@escape:"javascript"}', image_id: {$current.id}, - updateRateText: "{'update_rate'|@translate|@escape:'javascript'}", updateRateElement: document.getElementById("updateRate"), - ratingSummaryText: "{'%.2f (rated %d times, standard deviation = %.2f)'|@translate|@escape:'javascript'}", ratingSummaryElement: document.getElementById("ratingSummary") {rdelim} ); - </script> - </div> - </form> - </td> - </tr> -{/if} - -{if isset($available_permission_levels) } - <tr id="Privacy"> - <td class="label">{'Privacy level'|@translate}:</td> - <td class="value"> -<script type="text/javascript"> -{literal}function setPrivacyLevel(selectElement, rootUrl, id, level) -{ -selectElement.disabled = true; -var y = new PwgWS(rootUrl); -y.callService( - "pwg.images.setPrivacyLevel", {image_id: id, level:level} , - { - method: "POST", - onFailure: function(num, text) { selectElement.disabled = false; alert(num + " " + text); }, - onSuccess: function(result) { selectElement.disabled = false; } - } - ); -}{/literal} -</script> - <select onchange="setPrivacyLevel(this, '{$ROOT_URL|@escape:'javascript'}', {$current.id}, this.options[selectedIndex].value)"> - {foreach from=$available_permission_levels item=level} - <option value="{$level}"{if $current.level==$level} selected="selected"{/if}>{$pwg->l10n($pwg->sprintf('Level %d',$level))}</option> - {/foreach} - </select> - </td></tr> -{/if} - -</table> - -{if isset($metadata)} -<table id="Metadata" class="infoTable2" summary="{'Some more (technical) info about this picture'|@translate}"> -{foreach from=$metadata item=meta} - <tr id="{$meta.TITLE}"> - <th colspan="2">{$meta.TITLE}</th> - </tr> - {foreach from=$meta.lines item=value key=label} - <tr id="{$label}" > - <td class="label">{$label}</td> - <td class="value">{$value}</td> - </tr> - {/foreach} -{/foreach} -</table> -{/if} - - -<hr class="separation"> - -{if isset($COMMENT_COUNT)} -<div id="comments"> - {if $COMMENT_COUNT > 0} - <h3>{$pwg->l10n_dec('%d comment', '%d comments',$COMMENT_COUNT)}</h3> - {/if} - {if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} - - {if isset($comments)} - {include file='comment_list.tpl'} - {/if} - - {if isset($comment_add)} - <form method="post" action="{$comment_add.F_ACTION}" class="filter" id="addComment"> - <fieldset> - <legend>{'Add a comment'|@translate}</legend> - {if $comment_add.SHOW_AUTHOR} - <label>{'Author'|@translate}<input type="text" name="author"></label> - {/if} - <label>{'Comment'|@translate}<textarea name="content" id="contentid" rows="5" cols="80">{$Comment_add.CONTENT}</textarea></label> - <input type="hidden" name="key" value="{$comment_add.KEY}"> - <input class="submit" type="submit" value="{'Submit'|@translate}"> - </fieldset> - </form> - {/if} -</div> -{/if} {*comments*} - -{if !empty($PLUGIN_PICTURE_AFTER)}{$PLUGIN_PICTURE_AFTER}{/if} diff --git a/template/default/picture_content.tpl b/template/default/picture_content.tpl deleted file mode 100644 index 384a9ce1a..000000000 --- a/template/default/picture_content.tpl +++ /dev/null @@ -1,11 +0,0 @@ -{if isset($high) } -<a href="javascript:phpWGOpenWindow('{$high.U_HIGH}','{$high.UUID}','scrollbars=yes,toolbar=no,status=no,resizable=yes')"> -{/if} - <img src="{$SRC_IMG}" style="width:{$WIDTH_IMG}px;height:{$HEIGHT_IMG}px;" alt="{$ALT_IMG}" - {if isset($COMMENT_IMG)} - title="{$COMMENT_IMG|@strip_tags:false|@replace:'"':' '}" {else} title="{$current.TITLE|@replace:'"':' '} - {$ALT_IMG}" - {/if}> -{if isset($high) } -</a> - <p>{'Click on the picture to see it in high definition'|@translate}</p> -{/if} diff --git a/template/default/picture_nav_buttons.tpl b/template/default/picture_nav_buttons.tpl deleted file mode 100644 index 06b236a88..000000000 --- a/template/default/picture_nav_buttons.tpl +++ /dev/null @@ -1,102 +0,0 @@ - <div class="navButtons"> - -{if isset($last)} - <a class="navButton" href="{$last.U_IMG}" title="{'Last'|@translate} : {$last.TITLE}" rel="last"><img src="{$ROOT_URL}{$themeconf.icon_dir}/last.png" class="button" alt="{'Last'|@translate}"></a> -{else} - <a class="navButton"><img src="{$ROOT_URL}{$themeconf.icon_dir}/last_unactive.png" class="button" alt=""></a> -{/if} - -{if isset($next)} - <a class="navButton" href="{$next.U_IMG}" title="{'Next'|@translate} : {$next.TITLE}" rel="next"><img src="{$ROOT_URL}{$themeconf.icon_dir}/right.png" class="button" alt="{'Next'|@translate}"></a> -{else} - <a class="navButton"><img src="{$ROOT_URL}{$themeconf.icon_dir}/right_unactive.png" class="button" alt=""></a> -{/if} - -{if isset($slideshow.U_START_PLAY)} - <a class="navButton" href="{$slideshow.U_START_PLAY}" title="{'Play of slideshow'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/play.png" class="button" alt="{'Play of slideshow'|@translate}"></a> -{/if} - -{if isset($slideshow.U_STOP_PLAY)} - <a class="navButton" href="{$slideshow.U_STOP_PLAY}" title="{'Pause of slideshow'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/pause.png" class="button" alt="{'Pause of slideshow'|@translate}"></a> -{/if} - -{if isset($U_UP) and !isset($slideshow)} - <a class="navButton" href="{$U_UP}" title="{'Thumbnails'|@translate}" rel="up"><img src="{$ROOT_URL}{$themeconf.icon_dir}/up.png" class="button" alt="{'Thumbnails'|@translate}"></a> -{/if} - -{if isset($previous)} - <a class="navButton" href="{$previous.U_IMG}" title="{'Previous'|@translate} : {$previous.TITLE}" rel="prev"><img src="{$ROOT_URL}{$themeconf.icon_dir}/left.png" class="button" alt="{'Previous'|@translate}"></a> -{else} - <a class="navButton"><img src="{$ROOT_URL}{$themeconf.icon_dir}/left_unactive.png" class="button" alt=""></a> -{/if} - -{if isset($first)} - <a class="navButton" href="{$first.U_IMG}" title="{'First'|@translate} : {$first.TITLE}" rel="first"><img src="{$ROOT_URL}{$themeconf.icon_dir}/first.png" class="button" alt="{'First'|@translate}"></a> -{else} - <a class="navButton"><img src="{$ROOT_URL}{$themeconf.icon_dir}/first_unactive.png" class="button" alt=""></a> -{/if} - - -{if isset($slideshow.U_START_REPEAT)} - <a class="navButton" href="{$slideshow.U_START_REPEAT}" title="{'Repeat the slideshow'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/start_repeat.png" class="button" alt="{'Repeat the slideshow'|@translate}"></a> -{/if} - -{if isset($slideshow.U_STOP_REPEAT)} - <a class="navButton" href="{$slideshow.U_STOP_REPEAT}" title="{'Not repeat the slideshow'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/stop_repeat.png" class="button" alt="{'Not repeat the slideshow'|@translate}"></a> -{/if} - -{if isset($slideshow)} - {if isset($slideshow.U_DEC_PERIOD)} - <a class="navButton" href="{$slideshow.U_DEC_PERIOD}" title="{'Accelerate diaporama speed'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/dec_period.png" class="button" alt="{'Accelerate diaporama speed'|@translate}"></a> - {else} - <a class="navButton"> <img src="{$ROOT_URL}{$themeconf.icon_dir}/dec_period_unactive.png" class="button" alt=""></a> - {/if} - - {if isset($slideshow.U_INC_PERIOD)} - <a class="navButton" href="{$slideshow.U_INC_PERIOD}" title="{'Reduce diaporama speed'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/inc_period.png" class="button" alt="{'Reduce diaporama speed'|@translate}"></a> - {else} - <a class="navButton"> <img src="{$ROOT_URL}{$themeconf.icon_dir}/inc_period_unactive.png" class="button" alt=""></a> - {/if} -{/if} - - </div> - -<script type="text/javascript">// <![CDATA[ -{literal} -function keyboardNavigation(e) -{ - if(!e) e=window.event; - if (e.altKey) return true; - var target = e.target || e.srcElement; - if (target && target.type) return true; //an input editable element - var keyCode=e.keyCode || e.which; - var docElem = document.documentElement; - switch(keyCode) { -{/literal} -{if isset($next)} - case 63235: case 39: if (e.ctrlKey || docElem.scrollLeft==docElem.scrollWidth-docElem.clientWidth ){ldelim}window.location="{$next.U_IMG}".replace( "&", "&" ); return false; } break; -{/if} -{if isset($previous)} - case 63234: case 37: if (e.ctrlKey || docElem.scrollLeft==0){ldelim}window.location="{$previous.U_IMG|@escape:jasvascript}".replace("&","&"); return false; } break; -{/if} -{if isset($first)} - /*Home*/case 36: if (e.ctrlKey){ldelim}window.location="{$first.U_IMG|@escape:jasvascript}".replace("&","&"); return false; } break; -{/if} -{if isset($last)} - /*End*/case 35: if (e.ctrlKey){ldelim}window.location="{$last.U_IMG|@escape:jasvascript}".replace("&","&"); return false; } break; -{/if} -{if isset($U_UP) and !isset($slideshow)} - /*Up*/case 38: if (e.ctrlKey){ldelim}window.location="{$U_UP|@escape:jasvascript}".replace("&","&"); return false; } break; -{/if} - -{if isset($slideshow.U_START_PLAY)} - /*Pause*/case 32: {ldelim}window.location="{$slideshow.U_START_PLAY|@escape:jasvascript}".replace("&","&"); return false; } break; -{/if} -{if isset($slideshow.U_STOP_PLAY)} - /*Play*/case 32: {ldelim}window.location="{$slideshow.U_STOP_PLAY|@escape:jasvascript}".replace("&","&"); return false; } break; -{/if} - } - return true; -} -document.onkeydown=keyboardNavigation; -// ]]></script> diff --git a/template/default/profile.tpl b/template/default/profile.tpl deleted file mode 100644 index b94c3967c..000000000 --- a/template/default/profile.tpl +++ /dev/null @@ -1,21 +0,0 @@ -<div id="content" class="content"> - -{if isset($errors)} -<div class="errors"> - <ul> - {foreach from=$errors item=error} - <li>{$error}</li> - {/foreach} - </ul> -</div> -{/if} - - <div class="titrePage"> - <ul class="categoryActions"> - <li><a href="{$U_HOME}" title="{'Home'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/Home.png" class="button" alt="{'Home'|@translate}"></a></li> - </ul> - <h2>{'Profile'|@translate}</h2> - </div> - -{$PROFILE_CONTENT} -</div> <!-- content --> diff --git a/template/default/profile_content.tpl b/template/default/profile_content.tpl deleted file mode 100644 index e6736f078..000000000 --- a/template/default/profile_content.tpl +++ /dev/null @@ -1,109 +0,0 @@ -<form method="post" name="profile" action="{$F_ACTION}" id="profile" class="properties"> - - <fieldset> - <legend>{'Registration'|@translate}</legend> - <input type="hidden" name="redirect" value="{$REDIRECT}"> - <ul> - <li> - <span class="property">{'Username'|@translate}</span> - {$USERNAME} - </li> -{if not $SPECIAL_USER} {* can modify password + email*} - <li> - <span class="property"> - <label for="mail_address">{'Email address'|@translate}</label> - </span> - <input type="text" name="mail_address" id="mail_address" value="{$EMAIL}"> - </li> -{if not $IN_ADMIN} {* admins do not need old password*} - <li> - <span class="property"> - <label for="password">{'Password'|@translate}</label> - </span> - <input type="password" name="password" id="password" value=""> - </li> -{/if} - <li> - <span class="property"> - <label for="use_new_pwd">{'New password'|@translate}</label> - </span> - <input type="password" name="use_new_pwd" id="use_new_pwd" value=""> - </li> - <li> - <span class="property"> - <label for="passwordConf">{'Confirm Password'|@translate}</label> - </span> - <input type="password" name="passwordConf" id="passwordConf" value=""> - </li> - </ul> -{/if} - </fieldset> - - <fieldset> - <legend>{'Preferences'|@translate}</legend> - - <ul> - <li> - <span class="property"> - <label for="nb_image_line">{'Number of images per row'|@translate}</label> - </span> - <input type="text" size="3" maxlength="2" name="nb_image_line" id="nb_image_line" value="{$NB_IMAGE_LINE}"> - </li> - <li> - <span class="property"> - <label for="nb_line_page">{'Number of rows per page'|@translate}</label> - </span> - <input type="text" size="3" maxlength="2" name="nb_line_page" id="nb_line_page" value="{$NB_ROW_PAGE}" > - </li> - <li> - <span class="property"> - <label for="template">{'Interface theme'|@translate}</label> - </span> - {html_options name=template options=$template_options selected=$template_selection} - </li> - <li> - <span class="property"> - <label for="Language">{'Language'|@translate}</label> - </span> - {html_options name=language options=$language_options selected=$language_selection} - </li> - <li> - <span class="property"> - <label for="Recent period">{'Recent period'|@translate}</label> - </span> - <input type="text" size="3" maxlength="2" name="recent_period" id="recent_period" value="{$RECENT_PERIOD}"> - </li> - <li> - <span class="property">{'Expand all categories'|@translate}</span> - {html_radios name='expand' options=$radio_options selected=$EXPAND} - </li> - <li> - <span class="property">{'Show number of comments'|@translate}</span> - {html_radios name='show_nb_comments' options=$radio_options selected=$NB_COMMENTS} - </li> - <li> - <span class="property">{'Show number of hits'|@translate}</span> - {html_radios name='show_nb_hits' options=$radio_options selected=$NB_HITS} - </li> - <li> - <span class="property"> - <label for="Maximum width of the pictures">{'Maximum width of the pictures'|@translate}</label> - </span> - <input type="text" size="4" maxlength="4" name="maxwidth" id="maxwidth" value="{$MAXWIDTH}"> - </li> - <li> - <span class="property"> - <label for="Maximum height of the pictures">{'Maximum height of the pictures'|@translate}</label> - </span> - <input type="text" size="4" maxlength="4" name="maxheight" id="maxheight" value="{$MAXHEIGHT}"> - </li> - </ul> - </fieldset> - - <p class="bottomButtons"> - <input class="submit" type="submit" name="validate" value="{'Submit'|@translate}"> - <input class="submit" type="reset" name="reset" value="{'Reset'|@translate}"> - <input class="submit" type="submit" name="reset_to_default" value="{'Reset to default values'|@translate}"> - </p> - -</form> diff --git a/template/default/redirect.tpl b/template/default/redirect.tpl deleted file mode 100644 index aa90953ec..000000000 --- a/template/default/redirect.tpl +++ /dev/null @@ -1,13 +0,0 @@ -{html_head} -<style type="text/css">#the_page {ldelim}text-align:center;} </style> -{/html_head} - -<div> - {$REDIRECT_MSG} -</div> - -<p style="margin: 2em"> - <a href="{$page_refresh.U_REFRESH}"> - {'Click here if your browser does not automatically forward you'|@translate} - </a> -</p> diff --git a/template/default/register.tpl b/template/default/register.tpl deleted file mode 100644 index 7e5a31d70..000000000 --- a/template/default/register.tpl +++ /dev/null @@ -1,68 +0,0 @@ -<div id="registerPage"> - -<div id="content" class="content"> - - <div class="titrePage"> - <ul class="categoryActions"> - <li><a href="{$U_HOME}" title="{'Home'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/Home.png" class="button" alt="{'Home'|@translate}"></a></li> - </ul> - <h2>{'Registration'|@translate}</h2> - </div> - -{if isset($errors)} - <div class="errors"> - <ul> - {foreach from=$errors item=error} - <li>{$error}</li> - {/foreach} - </ul> - </div> -{/if} - -<form method="post" action="{$F_ACTION}" class="properties" name="register_form"> - <fieldset> - <legend>{'Enter your personnal informations'|@translate}</legend> - - <ul> - <li> - <span class="property"> - <label for="login">* {'Username'|@translate}</label> - </span> - <input type="text" name="login" id="login" value="{$F_LOGIN}" > - </li> - <li> - <span class="property"> - <label for="password">* {'Password'|@translate}</label> - </span> - <input type="password" name="password" id="password" > - </li> - <li> - <span class="property"> - <label for="password_conf">* {'Confirm Password'|@translate}</label> - </span> - <input type="password" name="password_conf" id="password_conf" > - </li> - <li> - <span class="property"> - <label for="mail_address">{'Mail address'|@translate}</label> - </span> - <input type="text" name="mail_address" id="mail_address" value="{$F_EMAIL}" > - ({'useful when password forgotten'|@translate}) - </li> - </ul> - - </fieldset> - - <p class="bottomButtons"> - <input class="submit" type="submit" name="submit" value="{'Register'|@translate}"> - <input class="submit" type="reset" value="{'Reset'|@translate}"> - </p> - -</form> - -<script type="text/javascript"><!-- -document.register_form.login.focus(); -//--></script> - -</div> <!-- content --> -</div> <!-- registerPage --> diff --git a/template/default/search.tpl b/template/default/search.tpl deleted file mode 100644 index 57f799e75..000000000 --- a/template/default/search.tpl +++ /dev/null @@ -1,146 +0,0 @@ - -{* Example of resizeable *} -{* -{include file='include/resize.inc.tpl'} -*} - -{* Example of datepicker *} -{* -{include file='include/datepicker.inc.tpl'} - -{literal} -<script type="text/javascript"> - pwg_initialization_datepicker("#start_day", "#start_month", "#start_year", "#start_linked_date", null, null, "#end_linked_date"); - pwg_initialization_datepicker("#end_day", "#end_month", "#end_year", "#end_linked_date", null, "#start_linked_date", null); - jQuery().ready(function(){ $(".date_today").hide(); }); -</script> -{/literal} -*} - -<div id="content" class="content"> - - <div class="titrePage"> - <ul class="categoryActions"> - <li><a href="{$U_HELP}" onclick="popuphelp(this.href); return false;" title="{'Help'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/help.png" class="button" alt="(?)"></a></li> - <li><a href="{$U_HOME}" title="{'Home'|@translate}" rel="Home"><img src="{$ROOT_URL}{$themeconf.icon_dir}/Home.png" class="button" alt="{'Home'|@translate}"></a></li> - </ul> - <h2>{'Search'|@translate}</h2> - </div> - -{if isset($errors) } -<div class="errors"> - <ul> - {foreach from=$errors item=error} - <li>{$error}</li> - {/foreach} - </ul> -</div> -{/if} - -<form class="filter" method="post" name="search" action="{$F_SEARCH_ACTION}"> -<fieldset> - <legend>{'Filter'|@translate}</legend> - <label>{'Search for words'|@translate} - <input type="text" style="width: 300px" name="search_allwords" size="30"> - </label> - <ul> - <li><label> - <input type="radio" name="mode" value="AND" checked="checked">{'Search for all terms '|@translate} - </label></li> - <li><label> - <input type="radio" name="mode" value="OR">{'Search for any terms'|@translate} - </label></li> - </ul> - <label>{'Search for Author'|@translate} - <input type="text" style="width: 300px" name="search_author" size="30"> - </label> -</fieldset> - -{if isset($TAG_SELECTION)} -<fieldset> - <legend>{'Search tags'|@translate}</legend> - {$TAG_SELECTION} - <label><span><input type="radio" name="tag_mode" value="AND" checked="checked"> {'All tags'|@translate}</span></label> - <label><span><input type="radio" name="tag_mode" value="OR"> {'Any tag'|@translate}</span></label> -</fieldset> -{/if} - -<fieldset> - <legend>{'Search by Date'|@translate}</legend> - <ul> - <li><label>{'Kind of date'|@translate}</label></li> - <li><label> - <input type="radio" name="date_type" value="date_creation" checked="checked">{'Creation date'|@translate} - </label></li> - <li><label> - <input type="radio" name="date_type" value="date_available">{'Post date'|@translate} - </label></li> - </ul> - <ul> - <li><label>{'Date'|@translate}</label></li> - <li> - <select id="start_day" name="start_day"> - <option value="0">--</option> - {section name=day start=1 loop=32} - <option value="{$smarty.section.day.index}" {if $smarty.section.day.index==$START_DAY_SELECTED}selected="selected"{/if}>{$smarty.section.day.index}</option> - {/section} - </select> - <select id="start_month" name="start_month"> - {html_options options=$month_list selected=$START_MONTH_SELECTED} - </select> - <input id="start_year" name="start_year" type="text" size="4" maxlength="4" > - <input id="start_linked_date" name="start_linked_date" type="hidden" size="10" disabled="disabled"> - </li> - <li> - <a class="date_today" href="#" onClick="document.search.start_day.value={$smarty.now|date_format:"%d"};document.search.start_month.value={$smarty.now|date_format:"%m"};document.search.start_year.value={$smarty.now|date_format:"%Y"};return false;">{'today'|@translate}</a> - </li> - </ul> - <ul> - <li><label>{'End-Date'|@translate}</label></li> - <li> - <select id="end_day" name="end_day"> - <option value="0">--</option> - {section name=day start=1 loop=32} - <option value="{$smarty.section.day.index}" {if $smarty.section.day.index==$END_DAY_SELECTED}selected="selected"{/if}>{$smarty.section.day.index}</option> - {/section} - </select> - <select id="end_month" name="end_month"> - {html_options options=$month_list selected=$END_MONTH_SELECTED} - </select> - <input id="end_year" name="end_year" type="text" size="4" maxlength="4" > - <input id="end_linked_date" name="end_linked_date" type="hidden" size="10" disabled="disabled"> - </li> - <li> - <a class="date_today" href="#" onClick="document.search.end_day.value={$smarty.now|date_format:"%d"};document.search.end_month.value={$smarty.now|date_format:"%m"};document.search.end_year.value={$smarty.now|date_format:"%Y"};return false;">{'today'|@translate}</a> - </li> - </ul> -</fieldset> - -<fieldset> - <legend>{'Search Options'|@translate}</legend> - <label>{'Search in Categories'|@translate} - <select class="categoryList" name="cat[]" multiple="multiple" > - {html_options options=$category_options selected=$category_options_selected} - </select> - </label> - <ul> - <li><label>{'Search in subcategories'|@translate}</label></li> - <li><label> - <input type="radio" name="subcats-included" value="1" checked="checked">{'Yes'|@translate} - </label></li> - <li><label> - <input type="radio" name="subcats-included" value="0">{'No'|@translate} - </label></li> - </ul> -</fieldset> -<p> - <input class="submit" type="submit" name="submit" value="{'Submit'|@translate}"> - <input class="submit" type="reset" value="{'Reset'|@translate}"> -</p> -</form> - -<script type="text/javascript"><!-- -document.search.search_allwords.focus(); -//--></script> - -</div> <!-- content --> diff --git a/template/default/search_rules.tpl b/template/default/search_rules.tpl deleted file mode 100644 index 28b2e423f..000000000 --- a/template/default/search_rules.tpl +++ /dev/null @@ -1,57 +0,0 @@ -<div id="content" class="content"> -<h2>{'Search rules'|@translate}</h2> - -{if isset($INTRODUCTION) } -<p>{$INTRODUCTION}</p> -{/if} - -<ul> - - {if isset($search_words) } - {foreach from=$search_words item=v} - <li>{$v}</li> - {/foreach} - {/if} - - {if isset($SEARCH_TAGS_MODE) } - <li> - <p>{if 'AND'==$SEARCH_TAGS_MODE}{'At least one tag must match'|@translate}{else}{'At least one tag must match'|@translate}{/if}</p> - <ul> - {foreach from=$search_tags item=v} - <li>{$v}</li> - {/foreach} - </ul> - </li> - {/if} - - {if isset($DATE_CREATION) } - <li>{$DATE_CREATION}</li> - {/if} - - {if isset($DATE_AVAILABLE) } - <li>{$DATE_AVAILABLE}</li> - {/if} - - {if isset($search_categories) } - <li> - <p>{'Categories'|@translate}</p> - - <ul> - {foreach from=$search_categories item=v} - <li>{$v}</li> - {/foreach} - </ul> - </li> - {/if} - -</ul> - -</div> <!-- content --> - -<ul class="categoryActions"> - <li> - <a href="#" onclick="window.close();" title="{'Close this window'|@translate}"> - <img src="{$ROOT_URL}{$themeconf.icon_dir}/exit.png" class="button" alt="exit"> - </a> - </li> -</ul> diff --git a/template/default/slideshow.tpl b/template/default/slideshow.tpl deleted file mode 100644 index a310935a2..000000000 --- a/template/default/slideshow.tpl +++ /dev/null @@ -1,22 +0,0 @@ -<div id="imageHeaderBar"> - <div class="browsePath"> - {if isset($U_SLIDESHOW_STOP) } - [ <a href="{$U_SLIDESHOW_STOP}">{'stop the slideshow'|@translate}</a> ] - {/if} - </div> - <div class="imageNumber">{$PHOTO}</div> - {if $SHOW_PICTURE_NAME_ON_TITLE } - <h2 class="showtitle">{$current.TITLE}</h2> - {/if} -</div> - -<div id="imageToolBar"> - {include file='picture_nav_buttons.tpl'|@get_extent:'picture_nav_buttons'} -</div> - -<div id="theImage"> - {$ELEMENT_CONTENT} - {if isset($COMMENT_IMG)} - <p class="showlegend">{$COMMENT_IMG}</p> - {/if} -</div> diff --git a/template/default/tags.tpl b/template/default/tags.tpl deleted file mode 100644 index 95891df0e..000000000 --- a/template/default/tags.tpl +++ /dev/null @@ -1,54 +0,0 @@ -<div id="content" class="content"> - - <div class="titrePage"> - <ul class="categoryActions"> - {if $display_mode == 'letters'} - <li><a href="{$U_CLOUD}" title="{'cloud'|@translate}" rel="nofollow"><img src="{$themeconf.icon_dir}/tag_cloud.png" class="button" alt="{'cloud'|@translate}"></a></li> - {/if} - - {if $display_mode == 'cloud'} - <li><a href="{$U_LETTERS}" title="{'letters'|@translate}" rel="nofollow"><img src="{$themeconf.icon_dir}/tag_letters.png" class="button" alt="{'letters'|@translate}"></a></li> - {/if} - - <li><a href="{$U_HOME}" title="{'Home'|@translate}"><img src="{$themeconf.icon_dir}/Home.png" class="button" alt="{'Home'|@translate}"></a></li> - </ul> - <h2>{'Tags'|@translate}</h2> - </div> - -{if isset($tags)} - {if $display_mode == 'cloud'} - <div id="fullTagCloud"> - {foreach from=$tags item=tag} - <span><a href="{$tag.URL}" class="tagLevel{$tag.level}" title="{$tag.counter}">{$tag.name}</a></span> - {/foreach} - </div> - {/if} - - {if $display_mode == 'letters'} - <table> - <tr> - <td valign="top"> - {foreach from=$letters item=letter} - <fieldset class="tagLetter"> - <legend class="tagLetterLegend">{$letter.TITLE}</legend> - <table class="tagLetterContent"> - {foreach from=$letter.tags item=tag} - <tr class="tagLine"> - <td><a href="{$tag.URL}">{$tag.name}</a></td> - <td class="nbEntries">{$pwg->l10n_dec('%d element', '%d elements', $tag.counter)}</td> - </tr> - {/foreach} - </table> - </fieldset> - {if isset($letter.CHANGE_COLUMN) } - </td> - <td valign="top"> - {/if} - {/foreach} - </td> - </tr> - </table> - {/if} -{/if} - -</div> <!-- content --> diff --git a/template/default/thumbnails.tpl b/template/default/thumbnails.tpl deleted file mode 100644 index 1061f77cd..000000000 --- a/template/default/thumbnails.tpl +++ /dev/null @@ -1,37 +0,0 @@ - -{if !empty($thumbnails)} -<ul class="thumbnails"> -{foreach from=$thumbnails item=thumbnail} - <li> - <span class="wrap1"> - <span class="wrap2"> - <a href="{$thumbnail.URL}"> - <img class="thumbnail" src="{$thumbnail.TN_SRC}" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}"> - </a> - </span> - <span class="thumbLegend"> - {if isset($thumbnail.NAME)}{$thumbnail.NAME}{/if} - {if !empty($thumbnail.icon_ts)} - <img title="{$thumbnail.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent.png" class="icon" alt="(!)"> - {/if} - {if isset($thumbnail.NB_COMMENTS)} - <span class="{if 0==$thumbnail.NB_COMMENTS}zero {/if}nb-comments"> - <br> - {$pwg->l10n_dec('%d comment', '%d comments',$thumbnail.NB_COMMENTS)} - </span> - {/if} - - {if isset($thumbnail.NB_HITS)} - <span class="{if 0==$thumbnail.NB_HITS}zero {/if}nb-hits"> - <br> - {$pwg->l10n_dec('%d hit', '%d hits',$thumbnail.NB_HITS)} - </span> - {/if} - </span> - </span> - </li> -{/foreach} -</ul> -{/if} - - diff --git a/template/default/upload.tpl b/template/default/upload.tpl deleted file mode 100644 index 00f17be89..000000000 --- a/template/default/upload.tpl +++ /dev/null @@ -1,114 +0,0 @@ - -{* Example of resizeable *} -{* -{include file='include/autosize.inc.tpl'} -*} - -<div id="content" class="content"> - - <div class="titrePage"> - <ul class="categoryActions"> - <li><a href="{$U_HOME}" title="{'Home'|@translate}"><img src="{$themeconf.icon_dir}/Home.png" class="button" alt="{'Home'|@translate}"></a></li> - </ul> - <h2>{'Upload a picture'|@translate}</h2> - </div> - - {if !empty($errors)} - <div class="errors"> - <ul> - {foreach from=$errors item=error} - <li>{$error}</li> - {/foreach} - </ul> - </div> - {/if} - - {if not $UPLOAD_SUCCESSFUL } - <form enctype="multipart/form-data" method="post" action="{$F_ACTION}"> - <table style="width:80%;margin-left:auto;margin-right:auto;"> - <tr> - <td colspan="2" class="menu"> - <div style="text-align:center;">{$ADVISE_TITLE}</div> - {if not empty($advises)} - <ul> - {foreach from=$advises item=advise} - <li>{$advise}</li> - {/foreach} - </ul> - {/if} - </td> - </tr> - <tr> - <td colspan="2" align="center"> - <input class="file" name="picture" type="file" value=""> - </td> - </tr> - {if isset($SHOW_FORM_FIELDS) and $SHOW_FORM_FIELDS} - <!-- category --> - <tr> - <td>{'Category'|@translate}</td> - <td> - {html_options name="category" options=$categories selected=$categories_selected} - </td> - </tr> - <!-- username --> - <tr> - <td>{'Username'|@translate} <span style="color:red;">*</span></td> - <td> - <input name="username" type="text" value="{$NAME}"> - </td> - </tr> - <!-- mail address --> - <tr> - <td>{'E-mail address'|@translate} <span style="color:red;">*</span></td> - <td> - <input name="mail_address" type="text" value="{$EMAIL}"> - </td> - </tr> - <!-- name of the picture --> - <tr> - <td>{'Name of the picture'|@translate}</td> - <td> - <input name="name" type="text" value="{$NAME_IMG}"> - </td> - </tr> - <!-- author --> - <tr> - <td>{'Author'|@translate}</td> - <td> - <input name="author" type="text" value="{$AUTHOR_IMG}"> - </td> - </tr> - <!-- date of creation --> - <tr> - <td>{'Creation date'|@translate} (DD/MM/YYYY)</td> - <td> - <input name="date_creation" type="text" value="{$DATE_IMG}"> - </td> - </tr> - <!-- comment --> - <tr> - <td>{'Comment'|@translate}</td> - <td> - <textarea name="comment" id="comment" rows="3" cols="40" style="overflow:auto">{$COMMENT_IMG}</textarea> - </td> - </tr> - {/if} - <tr> - <td colspan="2" align="center"> - <input class="submit" name="submit" type="submit" value="{'Submit'|@translate}"> - </td> - </tr> - </table> - </form> - {else} - {'Picture uploaded with success, an administrator will validate it as soon as possible'|@translate}<br> - <div style="text-align:center;"> - <a href="{$U_RETURN}">[ {'Home'|@translate} ]</a> - </div> - {/if} - - {if isset($SHOW_FORM_FIELDS) and $SHOW_FORM_FIELDS} - <div style="text-align:left; margin-left:20px;"><span style="color:red;">*</span> : {'obligatory'|@translate}</div> - {/if} -</div> <!-- content --> diff --git a/template/index.php b/template/index.php deleted file mode 100644 index 871b52b6a..000000000 --- a/template/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based picture gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2009 Piwigo Team http://piwigo.org | -// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | -// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | -// +-----------------------------------------------------------------------+ -// | This program is free software; you can redistribute it and/or modify | -// | it under the terms of the GNU General Public License as published by | -// | the Free Software Foundation | -// | | -// | This program is distributed in the hope that it will be useful, but | -// | WITHOUT ANY WARRANTY; without even the implied warranty of | -// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | -// | General Public License for more details. | -// | | -// | You should have received a copy of the GNU General Public License | -// | along with this program; if not, write to the Free Software | -// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | -// | USA. | -// +-----------------------------------------------------------------------+ - -// Recursive call -$url = '../'; -header( 'Request-URI: '.$url ); -header( 'Content-Location: '.$url ); -header( 'Location: '.$url ); -exit(); -?> diff --git a/template/yoga/content.css b/template/yoga/content.css deleted file mode 100644 index 11023f104..000000000 --- a/template/yoga/content.css +++ /dev/null @@ -1,197 +0,0 @@ -.content { - margin-right: 1em; - margin-bottom: 1em; /* when it's longer than menu bar */ -} - -BODY#theCommentsPage .content, -BODY#theUploadPage .content, -BODY#theRegisterPage .content, -BODY#theIdentificationPage .content, -BODY#theProfilePage .content, -BODY#theSearchPage .content, -BODY#theAboutPage .content, -BODY#thePopuphelpPage .content, -BODY#thePasswordPage .content, -BODY#theNotificationPage .content, -BODY#theTagsPage .content, -BODY#theNBMPage .content -{ - margin: 1em; -} - -.content H2 { margin-bottom: 3px;} /*<- for IE otherwise calendar select is displaced to middle of page*/ - -.content .navigationBar, .content .additional_info, .content .calendarBar { - margin: 8px 4px; - text-align: center; -} - -.content .pageNumberSelected { - font-style: italic; - font-weight: bold; -} - -.content .additional_info { - font-size: 110%; -} - - -/* actions */ -UL.categoryActions { - margin: 0 2px; - width: auto; - padding: 0; - text-indent: 0; - list-style: none; - text-align: center; -} - -.content DIV.titrePage UL.categoryActions { - float: right; - text-align: center; -} - -.content DIV.titrePage { - padding: 0 0 3px; -} - -.content UL.categoryActions LI { - display: inline; -} - -.content UL.categoryActions A IMG, UL.categoryActions A { - border: none; - margin-bottom: -5px; -} - -/* begin chronology/calendar elements*/ -.content DIV.calendarViews { - display: block; - float: right; - margin: 2px 0 0; -} - -SPAN.calItem, SPAN.calItemEmpty { - font-weight: bold; - margin: 0 1px; -} - -SPAN.calItem A { border:0 } - -.content DIV.calendarCalBar { - margin: 10px 10px; - text-align: left; -} - -SPAN.calCalHead { - font-weight: bold; - font-size: 110%; - margin: 0 2px; -} - -SPAN.calCal { margin: 0 2px; } - -/* nice looking month calendar*/ -TABLE.calMonth { - border: none; - border-collapse: collapse; - margin-bottom: 10px; /*<-IE ignores this */ -} - -TD.calDayCellFull, TD.calDayCellEmpty, TD.calDayCellBlank { - vertical-align: top; - font-weight: bold; - font-size: 18px; -} - -TD.calDayHead { - font-weight: bold; - font-size: 12px; - text-align: center; -} - -DIV.calImg { - overflow: hidden; - vertical-align: bottom; - z-index: 1; - position: relative; /*<- this required by IE*/ -} - -.calImg img { - position: relative; - border: 0; -} - -.calBackDate { - padding-left: 4px; - padding-top: 0px; - z-index: 2; - position: absolute; - vertical-align: top; - color: #000; -} - -.calForeDate { - padding-left: 5px; - padding-top: 1px; - z-index: 3; - position: absolute; - vertical-align: top; - color: #fff; -} - -/* Category thumbnails on main page, CSS code inspired from MOD subcatify */ -.content UL.thumbnailCategories { - margin: 0; - padding: 0; - list-style: none; - overflow: hidden; - width: 100%; -} - -.content UL.thumbnailCategories LI { - margin:0; - padding:0; - float:left; -} - -.content DIV.thumbnailCategory { - display:block; - padding: 2px 0px 0px 2px; - margin: 5px; -} - -.content DIV.thumbnailCategory DIV.description { - font-size: 90%; - overflow: auto; - /*width: inherit;*/ -} - -.content DIV.thumbnailCategory DIV.description H3 { - text-align: left; - background: transparent; - margin: 0; - padding: 0.1em; - font-size: 120%; -} - -.content DIV.thumbnailCategory DIV.description P { - margin: 0; -} - -.content DIV.thumbnailCategory DIV.illustration { - text-align: left; - margin: 2px 0 0 2px; - float: left; -} - - -/* User comments */ -DIV#comments { - padding-left: 5px; - padding-right: 5px; -} - -DIV#comments DIV.description { - font-size: 100%; -} diff --git a/template/yoga/default-colors.css b/template/yoga/default-colors.css deleted file mode 100644 index cc094cf0e..000000000 --- a/template/yoga/default-colors.css +++ /dev/null @@ -1,109 +0,0 @@ - -/* others */ - -#imageToolBar * { - background: inherit; -} - -/* So that non-links are slightly greyed out */ -.content .navigationBar, SPAN.calItemEmpty, TD.calDayCellEmpty { - color: #b0b0b0; -} - -/* Tables & forms */ - -/* IE <= 6 is so bad with this that you can't merge with the following rule */ -INPUT[type="text"], INPUT[type="password"], INPUT[type="button"], -INPUT[type="submit"], INPUT[type="reset"], INPUT[type="file"] { - color:black; - background-color: #d3d3d3; /* lightgrey */ -} - -INPUT.text, INPUT.password, INPUT.button, -INPUT.submit, INPUT.reset, INPUT.file, -SELECT, TEXTAREA { - color:black; - background-color: #d3d3d3; /* lightgrey */ -} - -INPUT:focus, SELECT:focus, TEXTAREA:focus, INPUT.focus, FORM .focus { - background-color: #f5f5f5; /* whitesmoke */ -} - -/* some theme set a border on INPUT which is not pretty for radio/checkbox */ -INPUT[type="radio"], INPUT[type="checkbox"] { - border: none; /* <= Opera needs this */ -} - -INPUT.radio, INPUT.checkbox { - border: none; /* <= IE6 needs this */ -} - -/* rate buttons displayed like links */ -INPUT.rateButton, INPUT.rateButtonSelected, INPUT.rateButtonStarFull, INPUT.rateButtonStarEmpty { - color:inherit; - background-color:transparent !important; /* Konqueror doesn't accept transparent here */ -} - -.errors { /* Errors display */ - color: red; - background-color: #ffe1e1; - font-weight: bold; - margin: 5px; - border: 1px solid red; - background-image: url(icon/admin/errors.png); - background-repeat: no-repeat; - background-position: top right; - padding: 10px 50px 10px 10px; -} - -/** - * Informations box in administration - */ -.infos { - color: #002000; - background-color: #98fb98; /* palegreen */ - background-image: url(icon/admin/infos.png); - background-repeat: no-repeat; - background-position: top right; - margin: 5px; - padding: 10px 50px 10px 10px; -} - -/** - * Header message like upgrade or adviser mode - */ -.header_msgs { - text-align:center; - font-weight: bold; - color:#696969; /* dimgray */ - background-color: #d3d3d3; - margin: 1px; - padding: 1px; -} - -/** - * Header notes box in public/administration - */ -.header_notes { - border: 1px solid #aaaaaa; /* border color and style */ - text-align: center; - background-image: url(icon/note.png); - background-repeat: no-repeat; - background-position: top left; - font-weight: bold; - margin: 14px; - padding: 5px 00px 0px 0px; -} - -LEGEND { - font-style: italic; -} - -/*calendar*/ -SPAN.calItem, SPAN.calItemEmpty, -TD.calDayCellEmpty, TD.calDayCellFull { - border: 1px solid gray; -} - - diff --git a/template/yoga/default-layout.css b/template/yoga/default-layout.css deleted file mode 100644 index ada2ba518..000000000 --- a/template/yoga/default-layout.css +++ /dev/null @@ -1,274 +0,0 @@ -BODY { - margin: 5px; - padding: 0; - font-size: 0.8em; - font-family: Arial,Helvetica,sans-serif; -} - - -H1 { - text-align: center; - font-size: 150%; - font-weight: bold; - padding: 0; - margin: 0.5em 0 1em 0; -} - -H2 { - margin: 0; - padding: 5px 0.5em 5px 0.5em; - text-align: left; - font-size: 120%; -} - -A { - text-decoration:none; - border-bottom: 1px dotted #005e89; -} -A:hover { - border-bottom: 1px solid #858460; -} - -IMG { - border: none; -} - -HR.separation { - visibility: hidden; - clear: both; -} - -#copyright { - clear: both; - font-size: 83%; - text-align: center; - margin: 0 0 10px 0; -} - -INPUT, SELECT { - margin: 0; - font-size: 1em; /* <= some browsers don't set it correctly */ -} - -TABLE { /* horizontaly centered */ - margin-left: auto; - margin-right: auto; -} - - -FORM { padding: 0; margin: 0; } - -FORM P { - text-align: center; - margin-top: 2em; - margin-bottom: 2em; -} - -FORM FIELDSET P { - margin-top: 1em; - margin-bottom: 0; -} - -SELECT.categoryList { - height: 20em; - width: 500px; -} - - -/** - * Filter forms are displayed label by label with the input (or select...) - * below the label. Use an UL to make a group (radiobox for instance). - * Use a SPAN to group objects in line - */ -FIELDSET { - padding: 1em; - margin: 1em; - overflow: hidden; /* <- makes Opera happy */ -} - -FORM.filter FIELDSET UL { - margin: 0; -} -FORM.filter FIELDSET UL, -FORM.filter FIELDSET LABEL { - display: block; - float: left; - margin-right: 1em; - padding: 0; -} - -FORM.filter FIELDSET LI { - list-style: none; - margin-bottom: 0.5em; -} - -FORM.filter FIELDSET LI LABEL { - display: inline; - float: none; -} - -FORM.filter FIELDSET UL.tagSelection LABEL { - display: inline; - float: none; - margin-right:0.5em;/*reduce from above*/ -} - -/* cannot use FIELDSET>LABEL because of IE<=6 */ -FORM.filter FIELDSET LABEL INPUT, -FORM.filter FIELDSET LABEL SELECT, -FORM.filter FIELDSET LABEL SPAN, -FORM.filter FIELDSET LABEL TEXTAREA { - display: block; - margin: 0.5em 0; -} -FORM.filter FIELDSET * LABEL INPUT, -FORM.filter FIELDSET * LABEL SELECT, -FORM.filter FIELDSET * LABEL TEXTAREA, -FORM.filter FIELDSET LABEL SPAN INPUT, -FORM.filter FIELDSET LABEL SPAN SELECT, -FORM.filter FIELDSET LABEL SPAN TEXTAREA { - display: inline; - vertical-align: top; - margin: 0 0.5em 0 0; -} - -FORM.filter FIELDSET UL.tagSelection LI LABEL INPUT { - margin-right:0; -} - -/* following declaration is important to avoid strange FF behaviour */ -FORM.filter FIELDSET LABEL SPAN SELECT { - margin: 0; -} - -FORM.filter FIELDSET P -{ - clear: left; - display: block; -} - -FORM.filter INPUT[type="submit"] { - margin-top: 1em; -} - -FORM.properties UL { - list-style-type: none; - margin: 0; - padding: 0; -} - -FORM.properties LI { - margin-bottom: 0.5em; - padding: 0; - line-height: 1.8em; - clear: left; -} - -FORM.properties SPAN.property { - font-weight: bold; - float: left; - width: 50%; - text-align: right; - margin: 0; - padding: 0 0.5em 0 0; -} - -/* button tools */ -UL.actions { - text-indent: 0; - list-style: none; -} -UL.actions LI { - display: inline; -} -UL.actions A, UL.actions IMG { - border: none; -} - -UL.tagSelection { - width: 99%; - margin: 1em 0 1em 0; - padding: 0; -} - -UL.tagSelection LI { - display: inline; - white-space: nowrap; -} - -#fullTagCloud { - font-size: 120%; - text-align: justify; - padding: 0; - margin: 1em 2em 1em 2em; -} - -#fullTagCloud SPAN { - white-space: nowrap; - margin: 0 2px; -} - - -.tagLevel5 { font-size: 150%; } -.tagLevel4 { font-size: 140%; } -.tagLevel3 { font-size: 120%; } -.tagLevel2 { font-size: 100%; } -.tagLevel1 { font-size: 90%; } - - -/* Popup help page */ -BODY#thePopuphelpPage #copyright { - display: none; -} - -#theNotificationPage p { padding: 0.5em; } -BODY#thePopuphelpPage .content P { - text-align: justify; - padding: 0.5em; -} - -BODY#thePopuphelpPage .content OL LI, -BODY#thePopuphelpPage .content UL LI -{ - margin-bottom: 0.5em; -} - -TR.tagLine { - border-bottom: 1px solid #ddd; -} -TD.nbEntries { - text-align: right; - font-style: italic; - font-size: 90%; -} - -FIELDSET.tagLetter { - border: 1px solid #d3d3d3; - width: 200px; - margin: 0.5em; - padding: 10px; -} - -LEGEND.tagLetterLegend { - border: 1px solid #d3d3d3; - font-size:120%; - font-weight: bold; - padding: 0 5px; - font-style: normal; -} - -TABLE.tagLetterContent { - width:100%; - font-size:80%; - border-collapse : collapse; -} - -#theHeader {text-align: center;} - -#theNotificationPage DL, -#thePopuphelpPage DL { margin: 0 25px 25px; } -.content #comments UL.thumbnailCategories LI { width:99%; } -/* jQuery datepicker */ -IMG.ui-datepicker-trigger { - cursor : pointer; -} diff --git a/template/yoga/fix-ie5-ie6.css b/template/yoga/fix-ie5-ie6.css deleted file mode 100644 index 54018fea1..000000000 --- a/template/yoga/fix-ie5-ie6.css +++ /dev/null @@ -1,42 +0,0 @@ -/* Issues in IE from 5 to 6 only not to be used with IE7 */ - -/* fix IE with another layout for thumbnails */ -.content UL.thumbnails SPAN.wrap2 { - display: block; - position: relative; - text-align: left; -} -.content UL.thumbnails SPAN.wrap2 A, -.content UL.thumbnails SPAN.wrap2 SPAN { - overflow: visible; - position: absolute; - top: 50%; - text-align: center; -} - -.content UL.thumbnails IMG.thumbnail { - position: relative; - top: -50%; - /*\*//*/ - margin-top: -40%; - /**/ -} - -/* to avoid vanishing objects in IE6 */ -H1, #theHeader { - width: 100%; /* <- useless but seems to make IE6 happy */ -} -.content { - height: 1em; /* for IE6 it's like min-height */ -} - -/* fix category thumbnails on main page */ -.content UL.thumbnailCategories { - width: 99%; /* buggy IE box model */ -} - - -/* fix quickconnect layout */ -FORM#quickconnect FIELDSET { - width: 99%; /* correct an ugly 1 or 2 px misalignement with IE */ -} diff --git a/template/yoga/fix-ie7.css b/template/yoga/fix-ie7.css deleted file mode 100644 index 70ddf7e8b..000000000 --- a/template/yoga/fix-ie7.css +++ /dev/null @@ -1,21 +0,0 @@ -/* fix IE with another layout for thumbnails */ - -.content UL.thumbnails SPAN.wrap2 { - display: block; - position: relative; - text-align: left; -} -.content UL.thumbnails SPAN.wrap2 A, -.content UL.thumbnails SPAN.wrap2 SPAN { - overflow: visible; - position: absolute; - top: 50%; - text-align: center; -} - -.content UL.thumbnails IMG.thumbnail { - position: relative; - top: -50%; - margin-top: 2%; -} - diff --git a/template/yoga/fix-khtml.css b/template/yoga/fix-khtml.css deleted file mode 100644 index a0377886c..000000000 --- a/template/yoga/fix-khtml.css +++ /dev/null @@ -1,17 +0,0 @@ -/* Issue in Safari/Konqueror only */ -/* If H2 has a 0 margin-top categoryActions doesn't float right but overwrites H2 */ -.content>DIV.titrePage>H2 { - margin: 1px 0 0 0; /* add an arbitrary margin-top */ -} - -.content>div.titrePage { - position: relative; - top: -1px; /* move the container up by the same amount */ - margin-bottom: 5px; -} - -#menubar #menuTagCloud SPAN -{ - display: inline-block;/* required for Safari 3.1 - otherwise overflows on the right */ -} - diff --git a/template/yoga/icon/add_tag.png b/template/yoga/icon/add_tag.png Binary files differdeleted file mode 100644 index 9051a1d26..000000000 --- a/template/yoga/icon/add_tag.png +++ /dev/null diff --git a/template/yoga/icon/admin/errors.png b/template/yoga/icon/admin/errors.png Binary files differdeleted file mode 100644 index 3c8a37df5..000000000 --- a/template/yoga/icon/admin/errors.png +++ /dev/null diff --git a/template/yoga/icon/admin/index.php b/template/yoga/icon/admin/index.php deleted file mode 100644 index 871b52b6a..000000000 --- a/template/yoga/icon/admin/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based picture gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2009 Piwigo Team http://piwigo.org | -// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | -// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | -// +-----------------------------------------------------------------------+ -// | This program is free software; you can redistribute it and/or modify | -// | it under the terms of the GNU General Public License as published by | -// | the Free Software Foundation | -// | | -// | This program is distributed in the hope that it will be useful, but | -// | WITHOUT ANY WARRANTY; without even the implied warranty of | -// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | -// | General Public License for more details. | -// | | -// | You should have received a copy of the GNU General Public License | -// | along with this program; if not, write to the Free Software | -// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | -// | USA. | -// +-----------------------------------------------------------------------+ - -// Recursive call -$url = '../'; -header( 'Request-URI: '.$url ); -header( 'Content-Location: '.$url ); -header( 'Location: '.$url ); -exit(); -?> diff --git a/template/yoga/icon/admin/infos.png b/template/yoga/icon/admin/infos.png Binary files differdeleted file mode 100644 index dc8c8a457..000000000 --- a/template/yoga/icon/admin/infos.png +++ /dev/null diff --git a/template/yoga/icon/caddie_add.png b/template/yoga/icon/caddie_add.png Binary files differdeleted file mode 100644 index eb20f4e06..000000000 --- a/template/yoga/icon/caddie_add.png +++ /dev/null diff --git a/template/yoga/icon/calendar.png b/template/yoga/icon/calendar.png Binary files differdeleted file mode 100644 index e0a44a13d..000000000 --- a/template/yoga/icon/calendar.png +++ /dev/null diff --git a/template/yoga/icon/calendar_created.png b/template/yoga/icon/calendar_created.png Binary files differdeleted file mode 100644 index 14a84c43c..000000000 --- a/template/yoga/icon/calendar_created.png +++ /dev/null diff --git a/template/yoga/icon/category_children.png b/template/yoga/icon/category_children.png Binary files differdeleted file mode 100644 index 7205c3f61..000000000 --- a/template/yoga/icon/category_children.png +++ /dev/null diff --git a/template/yoga/icon/category_edit.png b/template/yoga/icon/category_edit.png Binary files differdeleted file mode 100644 index 0f3b619ed..000000000 --- a/template/yoga/icon/category_edit.png +++ /dev/null diff --git a/template/yoga/icon/category_representant_random.png b/template/yoga/icon/category_representant_random.png Binary files differdeleted file mode 100644 index dfa69846f..000000000 --- a/template/yoga/icon/category_representant_random.png +++ /dev/null diff --git a/template/yoga/icon/datepicker.png b/template/yoga/icon/datepicker.png Binary files differdeleted file mode 100644 index bbb299207..000000000 --- a/template/yoga/icon/datepicker.png +++ /dev/null diff --git a/template/yoga/icon/dec_period.png b/template/yoga/icon/dec_period.png Binary files differdeleted file mode 100644 index 107cd16ec..000000000 --- a/template/yoga/icon/dec_period.png +++ /dev/null diff --git a/template/yoga/icon/dec_period_unactive.png b/template/yoga/icon/dec_period_unactive.png Binary files differdeleted file mode 100644 index 5bc67affd..000000000 --- a/template/yoga/icon/dec_period_unactive.png +++ /dev/null diff --git a/template/yoga/icon/del_all_favorites.png b/template/yoga/icon/del_all_favorites.png Binary files differdeleted file mode 100644 index cfc609749..000000000 --- a/template/yoga/icon/del_all_favorites.png +++ /dev/null diff --git a/template/yoga/icon/del_favorite.png b/template/yoga/icon/del_favorite.png Binary files differdeleted file mode 100644 index cfc609749..000000000 --- a/template/yoga/icon/del_favorite.png +++ /dev/null diff --git a/template/yoga/icon/delete.png b/template/yoga/icon/delete.png Binary files differdeleted file mode 100644 index af10be03e..000000000 --- a/template/yoga/icon/delete.png +++ /dev/null diff --git a/template/yoga/icon/edit.png b/template/yoga/icon/edit.png Binary files differdeleted file mode 100644 index 9c755cda1..000000000 --- a/template/yoga/icon/edit.png +++ /dev/null diff --git a/template/yoga/icon/exit.png b/template/yoga/icon/exit.png Binary files differdeleted file mode 100644 index 2aafbb4cb..000000000 --- a/template/yoga/icon/exit.png +++ /dev/null diff --git a/template/yoga/icon/favorite.png b/template/yoga/icon/favorite.png Binary files differdeleted file mode 100644 index 58befd9e3..000000000 --- a/template/yoga/icon/favorite.png +++ /dev/null diff --git a/template/yoga/icon/first.png b/template/yoga/icon/first.png Binary files differdeleted file mode 100644 index 2b8db1cff..000000000 --- a/template/yoga/icon/first.png +++ /dev/null diff --git a/template/yoga/icon/first_unactive.png b/template/yoga/icon/first_unactive.png Binary files differdeleted file mode 100644 index f0c0364f2..000000000 --- a/template/yoga/icon/first_unactive.png +++ /dev/null diff --git a/template/yoga/icon/flat.png b/template/yoga/icon/flat.png Binary files differdeleted file mode 100644 index 43584e825..000000000 --- a/template/yoga/icon/flat.png +++ /dev/null diff --git a/template/yoga/icon/help.png b/template/yoga/icon/help.png Binary files differdeleted file mode 100644 index c76f68292..000000000 --- a/template/yoga/icon/help.png +++ /dev/null diff --git a/template/yoga/icon/home.png b/template/yoga/icon/home.png Binary files differdeleted file mode 100644 index cce450d85..000000000 --- a/template/yoga/icon/home.png +++ /dev/null diff --git a/template/yoga/icon/inc_period.png b/template/yoga/icon/inc_period.png Binary files differdeleted file mode 100644 index 28fef3d1b..000000000 --- a/template/yoga/icon/inc_period.png +++ /dev/null diff --git a/template/yoga/icon/inc_period_unactive.png b/template/yoga/icon/inc_period_unactive.png Binary files differdeleted file mode 100644 index f45507dce..000000000 --- a/template/yoga/icon/inc_period_unactive.png +++ /dev/null diff --git a/template/yoga/icon/index.php b/template/yoga/icon/index.php deleted file mode 100644 index 871b52b6a..000000000 --- a/template/yoga/icon/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based picture gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2009 Piwigo Team http://piwigo.org | -// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | -// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | -// +-----------------------------------------------------------------------+ -// | This program is free software; you can redistribute it and/or modify | -// | it under the terms of the GNU General Public License as published by | -// | the Free Software Foundation | -// | | -// | This program is distributed in the hope that it will be useful, but | -// | WITHOUT ANY WARRANTY; without even the implied warranty of | -// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | -// | General Public License for more details. | -// | | -// | You should have received a copy of the GNU General Public License | -// | along with this program; if not, write to the Free Software | -// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | -// | USA. | -// +-----------------------------------------------------------------------+ - -// Recursive call -$url = '../'; -header( 'Request-URI: '.$url ); -header( 'Content-Location: '.$url ); -header( 'Location: '.$url ); -exit(); -?> diff --git a/template/yoga/icon/last.png b/template/yoga/icon/last.png Binary files differdeleted file mode 100644 index 12e1367a7..000000000 --- a/template/yoga/icon/last.png +++ /dev/null diff --git a/template/yoga/icon/last_unactive.png b/template/yoga/icon/last_unactive.png Binary files differdeleted file mode 100644 index 90469d5c4..000000000 --- a/template/yoga/icon/last_unactive.png +++ /dev/null diff --git a/template/yoga/icon/left.png b/template/yoga/icon/left.png Binary files differdeleted file mode 100644 index 63d306c9c..000000000 --- a/template/yoga/icon/left.png +++ /dev/null diff --git a/template/yoga/icon/left_unactive.png b/template/yoga/icon/left_unactive.png Binary files differdeleted file mode 100644 index 0aefc64e4..000000000 --- a/template/yoga/icon/left_unactive.png +++ /dev/null diff --git a/template/yoga/icon/lost_password.png b/template/yoga/icon/lost_password.png Binary files differdeleted file mode 100644 index ad6d71422..000000000 --- a/template/yoga/icon/lost_password.png +++ /dev/null diff --git a/template/yoga/icon/metadata.png b/template/yoga/icon/metadata.png Binary files differdeleted file mode 100644 index d5d8fa6dc..000000000 --- a/template/yoga/icon/metadata.png +++ /dev/null diff --git a/template/yoga/icon/mimetypes/avi.png b/template/yoga/icon/mimetypes/avi.png Binary files differdeleted file mode 100644 index 065f0b282..000000000 --- a/template/yoga/icon/mimetypes/avi.png +++ /dev/null diff --git a/template/yoga/icon/mimetypes/index.php b/template/yoga/icon/mimetypes/index.php deleted file mode 100644 index 871b52b6a..000000000 --- a/template/yoga/icon/mimetypes/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based picture gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2009 Piwigo Team http://piwigo.org | -// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | -// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | -// +-----------------------------------------------------------------------+ -// | This program is free software; you can redistribute it and/or modify | -// | it under the terms of the GNU General Public License as published by | -// | the Free Software Foundation | -// | | -// | This program is distributed in the hope that it will be useful, but | -// | WITHOUT ANY WARRANTY; without even the implied warranty of | -// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | -// | General Public License for more details. | -// | | -// | You should have received a copy of the GNU General Public License | -// | along with this program; if not, write to the Free Software | -// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | -// | USA. | -// +-----------------------------------------------------------------------+ - -// Recursive call -$url = '../'; -header( 'Request-URI: '.$url ); -header( 'Content-Location: '.$url ); -header( 'Location: '.$url ); -exit(); -?> diff --git a/template/yoga/icon/mimetypes/mp3.png b/template/yoga/icon/mimetypes/mp3.png Binary files differdeleted file mode 100644 index afb7e1b0a..000000000 --- a/template/yoga/icon/mimetypes/mp3.png +++ /dev/null diff --git a/template/yoga/icon/mimetypes/mpg.png b/template/yoga/icon/mimetypes/mpg.png Binary files differdeleted file mode 100644 index f7dbd2388..000000000 --- a/template/yoga/icon/mimetypes/mpg.png +++ /dev/null diff --git a/template/yoga/icon/mimetypes/ogg.png b/template/yoga/icon/mimetypes/ogg.png Binary files differdeleted file mode 100644 index ead3f62c3..000000000 --- a/template/yoga/icon/mimetypes/ogg.png +++ /dev/null diff --git a/template/yoga/icon/mimetypes/zip.png b/template/yoga/icon/mimetypes/zip.png Binary files differdeleted file mode 100644 index 1f08fe1a3..000000000 --- a/template/yoga/icon/mimetypes/zip.png +++ /dev/null diff --git a/template/yoga/icon/normal_mode.png b/template/yoga/icon/normal_mode.png Binary files differdeleted file mode 100644 index 92d27a234..000000000 --- a/template/yoga/icon/normal_mode.png +++ /dev/null diff --git a/template/yoga/icon/note.png b/template/yoga/icon/note.png Binary files differdeleted file mode 100644 index 5849f791b..000000000 --- a/template/yoga/icon/note.png +++ /dev/null diff --git a/template/yoga/icon/pause.png b/template/yoga/icon/pause.png Binary files differdeleted file mode 100644 index 6a3928c51..000000000 --- a/template/yoga/icon/pause.png +++ /dev/null diff --git a/template/yoga/icon/play.png b/template/yoga/icon/play.png Binary files differdeleted file mode 100644 index dfde7e96a..000000000 --- a/template/yoga/icon/play.png +++ /dev/null diff --git a/template/yoga/icon/preferences.png b/template/yoga/icon/preferences.png Binary files differdeleted file mode 100644 index 0f3b619ed..000000000 --- a/template/yoga/icon/preferences.png +++ /dev/null diff --git a/template/yoga/icon/rating-stars.gif b/template/yoga/icon/rating-stars.gif Binary files differdeleted file mode 100644 index 535443e06..000000000 --- a/template/yoga/icon/rating-stars.gif +++ /dev/null diff --git a/template/yoga/icon/recent.png b/template/yoga/icon/recent.png Binary files differdeleted file mode 100644 index 78c1428ca..000000000 --- a/template/yoga/icon/recent.png +++ /dev/null diff --git a/template/yoga/icon/recent_by_child.png b/template/yoga/icon/recent_by_child.png Binary files differdeleted file mode 100644 index 48e2b4bf7..000000000 --- a/template/yoga/icon/recent_by_child.png +++ /dev/null diff --git a/template/yoga/icon/register.png b/template/yoga/icon/register.png Binary files differdeleted file mode 100644 index d1dd3c834..000000000 --- a/template/yoga/icon/register.png +++ /dev/null diff --git a/template/yoga/icon/remove_s.png b/template/yoga/icon/remove_s.png Binary files differdeleted file mode 100644 index c78c38f17..000000000 --- a/template/yoga/icon/remove_s.png +++ /dev/null diff --git a/template/yoga/icon/representative.png b/template/yoga/icon/representative.png Binary files differdeleted file mode 100644 index f1141d91b..000000000 --- a/template/yoga/icon/representative.png +++ /dev/null diff --git a/template/yoga/icon/right.png b/template/yoga/icon/right.png Binary files differdeleted file mode 100644 index f998098e4..000000000 --- a/template/yoga/icon/right.png +++ /dev/null diff --git a/template/yoga/icon/right_unactive.png b/template/yoga/icon/right_unactive.png Binary files differdeleted file mode 100644 index cf2f9614c..000000000 --- a/template/yoga/icon/right_unactive.png +++ /dev/null diff --git a/template/yoga/icon/save.png b/template/yoga/icon/save.png Binary files differdeleted file mode 100644 index b4b9da08b..000000000 --- a/template/yoga/icon/save.png +++ /dev/null diff --git a/template/yoga/icon/search_rules.png b/template/yoga/icon/search_rules.png Binary files differdeleted file mode 100644 index 300186647..000000000 --- a/template/yoga/icon/search_rules.png +++ /dev/null diff --git a/template/yoga/icon/start_filter.png b/template/yoga/icon/start_filter.png Binary files differdeleted file mode 100644 index 3d81a4d2e..000000000 --- a/template/yoga/icon/start_filter.png +++ /dev/null diff --git a/template/yoga/icon/start_repeat.png b/template/yoga/icon/start_repeat.png Binary files differdeleted file mode 100644 index 74272979e..000000000 --- a/template/yoga/icon/start_repeat.png +++ /dev/null diff --git a/template/yoga/icon/start_slideshow.png b/template/yoga/icon/start_slideshow.png Binary files differdeleted file mode 100644 index 9733eb445..000000000 --- a/template/yoga/icon/start_slideshow.png +++ /dev/null diff --git a/template/yoga/icon/stop_filter.png b/template/yoga/icon/stop_filter.png Binary files differdeleted file mode 100644 index 1ff012e96..000000000 --- a/template/yoga/icon/stop_filter.png +++ /dev/null diff --git a/template/yoga/icon/stop_repeat.png b/template/yoga/icon/stop_repeat.png Binary files differdeleted file mode 100644 index f1cc1b564..000000000 --- a/template/yoga/icon/stop_repeat.png +++ /dev/null diff --git a/template/yoga/icon/stop_slideshow.png b/template/yoga/icon/stop_slideshow.png Binary files differdeleted file mode 100644 index 7b8d3ac26..000000000 --- a/template/yoga/icon/stop_slideshow.png +++ /dev/null diff --git a/template/yoga/icon/tag_cloud.png b/template/yoga/icon/tag_cloud.png Binary files differdeleted file mode 100644 index 79d7bc250..000000000 --- a/template/yoga/icon/tag_cloud.png +++ /dev/null diff --git a/template/yoga/icon/tag_letters.png b/template/yoga/icon/tag_letters.png Binary files differdeleted file mode 100644 index d452db7ec..000000000 --- a/template/yoga/icon/tag_letters.png +++ /dev/null diff --git a/template/yoga/icon/up.png b/template/yoga/icon/up.png Binary files differdeleted file mode 100644 index 0c9cda5b1..000000000 --- a/template/yoga/icon/up.png +++ /dev/null diff --git a/template/yoga/icon/validate_s.png b/template/yoga/icon/validate_s.png Binary files differdeleted file mode 100644 index 400bf8a24..000000000 --- a/template/yoga/icon/validate_s.png +++ /dev/null diff --git a/template/yoga/index.php b/template/yoga/index.php deleted file mode 100644 index 871b52b6a..000000000 --- a/template/yoga/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based picture gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2009 Piwigo Team http://piwigo.org | -// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | -// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | -// +-----------------------------------------------------------------------+ -// | This program is free software; you can redistribute it and/or modify | -// | it under the terms of the GNU General Public License as published by | -// | the Free Software Foundation | -// | | -// | This program is distributed in the hope that it will be useful, but | -// | WITHOUT ANY WARRANTY; without even the implied warranty of | -// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | -// | General Public License for more details. | -// | | -// | You should have received a copy of the GNU General Public License | -// | along with this program; if not, write to the Free Software | -// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | -// | USA. | -// +-----------------------------------------------------------------------+ - -// Recursive call -$url = '../'; -header( 'Request-URI: '.$url ); -header( 'Content-Location: '.$url ); -header( 'Location: '.$url ); -exit(); -?> diff --git a/template/yoga/layout.css b/template/yoga/layout.css deleted file mode 100644 index d12ecbacc..000000000 --- a/template/yoga/layout.css +++ /dev/null @@ -1,16 +0,0 @@ - -/* template css */ -@import "menubar.css"; -@import "content.css"; -@import "thumbnails.css"; -@import "picture.css"; -@import "default-layout.css"; -/* Override properties with import local file */ -@import "local-layout.css"; -/* common css */ -@import "../../template-common/default-layout.css"; -/* Override properties with import local file */ -@import "../../template-common/local-layout.css"; - -@import "default-colors.css"; - diff --git a/template/yoga/mail/index.php b/template/yoga/mail/index.php deleted file mode 100644 index 871b52b6a..000000000 --- a/template/yoga/mail/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based picture gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2009 Piwigo Team http://piwigo.org | -// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | -// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | -// +-----------------------------------------------------------------------+ -// | This program is free software; you can redistribute it and/or modify | -// | it under the terms of the GNU General Public License as published by | -// | the Free Software Foundation | -// | | -// | This program is distributed in the hope that it will be useful, but | -// | WITHOUT ANY WARRANTY; without even the implied warranty of | -// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | -// | General Public License for more details. | -// | | -// | You should have received a copy of the GNU General Public License | -// | along with this program; if not, write to the Free Software | -// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | -// | USA. | -// +-----------------------------------------------------------------------+ - -// Recursive call -$url = '../'; -header( 'Request-URI: '.$url ); -header( 'Content-Location: '.$url ); -header( 'Location: '.$url ); -exit(); -?> diff --git a/template/yoga/mail/text/html/images/footer-bg.jpg b/template/yoga/mail/text/html/images/footer-bg.jpg Binary files differdeleted file mode 100644 index 3d8a5eed2..000000000 --- a/template/yoga/mail/text/html/images/footer-bg.jpg +++ /dev/null diff --git a/template/yoga/mail/text/html/images/footer-bg.png b/template/yoga/mail/text/html/images/footer-bg.png Binary files differdeleted file mode 100644 index fd3c2925f..000000000 --- a/template/yoga/mail/text/html/images/footer-bg.png +++ /dev/null diff --git a/template/yoga/mail/text/html/images/header-bg.png b/template/yoga/mail/text/html/images/header-bg.png Binary files differdeleted file mode 100644 index 1770a3ddc..000000000 --- a/template/yoga/mail/text/html/images/header-bg.png +++ /dev/null diff --git a/template/yoga/mail/text/html/images/index.php b/template/yoga/mail/text/html/images/index.php deleted file mode 100644 index 871b52b6a..000000000 --- a/template/yoga/mail/text/html/images/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based picture gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2009 Piwigo Team http://piwigo.org | -// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | -// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | -// +-----------------------------------------------------------------------+ -// | This program is free software; you can redistribute it and/or modify | -// | it under the terms of the GNU General Public License as published by | -// | the Free Software Foundation | -// | | -// | This program is distributed in the hope that it will be useful, but | -// | WITHOUT ANY WARRANTY; without even the implied warranty of | -// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | -// | General Public License for more details. | -// | | -// | You should have received a copy of the GNU General Public License | -// | along with this program; if not, write to the Free Software | -// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | -// | USA. | -// +-----------------------------------------------------------------------+ - -// Recursive call -$url = '../'; -header( 'Request-URI: '.$url ); -header( 'Content-Location: '.$url ); -header( 'Location: '.$url ); -exit(); -?> diff --git a/template/yoga/mail/text/html/images/mailbody-bg.png b/template/yoga/mail/text/html/images/mailbody-bg.png Binary files differdeleted file mode 100644 index 722a24f63..000000000 --- a/template/yoga/mail/text/html/images/mailbody-bg.png +++ /dev/null diff --git a/template/yoga/mail/text/html/index.php b/template/yoga/mail/text/html/index.php deleted file mode 100644 index 871b52b6a..000000000 --- a/template/yoga/mail/text/html/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based picture gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2009 Piwigo Team http://piwigo.org | -// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | -// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | -// +-----------------------------------------------------------------------+ -// | This program is free software; you can redistribute it and/or modify | -// | it under the terms of the GNU General Public License as published by | -// | the Free Software Foundation | -// | | -// | This program is distributed in the hope that it will be useful, but | -// | WITHOUT ANY WARRANTY; without even the implied warranty of | -// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | -// | General Public License for more details. | -// | | -// | You should have received a copy of the GNU General Public License | -// | along with this program; if not, write to the Free Software | -// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | -// | USA. | -// +-----------------------------------------------------------------------+ - -// Recursive call -$url = '../'; -header( 'Request-URI: '.$url ); -header( 'Content-Location: '.$url ); -header( 'Location: '.$url ); -exit(); -?> diff --git a/template/yoga/mail/text/index.php b/template/yoga/mail/text/index.php deleted file mode 100644 index 871b52b6a..000000000 --- a/template/yoga/mail/text/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based picture gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2009 Piwigo Team http://piwigo.org | -// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | -// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | -// +-----------------------------------------------------------------------+ -// | This program is free software; you can redistribute it and/or modify | -// | it under the terms of the GNU General Public License as published by | -// | the Free Software Foundation | -// | | -// | This program is distributed in the hope that it will be useful, but | -// | WITHOUT ANY WARRANTY; without even the implied warranty of | -// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | -// | General Public License for more details. | -// | | -// | You should have received a copy of the GNU General Public License | -// | along with this program; if not, write to the Free Software | -// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | -// | USA. | -// +-----------------------------------------------------------------------+ - -// Recursive call -$url = '../'; -header( 'Request-URI: '.$url ); -header( 'Content-Location: '.$url ); -header( 'Location: '.$url ); -exit(); -?> diff --git a/template/yoga/mail/text/plain/index.php b/template/yoga/mail/text/plain/index.php deleted file mode 100644 index 871b52b6a..000000000 --- a/template/yoga/mail/text/plain/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based picture gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2009 Piwigo Team http://piwigo.org | -// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | -// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | -// +-----------------------------------------------------------------------+ -// | This program is free software; you can redistribute it and/or modify | -// | it under the terms of the GNU General Public License as published by | -// | the Free Software Foundation | -// | | -// | This program is distributed in the hope that it will be useful, but | -// | WITHOUT ANY WARRANTY; without even the implied warranty of | -// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | -// | General Public License for more details. | -// | | -// | You should have received a copy of the GNU General Public License | -// | along with this program; if not, write to the Free Software | -// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | -// | USA. | -// +-----------------------------------------------------------------------+ - -// Recursive call -$url = '../'; -header( 'Request-URI: '.$url ); -header( 'Content-Location: '.$url ); -header( 'Location: '.$url ); -exit(); -?> diff --git a/template/yoga/menubar.css b/template/yoga/menubar.css deleted file mode 100644 index 27eb1ac38..000000000 --- a/template/yoga/menubar.css +++ /dev/null @@ -1,87 +0,0 @@ -#menubar { - float: left; - margin: 0 0 10px 1em; - padding: 0; - display: inline; -} - -#menubar DL, #menubar DT, #menubar DD { - margin: 0; padding: 0; display: block; -} - -#menubar .button { - margin: -2px 2px 2px; - width: auto; - padding: 0; - text-indent: 0; - list-style: none; - text-align: center; - float: right; -} - -/* H2 properties copied here */ -#menubar DT { - font-weight: bold; - padding: 5px 5px 5px 5px; - font-size: 120%; - text-align: center; -} - -#menubar UL, -#menubar FORM, -#menubar P { - font-size: 92%; - margin: 10px 0 10px 5px; -} -#menubar UL { - list-style-type: square; - list-style-position: inside; - padding: 0 0 0 2px; -} -#menubar UL UL { - font-size: 100%; - margin-top: 0; - margin-bottom: 0; -} - -#menubar LI.selected A { - font-weight: bold; -} - -#menubar LI.selected LI A { - font-weight: normal; -} - -#menubar .menuInfoCatByChild { - font-size: 80%; - font-style: italic; -} - -#menubar INPUT { - text-indent: 2px; -} - -/* quickconnect form */ -FORM#quickconnect { - margin: 5px; - padding: 0; -} - -FORM#quickconnect FIELDSET { - margin: 0; - padding: 0; /*IE6 requires padding 0*/ -} - -FORM#quickconnect FIELDSET DIV { - margin: 8px 5px; - padding: 0; -} - -#menubar #menuTagCloud { - text-align: center; - margin: 5px 0; -} - -#menubar #menuTagCloud SPAN { - white-space: nowrap; -} diff --git a/template/yoga/not-ie.css b/template/yoga/not-ie.css deleted file mode 100644 index c5bd7adef..000000000 --- a/template/yoga/not-ie.css +++ /dev/null @@ -1,8 +0,0 @@ - -/* All directives not supported by IE */ -/* can be overiden in any theme but not hidden to IE */ - -.content UL.thumbnails SPAN.wrap2 { - -moz-border-radius: 4px; /* round corners with Geko */ - -webkit-border-radius: 4px; /* Safari webkit project */ -} diff --git a/template/yoga/picture.css b/template/yoga/picture.css deleted file mode 100644 index ef2f23213..000000000 --- a/template/yoga/picture.css +++ /dev/null @@ -1,102 +0,0 @@ -#imageHeaderBar { - padding-top: 2px; - padding-bottom: 2px; - margin-top: 4px; - overflow: hidden; - width: 100%; -} - -#imageHeaderBar .browsePath { - float: left; - margin-left: 10px; -} - -#imageHeaderBar .imageNumber { - float: right; - margin-right: 10px; -} - -#imageHeaderBar H2 { - text-align: center; - padding: 0; - clear: both; -} - -#imageToolBar { - text-align: center; - position: relative; - clear: both; - margin-bottom: 4px; - padding: 0; - height: 28px; -} - -#imageToolBar A, #imageToolBar IMG { - display: block; - border: none; - margin: 0; padding: 0; -} -#imageToolBar A { width: 48px; } -#imageToolBar IMG { margin: 2px auto; } -#imageToolBar .randomButtons A { float: left; } -#imageToolBar .navButtons A { float: right; } - -#theImage { - clear: left; - text-align: center; -} - -#theImage>IMG { - display: block; - margin: 0 auto; - border: none; -} - -#linkPrev { - float: left; - margin-right: 10px; - margin-left: 5px; -} - -#linkNext { - float: right; - margin-right: 5px; - margin-left: 10px; -} - -TABLE.infoTable .label { - font-weight: bold; - text-align: right; - padding-right: 0.5em; -} - -TABLE.infoTable TD.value UL { - margin: 0; - padding: 0 0 0 1.5em; - list-style-type: square; -} - -.thumbnailCategories LI { list-style: none; } - -.rateButton, .rateButtonSelected, .rateButtonStarFull, .rateButtonStarEmpty { - padding:0; - border:0; -} - -.rateButton, .rateButtonStarFull, .rateButtonStarEmpty { - cursor: pointer; -} - -.rateButtonSelected { - font-weight:bold; - font-size:120%; -} - -.rateButtonStarFull { - background: url('icon/rating-stars.gif') no-repeat scroll; background-position:-16px center; width:16px; -} - -.rateButtonStarEmpty { - background: url('icon/rating-stars.gif') no-repeat scroll; background-position:0 center; width:16px; -} - diff --git a/template/yoga/print.css b/template/yoga/print.css deleted file mode 100644 index 8252f7e44..000000000 --- a/template/yoga/print.css +++ /dev/null @@ -1,14 +0,0 @@ -#menubar, .content .navigationBar, UL.categoryActions, .content DIV.calendarViews, .calendarBar, -#imageToolBar, .navThumb, #addComment { - display: none; -} - -BODY { - margin: 0; - color: #000000; - background: #ffffff; -} - -.content { - margin: 0; -} diff --git a/template/yoga/rating.js b/template/yoga/rating.js deleted file mode 100644 index 9b8370e93..000000000 --- a/template/yoga/rating.js +++ /dev/null @@ -1,100 +0,0 @@ -var gRatingOptions, gRatingButtons, gUserRating; - -function makeNiceRatingForm(options) -{ - gRatingOptions = options || {}; - var form = document.getElementById('rateForm'); - if (!form) return; //? template changed - - gRatingButtons = form.getElementsByTagName('input'); - gUserRating = ""; - for (var i=0; i<gRatingButtons.length; i++) - { - if ( gRatingButtons[i].type=="button" ) - { - gUserRating = gRatingButtons[i].value; - break; - } - } - - for (var i=0; i<gRatingButtons.length; i++) - { - var rateButton = gRatingButtons[i]; - rateButton.initialRateValue = rateButton.value; // save it as a property - try { rateButton.type = "button"; } catch (e){}// avoid normal submit (use ajax); not working in IE6 - - if (navigator.userAgent.indexOf('AppleWebKit/')==-1 && navigator.userAgent.indexOf('MSIE 8')==-1) rateButton.value = ""; //hide the text IE<8/Opera - breaks safari - with (rateButton.style) - { - textIndent = "-50px"; //hide the text FF - marginLeft = marginRight = 0; - } - - if (i!=gRatingButtons.length-1 && rateButton.nextSibling.nodeType == 3 /*TEXT_NODE*/) - rateButton.parentNode.removeChild(rateButton.nextSibling); - if (i>0 && rateButton.previousSibling.nodeType == 3 /*TEXT_NODE*/) - rateButton.parentNode.removeChild(rateButton.previousSibling); - - if(window.addEventListener){ // Mozilla, Netscape, Firefox - rateButton.addEventListener("click", updateRating, false ); - rateButton.addEventListener("mouseout", resetRatingStarDisplay, false ); - rateButton.addEventListener("mouseover", updateRatingStarDisplayEvt, false ); - } - else if(window.attachEvent) { // IE - rateButton.attachEvent("onclick", updateRating); - rateButton.attachEvent("onmouseout", resetRatingStarDisplay); - rateButton.attachEvent("onmouseover", updateRatingStarDisplayEvt); - } - } - resetRatingStarDisplay(); -} - -function resetRatingStarDisplay() -{ - updateRatingStarDisplay( gUserRating ); -} - -function updateRatingStarDisplay(userRating) -{ - for (var i=0; i<gRatingButtons.length; i++) - gRatingButtons[i].className = (userRating!=="" && userRating>=gRatingButtons[i].initialRateValue ) ? "rateButtonStarFull" : "rateButtonStarEmpty"; -} - -function updateRatingStarDisplayEvt(e) -{ - updateRatingStarDisplay( - e.target ? e.target.initialRateValue : e.srcElement.initialRateValue); -} - -function updateRating(e) -{ - var rateButton = e.target || e.srcElement; - if (rateButton.initialRateValue == gUserRating) - return false; //nothing to do - - for (var i=0; i<gRatingButtons.length; i++) gRatingButtons[i].disabled=true; - var y = new PwgWS(gRatingOptions.rootUrl); - y.callService( - "pwg.images.rate", {image_id: gRatingOptions.image_id, rate: rateButton.initialRateValue } , - { - onFailure: function(num, text) { - alert(num + " " + text); - document.location = rateButton.form.action + "&rate="+rateButton.initialRateValue; - }, - onSuccess: function(result) { - gUserRating = rateButton.initialRateValue; - for (var i=0; i<gRatingButtons.length; i++) gRatingButtons[i].disabled=false; - if (gRatingOptions.updateRateElement) gRatingOptions.updateRateElement.innerHTML = gRatingOptions.updateRateText; - if (gRatingOptions.ratingSummaryElement) - { - var t = gRatingOptions.ratingSummaryText; - var args =[result.average, result.count, result.stdev], idx = 0, rexp = new RegExp( /%\.?\d*[sdf]/ ); - _xxx = t.match( rexp ); - while (idx<args.length) t=t.replace(rexp, args[idx++]); - gRatingOptions.ratingSummaryElement.innerHTML = t; - } - } - } - ); - return false; -}
\ No newline at end of file diff --git a/template/yoga/theme/Sylvia/icon/add_tag.png b/template/yoga/theme/Sylvia/icon/add_tag.png Binary files differdeleted file mode 100644 index 66042aadf..000000000 --- a/template/yoga/theme/Sylvia/icon/add_tag.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/caddie_add.png b/template/yoga/theme/Sylvia/icon/caddie_add.png Binary files differdeleted file mode 100644 index 14dfc5684..000000000 --- a/template/yoga/theme/Sylvia/icon/caddie_add.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/calendar.png b/template/yoga/theme/Sylvia/icon/calendar.png Binary files differdeleted file mode 100644 index 0044c1e93..000000000 --- a/template/yoga/theme/Sylvia/icon/calendar.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/calendar_created.png b/template/yoga/theme/Sylvia/icon/calendar_created.png Binary files differdeleted file mode 100644 index 607fc0a4a..000000000 --- a/template/yoga/theme/Sylvia/icon/calendar_created.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/category_edit.png b/template/yoga/theme/Sylvia/icon/category_edit.png Binary files differdeleted file mode 100644 index 3ace19daf..000000000 --- a/template/yoga/theme/Sylvia/icon/category_edit.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/datepicker.png b/template/yoga/theme/Sylvia/icon/datepicker.png Binary files differdeleted file mode 100644 index 3d0e015f6..000000000 --- a/template/yoga/theme/Sylvia/icon/datepicker.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/dec_period.png b/template/yoga/theme/Sylvia/icon/dec_period.png Binary files differdeleted file mode 100644 index 6a9d2bfa7..000000000 --- a/template/yoga/theme/Sylvia/icon/dec_period.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/dec_period_unactive.png b/template/yoga/theme/Sylvia/icon/dec_period_unactive.png Binary files differdeleted file mode 100644 index 5cb58ba8e..000000000 --- a/template/yoga/theme/Sylvia/icon/dec_period_unactive.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/del_favorite.png b/template/yoga/theme/Sylvia/icon/del_favorite.png Binary files differdeleted file mode 100644 index bea4720cf..000000000 --- a/template/yoga/theme/Sylvia/icon/del_favorite.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/delete.png b/template/yoga/theme/Sylvia/icon/delete.png Binary files differdeleted file mode 100644 index 285e53e19..000000000 --- a/template/yoga/theme/Sylvia/icon/delete.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/edit.png b/template/yoga/theme/Sylvia/icon/edit.png Binary files differdeleted file mode 100644 index 9c755cda1..000000000 --- a/template/yoga/theme/Sylvia/icon/edit.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/errors.png b/template/yoga/theme/Sylvia/icon/errors.png Binary files differdeleted file mode 100644 index e26d8c6e5..000000000 --- a/template/yoga/theme/Sylvia/icon/errors.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/exit.png b/template/yoga/theme/Sylvia/icon/exit.png Binary files differdeleted file mode 100644 index 685cc44b5..000000000 --- a/template/yoga/theme/Sylvia/icon/exit.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/favorite.png b/template/yoga/theme/Sylvia/icon/favorite.png Binary files differdeleted file mode 100644 index 2caa31687..000000000 --- a/template/yoga/theme/Sylvia/icon/favorite.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/first.png b/template/yoga/theme/Sylvia/icon/first.png Binary files differdeleted file mode 100644 index de15054a1..000000000 --- a/template/yoga/theme/Sylvia/icon/first.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/first_unactive.png b/template/yoga/theme/Sylvia/icon/first_unactive.png Binary files differdeleted file mode 100644 index 2eca53a3c..000000000 --- a/template/yoga/theme/Sylvia/icon/first_unactive.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/flat.png b/template/yoga/theme/Sylvia/icon/flat.png Binary files differdeleted file mode 100644 index 291156950..000000000 --- a/template/yoga/theme/Sylvia/icon/flat.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/help.png b/template/yoga/theme/Sylvia/icon/help.png Binary files differdeleted file mode 100644 index cd1d20919..000000000 --- a/template/yoga/theme/Sylvia/icon/help.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/home.png b/template/yoga/theme/Sylvia/icon/home.png Binary files differdeleted file mode 100644 index 81b6bddb7..000000000 --- a/template/yoga/theme/Sylvia/icon/home.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/inc_period.png b/template/yoga/theme/Sylvia/icon/inc_period.png Binary files differdeleted file mode 100644 index 72860d6db..000000000 --- a/template/yoga/theme/Sylvia/icon/inc_period.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/inc_period_unactive.png b/template/yoga/theme/Sylvia/icon/inc_period_unactive.png Binary files differdeleted file mode 100644 index f28f986c2..000000000 --- a/template/yoga/theme/Sylvia/icon/inc_period_unactive.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/index.php b/template/yoga/theme/Sylvia/icon/index.php deleted file mode 100644 index 871b52b6a..000000000 --- a/template/yoga/theme/Sylvia/icon/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based picture gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2009 Piwigo Team http://piwigo.org | -// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | -// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | -// +-----------------------------------------------------------------------+ -// | This program is free software; you can redistribute it and/or modify | -// | it under the terms of the GNU General Public License as published by | -// | the Free Software Foundation | -// | | -// | This program is distributed in the hope that it will be useful, but | -// | WITHOUT ANY WARRANTY; without even the implied warranty of | -// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | -// | General Public License for more details. | -// | | -// | You should have received a copy of the GNU General Public License | -// | along with this program; if not, write to the Free Software | -// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | -// | USA. | -// +-----------------------------------------------------------------------+ - -// Recursive call -$url = '../'; -header( 'Request-URI: '.$url ); -header( 'Content-Location: '.$url ); -header( 'Location: '.$url ); -exit(); -?> diff --git a/template/yoga/theme/Sylvia/icon/infos.png b/template/yoga/theme/Sylvia/icon/infos.png Binary files differdeleted file mode 100644 index 00695cb8f..000000000 --- a/template/yoga/theme/Sylvia/icon/infos.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/last.png b/template/yoga/theme/Sylvia/icon/last.png Binary files differdeleted file mode 100644 index 89ec3f8da..000000000 --- a/template/yoga/theme/Sylvia/icon/last.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/last_unactive.png b/template/yoga/theme/Sylvia/icon/last_unactive.png Binary files differdeleted file mode 100644 index 76f47f5b0..000000000 --- a/template/yoga/theme/Sylvia/icon/last_unactive.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/left.png b/template/yoga/theme/Sylvia/icon/left.png Binary files differdeleted file mode 100644 index 2d2ff0b08..000000000 --- a/template/yoga/theme/Sylvia/icon/left.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/left_unactive.png b/template/yoga/theme/Sylvia/icon/left_unactive.png Binary files differdeleted file mode 100644 index 0b5abd707..000000000 --- a/template/yoga/theme/Sylvia/icon/left_unactive.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/lost_password.png b/template/yoga/theme/Sylvia/icon/lost_password.png Binary files differdeleted file mode 100644 index 012ba4b28..000000000 --- a/template/yoga/theme/Sylvia/icon/lost_password.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/metadata.png b/template/yoga/theme/Sylvia/icon/metadata.png Binary files differdeleted file mode 100644 index 25da864c3..000000000 --- a/template/yoga/theme/Sylvia/icon/metadata.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/metadata_grey.png b/template/yoga/theme/Sylvia/icon/metadata_grey.png Binary files differdeleted file mode 100644 index 9463f1980..000000000 --- a/template/yoga/theme/Sylvia/icon/metadata_grey.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/mimetypes/avi.png b/template/yoga/theme/Sylvia/icon/mimetypes/avi.png Binary files differdeleted file mode 100644 index b5dde0869..000000000 --- a/template/yoga/theme/Sylvia/icon/mimetypes/avi.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/mimetypes/index.php b/template/yoga/theme/Sylvia/icon/mimetypes/index.php deleted file mode 100644 index 871b52b6a..000000000 --- a/template/yoga/theme/Sylvia/icon/mimetypes/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based picture gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2009 Piwigo Team http://piwigo.org | -// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | -// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | -// +-----------------------------------------------------------------------+ -// | This program is free software; you can redistribute it and/or modify | -// | it under the terms of the GNU General Public License as published by | -// | the Free Software Foundation | -// | | -// | This program is distributed in the hope that it will be useful, but | -// | WITHOUT ANY WARRANTY; without even the implied warranty of | -// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | -// | General Public License for more details. | -// | | -// | You should have received a copy of the GNU General Public License | -// | along with this program; if not, write to the Free Software | -// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | -// | USA. | -// +-----------------------------------------------------------------------+ - -// Recursive call -$url = '../'; -header( 'Request-URI: '.$url ); -header( 'Content-Location: '.$url ); -header( 'Location: '.$url ); -exit(); -?> diff --git a/template/yoga/theme/Sylvia/icon/mimetypes/mp3.png b/template/yoga/theme/Sylvia/icon/mimetypes/mp3.png Binary files differdeleted file mode 100644 index cb1288596..000000000 --- a/template/yoga/theme/Sylvia/icon/mimetypes/mp3.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/mimetypes/mpg.png b/template/yoga/theme/Sylvia/icon/mimetypes/mpg.png Binary files differdeleted file mode 100644 index 4dc09c28b..000000000 --- a/template/yoga/theme/Sylvia/icon/mimetypes/mpg.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/mimetypes/ogg.png b/template/yoga/theme/Sylvia/icon/mimetypes/ogg.png Binary files differdeleted file mode 100644 index 978b235f9..000000000 --- a/template/yoga/theme/Sylvia/icon/mimetypes/ogg.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/mimetypes/zip.png b/template/yoga/theme/Sylvia/icon/mimetypes/zip.png Binary files differdeleted file mode 100644 index 7d76f9a60..000000000 --- a/template/yoga/theme/Sylvia/icon/mimetypes/zip.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/normal_mode.png b/template/yoga/theme/Sylvia/icon/normal_mode.png Binary files differdeleted file mode 100644 index a141c5523..000000000 --- a/template/yoga/theme/Sylvia/icon/normal_mode.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/note.png b/template/yoga/theme/Sylvia/icon/note.png Binary files differdeleted file mode 100644 index 9ef1af537..000000000 --- a/template/yoga/theme/Sylvia/icon/note.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/pause.png b/template/yoga/theme/Sylvia/icon/pause.png Binary files differdeleted file mode 100644 index 2bb742f24..000000000 --- a/template/yoga/theme/Sylvia/icon/pause.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/pause_selected.png b/template/yoga/theme/Sylvia/icon/pause_selected.png Binary files differdeleted file mode 100644 index 2bb742f24..000000000 --- a/template/yoga/theme/Sylvia/icon/pause_selected.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/pause_unactive.png b/template/yoga/theme/Sylvia/icon/pause_unactive.png Binary files differdeleted file mode 100644 index c756d2aa3..000000000 --- a/template/yoga/theme/Sylvia/icon/pause_unactive.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/play.png b/template/yoga/theme/Sylvia/icon/play.png Binary files differdeleted file mode 100644 index be1b8eeb6..000000000 --- a/template/yoga/theme/Sylvia/icon/play.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/preferences.png b/template/yoga/theme/Sylvia/icon/preferences.png Binary files differdeleted file mode 100644 index 8634b5159..000000000 --- a/template/yoga/theme/Sylvia/icon/preferences.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/rating-stars.gif b/template/yoga/theme/Sylvia/icon/rating-stars.gif Binary files differdeleted file mode 100644 index 4059e0329..000000000 --- a/template/yoga/theme/Sylvia/icon/rating-stars.gif +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/rating-stars.png b/template/yoga/theme/Sylvia/icon/rating-stars.png Binary files differdeleted file mode 100644 index dba59ef00..000000000 --- a/template/yoga/theme/Sylvia/icon/rating-stars.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/recent.png b/template/yoga/theme/Sylvia/icon/recent.png Binary files differdeleted file mode 100644 index 75567d689..000000000 --- a/template/yoga/theme/Sylvia/icon/recent.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/recent_by_child.png b/template/yoga/theme/Sylvia/icon/recent_by_child.png Binary files differdeleted file mode 100644 index faf5c4d5c..000000000 --- a/template/yoga/theme/Sylvia/icon/recent_by_child.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/recent_s.png b/template/yoga/theme/Sylvia/icon/recent_s.png Binary files differdeleted file mode 100644 index 90b190523..000000000 --- a/template/yoga/theme/Sylvia/icon/recent_s.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/recent_s_by_child.png b/template/yoga/theme/Sylvia/icon/recent_s_by_child.png Binary files differdeleted file mode 100644 index 842a513c4..000000000 --- a/template/yoga/theme/Sylvia/icon/recent_s_by_child.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/register.png b/template/yoga/theme/Sylvia/icon/register.png Binary files differdeleted file mode 100644 index 677c7b9e9..000000000 --- a/template/yoga/theme/Sylvia/icon/register.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/remove_s.png b/template/yoga/theme/Sylvia/icon/remove_s.png Binary files differdeleted file mode 100644 index 012efc1ad..000000000 --- a/template/yoga/theme/Sylvia/icon/remove_s.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/representative.png b/template/yoga/theme/Sylvia/icon/representative.png Binary files differdeleted file mode 100644 index 02a914da1..000000000 --- a/template/yoga/theme/Sylvia/icon/representative.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/right.png b/template/yoga/theme/Sylvia/icon/right.png Binary files differdeleted file mode 100644 index 6ede2ff93..000000000 --- a/template/yoga/theme/Sylvia/icon/right.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/right_unactive.png b/template/yoga/theme/Sylvia/icon/right_unactive.png Binary files differdeleted file mode 100644 index 483cd7989..000000000 --- a/template/yoga/theme/Sylvia/icon/right_unactive.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/save.png b/template/yoga/theme/Sylvia/icon/save.png Binary files differdeleted file mode 100644 index 56515f42e..000000000 --- a/template/yoga/theme/Sylvia/icon/save.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/save_selected.png b/template/yoga/theme/Sylvia/icon/save_selected.png Binary files differdeleted file mode 100644 index 24aeee308..000000000 --- a/template/yoga/theme/Sylvia/icon/save_selected.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/search_rules.png b/template/yoga/theme/Sylvia/icon/search_rules.png Binary files differdeleted file mode 100644 index cc23092a0..000000000 --- a/template/yoga/theme/Sylvia/icon/search_rules.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/slideshow.png b/template/yoga/theme/Sylvia/icon/slideshow.png Binary files differdeleted file mode 100644 index 9263fdcbc..000000000 --- a/template/yoga/theme/Sylvia/icon/slideshow.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/slideshow_selected.png b/template/yoga/theme/Sylvia/icon/slideshow_selected.png Binary files differdeleted file mode 100644 index 1ab04e0d4..000000000 --- a/template/yoga/theme/Sylvia/icon/slideshow_selected.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/start_filter.png b/template/yoga/theme/Sylvia/icon/start_filter.png Binary files differdeleted file mode 100644 index f8611cd83..000000000 --- a/template/yoga/theme/Sylvia/icon/start_filter.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/start_repeat.png b/template/yoga/theme/Sylvia/icon/start_repeat.png Binary files differdeleted file mode 100644 index fc58db189..000000000 --- a/template/yoga/theme/Sylvia/icon/start_repeat.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/start_repeat_grey.png b/template/yoga/theme/Sylvia/icon/start_repeat_grey.png Binary files differdeleted file mode 100644 index d135b913d..000000000 --- a/template/yoga/theme/Sylvia/icon/start_repeat_grey.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/start_slideshow.png b/template/yoga/theme/Sylvia/icon/start_slideshow.png Binary files differdeleted file mode 100644 index 1ab04e0d4..000000000 --- a/template/yoga/theme/Sylvia/icon/start_slideshow.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/stop_filter.png b/template/yoga/theme/Sylvia/icon/stop_filter.png Binary files differdeleted file mode 100644 index 145e64cc8..000000000 --- a/template/yoga/theme/Sylvia/icon/stop_filter.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/stop_repeat.png b/template/yoga/theme/Sylvia/icon/stop_repeat.png Binary files differdeleted file mode 100644 index f91f44843..000000000 --- a/template/yoga/theme/Sylvia/icon/stop_repeat.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/stop_repeat_pink.png b/template/yoga/theme/Sylvia/icon/stop_repeat_pink.png Binary files differdeleted file mode 100644 index 9c71c7d06..000000000 --- a/template/yoga/theme/Sylvia/icon/stop_repeat_pink.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/stop_selected.png b/template/yoga/theme/Sylvia/icon/stop_selected.png Binary files differdeleted file mode 100644 index 3262bbfeb..000000000 --- a/template/yoga/theme/Sylvia/icon/stop_selected.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/stop_slideshow.png b/template/yoga/theme/Sylvia/icon/stop_slideshow.png Binary files differdeleted file mode 100644 index b76c73be7..000000000 --- a/template/yoga/theme/Sylvia/icon/stop_slideshow.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/stop_unactive.png b/template/yoga/theme/Sylvia/icon/stop_unactive.png Binary files differdeleted file mode 100644 index 99dccf926..000000000 --- a/template/yoga/theme/Sylvia/icon/stop_unactive.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/tag_cloud.png b/template/yoga/theme/Sylvia/icon/tag_cloud.png Binary files differdeleted file mode 100644 index 988e5415a..000000000 --- a/template/yoga/theme/Sylvia/icon/tag_cloud.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/tag_cloud_grey.png b/template/yoga/theme/Sylvia/icon/tag_cloud_grey.png Binary files differdeleted file mode 100644 index 90e32bc60..000000000 --- a/template/yoga/theme/Sylvia/icon/tag_cloud_grey.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/tag_letters.png b/template/yoga/theme/Sylvia/icon/tag_letters.png Binary files differdeleted file mode 100644 index eaab2ff4a..000000000 --- a/template/yoga/theme/Sylvia/icon/tag_letters.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/tag_letters_grey.png b/template/yoga/theme/Sylvia/icon/tag_letters_grey.png Binary files differdeleted file mode 100644 index 9ec2fcfd4..000000000 --- a/template/yoga/theme/Sylvia/icon/tag_letters_grey.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/tag_letters_pink.png b/template/yoga/theme/Sylvia/icon/tag_letters_pink.png Binary files differdeleted file mode 100644 index 21d5faba9..000000000 --- a/template/yoga/theme/Sylvia/icon/tag_letters_pink.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/up.png b/template/yoga/theme/Sylvia/icon/up.png Binary files differdeleted file mode 100644 index c997af2f5..000000000 --- a/template/yoga/theme/Sylvia/icon/up.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/icon/validate_s.png b/template/yoga/theme/Sylvia/icon/validate_s.png Binary files differdeleted file mode 100644 index adea3d580..000000000 --- a/template/yoga/theme/Sylvia/icon/validate_s.png +++ /dev/null diff --git a/template/yoga/theme/Sylvia/images/bottom-left-bg.jpg b/template/yoga/theme/Sylvia/images/bottom-left-bg.jpg Binary files differdeleted file mode 100644 index 3d8a5eed2..000000000 --- a/template/yoga/theme/Sylvia/images/bottom-left-bg.jpg +++ /dev/null diff --git a/template/yoga/theme/Sylvia/images/cat_bottom-left.gif b/template/yoga/theme/Sylvia/images/cat_bottom-left.gif Binary files differdeleted file mode 100644 index 2a042897d..000000000 --- a/template/yoga/theme/Sylvia/images/cat_bottom-left.gif +++ /dev/null diff --git a/template/yoga/theme/Sylvia/images/cat_bottom-right.gif b/template/yoga/theme/Sylvia/images/cat_bottom-right.gif Binary files differdeleted file mode 100644 index 901f31d52..000000000 --- a/template/yoga/theme/Sylvia/images/cat_bottom-right.gif +++ /dev/null diff --git a/template/yoga/theme/Sylvia/images/cat_top-left.gif b/template/yoga/theme/Sylvia/images/cat_top-left.gif Binary files differdeleted file mode 100644 index 1ea57346e..000000000 --- a/template/yoga/theme/Sylvia/images/cat_top-left.gif +++ /dev/null diff --git a/template/yoga/theme/Sylvia/images/cat_top-right.gif b/template/yoga/theme/Sylvia/images/cat_top-right.gif Binary files differdeleted file mode 100644 index 7eb5c491e..000000000 --- a/template/yoga/theme/Sylvia/images/cat_top-right.gif +++ /dev/null diff --git a/template/yoga/theme/Sylvia/images/fillet.gif b/template/yoga/theme/Sylvia/images/fillet.gif Binary files differdeleted file mode 100644 index 6da64117b..000000000 --- a/template/yoga/theme/Sylvia/images/fillet.gif +++ /dev/null diff --git a/template/yoga/theme/Sylvia/images/header_msgs-bg.gif b/template/yoga/theme/Sylvia/images/header_msgs-bg.gif Binary files differdeleted file mode 100644 index 0879e1b79..000000000 --- a/template/yoga/theme/Sylvia/images/header_msgs-bg.gif +++ /dev/null diff --git a/template/yoga/theme/Sylvia/images/menuBox_bottom.gif b/template/yoga/theme/Sylvia/images/menuBox_bottom.gif Binary files differdeleted file mode 100644 index 72c91b117..000000000 --- a/template/yoga/theme/Sylvia/images/menuBox_bottom.gif +++ /dev/null diff --git a/template/yoga/theme/Sylvia/images/menuBox_sides.gif b/template/yoga/theme/Sylvia/images/menuBox_sides.gif Binary files differdeleted file mode 100644 index 853772da3..000000000 --- a/template/yoga/theme/Sylvia/images/menuBox_sides.gif +++ /dev/null diff --git a/template/yoga/theme/Sylvia/images/menuBox_top.gif b/template/yoga/theme/Sylvia/images/menuBox_top.gif Binary files differdeleted file mode 100644 index 3c80b3cf9..000000000 --- a/template/yoga/theme/Sylvia/images/menuBox_top.gif +++ /dev/null diff --git a/template/yoga/theme/Sylvia/images/menuId_bottom.gif b/template/yoga/theme/Sylvia/images/menuId_bottom.gif Binary files differdeleted file mode 100644 index e6d1faa1d..000000000 --- a/template/yoga/theme/Sylvia/images/menuId_bottom.gif +++ /dev/null diff --git a/template/yoga/theme/Sylvia/images/menuId_sides.gif b/template/yoga/theme/Sylvia/images/menuId_sides.gif Binary files differdeleted file mode 100644 index 68923cba2..000000000 --- a/template/yoga/theme/Sylvia/images/menuId_sides.gif +++ /dev/null diff --git a/template/yoga/theme/Sylvia/images/menuId_top.gif b/template/yoga/theme/Sylvia/images/menuId_top.gif Binary files differdeleted file mode 100644 index 5243a4097..000000000 --- a/template/yoga/theme/Sylvia/images/menuId_top.gif +++ /dev/null diff --git a/template/yoga/theme/Sylvia/images/top-left-bg.jpg b/template/yoga/theme/Sylvia/images/top-left-bg.jpg Binary files differdeleted file mode 100644 index 98aa1d6a5..000000000 --- a/template/yoga/theme/Sylvia/images/top-left-bg.jpg +++ /dev/null diff --git a/template/yoga/theme/Sylvia/images/transparent.gif b/template/yoga/theme/Sylvia/images/transparent.gif Binary files differdeleted file mode 100644 index 2fb4189a1..000000000 --- a/template/yoga/theme/Sylvia/images/transparent.gif +++ /dev/null diff --git a/template/yoga/theme/Sylvia/index.php b/template/yoga/theme/Sylvia/index.php deleted file mode 100644 index 871b52b6a..000000000 --- a/template/yoga/theme/Sylvia/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based picture gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2009 Piwigo Team http://piwigo.org | -// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | -// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | -// +-----------------------------------------------------------------------+ -// | This program is free software; you can redistribute it and/or modify | -// | it under the terms of the GNU General Public License as published by | -// | the Free Software Foundation | -// | | -// | This program is distributed in the hope that it will be useful, but | -// | WITHOUT ANY WARRANTY; without even the implied warranty of | -// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | -// | General Public License for more details. | -// | | -// | You should have received a copy of the GNU General Public License | -// | along with this program; if not, write to the Free Software | -// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | -// | USA. | -// +-----------------------------------------------------------------------+ - -// Recursive call -$url = '../'; -header( 'Request-URI: '.$url ); -header( 'Content-Location: '.$url ); -header( 'Location: '.$url ); -exit(); -?> diff --git a/template/yoga/theme/Sylvia/mail-css.tpl b/template/yoga/theme/Sylvia/mail-css.tpl deleted file mode 100644 index 9924ab4a7..000000000 --- a/template/yoga/theme/Sylvia/mail-css.tpl +++ /dev/null @@ -1,15 +0,0 @@ -/* Theme Sylvia mail css */ - -body {ldelim} background-color:#111; color:#666;} -#the_page {ldelim} } -#content {ldelim} } -#copyright {ldelim} background: transparent url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/footer-bg.jpg) no-repeat scroll left bottom; -min-height: 220px; height: 220px; width: 100%; min-width: 100%; padding: 10px 100px 30px 100px; } -h2 {ldelim} color:#f70;background: transparent url({$ROOT_URL}template/{$themeconf.template}/theme/{$themeconf.theme}/images/fillet.gif) repeat-x scroll left bottom; padding-bottom: 5px;} -img {ldelim} margin: 16px; border: 16px solid #444; -moz-border-radius: 4px; border-radius: 4px 4px; } -img:hover {ldelim} padding: 15px; border: 0; background-color:#222;-moz-border-radius: 4px; border-radius: 4px 4px; } -a {ldelim} color: #f70; background-color: transparent; border:0; text-decoration: none;} -a:hover {ldelim} color: #F33; border-bottom: 1px solid #FF3363;} -a.thumblnk:hover {ldelim} border:0;} -a.Piwigo {ldelim} font-family: verdana, arial, helvetica, sans-serif; color : #F33; text-decoration: none; border: 0; } -a.Piwigo:hover {ldelim} border-bottom: 1px solid #FF3363; }
\ No newline at end of file diff --git a/template/yoga/theme/Sylvia/theme-ie.css b/template/yoga/theme/Sylvia/theme-ie.css deleted file mode 100644 index e92e5b34d..000000000 --- a/template/yoga/theme/Sylvia/theme-ie.css +++ /dev/null @@ -1,12 +0,0 @@ -#content .thumbnailCategory div.description .text { - scrollbar-face-color:#222; - scrollbar-shadow-color:#444; - scrollbar-highlight-color:#000; - scrollbar-darkshadow-color:#333; - scrollbar-track-color:#111; - scrollbar-arrow-color:#f70; -} - -#debug { word-wrap:break-word; } -/* IE6... Hacks: */ -/*\*/ * html #menubar #mbIdentification .button { margin-right:25px; } /* */
\ No newline at end of file diff --git a/template/yoga/theme/Sylvia/theme.css b/template/yoga/theme/Sylvia/theme.css deleted file mode 100644 index b4182391e..000000000 --- a/template/yoga/theme/Sylvia/theme.css +++ /dev/null @@ -1,429 +0,0 @@ -.content div.thumbnailCategory div.illustration { - width:165px !important; /* Usable range 162px-360px , optimal : Thumbnail width + 40px */ -} -#comments div.thumbnailCategory div.illustration { - width:220px !important; /* Usable range 219px-360px , optimal : Thumbnail width + 95px */ -} -#comments .thumbnailCategories hr {display:none;} -#comments form.filter input[type="submit"] { margin-top:1.8em; } -/* Sylvia Theme is close to the Roma Admin theme */ -BODY, H1, H3, DT, INPUT.rateButtonSelected, H2, #menubar DT { - color:#666; -} -#imageHeaderBar, #imageToolBar A:hover { - background-color: transparent; -} -BODY { - background:#111 url(images/bottom-left-bg.jpg) no-repeat fixed left bottom; - margin:0; - min-height: 100%; - height: 100%; - padding:0; -} -#the_page { - background:transparent url(images/top-left-bg.jpg) no-repeat scroll left top; - left:0; - margin:0; - padding:0; - position:absolute; - top:0; - z-index:0; - width: 100%; - min-width: 100%; -} -#theHeader { - min-height:110px; - height:110px; -} -#mbIdentification p, .totalImages { - color:#333; -} -.header_msgs { - background:transparent url(images/header_msgs-bg.gif) repeat scroll left top; - border:0; - color:#333; - font-size:24px; - left:0; - margin:0; - padding:10px 0 6px 0; - position:absolute; - text-align:center; - top:0; - width:100%; - z-index:99; -} -.header_notes { - background:transparent url(images/header_msgs-bg.gif) repeat scroll left top; - border:0 none; - color:#333; - font-size:16px; - margin:0; - padding:0; - position:absolute; - top:0; - width:100%; - z-index:99; -} -#menubar DL { - background:transparent url(images/menuBox_top.gif) no-repeat scroll left top; - margin:0 0 5px 40px; - padding:0; - width: 231px; - min-width: 231px; - border: 0; - min-height: 32px; - overflow-x: hidden; -} -#imageHeaderBar H2 { - border: 0; -} -#menubar DT { - background-color:#111; - border:0; - display:inline; - margin-left:8px; - text-align:left; -} -#menubar DD { - background:transparent url(images/menuBox_bottom.gif) no-repeat scroll left bottom; - margin:14px 0 0 0; - padding:0 0 22px; - width: 231px; - min-width: 231px; - border: 0; - overflow-x: hidden; -} -#menubar DD P { - background:transparent url(images/menuBox_sides.gif) repeat-y scroll left bottom; - padding: 2px 16px 0; - margin: 0; -} -#menubar UL, #menubar #mbCategories p, #menubar .illustration { - background:transparent url(images/menuBox_sides.gif) repeat-y scroll left bottom; - margin:0; -} -#menubar DT A { - font-size: 100%; -} -#menubar UL { - color:#333; - font-size: 16px; - line-height: 15px; -} -#menubar LI { - padding-left: 12px; -} -#menubar LI UL { - background: transparent url(images/transparent.gif); -} -#menubar A, .menuInfoCat { - font-size: 13px; -} -#menubar form { - background:transparent url(images/menuBox_sides.gif) repeat-y scroll left bottom; - margin:0; -} -#menubar DL#mbIdentification { - background:transparent url(images/menuId_top.gif) no-repeat scroll left top !important; -} -#menubar #mbIdentification DD { - background:transparent url(images/menuId_bottom.gif) no-repeat scroll left bottom; -} -#menubar #mbIdentification UL, #menubar #mbIdentification p, #menubar #mbIdentification .illustration { - background:transparent url(images/menuId_sides.gif) repeat-y scroll left bottom; -} -#menubar #mbIdentification form { - background:transparent url(images/menuId_sides.gif) repeat-y scroll left bottom; -} -#menubar #mbIdentification .actions, #menubar #mbIdentification form p { - background:transparent none repeat-y scroll left bottom; -} -#menubar #mbIdentification p { - padding: 2px 16px 0; - margin: 0; -} -#menubar p { - padding: 16px 16px 0; -} -#menubar .button { - position:relative; - right:9px; - top:16px; - height:16px; - width:16px; -} -#menubar #mbIdentification .button { - height:24px; - width:24px; - right:0px; - top:-40px; -} -#menubar #mbIdentification fieldset { - border:0; - margin:0 24px 0 23px; -} -#menubar #mbIdentification legend { - display: none; -} -#menubar #menuTagCloud { - margin: 0; - padding: 0 8px 0 16px; -} - -.content { - background:#222 url(images/fillet.gif) repeat-x scroll left top; - min-height:466px; -} - -.content { - border: 1px solid #000; - border-top: 0; - margin:21px 7px 0 290px; - padding-top:7px; -} -.content h2 { - margin:0; - padding:0px 10px 15px 15px; - border:0; -} -#menubar form { - background:transparent url(images/menuBox_sides.gif) repeat-y scroll left bottom; - margin:0; -} -.content ul.thumbnailCategories li { - background:#222 url(images/cat_bottom-right.gif) no-repeat scroll right bottom; - width:49%; - margin: 0; - padding:0; -} -.content div.thumbnailCategory { - background:transparent url(images/cat_bottom-left.gif) no-repeat scroll left bottom; - padding: 0; - margin:0; -} -.content .thumbnailCategory div.illustration { - background:transparent url(images/cat_top-left.gif) no-repeat scroll left top; - padding: 0 0 0 10px; - margin: 0 !important; -} -.content .thumbnailCategory div.illustration a { - display: block; - margin: 0; - padding:20px 0 0 8px; -} -.content .thumbnailCategory div.description { - background:transparent url(images/cat_top-right.gif) no-repeat scroll right top; - margin: 0; - padding:15px 10px 3px 0; - overflow-x: hidden !important; -} -.content .thumbnailCategory div.description .text { - display:block; - margin:10px 2px 0 0; - overflow: auto; - overflow-x:hidden; - padding:0 0 5px; -} -.content div.thumbnailCategory div.description p.dates { - margin: 0 15px 0 15px; - text-align: right; -} -.content .thumbnailCategory div.description H3 { - display: block; -} -.content ul.thumbnailCategories li:hover { - background-color:#111; -} -.content .navigationBar { - color:#666; -} -.infos { - color:#f70; - border:0; - background-color: transparent; - margin-left:125px; - padding:5px 0px 0pt 10pt; - min-height: 48px; - text-align:left; -} -.infos li, .errors li { - list-style-type:none; -} -.errors { - color:#f33; - border:0; - background: transparent url(icon/errors.png) no-repeat scroll right top; - margin-left:125px; - padding:5px 0px 0pt 10pt; - min-height: 48px; - text-align:left; - font-weight:bold; -} -#menubar #menuTagCloud { - background:transparent url(images/menuBox_sides.gif) repeat-y scroll left bottom; - margin:0; - padding: 0 12px; -} -H2 { - border-bottom: 1px solid #000000; -} -#qsearchInput { - color:#999; -} -FIELDSET, INPUT, SELECT, TEXTAREA { - border: 1px solid #666; -} -input[type="text"], input[type="password"], input[type="button"], input[type="submit"], input[type="reset"], input[type="file"] { - background-color:#444; - color:#999; -} /* stupid Line but needed due to inpact on other themes and deadline of Piwigo 2.0 */ -input[type="file"] { - background-color:#222; - border: 1px solid #666; -} -INPUT, select, textarea { - color:#999; - background-color:#444; -} -input[type="radio"], input[type="checkbox"], input[type="button"].rateButtonStarEmpty, input[type="button"].rateButtonStarFull { - background-color: transparent; -} -#qsearchInput:focus, input:focus, select:focus, textarea:focus, input.focus, form .focus { - background-color:#444; - color:#999; -} -.content UL.thumbnails SPAN.wrap2 { - border: 1px solid #666; /* thumbnails border color and style */ - border-radius: 4px 4px; /* round corners with CSS3 compliant browsers */ -} -.content UL.thumbnails SPAN.wrap2:hover { - color:#666; - background-color:#111; - border:1px solid #ff3363; /* thumbnails border color when mouse cursor is over it */ -} -#comments ul.actions li, #comments ul.actions li:hover { - background:transparent none; - padding: 0 22px; - clear:both; - list-style-type:none; -} -span.calItem { - border:1px solid #666; - margin:0 5px; - padding:2px 5px 0 8px; -} -span.calItemEmpty, td.calDayCellEmpty, td.calDayCellFull { - border:1px solid #666; -} -A, INPUT.rateButton { - color:#f70; - border-width: 0; -} -A:hover, A:active { - color:#f33; - border-bottom: 1px solid #FF3363; - cursor: pointer; -} -a.external { - color:#FF3363; - border:0; - text-decoration: none; -} -a.external:hover { - color:#FF7700; - border:0; -} -a.Piwigo { - font-family: verdana, arial, helvetica, sans-serif !important; - font-size: 11px; font-weight: normal; letter-spacing: 0; - color : #F33; text-decoration: none; border: 0; } -a.Piwigo:hover span.Piwigo { - border-bottom: 1px solid #FF3363; -} -#theImage A, .illustration A, A.navThumb, A.navThumb { - border-bottom-width: 0; -} -#imageToolBar { - padding:0 7%; -} -#imageHeaderBar .imageNumber { - margin-right:7%; -} -#imageHeaderBar .browsePath { - margin-left:7%; -} -*, *:focus, *:active, input:active, a:active, input:focus, a:focus { - outline: none; -} -#debug { - margin: 15px 15px 5px 248px; - font-size:12px; - clear: both; -} -.rateButtonStarFull, .rateButtonStarEmpty { - background-image: url('icon/rating-stars.gif'); -} -#menubar #mbIdentification fieldset div input[type="text"] { - margin: 0 0 3px; - width: 174px; - display: inline; -} -input[type="button"], input[type="submit"], input[type="reset"] { - color:#ff3363; - background-color:#222; - border-color:#ff3363; -} -input[type="button"]:hover, input[type="submit"]:hover, input[type="reset"]:hover { - color:#999; - border-color:#666; -} -.titrePage img.button[alt="x"] { margin: 0 3px 3px; } - -#thePicturePage .thumbnailCategory { - padding: 15px 2px 6px 12px; - border: 1px solid #666; -} -#thePicturePage .thumbnailCategory .date, #thePicturePage .thumbnailCategory .author { - font-weight:bold; -} -#thePicturePage .thumbnailCategories { - padding-left: 12px; - padding-right: 12px; -} -#thePicturePage .odd { - background-color: #222; - border-top:0 !important; -} -#addComment fieldset { - color: #f70; - border-color: #f70; -} -#addComment fieldset label { - color: #666; -} -#theCommentsPage .content ul.thumbnailCategories li, -#theCommentsPage .content div.thumbnailCategory , -#theCommentsPage .content div.thumbnailCategory div.description, -#theCommentsPage .content .thumbnailCategory div.illustration { - background-image: none; -} -#theCommentsPage .content div.thumbnailCategory { - padding: 15px 2px 6px 12px; - border: 1px solid #666; -} -#theCommentsPage .content .odd { - background-color: #222; - border-top:0 !important; -} -#theCommentsPage .content .even { - background-color: #111; -} -#theCommentsPage .content ul.thumbnailCategories li:hover { - background-color: transparent; -} -#theCommentsPage div#comments { - padding: 0 0 5px 10px; -} -tr.tagLine, fieldset.tagLetter, legend.tagLetterLegend { - border-color: #666666; -} diff --git a/template/yoga/theme/Sylvia/themeconf.inc.php b/template/yoga/theme/Sylvia/themeconf.inc.php deleted file mode 100644 index 3c99c66cd..000000000 --- a/template/yoga/theme/Sylvia/themeconf.inc.php +++ /dev/null @@ -1,14 +0,0 @@ -<?php -$themeconf = array( - 'template' => 'yoga', - 'theme' => 'Sylvia', - 'icon_dir' => 'template/yoga/theme/Sylvia/icon', - 'admin_icon_dir' => 'template/yoga/icon/admin', - 'mime_icon_dir' => 'template/yoga/theme/Sylvia/icon/mimetypes/', - 'local_head' => ' -<!--[if IE]> - <link rel="stylesheet" href="template/yoga/theme/Sylvia/theme-ie.css" type="text/css"> -<![endif]--> - ', -); -?> diff --git a/template/yoga/theme/clear/index.php b/template/yoga/theme/clear/index.php deleted file mode 100644 index 871b52b6a..000000000 --- a/template/yoga/theme/clear/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based picture gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2009 Piwigo Team http://piwigo.org | -// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | -// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | -// +-----------------------------------------------------------------------+ -// | This program is free software; you can redistribute it and/or modify | -// | it under the terms of the GNU General Public License as published by | -// | the Free Software Foundation | -// | | -// | This program is distributed in the hope that it will be useful, but | -// | WITHOUT ANY WARRANTY; without even the implied warranty of | -// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | -// | General Public License for more details. | -// | | -// | You should have received a copy of the GNU General Public License | -// | along with this program; if not, write to the Free Software | -// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | -// | USA. | -// +-----------------------------------------------------------------------+ - -// Recursive call -$url = '../'; -header( 'Request-URI: '.$url ); -header( 'Content-Location: '.$url ); -header( 'Location: '.$url ); -exit(); -?> diff --git a/template/yoga/theme/clear/mail-css.tpl b/template/yoga/theme/clear/mail-css.tpl deleted file mode 100644 index 298926540..000000000 --- a/template/yoga/theme/clear/mail-css.tpl +++ /dev/null @@ -1,12 +0,0 @@ -/* Theme clear mail css */ - -body {ldelim} background-color:#fff; color:#696969;} -#the_page {ldelim} background: #fff url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/mailbody-bg.png) repeat-y scroll left top;} -#content {ldelim} background: transparent url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/header-bg.png) no-repeat scroll left top;} -#copyright {ldelim} background: transparent url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/footer-bg.png) no-repeat scroll left bottom; -color: #333;} -h2 {ldelim} background-color: #ddd;} -img {ldelim} margin: 16px; border: 16px solid #aaa; -moz-border-radius: 4px; border-radius: 4px 4px; } -img:hover {ldelim} padding: 15px; border: 1px solid yellow;background-color:#faebd7; -moz-border-radius: 4px; border-radius: 4px 4px; } -a {ldelim} color: #369; background: transparent; } -a:hover {ldelim} color: #ddd; } diff --git a/template/yoga/theme/clear/theme.css b/template/yoga/theme/clear/theme.css deleted file mode 100644 index c407e95de..000000000 --- a/template/yoga/theme/clear/theme.css +++ /dev/null @@ -1,77 +0,0 @@ - -/* text color */ -BODY, H1, H2, H3, DT, -INPUT.rateButtonSelected /* <= why IE doesn't inherit this ? */ { - color:#696969; /* dimgray */ -} - -/* backgrounds */ -BODY, H3 { - background-color: #ffffff; /* white */ -} - -H2, #menubar DT, #imageHeaderBar, #imageToolBar A:hover { - background-color: #d3d3d3; -} - -#menubar DL, .content, #imageToolBar, .header_notes { - background-color: #eeeeee; -} - -/* borders */ -#menubar DL, .content, #imageToolBar { - border: 1px solid #d3d3d3; -} - -#theImage IMG { - border: 3px solid #d3d3d3; -} - -.content UL.thumbnail IMG { - border: 1px solid #a0a0a0; -} - -FIELDSET, INPUT, SELECT, TEXTAREA, -.content DIV.thumbnailCategory { - border: 1px solid gray; -} - -.content UL.thumbnails SPAN.wrap2 { - border: 1px solid #aaaaaa; /* thumbnails border color and style */ - border-radius: 4px 4px; /* round corners with CSS3 compliant browsers */ -} - -.content UL.thumbnails SPAN.wrap2:hover, -.content UL.thumbnailCategories DIV.thumbnailCategory:hover, -.content UL.thumbnailCategories DIV.thumbnailCategory:hover A { - background-color: #faebd7; - border-color: yellow; /* thumbnails border color when mouse cursor is over it */ - color: black; -} - -/* links */ -A, INPUT.rateButton { - color: #005e89; - background: transparent; -} - -A:hover, INPUT.rateButton:hover { - color: #858460; -} - -#imageToolBar A, #imageToolBar A:hover { - border-bottom: none; -} - -A.navThumb, A.navThumb:hover { - border-bottom: none; -} - -/*calendar elements*/ -SPAN.calItem, SPAN.calItemEmpty -{ - border: 1px solid silver; -} - -#qsearchInput { color: #d3d3d3; } -#qsearchInput:focus { color: #005e89; }
\ No newline at end of file diff --git a/template/yoga/theme/clear/themeconf.inc.php b/template/yoga/theme/clear/themeconf.inc.php deleted file mode 100644 index 4858b7b50..000000000 --- a/template/yoga/theme/clear/themeconf.inc.php +++ /dev/null @@ -1,10 +0,0 @@ -<?php -$themeconf = array( - 'template' => 'yoga', - 'theme' => 'clear', - 'icon_dir' => 'template/yoga/icon', - 'admin_icon_dir' => 'template/yoga/icon/admin', - 'mime_icon_dir' => 'template/yoga/icon/mimetypes/', - 'local_head' => '', -); -?> diff --git a/template/yoga/theme/dark/images/index.php b/template/yoga/theme/dark/images/index.php deleted file mode 100644 index 871b52b6a..000000000 --- a/template/yoga/theme/dark/images/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based picture gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2009 Piwigo Team http://piwigo.org | -// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | -// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | -// +-----------------------------------------------------------------------+ -// | This program is free software; you can redistribute it and/or modify | -// | it under the terms of the GNU General Public License as published by | -// | the Free Software Foundation | -// | | -// | This program is distributed in the hope that it will be useful, but | -// | WITHOUT ANY WARRANTY; without even the implied warranty of | -// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | -// | General Public License for more details. | -// | | -// | You should have received a copy of the GNU General Public License | -// | along with this program; if not, write to the Free Software | -// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | -// | USA. | -// +-----------------------------------------------------------------------+ - -// Recursive call -$url = '../'; -header( 'Request-URI: '.$url ); -header( 'Content-Location: '.$url ); -header( 'Location: '.$url ); -exit(); -?> diff --git a/template/yoga/theme/dark/images/tableh1_bg.png b/template/yoga/theme/dark/images/tableh1_bg.png Binary files differdeleted file mode 100644 index c7785d0f6..000000000 --- a/template/yoga/theme/dark/images/tableh1_bg.png +++ /dev/null diff --git a/template/yoga/theme/dark/images/tableh2_bg.png b/template/yoga/theme/dark/images/tableh2_bg.png Binary files differdeleted file mode 100644 index d8c29f93d..000000000 --- a/template/yoga/theme/dark/images/tableh2_bg.png +++ /dev/null diff --git a/template/yoga/theme/dark/index.php b/template/yoga/theme/dark/index.php deleted file mode 100644 index 871b52b6a..000000000 --- a/template/yoga/theme/dark/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based picture gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2009 Piwigo Team http://piwigo.org | -// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | -// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | -// +-----------------------------------------------------------------------+ -// | This program is free software; you can redistribute it and/or modify | -// | it under the terms of the GNU General Public License as published by | -// | the Free Software Foundation | -// | | -// | This program is distributed in the hope that it will be useful, but | -// | WITHOUT ANY WARRANTY; without even the implied warranty of | -// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | -// | General Public License for more details. | -// | | -// | You should have received a copy of the GNU General Public License | -// | along with this program; if not, write to the Free Software | -// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | -// | USA. | -// +-----------------------------------------------------------------------+ - -// Recursive call -$url = '../'; -header( 'Request-URI: '.$url ); -header( 'Content-Location: '.$url ); -header( 'Location: '.$url ); -exit(); -?> diff --git a/template/yoga/theme/dark/mail-css.tpl b/template/yoga/theme/dark/mail-css.tpl deleted file mode 100644 index a3dce91a8..000000000 --- a/template/yoga/theme/dark/mail-css.tpl +++ /dev/null @@ -1,12 +0,0 @@ -/* Theme dark mail css */ - -body {ldelim} background-color:#444; color:#fff;} -#the_page {ldelim} background: #444 url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/mailbody-bg.png) repeat-y scroll left top;} -#content {ldelim} background: transparent url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/header-bg.png) no-repeat scroll left top;} -#copyright {ldelim} background: transparent url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/footer-bg.png) no-repeat scroll left bottom; -color: #69c;} -h2 {ldelim} background-color: #333;color:#fff48e;background-image: url({$ROOT_URL}template/{$themeconf.template}/theme/{$themeconf.theme}/images/tableh1_bg.png);} -img {ldelim} margin: 16px; border: 16px solid #111; -moz-border-radius: 4px; border-radius: 4px 4px; } -img:hover {ldelim} padding: 15px; border: 1px solid yellow;background-color:#444;-moz-border-radius: 4px; border-radius: 4px 4px; } -a {ldelim} color: #fff48e; background: transparent;border-bottom:1px dotted #005e89; } -a:hover {ldelim} color: #fff48e;} diff --git a/template/yoga/theme/dark/theme.css b/template/yoga/theme/dark/theme.css deleted file mode 100644 index eea9562cb..000000000 --- a/template/yoga/theme/dark/theme.css +++ /dev/null @@ -1,76 +0,0 @@ - -/* text color */ -BODY, H1, H3, -INPUT.rateButtonSelected /* <= why IE doesn't inherit this ? */ { - color:#d0d0d0; -} - -H2, #menubar DT { - color: #fff48e; -} - - -/* backgrounds */ - -BODY, H3, #imageHeaderBar, #imageToolBar A:hover { - background-color: #2f2f2f; -} - -#menubar DL, .content, #imageToolBar, .header_notes { - background-color: #505050; -} - -H2, #menubar DT { - background-image: url(images/tableh1_bg.png); -} - -#imageHeaderBar H2 { - background-image: none; - background-color: transparent; - border: none; -} - -#imageHeaderBar { - background-image: url(images/tableh2_bg.png); - background-repeat: repeat-x; - background-position: center; - border-top: 1px solid #000; -} - -/* borders */ -#menubar DL, .content{ - border: 1px solid #000; -} - -H2, #menubar DT, #imageToolBar { - border-bottom: 1px solid #000; -} - -FIELDSET, INPUT, SELECT, TEXTAREA, -.content DIV.thumbnailCategory { - border: 1px solid gray; -} - -.content UL.thumbnails SPAN.wrap2 { - border: 1px solid #aaaaaa; /* thumbnails border color and style */ - border-radius: 4px 4px; /* round corners with CSS3 compliant browsers */ -} - -.content UL.thumbnails SPAN.wrap2:hover, -.content UL.thumbnailCategories DIV.thumbnailCategory:hover, -.content UL.thumbnailCategories DIV.thumbnailCategory:hover A { - background-color: #faebd7; - border-color: yellow; /* thumbnails border color when mouse cursor is over it */ - color: black; -} - - -/* links */ -A, INPUT.rateButton { - color: #fff; - border: none; -} - -A:hover { - color: #FFF48E; -}
\ No newline at end of file diff --git a/template/yoga/theme/dark/themeconf.inc.php b/template/yoga/theme/dark/themeconf.inc.php deleted file mode 100644 index d59843ba8..000000000 --- a/template/yoga/theme/dark/themeconf.inc.php +++ /dev/null @@ -1,10 +0,0 @@ -<?php -$themeconf = array( - 'template' => 'yoga', - 'theme' => 'dark', - 'icon_dir' => 'template/yoga/icon', - 'admin_icon_dir' => 'template/yoga/icon/admin', - 'mime_icon_dir' => 'template/yoga/icon/mimetypes/', - 'local_head' => '', -); -?> diff --git a/template/yoga/theme/index.php b/template/yoga/theme/index.php deleted file mode 100644 index 871b52b6a..000000000 --- a/template/yoga/theme/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based picture gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2009 Piwigo Team http://piwigo.org | -// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | -// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | -// +-----------------------------------------------------------------------+ -// | This program is free software; you can redistribute it and/or modify | -// | it under the terms of the GNU General Public License as published by | -// | the Free Software Foundation | -// | | -// | This program is distributed in the hope that it will be useful, but | -// | WITHOUT ANY WARRANTY; without even the implied warranty of | -// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | -// | General Public License for more details. | -// | | -// | You should have received a copy of the GNU General Public License | -// | along with this program; if not, write to the Free Software | -// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | -// | USA. | -// +-----------------------------------------------------------------------+ - -// Recursive call -$url = '../'; -header( 'Request-URI: '.$url ); -header( 'Content-Location: '.$url ); -header( 'Location: '.$url ); -exit(); -?> diff --git a/template/yoga/theme/p0w0/images/button-bg.png b/template/yoga/theme/p0w0/images/button-bg.png Binary files differdeleted file mode 100644 index 1ea3b3bd0..000000000 --- a/template/yoga/theme/p0w0/images/button-bg.png +++ /dev/null diff --git a/template/yoga/theme/p0w0/images/index.php b/template/yoga/theme/p0w0/images/index.php deleted file mode 100644 index 871b52b6a..000000000 --- a/template/yoga/theme/p0w0/images/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based picture gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2009 Piwigo Team http://piwigo.org | -// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | -// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | -// +-----------------------------------------------------------------------+ -// | This program is free software; you can redistribute it and/or modify | -// | it under the terms of the GNU General Public License as published by | -// | the Free Software Foundation | -// | | -// | This program is distributed in the hope that it will be useful, but | -// | WITHOUT ANY WARRANTY; without even the implied warranty of | -// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | -// | General Public License for more details. | -// | | -// | You should have received a copy of the GNU General Public License | -// | along with this program; if not, write to the Free Software | -// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | -// | USA. | -// +-----------------------------------------------------------------------+ - -// Recursive call -$url = '../'; -header( 'Request-URI: '.$url ); -header( 'Content-Location: '.$url ); -header( 'Location: '.$url ); -exit(); -?> diff --git a/template/yoga/theme/p0w0/index.php b/template/yoga/theme/p0w0/index.php deleted file mode 100644 index 871b52b6a..000000000 --- a/template/yoga/theme/p0w0/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based picture gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2009 Piwigo Team http://piwigo.org | -// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | -// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | -// +-----------------------------------------------------------------------+ -// | This program is free software; you can redistribute it and/or modify | -// | it under the terms of the GNU General Public License as published by | -// | the Free Software Foundation | -// | | -// | This program is distributed in the hope that it will be useful, but | -// | WITHOUT ANY WARRANTY; without even the implied warranty of | -// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | -// | General Public License for more details. | -// | | -// | You should have received a copy of the GNU General Public License | -// | along with this program; if not, write to the Free Software | -// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | -// | USA. | -// +-----------------------------------------------------------------------+ - -// Recursive call -$url = '../'; -header( 'Request-URI: '.$url ); -header( 'Content-Location: '.$url ); -header( 'Location: '.$url ); -exit(); -?> diff --git a/template/yoga/theme/p0w0/mail-css.tpl b/template/yoga/theme/p0w0/mail-css.tpl deleted file mode 100644 index d1e27460a..000000000 --- a/template/yoga/theme/p0w0/mail-css.tpl +++ /dev/null @@ -1,11 +0,0 @@ -/* Theme p0w0 mail css */ - -body {ldelim} background-color:#cde; color:#369;} -#the_page {ldelim} background: #cde url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/mailbody-bg.png) repeat-y scroll left top;} -#content {ldelim} background: transparent url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/header-bg.png) no-repeat scroll left top;} -#copyright {ldelim} background: transparent url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/footer-bg.png) no-repeat scroll left bottom; -color: #69c;} -h2 {ldelim} color:#fff;background: #369 url({$ROOT_URL}template/{$themeconf.template}/theme/{$themeconf.theme}/images/button-bg.png);} -img {ldelim} margin:16px;padding:15px;border:1px solid #69c;background-color:#eef;-moz-border-radius:4px; border-radius:4px 4px; } -img:hover {ldelim} border: 1px solid #c60; -moz-border-radius:4px; border-radius:4px 4px; } -a {ldelim} color: #f92; background: transparent; } diff --git a/template/yoga/theme/p0w0/theme.css b/template/yoga/theme/p0w0/theme.css deleted file mode 100644 index 06f922082..000000000 --- a/template/yoga/theme/p0w0/theme.css +++ /dev/null @@ -1,247 +0,0 @@ - -/** - * Color scheme (Remember #6699cc = #69c) - * #000000 #336699 #4477aa #6699cc (Black -> Blues) - * #cc6600 #ff9933 (Oranges) - * #cccccc - * #ccddee #dfe8ff #eeeeff #ffffff (Light colors -> White) - * */ -/** - * Logic - * - Texts - * - Backgrounds - * - Borders, Margins, Padding - * - Visibility / Display - */ - -/******************************************************************************/ -/* Texts Only */ -BODY, H1, H3, DT, H2 { color: #369; } -H2, #menubar DT, TD H3 { - color: #fff; -} -#menubar DT, #menubar DT A { - color: #fff; - font-weight: bold; -} -.content .titrePage .categoryActions li { color: #cde;} -#menubar DT A:hover { - color: #f92; - font-weight: bold; -} -h1 { font-weight: bold; letter-spacing: 0.2em; } -#mbIdentification dd p, -#menubar .selected A { color: #c60; font-weight: bold; } -#copyright { color: #c60; } -.content .pageNumberSelected, -A, INPUT.rateButton, legend { color: #369; } -A:hover { color: #f92; } -INPUT.rateButtonSelected /* <= why IE doesn't inherit this ? */ { - color:#69c; -} -.infoTable, -input#qsearchInput { color: #369; } -.content .infos { color: #036; } -.content .errors { color: #900; } -.content .titrePage H2 A { color: #dfe8ff; } -input.rateButtonSelected, -.content .titrePage H2 A:hover { color: #f92; } -.content H2 { - letter-spacing: 0.01em; - text-indent: 1em; - font-weight: normal; -} -.content ul.thumbnailCategories li div.thumbnailCategory .description h3, -.content h3 { text-align: center; } -.browsePath, .imageNumber, -#imageHeaderBar H2, -.browsePath A { - color: #eef; - font-weight: bold; -} -.browsePath A:hover { color: #fff; } -.content H2:before, .browsePath:before, .imageNumber:before, -#imageHeaderBar H2:before, -.content H2:after, .browsePath:after, .imageNumber:after, -#imageHeaderBar H2:after { - content: " "; - color: #fff; - font-family: sans-serif; - font-weight: normal; - letter-spacing: 0em; -} -#thePicturePage #comments H3 { - color: #69c; -} -.content ul.thumbnailCategories li div.thumbnailCategory .description p { - color: #c60; -} -.content ul.thumbnailCategories li div.thumbnailCategory .description p + p { - color: #369; -} -.content div.thumbnailCategory .description h3 a { - color: #fff; -} -.content div.thumbnailCategory .description h3 a:hover { - color: #f92; -} - - -/******************************************************************************/ -/* Backgrounds Only */ -BODY { background: #cde; } -.header_notes, -#thePicturePage #the_page, -#thePicturePage #theImage, -.content { background-color: #dfe8ff; } -#the_page { background-color: #dfe8ff; } -#menubar, H3, #imageHeaderBar { background-color: #eef; } -H2, #menubar DT, TD H3, -#imageToolBar, -#imageHeaderBar, #imageHeaderBar H2, -.content H2 { background-color: #369; } -.content .infos { background-color: #47a; ;} -.content .errors { background-color: #fc5; ;} -#thePicturePage #comments H3 { background-color: #eef; ;} -.content ul.thumbnailCategories li div.thumbnailCategory .description h3 { - background-color: #69c; -} -.content ul.thumbnailCategories li div.thumbnailCategory, -.content UL.thumbnails SPAN.wrap2 { background-color: #eef; } -.content ul.thumbnailCategories li div.thumbnailCategory:hover, -#theImage IMG, .navThumb IMG, -.content UL.thumbnails SPAN.wrap2:hover { background-color: #fff; } -.content UL.thumbnails SPAN.wrap2:active img { - outline: 3px ridge #f92; -} -input#qsearchInput { background-color: #cde; } -/******************************************************************************/ -/* Borders, Margins, Padding Only */ -BODY { margin: 0px; padding: 0px; } -#menubar { - margin : 0px 0px 0px 8px; - border: 0px; - text-decoration: none; - border: 1px solid #369; -} -A { border: 0px; text-decoration: none; } -A:hover { text-decoration: none; border: 0px; } -.content { - border: 1px solid #369; - padding: 0px; -} -#menubar DT, .content H2 { - background-image: url(images/button-bg.png); - border: 0px; - margin-bottom: 3px; -} -.content ul.thumbnailCategories li div.thumbnailCategory .description h3 { - background-image: url(images/button-bg.png); - border-width: 1px; - border-style: outset; - border-color: #369; -} -.content ul.thumbnailCategories li div.thumbnailCategory .description h3:active -{ - background: #69c; - border: 1px inset #369; -} -.content .errors { border-color: #f92; } -#imageHeaderBar H2 { border: 0px; } -#thePicturePage #imageToolBar { padding: 0px 25px 5px 25px; } -#thePicturePage #theImage { - margin: 0px; - padding: 3px 0px 15px 0px; -} -#thePicturePage #comments H3 { - border-top: 2px solid #69c; - border-bottom: 1px solid #369; -} -H2, #imageToolBar { - border-bottom: 1px solid #fff; -} -.navThumb IMG { border: 1px solid #c60; padding: 1px; opacity: 0.8; } -.navThumb:hover IMG { border: 1px solid #f92; padding: 1px; opacity: 1; } -#theImage IMG { - border: 3px solid #369; - margin: 2px auto; - padding: 1px; - box-shadow: 0.2em 0.2em #ccc; -} -.content UL.thumbnail IMG { - border: 1px solid #666; -} -.illustration A { - border: 0px; -} -FIELDSET, INPUT, SELECT, TEXTAREA, -.content DIV.thumbnailCategory { - border: 1px solid #69c; - background-color: #dfe8ff; - margin: 3px; -} -.content DIV.thumbnailCategory:hover { - border: 1px solid #f92; -} -.content UL.thumbnails SPAN.wrap2 { - border: 1px solid #69c; /* thumbnails border color and style */ - border-radius: 4px 4px; /* round corners with CSS3 compliant browsers */ -} -.content UL.thumbnails SPAN.wrap2:hover { - border-color: #f92; /* thumbnails border color when mouse cursor is over it */ -} -A.navThumb, A.navThumb:hover, -#imageToolBar A, #imageToolBar A:hover { - border-bottom: none; -} -#the_page { - border: 0px; - padding: 5px 0px 30px 0px; - margin: 0px; -} - -/******************************************************************************/ -/* Display, Visibility, buttons and others */ -label { cursor:pointer } -.zero { display: none } - -input[type="text"], input[type="password"], input.button, -input.submit, input.reset, input.file, -select, textarea { - color: #369; - border: 1px solid #369; - background-color: #eeeeff; -} -input.submit[type="reset"]:focus, -input.submit:focus { - background-color: #369; -} -input.submit[type="reset"], -input.submit { - background-image: url(images/button-bg.png); - height:22px; - font-weight: bold; - color: #fff; - border-width: 1px; - border-style: outset; - border-color: #369; - padding-left: 2em; - padding-right: 2em; -} -input.submit[type="reset"]:active, -input.submit:active { - background: #69c; - height:22px; - border: 1px inset #369; -} -#addComment fieldset input.submit[type="submit"] { - height: 38px; - padding-left: 4em; - padding-right: 4em; -} -#menubar .menuInfoCat, #menubar .menuInfoCatByChild { - font-size: 80%; - font-style: normal; -} -* { outline: none; } - diff --git a/template/yoga/theme/p0w0/themeconf.inc.php b/template/yoga/theme/p0w0/themeconf.inc.php deleted file mode 100644 index 063a60bc8..000000000 --- a/template/yoga/theme/p0w0/themeconf.inc.php +++ /dev/null @@ -1,10 +0,0 @@ -<?php -$themeconf = array( - 'template' => 'yoga', - 'theme' => 'p0w0', - 'icon_dir' => 'template/yoga/icon', - 'admin_icon_dir' => 'template/yoga/icon/admin', - 'mime_icon_dir' => 'template/yoga/icon/mimetypes/', - 'local_head' => '', -); -?> diff --git a/template/yoga/theme/wipi/images/index.php b/template/yoga/theme/wipi/images/index.php deleted file mode 100644 index 871b52b6a..000000000 --- a/template/yoga/theme/wipi/images/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based picture gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2009 Piwigo Team http://piwigo.org | -// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | -// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | -// +-----------------------------------------------------------------------+ -// | This program is free software; you can redistribute it and/or modify | -// | it under the terms of the GNU General Public License as published by | -// | the Free Software Foundation | -// | | -// | This program is distributed in the hope that it will be useful, but | -// | WITHOUT ANY WARRANTY; without even the implied warranty of | -// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | -// | General Public License for more details. | -// | | -// | You should have received a copy of the GNU General Public License | -// | along with this program; if not, write to the Free Software | -// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | -// | USA. | -// +-----------------------------------------------------------------------+ - -// Recursive call -$url = '../'; -header( 'Request-URI: '.$url ); -header( 'Content-Location: '.$url ); -header( 'Location: '.$url ); -exit(); -?> diff --git a/template/yoga/theme/wipi/images/tableh1_bg.png b/template/yoga/theme/wipi/images/tableh1_bg.png Binary files differdeleted file mode 100644 index 8163e23bf..000000000 --- a/template/yoga/theme/wipi/images/tableh1_bg.png +++ /dev/null diff --git a/template/yoga/theme/wipi/images/tableh2_bg.png b/template/yoga/theme/wipi/images/tableh2_bg.png Binary files differdeleted file mode 100644 index be06ee428..000000000 --- a/template/yoga/theme/wipi/images/tableh2_bg.png +++ /dev/null diff --git a/template/yoga/theme/wipi/index.php b/template/yoga/theme/wipi/index.php deleted file mode 100644 index 871b52b6a..000000000 --- a/template/yoga/theme/wipi/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based picture gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2009 Piwigo Team http://piwigo.org | -// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | -// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | -// +-----------------------------------------------------------------------+ -// | This program is free software; you can redistribute it and/or modify | -// | it under the terms of the GNU General Public License as published by | -// | the Free Software Foundation | -// | | -// | This program is distributed in the hope that it will be useful, but | -// | WITHOUT ANY WARRANTY; without even the implied warranty of | -// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | -// | General Public License for more details. | -// | | -// | You should have received a copy of the GNU General Public License | -// | along with this program; if not, write to the Free Software | -// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | -// | USA. | -// +-----------------------------------------------------------------------+ - -// Recursive call -$url = '../'; -header( 'Request-URI: '.$url ); -header( 'Content-Location: '.$url ); -header( 'Location: '.$url ); -exit(); -?> diff --git a/template/yoga/theme/wipi/mail-css.tpl b/template/yoga/theme/wipi/mail-css.tpl deleted file mode 100644 index a99f13c5a..000000000 --- a/template/yoga/theme/wipi/mail-css.tpl +++ /dev/null @@ -1,18 +0,0 @@ -/* Theme wipi mail css */ - -body {ldelim} background-color:#111; color:#69c;} -#the_page {ldelim} background: #111 url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/mailbody-bg.png) repeat-y scroll left top;} -#content {ldelim} background: transparent url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/header-bg.png) no-repeat scroll left top;} -#copyright {ldelim} background: transparent url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/footer-bg.png) no-repeat scroll left bottom; -color: #69c;} -h2 {ldelim} background-color: #222;color:#eee;background-image: url({$ROOT_URL}template/{$themeconf.template}/theme/{$themeconf.theme}/images/tableh1_bg.png);} -img {ldelim} margin: 16px; padding:15px;border:1px solid #eee; -moz-border-radius: 4px; border-radius: 4px 4px; } -img:hover {ldelim} border:1px solid #69c; -moz-border-radius: 4px; border-radius: 4px 4px; } -a {ldelim} color: #69c; background: transparent; } -a:hover {ldelim} color: #f92; } -a.PWG {ldelim} border: 0px; } -a.PWG .P {ldelim} color : #f92; } -a.PWG .W {ldelim} color : #aaa; } -a.PWG .G {ldelim} color : #69c; } -a.PWG:hover .P {ldelim} color : #69c; } -a.PWG:hover .G {ldelim} color : #f92; } diff --git a/template/yoga/theme/wipi/theme.css b/template/yoga/theme/wipi/theme.css deleted file mode 100644 index 670d3a57d..000000000 --- a/template/yoga/theme/wipi/theme.css +++ /dev/null @@ -1,273 +0,0 @@ - -/* text color */ -BODY, H1, H3, DT, -INPUT.rateButtonSelected /* <= why IE doesn't inherit this ? */ { - color:#e0e0e0; -} -#menubar { - margin : 0px; - background-color: transparent; - border: 0px; -} -H2 { - color: #eee; -} -#menubar DT, #menubar DT A { - color: #eee; - font-weight: lighter; -} -#menubar DT A:hover { - color: #69c; - font-weight: lighter; -} -#menubar .selected A { - color: #eee; -} -#menubar .selected A:hover { - color: #f92; -} -#menubar DT:before { - content: "__\\_ "; - color: #f92; -} -#menubar DT:after { - content: " _/__"; - color: #69c; -} -#menubar .button { - margin: 0 2px 0px 8px; - width: auto; - padding: 0; - text-indent: 0; - list-style: none; - text-align: center; - float: left; -} -.content .pageNumberSelected { - color: #f92; -} -.content .infos { - background-color: #69c; - color: #036; -} -.content .errors { - background-color: #fc5; - border-color: #f92; - color: #900; -} -/* backgrounds */ -BODY { - background: #111; - margin: 0px; - padding: 0px; -} -H3, #imageToolBar A:hover { - background-color: #222; -} - -#imageHeaderBar { - background-color: #111; -} -#imageToolBar, .header_notes { - background-color: #333; -} -A { - border-color: #69c; -} -A:hover { - border-color: #f92; -} -.content { - background-color: #181818; - border: 1px solid #eee; - padding: 5px; -} - -H2, #menubar DT, TD H3 { - background-image: url(images/tableh1_bg.png); - background-repeat: repeat-x; -} -.content H2 { - background: none; - border: 0px; - letter-spacing: -0.05em; - text-indent: 1em; - text-transform: uppercase; - font-weight: lighter; - margin-bottom: 20px; -} -.content ul.thumbnailCategories li div.thumbnailCategory .description h3, -.content h3 { text-align: center; } -.content ul.thumbnailCategories li div.thumbnailCategory .description p { - color: #f92; text-indent: 0em; -} -.content ul.thumbnailCategories li div.thumbnailCategory .description p + p { - color: #fff; -} -.browsePath A { - color: #eee; -} -.content H2:before, .browsePath:before, .imageNumber:before, -#imageHeaderBar H2:before { - content: "____\\_ "; - color: #69c; - font-family: Times, Zapf-Chancery, Cottonwood, Helvetica; - letter-spacing: 0em; -} -.content H2:after, .browsePath:after, .imageNumber:after, -#imageHeaderBar H2:after { - content: " _/____"; - color: #f92; - font-family: Times, Zapf-Chancery, Cottonwood, Helvetica; - letter-spacing: 0em; -} -#imageHeaderBar H2 { - background-image: none; - background-color: transparent; - border: none; -} -#thePicturePage #the_page { - background-color: #111; -} -#thePicturePage #imageHeaderBar { - background-image: url(images/tableh2_bg.png); - background-repeat: repeat-x; -} -#thePicturePage #imageToolBar { - background-color: #111; - border-bottom: 2px solid #69c; -} -#thePicturePage #theImage { - background-color: #111; - margin: 0px; - padding: 3px 0px 15px 0px; -} - -#thePicturePage #comments H3 { - background-image: none; - background-color: #222; - border-top: 2px solid #69c; - border-bottom: 2px solid #69c; - color: #69c; - font-weight: lighter; -} - -/* borders */ -#imageHeaderBar { - border-top: 1px solid #000; - padding: 8px 0px 3px 0px; -} -H2, #imageToolBar { - border-bottom: 1px solid #000; -} - -#theImage IMG { - border: 3px solid #fff; -} - -.content UL.thumbnail IMG { - border: 1px solid #a0a0a0; -} -.illustration A { - border: 0px; -} -FIELDSET, INPUT, SELECT, TEXTAREA, -.content DIV.thumbnailCategory { - border: 1px solid gray; -} -.content DIV.thumbnailCategory { - border: 1px solid #69c; - margin: 8px 4px; -} - -.content UL.thumbnails SPAN.wrap2 { - border: 1px solid #aaaaaa; /* thumbnails border color and style */ - border-radius: 4px 4px; /* round corners with CSS3 compliant browsers */ -} - -.content UL.thumbnails SPAN.wrap2:hover, -.content UL.thumbnailCategories DIV.thumbnailCategory:hover { - background-color: #333; - border-color: #69c; /* thumbnails border color when mouse cursor is over it */ -} - -/* links */ -A, INPUT.rateButton, legend { - color: #69c; -} - -A:hover { - color: #f92; -} - -#imageToolBar A, #imageToolBar A:hover { - border-bottom: none; -} -A.navThumb, A.navThumb:hover { - border-bottom: none; -} -#the_page { - border: 1px dotted #f92; - padding-top: 5px; - padding-bottom:30px; - margin: 2px; -} -#copyright { - color: #69c; -} - -label { - cursor:pointer -} -input#qsearchInput { - color: #58c; - background-color: #222; - border: 1px solid #333; - padding: 1px 3px; -} -.zero { display: none } -.nb-hits { color: #69c; } -.nb-comments { color: #f92; } - -FORM#quickconnect, -FORM#quickconnect FIELDSET, -FORM#quickconnect DIV, -FORM#quickconnect UL.actions, -FORM#quickconnect LABEL { - color: #69c; -} -FORM#quickconnect DIV INPUT, -FORM#quickconnect INPUT[type=text], -FORM#quickconnect INPUT[type=password] { - color: #58c; - background-color: #222; - border: 1px solid #333; -} - -.PWG { - font-family: verdana, arial, helvetica, sans-serif !important; - font-size: 0.9em; - font-weight: normal; - letter-spacing: 0px; -} -a.PWG { border: 0px; } -a.PWG .P { color : #f92; } -a.PWG .W { color : #aaa; } -a.PWG .G { color : #69c; } -a.PWG:hover .P { color : #69c; } -a.PWG:hover .G { color : #f92; } -#menubar DT { - border-top: 1px solid #eef; - border-right: 1px solid #69c; - border-bottom: 1px solid #69c; - border-bottom-right-radius: 12px; - -moz-border-radius-bottomright: 12px; - box-shadow: 5px 5px #69c; -} -.statBar { background-color: #e60; } -#imageToolBar .randomButtons a:hover, -#imageToolBar .navButtons a:hover { background-color: #111; } -#menubar .menuInfoCat, -#menubar .menuInfoCatByChild, -h2.showtitle, #theImage p.showlegend { display: none } -* { outline-width: 0px; } diff --git a/template/yoga/theme/wipi/themeconf.inc.php b/template/yoga/theme/wipi/themeconf.inc.php deleted file mode 100644 index 6644a7590..000000000 --- a/template/yoga/theme/wipi/themeconf.inc.php +++ /dev/null @@ -1,15 +0,0 @@ -<?php -$themeconf = array( - 'template' => 'yoga', - 'theme' => 'wipi', - 'icon_dir' => 'template/yoga/icon', - 'admin_icon_dir' => 'template/yoga/icon/admin', - 'mime_icon_dir' => 'template/yoga/icon/mimetypes/', - 'local_head' => '', -); -if ( !isset($lang['Theme: wipi']) ) -{ - $lang['Theme: wipi'] = 'The site is displayed with wipi theme based ' . - ' on yoga template, a standard template/theme of PhpWebgallery.'; -} -?> diff --git a/template/yoga/thumbnails.css b/template/yoga/thumbnails.css deleted file mode 100644 index 5ed9544c9..000000000 --- a/template/yoga/thumbnails.css +++ /dev/null @@ -1,36 +0,0 @@ - -/* Thumbnails customization */ -.content UL.thumbnails SPAN.thumbLegend { - font-size: 90%; - overflow: hidden;/* oversized legend is clipped */ -} - -/* Thumbnail "elastic" layout */ -.content UL.thumbnails { - margin: 0; - padding: 0; - list-style: none; - text-align: center; /* to center the whole collection in .content */ -} -.content UL.thumbnails LI { display: inline } - -.content UL.thumbnails SPAN.wrap1 { - margin: 0 5px 5px 5px; - display: table-cell; display: inline-table; - display: inline-block;/* Why 3 display option ??? */ - vertical-align: top; /* OK with Opera and IE6 not Geko */ - text-align: center; /* to center the thumbnail and legend in Geko/Opera */ -} -.content UL.thumbnails SPAN.wrap2 { - margin: 0; /* important reset the margins */ - display: table-cell;/* block prevents vertical-align here */ - vertical-align: middle;/* Ok with Opera and Geko not IE6 */ -} -.content UL.thumbnails SPAN.wrap2 A, -.content UL.thumbnails LABEL { - display: block; - border-bottom: none; -} -.content UL.thumbnails IMG { - margin-bottom: -4px; /* why ??? something wrong with Geko and Opera ignored by IE6*/ -} |