Changeset 2278 for trunk/template


Ignore:
Timestamp:
Mar 13, 2008, 2:43:45 AM (16 years ago)
Author:
rvelices
Message:
  • changes to template to accomodate nbm (solved issue when we had same template filename with different root dirs)
  • started some changes in mail templates
Location:
trunk/template/yoga
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/template/yoga/mail/text/html/admin/cat_group_info.tpl

    r2222 r2278  
    1 <!-- DEV TAG: not smarty migrated -->
     1{* $Id$ *}
    22<div id="cat_group_info">
    3 <h2>{lang:Informations}</h2>
    4 <p>{IMG_URL}</p>
    5 <p>{lang:Hello,}</p>
    6 <p>{lang:Come to discover the category:} <a href="{LINK}">{CAT_NAME}</a></p>
    7 <p>{CPL_CONTENT}</p>
    8 <p>{lang:See you soon.}</p>
     3<h2>{'Informations'|@translate}</h2>
     4<p>{$IMG_URL}</p>
     5<p>{'Hello,'|@translate}</p>
     6<p>{'Come to discover the category:'|@translate} <a href="{$LINK}">{$CAT_NAME}</a></p>
     7<p>{$CPL_CONTENT}</p>
     8<p>{'See you soon.'|@translate}</p>
    99</div>
  • trunk/template/yoga/mail/text/html/footer.tpl

    r2222 r2278  
    1 <!-- DEV TAG: not smarty migrated -->
     1{* $Id$ *}
    22</div> <!-- content -->
    33<div id="copyright">
    4 <HR>
    5  <!-- Please, do not remove this copyright. If you really want to,
     4<hr/>
     5 {* Please, do not remove this copyright. If you really want to,
    66      contact us on http://phpwebgallery.net to find a solution on how
    7       to show the origin of the script...-->
     7      to show the origin of the script...*}
    88
    9   {lang:powered_by}
     9  {'powered_by'|@translate}
    1010  <a href="http://www.phpwebgallery.net" class="PWG">
    1111  <span class="P">Php</span><span class="W">Web</span><span class="G">Gallery</span></a>
    12   {VERSION}
    13   - {lang:send_mail}
    14   <a href="mailto:{MAIL}?subject={TITLE_MAIL}">{lang:Webmaster}</a>
     12  {$VERSION}
     13  - {'send_mail'|@translate}
     14  <a href="mailto:{$MAIL}?subject={$TITLE_MAIL}">{'Webmaster'|@translate}</a>
    1515
    1616</div> <!-- copyright -->
  • trunk/template/yoga/mail/text/html/global-mail-css.tpl

    r2222 r2278  
    1 <!-- DEV TAG: not smarty migrated -->
    2 /* $Id$ */
     1{* $Id$ *}
    32/* Global mail css */
    43/* Including like css style on HTML mail */
    54
    6 body{background-color:#fff;font-family: Univers, Helvetica, Optima;font-size:12px; margin:0px;padding:0px; color:#369;}
    7 #the_page {background: #fff url({pwg_root}template/{themeconf:template}/mail/text/html/images/mailbody-bg.png) repeat-y scroll left top;
     5body {ldelim}background-color:#fff;font-family: Univers, Helvetica, Optima;font-size:12px; margin:0px;padding:0px; color:#369;}
     6#the_page {ldelim}background: #fff url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/mailbody-bg.png) repeat-y scroll left top;
    87margin:0px;padding:0px;text-align: left;}
    9 #content {background: transparent url({pwg_root}template/{themeconf:template}/mail/text/html/images/header-bg.png) no-repeat scroll left top;
     8#content {ldelim}background: transparent url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/header-bg.png) no-repeat scroll left top;
    109margin:0px;padding:82px 0px 0px 62px; width:732px;}
    11 hr {width:632px;margin-left:0px;}
    12 #copyright {background: transparent url({pwg_root}template/{themeconf:template}/mail/text/html/images/footer-bg.png) no-repeat scroll left bottom;
     10hr {ldelim}width:632px;margin-left:0px;}
     11#copyright {ldelim}background: transparent url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/footer-bg.png) no-repeat scroll left bottom;
    1312color: #69c;font-size:10px;margin:0px;padding:98px 0px 62px 62px;}
    14 .PWG {font-family: verdana, sans-serif !important; font-size: 0.9em; font-weight: normal; letter-spacing: 0px;}
    15 h2 { background-color:#ddd;padding: 7px 15px; width:617px;font-weight:bold;}
    16 img { margin: 16px; border: 16px solid #aaa; -moz-border-radius: 4px; border-radius: 4px 4px; }
    17 img:hover { padding: 15px; border: 1px solid yellow; -moz-border-radius: 4px; border-radius: 4px 4px; }
    18 a { color: #005e89; background: transparent; }
    19 a:hover { color: #858460; text-decoration: none;}
     13.PWG {ldelim}font-family: verdana, sans-serif !important; font-size: 0.9em; font-weight: normal; letter-spacing: 0px;}
     14h2 {ldelim}background-color:#ddd;padding: 7px 15px; width:617px;font-weight:bold;}
     15img {ldelim}margin: 16px; border: 16px solid #aaa; -moz-border-radius: 4px; border-radius: 4px 4px; }
     16img:hover {ldelim}padding: 15px; border: 1px solid yellow; -moz-border-radius: 4px; border-radius: 4px 4px; }
     17a {ldelim}color: #005e89; background: transparent; }
     18a:hover {ldelim}color: #858460; text-decoration: none;}
  • trunk/template/yoga/mail/text/html/header.tpl

    r2222 r2278  
    1 <!-- DEV TAG: not smarty migrated -->
    2 -----={BOUNDARY_KEY}
    3 Content-Type: {CONTENT_TYPE}; charset="{CONTENT_ENCODING}";
     1{* $Id$ *}
     2-----={$BOUNDARY_KEY}
     3Content-Type: {$CONTENT_TYPE}; charset="{$CONTENT_ENCODING}";
    44Content-Transfer-Encoding: 8bit
    55
    66<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    7 <html lang="{LANG}" dir="{DIR}">
     7<html lang="{$LANG}" dir="{$DIR}">
    88<head>
    99<title>PhpWebGallery Mail</title>
    10 <meta http-equiv="Content-Type" content="text/html; charset={CONTENT_ENCODING}">
     10<meta http-equiv="Content-Type" content="text/html; charset={$CONTENT_ENCODING}">
    1111<style><!-- /* Mini style for mails */
    12 {GLOBAL_MAIL_CSS}
    13 {MAIL_CSS}
    14 {LOCAL_MAIL_CSS}
     12{if isset($GLOBAL_MAIL_CSS)}{$GLOBAL_MAIL_CSS}{/if}
     13{if isset($MAIL_CSS)}{$MAIL_CSS}{/if}
     14{if isset($LOCAL_MAIL_CSS)}{$LOCAL_MAIL_CSS}{/if}
    1515--></style>
    1616</head>
  • trunk/template/yoga/mail/text/plain/admin/cat_group_info.tpl

    r2222 r2278  
    1 <!-- DEV TAG: not smarty migrated -->
    2 {lang:Hello,}
     1{* $Id$ *}
     2{'Hello,'|@translate}
    33
    4 {lang:Come to discover the category:} {CAT_NAME}
    5 {LINK}
     4{'Come to discover the category:'|@translate} {$CAT_NAME}
     5{$LINK}
    66
    7 {CPL_CONTENT}
     7{$CPL_CONTENT}
    88
    9 {lang:See you soon.}
     9{'See you soon.'|@translate}
  • trunk/template/yoga/mail/text/plain/footer.tpl

    r2222 r2278  
    1 <!-- DEV TAG: not smarty migrated -->
     1{* $Id$ *}
    22
    33------------------------
    4 PhpWebGallery {VERSION}
     4PhpWebGallery {$VERSION}
  • trunk/template/yoga/mail/text/plain/header.tpl

    r2222 r2278  
    1 <!-- DEV TAG: not smarty migrated -->
    2 -----={BOUNDARY_KEY}
    3 Content-Type: {CONTENT_TYPE}; charset="{CONTENT_ENCODING}";
     1{* $Id$ *}
     2-----={$BOUNDARY_KEY}
     3Content-Type: {$CONTENT_TYPE}; charset="{$CONTENT_ENCODING}";
    44Content-Transfer-Encoding: 8bit
  • trunk/template/yoga/nbm.tpl

    r2222 r2278  
    1 <!-- DEV TAG: not smarty migrated -->
    2 <!-- $Id$ -->
     1{* $Id$ *}
    32
    43<div id="content">
    54  <div class="titrePage">
    65    <ul class="categoryActions">
    7       <li><a href="{U_HOME}" title="{lang:Go through the gallery as a visitor}"><img src="{themeconf:icon_dir}/home.png" class="button" alt="{lang:home}"/></a></li>
     6      <li><a href="{$U_HOME}" title="{'Go through the gallery as a visitor'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/></a></li>
    87    </ul>
    9     <h2>{lang:nbm_item_notification}</h2>
     8    <h2>{'nbm_item_notification'|@translate}</h2>
    109  </div>
    1110
    12   <!-- BEGIN errors -->
     11  {if not empty($errors)}
    1312  <div class="errors">
    1413    <ul>
    15       <!-- BEGIN error -->
    16       <li>{errors.error.ERROR}</li>
    17       <!-- END error -->
     14      {foreach from=$errors item=error}
     15      <li>{$error}</li>
     16      {/foreach}
    1817    </ul>
    1918  </div>
    20   <!-- END errors -->
     19  {/if}
    2120
    22   <!-- BEGIN infos -->
     21  {if not empty($infos)}
    2322  <div class="infos">
    2423    <ul>
    25       <!-- BEGIN info -->
    26       <li>{infos.info.INFO}</li>
    27       <!-- END info -->
     24      {foreach from=$infos item=info}
     25      <li>{$info}</li>
     26      {/foreach}
    2827    </ul>
    2928  </div>
    30   <!-- END infos -->
     29  {/if}
    3130
    3231</div>
Note: See TracChangeset for help on using the changeset viewer.