Changeset 960


Ignore:
Timestamp:
Dec 3, 2005, 6:33:38 PM (18 years ago)
Author:
chrisaga
Message:

improve template : split theme from template itself

rest of the job : template (yoga), themes (clear dark), and php to handle them

Location:
trunk
Files:
12 added
26 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/cat_list.php

    r869 r960  
    299299foreach ($categories as $category)
    300300{
    301   $images_folder = PHPWG_ROOT_PATH.'template/';
    302   $images_folder.= $user['template'].'/admin/images';
     301  // TODO : not used anymore ?
     302  //$images_folder = PHPWG_ROOT_PATH.'template/';
     303  //$images_folder.= $user['template'].'/admin/images';
    303304 
    304305  $base_url = PHPWG_ROOT_PATH.'admin.php?page=';
  • trunk/admin/configuration.php

    r882 r960  
    244244    $blockname = 'default.template_option';
    245245
    246     foreach (get_templates() as $pwg_template)
     246    foreach (get_themes() as $pwg_template)
    247247    {
    248248      if (isset($_POST['submit']))
  • trunk/admin/user_list.php

    r931 r960  
    585585$blockname = 'template_option';
    586586
    587 foreach (get_templates() as $pwg_template)
     587foreach (get_themes() as $pwg_template)
    588588{
    589589  if (isset($_POST['pref_submit']))
  • trunk/include

    • Property svn:ignore
      •  

        old new  
        11mysql.inc.php
         2config_local.inc.php
  • trunk/include/common.inc.php

    r953 r960  
    221221}
    222222
     223// include template/theme configuration
     224list($user['template'], $user['theme']) = explode('/', $user['template']);
     225// TODO : replace initial $user['template'] by $user['layout']
     226
     227include(PHPWG_ROOT_PATH.'template/'.$user['template'].'/theme/'.$user['theme'].'/themeconf.inc.php');
     228
    223229// template instance
    224230$template = new Template(PHPWG_ROOT_PATH.'template/'.$user['template']);
  • trunk/include/functions.inc.php

    r894 r960  
    534534
    535535/**
    536  * returns available templates
     536 * returns available templates/themes
    537537 */
    538538function get_templates()
    539539{
    540   return get_dirs(PHPWG_ROOT_PATH.'template');
     540  return get_dirs(PHPWG_ROOT_PATH.'theme');
     541}
     542function get_themes()
     543{
     544  $themes = array();
     545
     546  foreach (get_dirs(PHPWG_ROOT_PATH.'template') as $template)
     547  {
     548    foreach (get_dirs(PHPWG_ROOT_PATH.'template/'.$template.'/theme') as $theme)
     549    {
     550      array_push($themes, $template.'/'.$theme);
     551    }
     552  }
     553
     554  return $themes;
    541555}
    542556
     
    566580  else
    567581  {
    568     $src = PHPWG_ROOT_PATH;
    569     $src.= 'template/'.$user['template'].'/mimetypes/';
     582    $src = get_themeconf('mime_icon_dir');
    570583    $src.= strtolower(get_extension($path)).'.png';
    571584  }
     
    727740  return isset($lang[$key]) ? $lang[$key] : $key;
    728741}
     742
     743/**
     744 * returns the corresponding value from $themeconf if existing. Else, the key is
     745 * returned
     746 *
     747 * @param string key
     748 * @return string
     749 */
     750function get_themeconf($key)
     751{
     752  global $themeconf;
     753
     754  return $themeconf[$key];
     755}
    729756?>
  • trunk/include/functions_html.inc.php

    r948 r960  
    4444  if ( $diff < $user['recent_period'] * $day_in_seconds )
    4545  {
    46     $icon_url = './template/'.$user['template'].'/theme/';
    47     $icon_url.= 'recent.png';
     46    $icon_url = get_themeconf('icon_dir').'/recent.png';
    4847    $title .= $user['recent_period'];
    4948    $title .=  '&nbsp;'.$lang['days'];
  • trunk/include/template.php

    r858 r960  
    331331      // PWG specific : communication between template and $lang
    332332      $code = preg_replace('/\{lang:([^}]+)\}/e', "l10n('$1')", $code);
     333      // PWG specific : expand themeconf.inc.php variables
     334      $code = preg_replace('/\{themeconf:([^}]+)\}/e', "get_themeconf('$1')", $code);
    333335           
    334336      // replace \ with \\ and then ' with \'.
  • trunk/picture.php

    r934 r960  
    197197  $file_wo_ext = get_filename_wo_extension($row['file']);
    198198
    199   $icon = PHPWG_ROOT_PATH.'template/'.$user['template'].'/mimetypes/';
     199  $icon = get_themeconf('mime_icon_dir');
    200200  $icon.= strtolower(get_extension($row['file'])).'.png';
    201201
     
    610610      'favorite',
    611611      array(
    612         'FAVORITE_IMG' => PHPWG_ROOT_PATH.'template/'.$user['template'].'/theme/favorite.png',
     612        'FAVORITE_IMG' => get_themeconf('icon_dir').'/favorite.png',
    613613        'FAVORITE_HINT' =>$lang['add_favorites_hint'],
    614614        'FAVORITE_ALT' =>$lang['add_favorites_alt'],
     
    625625      'favorite',
    626626      array(
    627         'FAVORITE_IMG' => PHPWG_ROOT_PATH.'template/'.$user['template'].'/theme/del_favorite.png',
     627        'FAVORITE_IMG' => get_themeconf('icon_dir').'/del_favorite.png',
    628628        'FAVORITE_HINT' =>$lang['del_favorites_hint'],
    629629        'FAVORITE_ALT' =>$lang['del_favorites_alt'],
  • trunk/profile.php

    r902 r960  
    206206$blockname = 'template_option';
    207207
    208 foreach (get_templates() as $pwg_template)
     208foreach (get_themes() as $pwg_template)
    209209{
    210210  if (isset($_POST['submit']))
  • trunk/template/yoga/about.tpl

    r948 r960  
    11<div id="content">
    2 
    32  <div class="titrePage">
    43    <ul class="categoryActions">
    5       <li><a href="{U_HOME}" title="{lang:return to homepage}"><img src="./template/yoga/theme/home.png" class="button" alt="{lang:home}"/></a></li>
     4      <li>
     5        <a href="{U_HOME}" title="{lang:return to homepage}">
     6          <img src="{themeconf:icon_dir}/home.png" class="button" alt="{lang:home}"/>
     7        </a>
     8      </li>
    69    </ul>
    710    <h2>{lang:About}</h2>
  • trunk/template/yoga/category.tpl

    r949 r960  
    105105      <li>&nbsp;</li>
    106106      <!-- BEGIN caddie -->
    107       <li><a href="{caddie.URL}" title="{lang:add to caddie}"><img src="./template/yoga/theme/caddie_add.png" class="button" alt="{lang:caddie}"/></a></li>
     107      <li><a href="{caddie.URL}" title="{lang:add to caddie}"><img src="{themeconf:icon_dir}/caddie_add.png" class="button" alt="{lang:caddie}"/></a></li>
    108108      <!-- END caddie -->
    109109      <!-- BEGIN edit -->
    110       <li><a href="{edit.URL}" title="{lang:edit category informations}"><img src="./template/yoga/theme/category_edit.png" class="button" alt="{lang:edit}"/></a></li>
     110      <li><a href="{edit.URL}" title="{lang:edit category informations}"><img src="{themeconf:icon_dir}/category_edit.png" class="button" alt="{lang:edit}"/></a></li>
    111111      <!-- END edit -->
    112112    </ul>
  • trunk/template/yoga/comments.tpl

    r948 r960  
    44  <div class="titrePage">
    55    <ul class="categoryActions">
    6       <li><a href="{U_HOME}" title="{lang:return to homepage}"><img src="./template/yoga/theme/home.png" class="button" alt="{lang:home}"/></a></li>
     6      <li><a href="{U_HOME}" title="{lang:return to homepage}"><img src="{themeconf:icon_dir}/home.png" class="button" alt="{lang:home}"/></a></li>
    77    </ul>
    88    <h2>{lang:User comments}</h2>
  • trunk/template/yoga/content.css

    r952 r960  
    11/* $Id$ */
    22#content {
    3     margin-left: 24em;
    43    margin-right: 1em;
    54    margin-bottom: 1em; /* when it's longer than menu bar */
    6 }
    7 BODY#theAdminPage #content {
    8     margin-left: 14em;
    95}
    106
     
    2218}
    2319
    24 #content H2 {
     20#content H2, H3 {
    2521    margin-bottom: 1ex;
    2622}
    2723
    2824#content H3 {
    29     margin-bottom: 1ex;
     25    text-align: center;
    3026}
    3127
    3228/* Thumbnails customization */
    33 #content UL.thumbnails SPAN, #content UL.thumbnails SPAN.wrap2 A {
    34   width: 140px;                 /* max thumbnail width + 2px */
    35 }
    36 #content UL.thumbnails SPAN.wrap2 {
    37   height: 140px;                /* max thumbnail height + 2px */
    38 }
    39 #content UL.thumbnails SPAN.wrap2 {
    40   border: 1px solid #aaaaaa;    /* thumbnails border color and style */
    41   -moz-border-radius: 4px;      /* round corners with Geko */
    42   border-radius: 4px 4px;       /* round corners with CSS3 compliant browsers */
    43 }
    44 #content UL.thumbnails SPAN.wrap2:hover {
    45   border-color: yellow;         /* thumbnails border color when mouse cursor is over it */
    46 }
    4729#content UL.thumbnails SPAN.thumbLegend {
    4830  font-size: 80%;               /* font size */
    4931  height: 3em;                  /* max legend height (don't set auto to be Geko friendly)*/
    50   display: block;               /* display: none; if you don't want legend */
    5132  overflow: hidden;             /* oversized legend is clipped */
    5233}
     
    180161
    181162#content DIV.comment BLOCKQUOTE {
    182   margin: 1em 0.5em 0.5em 150px; /* margin-left corresponds to maximum thumbnail width + ~10px */
     163  margin-top: 1em;
     164  margin-right: 0.5em;
     165  margin-bottom: 150px;
    183166  padding: 0.5em;
    184167}
  • trunk/template/yoga/default-colors.css

    r952 r960  
    1 BODY {
    2         color:#696969; /* dimgray */
    3     /*color:#111111;*/
    4     background: #ffffff;
    5 }
     1/* $Id$ */
    62
    7 H1 {
    8     color: #696969;
    9     background: transparent;
    10 }
    11 
    12 H2 {
    13     color: #696969;
    14     background: #d3d3d3;
    15 }
    16 
    17 H3 {
    18     color: #696969;
    19     background: #ffffff;
    20 }
    21 
    22 A {
    23     color: #005e89;
    24     background: transparent;
    25 }
    26 
    27 A:hover {
    28     color: #858460;
    29 }
    30 
    31 
     3/* others */
    324.pleaseNote {
    335    background: #9c9c9c;
     
    379}
    3810
    39 #imageHeaderBar {
    40     background: #d3d3d3;
    41 }
    42 #imageToolBar {
    43     background: #eeeeee;
    44     border: 1px solid #d3d3d3;
    45 }
    4611#imageToolBar * {
    4712    background: inherit;
    48 }
    49 
    50 #imageToolBar A, #imageToolBar A:hover {
    51     border-bottom: none;
    52 }
    53 #imageToolBar A:hover {
    54     background: #d3d3d3;
    55 }
    56 
    57 #theImage IMG {
    58     border: 3px solid #d3d3d3;
    59 }
    60 A.navThumb, A.navThumb:hover {
    61     border-bottom: none;
    62 }
    63 
    64 
    65 #content {
    66     border: 1px solid #d3d3d3;
    67     background:#eeeeee;
    68 }
    69 
    70 #content H3 {
    71     text-align: center;
    72 }
    73 
    74 #content UL.thumbnail IMG {
    75     border: 1px solid #a0a0a0;
    7613}
    7714
     
    8421}
    8522
    86 
    87 #menubar DL {
    88     border: 1px solid #d3d3d3;
    89     background: #eeeeee;
    90 }
    91 
    92 #menubar DT {
    93     color: #696969;
    94     background: #d3d3d3;
    95 }
    96 
    97 #menubar DD {
    98     background:#eeeeee;
    99 }
    100 
    101 /* User comments */
    102 #content DIV.comment {
    103   border: 1px solid gray;
    104 }
    105 
    106 #content DIV.comment  A.illustration IMG {
    107   border: 1px solid gray;
    108 }
    109 
    110 #comments DIV.comment BLOCKQUOTE {
    111     border: 1px solid #d3d3d3;
    112     border-left: 2px solid #696969;
    113 }
    114 
    11523/* Tables & forms */
    116 .throw {
    117         background-color:white;
    118 }
    11924input, select, textarea {
    12025        color:black;
    121         background-color: lightgrey;
    122         border: 1px solid gray;
     26        background-color: #d3d3d3;      /* lightgrey */
    12327}
    12428
     
    13034  margin: 5px;
    13135  border: 1px solid red;
    132   background-image: url(admin/images/errors.png);
     36  background-image: url(../../template-common/icons/admin/errors.png);
    13337  background-repeat: no-repeat;
    13438  background-position: top right;
     
    14751  text-align: left;
    14852  background-color: palegreen;
    149   background-image: url(admin/images/infos.png);
     53  background-image: url(../../template-common/icons/admin/infos.png);
    15054  background-repeat: no-repeat;
    15155  background-position: top right;
     
    15357  font-weight: bold;
    15458  margin: 5px;
    155   border:1px solid gray;
    15659  padding: 10px 50px 10px 10px;
    15760}
     
    16063  font-style: italic;
    16164}
    162 
    163 FIELDSET {
    164   border: 1px solid gray;
    165 }
  • trunk/template/yoga/default-layout.css

    r948 r960  
    44@import "image.css";
    55@import "popuphelp.css";
     6@import "../../template-common/default-layout.css";
    67
    78/* $Id$ */
  • trunk/template/yoga/header.tpl

    r917 r960  
    55<meta http-equiv="Content-Type" content="text/html; charset={CONTENT_ENCODING}">
    66<!-- BIG FIX ME BELOW (paths) -->
    7 <link rel="stylesheet" type="text/css" href="template/yoga/default-layout.css">
    8 <link rel="stylesheet" type="text/css" href="template/yoga/default-colors.css">
     7<link rel="stylesheet" type="text/css" href="template/{themeconf:template}/default-layout.css">
    98<!-- the next css is used to fix khtml (Konqueror/Safari) issue
    10 the "text/nonsense" prevents geko based browsers to load it -->
    11 <link rel="stylesheet" type="text/nonsense" href="template/yoga/fix-khtml.css">
    12 <link rel="stylesheet" type="text/css" media="print" href="template/yoga/print.css">
    13 <!-- AN OTHER FIX ME -->
    14 <style type="text/css">
    15 .notDoneYet {
    16         background: yellow;
    17         color: red;
    18 }
    19 </style>
     9the "text/nonsense" prevents gecko based browsers to load it -->
     10<link rel="stylesheet" type="text/nonsense" href="template/{themeconf:template}/fix-khtml.css">
     11<link rel="stylesheet" type="text/css" media="print" href="template/{themeconf:template}/print.css">
     12<link rel="stylesheet" type="text/css" href="template/{themeconf:template}/default-colors.css">
     13<link rel="stylesheet" type="text/css" href="template/{themeconf:template}/theme/{themeconf:theme}/theme.css">
    2014<!-- BEGIN refresh -->
    2115<meta http-equiv="refresh" content="{REFRESH_TIME};url={U_REFRESH}">
  • trunk/template/yoga/identification.tpl

    r948 r960  
    44  <div class="titrePage">
    55    <ul class="categoryActions">
    6       <li><a href="{U_LOST_PASSWORD}" title="{lang:Forgot your password?}"><img src="template/yoga/theme/lost_password.png" class="button" alt="{lang:Forgot your password?}"></a></li>
    7       <li><a href="{U_REGISTER}" title="{lang:Create a new account}"><img src="./template/yoga/theme/register.png" class="button" alt="{lang:register}"/></a></li>
    8       <li><a href="{U_HOME}" title="{lang:Go through the gallery as a visitor}"><img src="./template/yoga/theme/home.png" class="button" alt="{lang:home}"/></a></li>
     6      <li><a href="{U_LOST_PASSWORD}" title="{lang:Forgot your password?}"><img src="{themeconf:icon_dir}/lost_password.png" class="button" alt="{lang:Forgot your password?}"></a></li>
     7      <li><a href="{U_REGISTER}" title="{lang:Create a new account}"><img src="{themeconf:icon_dir}/register.png" class="button" alt="{lang:register}"/></a></li>
     8      <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>
    99    </ul>
    1010    <h2>{lang:Identification}</h2>
     
    4949 
    5050  <p>
    51     <a href="{U_REGISTER}"><img src="template/yoga/theme/register.png" class="button" alt=""> {L_REGISTER}</a>
    52     <a href="{U_LOST_PASSWORD}"><img src="template/yoga/theme/lost_password.png" class="button" alt=""> {lang:Forgot your password?}</a>
     51    <a href="{U_REGISTER}"><img src="{themeconf:icon_dir}/register.png" class="button" alt=""> {L_REGISTER}</a>
     52    <a href="{U_LOST_PASSWORD}"><img src="{themeconf:icon_dir}/lost_password.png" class="button" alt=""> {lang:Forgot your password?}</a>
    5353  </p>
    5454
  • trunk/template/yoga/menubar.css

    r876 r960  
    11#menubar {
    2     /* Do not put font-size: 90% here for it makes it harder to have correct
    3        margin for contentarea */
    42    float: left;
    5     left: 0px;
    6 
    7     width: 22em;
    83    margin: 0 0 10px 1em;
    94    padding: 0;
     
    127    display: inline;
    138    text-align: left; /* follow-up of the "be nice to IE5" rule */
    14 }
    15 
    16 BODY#theAdminPage #menubar {
    17     width: 12em;
    189}
    1910
     
    2516#menubar DT {
    2617    font-weight: bold; /* default for h2 */
    27 
    2818    margin: 0;
    2919    padding: 5px 10px;
    3020    font-size: 120%;
    31 
    3221    text-align: center;
    3322}
  • trunk/template/yoga/notification.tpl

    r948 r960  
    33  <div class="titrePage">
    44    <ul class="categoryActions">
    5       <li><a href="{U_HOME}" title="{lang:return to homepage}"><img src="./template/yoga/theme/home.png" class="button" alt="{lang:home}"/></a></li>
     5      <li><a href="{U_HOME}" title="{lang:return to homepage}"><img src="{themeconf:icon_dir}/home.png" class="button" alt="{lang:home}"/></a></li>
    66    </ul>
    77    <h2>{lang:Notification}</h2>
  • trunk/template/yoga/password.tpl

    r948 r960  
    44  <div class="titrePage">
    55    <ul class="categoryActions">
    6       <li><a href="{U_HOME}" title="{lang:Go through the gallery as a visitor}"><img src="./template/yoga/theme/home.png" class="button" alt="{lang:home}"/></a></li>
     6      <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>
    77    </ul>
    88    <h2>{lang:Password forgotten}</h2>
  • trunk/template/yoga/picture.tpl

    r950 r960  
    1515
    1616<div class="randomButtons">
    17   <a href="{U_SLIDESHOW}" title="{L_SLIDESHOW}"><img src="template/yoga/theme/slideshow.png" class="button" alt="{L_SLIDESHOW}"></a>
    18   <a href="{U_METADATA}" title="{L_PICTURE_METADATA}"><img src="template/yoga/theme/metadata.png" class="button" alt="{L_PICTURE_METADATA}"></a>
     17  <a href="{U_SLIDESHOW}" title="{L_SLIDESHOW}"><img src="{themeconf:icon_dir}/slideshow.png" class="button" alt="{L_SLIDESHOW}"></a>
     18  <a href="{U_METADATA}" title="{L_PICTURE_METADATA}"><img src="{themeconf:icon_dir}/metadata.png" class="button" alt="{L_PICTURE_METADATA}"></a>
    1919<!-- BEGIN representative -->
    20   <a href="{representative.URL}" title="{lang:set as category representative}"><img src="template/yoga/theme/representative.png" class="button" alt="{lang:representative}" /></a>
     20  <a href="{representative.URL}" title="{lang:set as category representative}"><img src="{themeconf:icon_dir}/representative.png" class="button" alt="{lang:representative}" /></a>
    2121<!-- END representative -->
    2222<!-- BEGIN favorite -->
     
    2424<!-- END favorite -->
    2525<!-- BEGIN download -->
    26   <a href="{download.U_DOWNLOAD}" title="{L_DOWNLOAD}"><img src="template/yoga/theme/save.png" class="button" alt="{L_DOWNLOAD}"></a>
     26  <a href="{download.U_DOWNLOAD}" title="{L_DOWNLOAD}"><img src="{themeconf:icon_dir}/save.png" class="button" alt="{L_DOWNLOAD}"></a>
    2727<!-- END download -->
    2828<!-- BEGIN admin -->
    29   <a href="{U_ADMIN}" title="{L_ADMIN}"><img src="template/yoga/theme/preferences.png" class="button" alt="{L_ADMIN}"></a>
     29  <a href="{U_ADMIN}" title="{L_ADMIN}"><img src="{themeconf:icon_dir}/preferences.png" class="button" alt="{L_ADMIN}"></a>
    3030<!-- END admin -->
    3131<!-- BEGIN caddie -->
    32   <a href="{caddie.URL}" title="{lang:add to caddie}"><img src="./template/yoga/theme/caddie_add.png" class="button" alt="{lang:caddie}"/></a>
     32  <a href="{caddie.URL}" title="{lang:add to caddie}"><img src="{themeconf:icon_dir}/caddie_add.png" class="button" alt="{lang:caddie}"/></a>
    3333<!-- END caddie -->
    3434</div>
     
    3636<div class="navButtons">
    3737<!-- BEGIN next -->
    38   <a class="navButton next" href="{next.U_IMG}" title="{L_NEXT_IMG}{next.TITLE_IMG}"><img src="template/yoga/theme/right.png" class="button" alt="next"></a>
     38  <a class="navButton next" href="{next.U_IMG}" title="{L_NEXT_IMG}{next.TITLE_IMG}"><img src="{themeconf:icon_dir}/right.png" class="button" alt="next"></a>
    3939<!-- END next -->
    40   <a class="navButton up" href="{U_UP}" title="{L_UP_HINT}"><img src="template/yoga/theme/up.png" class="button" alt="{L_UP_ALT}"></a>
     40  <a class="navButton up" href="{U_UP}" title="{L_UP_HINT}"><img src="{themeconf:icon_dir}/up.png" class="button" alt="{L_UP_ALT}"></a>
    4141<!-- BEGIN previous -->
    42   <a class="navButton prev" href="{previous.U_IMG}" title="{L_PREV_IMG}{previous.TITLE_IMG}"><img src="template/yoga/theme/left.png" class="button" alt="previous"></a>
     42  <a class="navButton prev" href="{previous.U_IMG}" title="{L_PREV_IMG}{previous.TITLE_IMG}"><img src="{themeconf:icon_dir}/left.png" class="button" alt="previous"></a>
    4343<!-- END previous -->
    4444</div>
     
    165165  <p class="userCommentDelete">
    166166  <a href="{comments.comment.delete.U_COMMENT_DELETE}" title="{L_DELETE_COMMENT}">
    167     <img src="template/yoga/theme/delete.png" class="button" style="border:none;vertical-align:middle; margin-left:5px;" alt="[{L_DELETE}]"/>
     167    <img src="{themeconf:icon_dir}/delete.png" class="button" style="border:none;vertical-align:middle; margin-left:5px;" alt="[{L_DELETE}]"/>
    168168  </a>
    169169  </p>
  • trunk/template/yoga/popuphelp.tpl

    r948 r960  
    33</div> <!-- content -->
    44
    5 <p id="pageBottomActions"><a href="#" onclick="window.close();" title="{lang:Close this window}"><img src="template/yoga/theme/exit.png" class="button" alt="close"></a></p>
     5<p id="pageBottomActions"><a href="#" onclick="window.close();" title="{lang:Close this window}"><img src="{themeconf:icon_dir}/exit.png" class="button" alt="close"></a></p>
  • trunk/template/yoga/profile.tpl

    r948 r960  
    1313  <div class="titrePage">
    1414    <ul class="categoryActions">
    15       <li><a href="{U_RETURN}" title="{lang:return to homepage}"><img src="./template/yoga/theme/home.png" class="button" alt="{lang:home}"/></a></li>
     15      <li><a href="{U_RETURN}" title="{lang:return to homepage}"><img src="{themeconf:icon_dir}/home.png" class="button" alt="{lang:home}"/></a></li>
    1616    </ul>
    1717    <h2>{lang:Profile}</h2>
  • trunk/template/yoga/register.tpl

    r948 r960  
    55  <div class="titrePage">
    66    <ul class="categoryActions">
    7       <li><a href="{U_HOME}" title="{lang:return to homepage}"><img src="./template/yoga/theme/home.png" class="button" alt="{lang:home}"/></a></li>
     7      <li><a href="{U_HOME}" title="{lang:return to homepage}"><img src="{themeconf:icon_dir}/home.png" class="button" alt="{lang:home}"/></a></li>
    88    </ul>
    99    <h2>{lang:Registration}</h2>
  • trunk/template/yoga/search.tpl

    r948 r960  
    33  <div class="titrePage">
    44    <ul class="categoryActions">
    5       <li><a href="{U_HELP}" onclick="popuphelp(this.href); return false;" title="{lang:Help}"><img src="template/yoga/theme/help.png" class="button" alt="(?)"></a></li>
    6       <li><a href="{U_HOME}" title="{lang:return to homepage}"><img src="./template/yoga/theme/home.png" class="button" alt="{lang:home}"/></a></li>
     5      <li><a href="{U_HELP}" onclick="popuphelp(this.href); return false;" title="{lang:Help}"><img src="{themeconf:icon_dir}/help.png" class="button" alt="(?)"></a></li>
     6      <li><a href="{U_HOME}" title="{lang:return to homepage}"><img src="{themeconf:icon_dir}/home.png" class="button" alt="{lang:home}"/></a></li>
    77    </ul>
    88    <h2>{lang:Search}</h2>
Note: See TracChangeset for help on using the changeset viewer.