From 14778ce673277f2df41f963aa70df1cbed427294 Mon Sep 17 00:00:00 2001 From: plegall Date: Sat, 13 Mar 2010 00:00:52 +0000 Subject: 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 --- template/default/about.tpl | 18 -- template/default/comment_list.tpl | 58 ----- template/default/comments.tpl | 76 ------ template/default/footer.tpl | 35 --- template/default/header.tpl | 91 ------- template/default/identification.tpl | 71 ------ template/default/include/autosize.inc.tpl | 13 - template/default/include/datepicker.inc.tpl | 24 -- template/default/include/resize.inc.tpl | 22 -- template/default/index.tpl | 116 --------- template/default/mail/text/html/cat_group_info.tpl | 8 - template/default/mail/text/html/footer.tpl | 22 -- .../default/mail/text/html/global-mail-css.tpl | 11 - template/default/mail/text/html/header.tpl | 18 -- .../mail/text/html/notification_by_mail.tpl | 56 ----- .../default/mail/text/plain/cat_group_info.tpl | 8 - template/default/mail/text/plain/footer.tpl | 3 - template/default/mail/text/plain/header.tpl | 5 - .../mail/text/plain/notification_by_mail.tpl | 41 --- template/default/mainpage_categories.tpl | 31 --- template/default/menubar.tpl | 13 - template/default/menubar_categories.tpl | 39 --- template/default/menubar_identification.tpl | 64 ----- template/default/menubar_links.tpl | 15 -- template/default/menubar_menu.tpl | 20 -- template/default/menubar_specials.tpl | 9 - template/default/menubar_tags.tpl | 17 -- template/default/month_calendar.tpl | 86 ------- template/default/navigation_bar.tpl | 28 --- template/default/nbm.tpl | 30 --- template/default/notification.tpl | 24 -- template/default/password.tpl | 53 ---- template/default/picture.tpl | 280 --------------------- template/default/picture_content.tpl | 11 - template/default/picture_nav_buttons.tpl | 102 -------- template/default/profile.tpl | 21 -- template/default/profile_content.tpl | 109 -------- template/default/redirect.tpl | 13 - template/default/register.tpl | 68 ----- template/default/search.tpl | 146 ----------- template/default/search_rules.tpl | 57 ----- template/default/slideshow.tpl | 22 -- template/default/tags.tpl | 54 ---- template/default/thumbnails.tpl | 37 --- template/default/upload.tpl | 114 --------- 45 files changed, 2159 deletions(-) delete mode 100644 template/default/about.tpl delete mode 100644 template/default/comment_list.tpl delete mode 100644 template/default/comments.tpl delete mode 100644 template/default/footer.tpl delete mode 100644 template/default/header.tpl delete mode 100644 template/default/identification.tpl delete mode 100644 template/default/include/autosize.inc.tpl delete mode 100644 template/default/include/datepicker.inc.tpl delete mode 100644 template/default/include/resize.inc.tpl delete mode 100644 template/default/index.tpl delete mode 100644 template/default/mail/text/html/cat_group_info.tpl delete mode 100644 template/default/mail/text/html/footer.tpl delete mode 100644 template/default/mail/text/html/global-mail-css.tpl delete mode 100644 template/default/mail/text/html/header.tpl delete mode 100644 template/default/mail/text/html/notification_by_mail.tpl delete mode 100644 template/default/mail/text/plain/cat_group_info.tpl delete mode 100644 template/default/mail/text/plain/footer.tpl delete mode 100644 template/default/mail/text/plain/header.tpl delete mode 100644 template/default/mail/text/plain/notification_by_mail.tpl delete mode 100644 template/default/mainpage_categories.tpl delete mode 100644 template/default/menubar.tpl delete mode 100644 template/default/menubar_categories.tpl delete mode 100644 template/default/menubar_identification.tpl delete mode 100644 template/default/menubar_links.tpl delete mode 100644 template/default/menubar_menu.tpl delete mode 100644 template/default/menubar_specials.tpl delete mode 100644 template/default/menubar_tags.tpl delete mode 100644 template/default/month_calendar.tpl delete mode 100644 template/default/navigation_bar.tpl delete mode 100644 template/default/nbm.tpl delete mode 100644 template/default/notification.tpl delete mode 100644 template/default/password.tpl delete mode 100644 template/default/picture.tpl delete mode 100644 template/default/picture_content.tpl delete mode 100644 template/default/picture_nav_buttons.tpl delete mode 100644 template/default/profile.tpl delete mode 100644 template/default/profile_content.tpl delete mode 100644 template/default/redirect.tpl delete mode 100644 template/default/register.tpl delete mode 100644 template/default/search.tpl delete mode 100644 template/default/search_rules.tpl delete mode 100644 template/default/slideshow.tpl delete mode 100644 template/default/tags.tpl delete mode 100644 template/default/thumbnails.tpl delete mode 100644 template/default/upload.tpl (limited to 'template/default') 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 @@ -
-
- -

{'About'|@translate}

-
- -
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$ *} - 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 @@ -
- -
-
    -
  • {'Home'|@translate}
  • -
-

{'User comments'|@translate}

-
- -
- -
- {'Filter'|@translate} - - - - - - - - - -
- -
- - {'Display'|@translate} - - - - - - - -
- -

- -
- -{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} - -{if isset($comments)} -
- {include file='comment_list.tpl'} -
-{/if} - -
- 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 @@ - -{if isset($debug.QUERIES_LIST)} -
-{$debug.QUERIES_LIST} -
-{/if} - - - \ 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 @@ - - - - - -{if isset($meta_ref) } -{if isset($INFO_AUTHOR)} - -{/if} -{if isset($related_tags)} - -{/if} -{if isset($COMMENT_IMG)} - -{else} - -{/if} -{/if} - -{if (isset($REVERSE) and $REVERSE and $PAGE_TITLE == l10n('home'))} -{$GALLERY_TITLE} | {$PAGE_TITLE}{else} -{$PAGE_TITLE} | {$GALLERY_TITLE}{/if} - - - - -{if isset($first.U_IMG) }{/if} -{if isset($previous.U_IMG)}{/if} -{if isset($next.U_IMG) }{/if} -{if isset($last.U_IMG) }{/if} -{if isset($U_UP) }{/if} - - -{* the next css is used to fix khtml (Konqueror/Safari) issue the "text/nonsense" prevents gecko based browsers to load it *} - - - - - - - - -{$themeconf.local_head} -{if isset($U_PREFETCH) }{/if} - -{if not empty($page_refresh) }{/if} - - - - -{if not empty($head_elements)} - {foreach from=$head_elements item=elt}{$elt} - {/foreach} -{/if} - - - - -
- -{if not empty($header_msgs)} -
- {foreach from=$header_msgs item=elt} - {$elt}
- {/foreach} -
-{/if} - -
{$PAGE_BANNER}
-{if isset($theSwiftHeader)}{$theSwiftHeader}{/if} -{if not empty($header_notes)} -
- {foreach from=$header_notes item=elt} -

{$elt}

- {/foreach} -
-{/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 @@ -
- -
-
    -
  • {'Forgot your password?'|@translate}
  • - {if isset($U_REGISTER) } -
  • {'Register'|@translate}
  • - {/if} -
  • {'Home'|@translate}
  • -
-

{'Identification'|@translate}

-
- - {if isset($errors) } -
-
    - {foreach from=$errors item=error} -
  • {$error}
  • - {/foreach} -
-
- {/if} - -
-
- {'Connection settings'|@translate} - - - -
    -
  • - - - - -
  • - -
  • - - - - -
  • - - {if $authorize_remembering } -
  • - - - - -
  • - {/if} -
-
- -

- -

- {if isset($U_REGISTER) } - {'Register'|@translate} {'Register'|@translate} - {/if} - {'Forgot your password?'|@translate} {'Forgot your password?'|@translate} -

- -
- - - -
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} - -{/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} - -{/html_head} - - 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} - -{/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} -
-
-
    - {if !empty($image_orders) } -
  • - {'Sort order'|@translate}: - -
  • - {/if} - - {if isset($favorite) } -
  • favorite
  • - {/if} - - {if isset($U_CADDIE) } -
  • {'caddie'|@translate}
  • - {/if} - - {if isset($U_EDIT) } -
  • {'edit'|@translate}
  • - {/if} - - {if isset($U_SEARCH_RULES) } -
  • (?)
  • - {/if} - - {if isset($U_SLIDESHOW) } -
  • {'slideshow'|@translate}
  • - {/if} - - {if isset($U_MODE_FLAT) } -
  • {'display all elements in all sub-categories'|@translate}
  • - {/if} - - {if isset($U_MODE_NORMAL) } -
  • {'return to normal view mode'|@translate}
  • - {/if} - - {if isset($U_MODE_POSTED) } -
  • {'display a calendar by posted date'|@translate}
  • - {/if} - - {if isset($U_MODE_CREATED) } -
  • {'display a calendar by creation date'|@translate}
  • - {/if} - - {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if} -
- -

{$TITLE}

- - {if isset($chronology_views) } -
{'View'|@translate}: - -
- {/if} - - {if isset($chronology.TITLE) } -

{$chronology.TITLE}

- {/if} - -
- -{if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if} - -{if !empty($category_search_results) } -
{'Category results for'|@translate} {$QUERY_SEARCH} : - - {foreach from=$category_search_results item=res name=res_loop} - {if !$smarty.foreach.res_loop.first} — {/if} - {$res} - {/foreach} - -
-{/if} - -{if !empty($tag_search_results) } -
{'Tag results for'|@translate} {$QUERY_SEARCH} : - - {foreach from=$tag_search_results item=res name=res_loop} - {if !$smarty.foreach.res_loop.first} — {/if} - {$res} - {/foreach} - -
-{/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) } -
- {$CONTENT_DESCRIPTION} -
-{/if} - -{if !empty($PLUGIN_INDEX_CONTENT_END) }{$PLUGIN_INDEX_CONTENT_END}{/if} -
- -{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 @@ -
-

{'Informations'|@translate}

-

{$IMG_URL}

-

{'Hello,'|@translate}

-

{'Come to discover the category:'|@translate} {$CAT_NAME}

-

{$CPL_CONTENT}

-

{'See you soon.'|@translate}

-
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 @@ -
- - - - - 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 - - - - -Piwigo Mail - - - - -
-
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 @@ -
-

{'Notification'|@translate}

-

{'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} -
  • {$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}{'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}
-

-

-{if not empty($recent_posts)} -
-
- {foreach from=$recent_posts item=recent_post } -

{$recent_post.TITLE}

- {$recent_post.HTML_DATA} - {/foreach} -{/if} -
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 @@ - -
    -{foreach from=$category_thumbnails item=cat} -
  • -
    -
    - - {$cat.TN_ALT} - -
    -
    -

    - {$cat.NAME} - {if !empty($cat.icon_ts)} - (!) - {/if} -

    -
    - {if isset($cat.INFO_DATES) } -

    {$cat.INFO_DATES}

    - {/if} -

    {$cat.CAPTION_NB_IMAGES}

    - {if not empty($cat.DESCRIPTION)} -

    {$cat.DESCRIPTION}

    - {/if} -
    -
    -
    -
  • -{/foreach} -
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) } - -{/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 @@ -
- {if isset($U_START_FILTER)} - start filter - {/if} - {if isset($U_STOP_FILTER)} - stop filter - {/if} - {'Categories'|@translate} -
-
-{assign var='ref_level' value=0} -{foreach from=$block->data.MENU_CATEGORIES item=cat} - {if $cat.LEVEL > $ref_level} -
    - {else} - - {'
'|@str_repeat:$ref_level-$cat.LEVEL} - {/if} -
  • - {$cat.NAME} - {if $cat.count_images > 0} - [{$cat.count_images}] - {/if} - {if !empty($cat.icon_ts)} - (!) - {/if} - {assign var='ref_level' value=$cat.LEVEL} -{/foreach} -{'
  • '|@str_repeat:$ref_level} - - {if isset($block->data.U_UPLOAD)} - - {/if} -

    {$pwg->l10n_dec('%d element', '%d elements', $block->data.NB_PICTURE)}

    -
    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 @@ -
    {'Identification'|@translate}
    -
    - {if isset($USERNAME)} -

    {'Hello'|@translate} {$USERNAME} !

    - {/if} - - - - {if isset($U_LOGIN)} -
    -
    - {'Quick connect'|@translate} -
    -
    - -
    - -
    -
    - -
    - - {if $AUTHORIZE_REMEMBERING} -
    - {/if} - -
    - -
      -
    • {'Forgot your password?'|@translate}
    • - {if isset($U_REGISTER)} -
    • {'Register'|@translate}
    • - {/if} -
    -
    - -
    -
    - {/if} -
    - 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 @@ -
    {'Links'|@translate}
    -
    - -
    - 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 @@ -
    {'Menu'|@translate}
    -
    - {if isset($block->data.qsearch) and $block->data.qsearch==true} -
    -

    is for html validation only - does not affect positioning*}> - -

    -
    - - {/if} - -
      - {foreach from=$block->data item=link} - {if is_array($link)} -
    • {$link.NAME}
    • - {/if} - {/foreach} -
    -
    - 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 @@ -
    {'Specials'|@translate}
    -
    -
      - {foreach from=$block->data item=link} -
    • {$link.NAME}
    • - {/foreach} -
    -
    - 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 @@ -
    {'Related tags'|@translate}
    -
    - -
    - 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} -
    - {if isset($bar.previous)} -
    « {$bar.previous.LABEL}
    - {/if} - {if isset($bar.next)} -
    {$bar.next.LABEL} »
    - {/if} - {if empty($bar.items)} -   - {else} - {foreach from=$bar.items item=item} - - {if isset($item.URL)} - {$item.LABEL} - {else} - {$item.LABEL} - {/if} - - {/foreach} - {/if} -
    -{/foreach} -{/if} - -{if !empty($chronology_calendar.calendar_bars) } -{foreach from=$chronology_calendar.calendar_bars item=bar} -
    - {$bar.HEAD_LABEL} ({$bar.NB_IMAGES})
    - {foreach from=$bar.items item=item} - - {if isset($item.URL)} - {$item.LABEL} - {else} - {$item.LABEL} - {/if} - {if isset($item.NB_IMAGES)}({$item.NB_IMAGES}){/if} - - {/foreach} -
    -{/foreach} -{/if} - -{if isset($chronology_calendar.month_view) } - - - - {foreach from=$chronology_calendar.month_view.wday_labels item=wday} - - {/foreach} - - -{html_head} {*add the style to html head for strict standard compliance*} - -{/html_head} - {foreach from=$chronology_calendar.month_view.weeks item=week} - - {foreach from=$week item=day} - {if !empty($day)} - {if isset($day.IMAGE)} - - {/foreach} {*day in week*} - - {/foreach} {*week in month*} -
    {$wday}
    -
    {$day.DAY}
    {$day.DAY}
    -
    - - {$day.IMAGE_ALT} - -
    - {else} -
    {$day.DAY} - {/if} - {else} - - {/if} -
    -{/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 @@ - 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 @@ - -
    -
    -
      -
    • {'Home'|@translate}
    • -
    -

    {'Notification'|@translate}

    -
    - - {if not empty($errors)} -
    -
      - {foreach from=$errors item=error} -
    • {$error}
    • - {/foreach} -
    -
    - {/if} - - {if not empty($infos)} -
    -
      - {foreach from=$infos item=info} -
    • {$info}
    • - {/foreach} -
    -
    - {/if} - -
    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} - - -{/html_head} -
    - -
    -
      -
    • {'Home'|@translate}
    • -
    -

    {'Notification'|@translate}

    -
    - -

    {'The RSS notification feed provides notification on news from this website : new pictures, updated categories, new comments. Use a RSS feed reader.'|@translate}

    - -
    -
    - {'Image only RSS feed'|@translate}

    -
    -
    - {'Complete RSS feed (images, comments)'|@translate} -
    -
    -
    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 @@ -
    - -
    -
      -
    • {'Home'|@translate}
    • -
    -

    {'Password forgotten'|@translate}

    -
    - - {if count($errors)} -
    -
      - {foreach from=$errors item=error} -
    • {$error}
    • - {/foreach} -
    -
    - {/if} - - {if count($infos)} -
    -
      - {foreach from=$infos item=info} -
    • {$info}
    • - {/foreach} -
    -
    - {/if} - -
    -
    - {'Retrieve password'|@translate} - -
      -
    • - - - - -
    • -
    • - - - - -
    • -
    -
    - -

    -
    - -
    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)} -
    -
      - {foreach from=$errors item=error} -
    • {$error}
    • - {/foreach} -
    -
    -{/if} - -{if isset($infos)} -
    -
      - {foreach from=$infos item=info} -
    • {$info}
    • - {/foreach} -
    -
    -{/if} - -{if !empty($PLUGIN_PICTURE_BEFORE)}{$PLUGIN_PICTURE_BEFORE}{/if} - -
    -
    - {'Home'|@translate} - {if !$IS_HOME}{$LEVEL_SEPARATOR}{$SECTION_TITLE}{/if} - {$LEVEL_SEPARATOR}{$current.TITLE} -
    -
    {$PHOTO}
    - {if $SHOW_PICTURE_NAME_ON_TITLE } -

    {$current.TITLE}

    - {/if} -
    - -
    -
    - {if isset($U_SLIDESHOW_START) } - {'slideshow'|@translate} - {/if} - {if isset($U_SLIDESHOW_STOP) } - {'stop the slideshow'|@translate} - {/if} - metadata - {if isset($current.U_DOWNLOAD) } - {'download'|@translate} - {/if} - {if isset($PLUGIN_PICTURE_ACTIONS)}{$PLUGIN_PICTURE_ACTIONS}{/if} - {if isset($favorite) } - favorite - {/if} - {if !empty($U_SET_AS_REPRESENTATIVE) } - {'representative'|@translate} - {/if} - {if isset($U_ADMIN) } - {'edit'|@translate} - {/if} - {if isset($U_CADDIE) }{*caddie management BEGIN*} - - {'caddie'|@translate} - {/if}{*caddie management END*} -
    - {include file='picture_nav_buttons.tpl'|@get_extent:'picture_nav_buttons'} -
    - -
    -{$ELEMENT_CONTENT} - -{if isset($COMMENT_IMG)} -

    {$COMMENT_IMG}

    -{/if} - -{if isset($U_SLIDESHOW_STOP) } -

    - [ {'stop the slideshow'|@translate} ] -

    -{/if} - -
    - -{if isset($previous) } - -{/if} -{if isset($next) } - -{/if} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{if isset($rate_summary) } - - - - -{/if} - -{if isset($rating)} - - - - -{/if} - -{if isset($available_permission_levels) } - - - -{/if} - -
    {'Author'|@translate}{if isset($INFO_AUTHOR)}{$INFO_AUTHOR}{else}{'N/A'|@translate}{/if}
    {'Created on'|@translate}{if isset($INFO_CREATION_DATE)}{$INFO_CREATION_DATE}{else}{'N/A'|@translate}{/if}
    {'Posted on'|@translate}{$INFO_POSTED_DATE}
    {'Dimensions'|@translate}{if isset($INFO_DIMENSIONS)}{$INFO_DIMENSIONS}{else}{'N/A'|@translate}{/if}
    {'File'|@translate}{$INFO_FILE}
    {'Filesize'|@translate}{if isset($INFO_FILESIZE)}{$INFO_FILESIZE}{else}{'N/A'|@translate}{/if}
    {'Tags'|@translate} - {if isset($related_tags)} - {foreach from=$related_tags item=tag name=tag_loop}{if !$smarty.foreach.tag_loop.first}, {/if} - {$tag.name}{/foreach} - {/if} -
    {'Categories'|@translate} - {if isset($related_categories)} -
      - {foreach from=$related_categories item=cat} -
    • {$cat}
    • - {/foreach} -
    - {/if} -
    {'Visits'|@translate}{$INFO_VISITS}
    {'Average rate'|@translate} - {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} -
    - {if isset($rating.USER_RATE)}{'Rate this picture'|@translate}{else}{'Rate this picture'|@translate}{/if} - -
    -
      - {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} - - {else} - - {/if} - {/foreach} - - -
    -
    -
    {'Privacy level'|@translate}: - - -
    - -{if isset($metadata)} - -{foreach from=$metadata item=meta} - - - - {foreach from=$meta.lines item=value key=label} - - - - - {/foreach} -{/foreach} -
    {$meta.TITLE}
    {$label}{$value}
    -{/if} - - -
    - -{if isset($COMMENT_COUNT)} -
    - {if $COMMENT_COUNT > 0} -

    {$pwg->l10n_dec('%d comment', '%d comments',$COMMENT_COUNT)}

    - {/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)} -
    -
    - {'Add a comment'|@translate} - {if $comment_add.SHOW_AUTHOR} - - {/if} - - - -
    -
    - {/if} -
    -{/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) } - -{/if} - {$ALT_IMG} -{if isset($high) } - -

    {'Click on the picture to see it in high definition'|@translate}

    -{/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 @@ - - - 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 @@ -
    - -{if isset($errors)} -
    -
      - {foreach from=$errors item=error} -
    • {$error}
    • - {/foreach} -
    -
    -{/if} - -
    -
      -
    • {'Home'|@translate}
    • -
    -

    {'Profile'|@translate}

    -
    - -{$PROFILE_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 @@ -
    - -
    - {'Registration'|@translate} - -
      -
    • - {'Username'|@translate} - {$USERNAME} -
    • -{if not $SPECIAL_USER} {* can modify password + email*} -
    • - - - - -
    • -{if not $IN_ADMIN} {* admins do not need old password*} -
    • - - - - -
    • -{/if} -
    • - - - - -
    • -
    • - - - - -
    • -
    -{/if} -
    - -
    - {'Preferences'|@translate} - -
      -
    • - - - - -
    • -
    • - - - - -
    • -
    • - - - - {html_options name=template options=$template_options selected=$template_selection} -
    • -
    • - - - - {html_options name=language options=$language_options selected=$language_selection} -
    • -
    • - - - - -
    • -
    • - {'Expand all categories'|@translate} - {html_radios name='expand' options=$radio_options selected=$EXPAND} -
    • -
    • - {'Show number of comments'|@translate} - {html_radios name='show_nb_comments' options=$radio_options selected=$NB_COMMENTS} -
    • -
    • - {'Show number of hits'|@translate} - {html_radios name='show_nb_hits' options=$radio_options selected=$NB_HITS} -
    • -
    • - - - - -
    • -
    • - - - - -
    • -
    -
    - -

    - - - -

    - -
    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} - -{/html_head} - -
    - {$REDIRECT_MSG} -
    - -

    - - {'Click here if your browser does not automatically forward you'|@translate} - -

    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 @@ -
    - -
    - -
    -
      -
    • {'Home'|@translate}
    • -
    -

    {'Registration'|@translate}

    -
    - -{if isset($errors)} -
    -
      - {foreach from=$errors item=error} -
    • {$error}
    • - {/foreach} -
    -
    -{/if} - -
    -
    - {'Enter your personnal informations'|@translate} - -
      -
    • - - - - -
    • -
    • - - - - -
    • -
    • - - - - -
    • -
    • - - - - - ({'useful when password forgotten'|@translate}) -
    • -
    - -
    - -

    - - -

    - -
    - - - -
    -
    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} - -{/literal} -*} - -
    - -
    -
      -
    • (?)
    • -
    • {'Home'|@translate}
    • -
    -

    {'Search'|@translate}

    -
    - -{if isset($errors) } -
    -
      - {foreach from=$errors item=error} -
    • {$error}
    • - {/foreach} -
    -
    -{/if} - -
    -
    - {'Filter'|@translate} - -
      -
    • -
    • -
    - -
    - -{if isset($TAG_SELECTION)} -
    - {'Search tags'|@translate} - {$TAG_SELECTION} - - -
    -{/if} - -
    - {'Search by Date'|@translate} -
      -
    • -
    • -
    • -
    -
      -
    • -
    • - - - - -
    • -
    • - {'today'|@translate} -
    • -
    -
      -
    • -
    • - - - - -
    • -
    • - {'today'|@translate} -
    • -
    -
    - -
    - {'Search Options'|@translate} - -
      -
    • -
    • -
    • -
    -
    -

    - - -

    -
    - - - -
    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 @@ -
    -

    {'Search rules'|@translate}

    - -{if isset($INTRODUCTION) } -

    {$INTRODUCTION}

    -{/if} - -
      - - {if isset($search_words) } - {foreach from=$search_words item=v} -
    • {$v}
    • - {/foreach} - {/if} - - {if isset($SEARCH_TAGS_MODE) } -
    • -

      {if 'AND'==$SEARCH_TAGS_MODE}{'At least one tag must match'|@translate}{else}{'At least one tag must match'|@translate}{/if}

      -
        - {foreach from=$search_tags item=v} -
      • {$v}
      • - {/foreach} -
      -
    • - {/if} - - {if isset($DATE_CREATION) } -
    • {$DATE_CREATION}
    • - {/if} - - {if isset($DATE_AVAILABLE) } -
    • {$DATE_AVAILABLE}
    • - {/if} - - {if isset($search_categories) } -
    • -

      {'Categories'|@translate}

      - -
        - {foreach from=$search_categories item=v} -
      • {$v}
      • - {/foreach} -
      -
    • - {/if} - -
    - -
    - - 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 @@ -
    -
    - {if isset($U_SLIDESHOW_STOP) } - [ {'stop the slideshow'|@translate} ] - {/if} -
    -
    {$PHOTO}
    - {if $SHOW_PICTURE_NAME_ON_TITLE } -

    {$current.TITLE}

    - {/if} -
    - -
    - {include file='picture_nav_buttons.tpl'|@get_extent:'picture_nav_buttons'} -
    - -
    - {$ELEMENT_CONTENT} - {if isset($COMMENT_IMG)} -

    {$COMMENT_IMG}

    - {/if} -
    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 @@ -
    - -
    -
      - {if $display_mode == 'letters'} -
    • {'cloud'|@translate}
    • - {/if} - - {if $display_mode == 'cloud'} -
    • {'letters'|@translate}
    • - {/if} - -
    • {'Home'|@translate}
    • -
    -

    {'Tags'|@translate}

    -
    - -{if isset($tags)} - {if $display_mode == 'cloud'} -
    - {foreach from=$tags item=tag} - {$tag.name} - {/foreach} -
    - {/if} - - {if $display_mode == 'letters'} - - - - - -
    - {foreach from=$letters item=letter} -
    - {$letter.TITLE} - - {foreach from=$letter.tags item=tag} - - - - - {/foreach} -
    {$tag.name}{$pwg->l10n_dec('%d element', '%d elements', $tag.counter)}
    -
    - {if isset($letter.CHANGE_COLUMN) } -
    - {/if} - {/foreach} -
    - {/if} -{/if} - -
    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)} -
      -{foreach from=$thumbnails item=thumbnail} -
    • - - - - {$thumbnail.TN_ALT} - - - - {if isset($thumbnail.NAME)}{$thumbnail.NAME}{/if} - {if !empty($thumbnail.icon_ts)} - (!) - {/if} - {if isset($thumbnail.NB_COMMENTS)} - -
      - {$pwg->l10n_dec('%d comment', '%d comments',$thumbnail.NB_COMMENTS)} -
      - {/if} - - {if isset($thumbnail.NB_HITS)} - -
      - {$pwg->l10n_dec('%d hit', '%d hits',$thumbnail.NB_HITS)} -
      - {/if} -
      -
      -
    • -{/foreach} -
    -{/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'} -*} - -
    - -
    -
      -
    • {'Home'|@translate}
    • -
    -

    {'Upload a picture'|@translate}

    -
    - - {if !empty($errors)} -
    -
      - {foreach from=$errors item=error} -
    • {$error}
    • - {/foreach} -
    -
    - {/if} - - {if not $UPLOAD_SUCCESSFUL } -
    - - - - - - - - {if isset($SHOW_FORM_FIELDS) and $SHOW_FORM_FIELDS} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {/if} - - - -
    - -
    {'Category'|@translate} - {html_options name="category" options=$categories selected=$categories_selected} -
    {'Username'|@translate} * - -
    {'E-mail address'|@translate} * - -
    {'Name of the picture'|@translate} - -
    {'Author'|@translate} - -
    {'Creation date'|@translate} (DD/MM/YYYY) - -
    {'Comment'|@translate} - -
    - -
    -
    - {else} - {'Picture uploaded with success, an administrator will validate it as soon as possible'|@translate}
    -
    - [ {'Home'|@translate} ] -
    - {/if} - - {if isset($SHOW_FORM_FIELDS) and $SHOW_FORM_FIELDS} -
    * : {'obligatory'|@translate}
    - {/if} -
    -- cgit v1.2.3