Changeset 10824


Ignore:
Timestamp:
May 9, 2011, 5:04:15 PM (13 years ago)
Author:
mistic100
Message:

restore HOME links, change parameter name for remove menu on certain page

Location:
trunk
Files:
21 edited

Legend:

Unmodified
Added
Removed
  • trunk/about.php

    r10812 r10824  
    5252// include menubar
    5353$themeconf = $template->get_template_vars('themeconf');
    54 if (!isset($themeconf['Exclude']) OR !in_array('theAboutPage', $themeconf['Exclude']))
     54if (!isset($themeconf['hide_menu_on']) OR !in_array('theAboutPage', $themeconf['hide_menu_on']))
    5555{
    5656  include( PHPWG_ROOT_PATH.'include/menubar.inc.php');
  • trunk/comments.php

    r10812 r10824  
    531531// include menubar
    532532$themeconf = $template->get_template_vars('themeconf');
    533 if (!isset($themeconf['Exclude']) OR !in_array('theCommentsPage', $themeconf['Exclude']))
     533if (!isset($themeconf['hide_menu_on']) OR !in_array('theCommentsPage', $themeconf['hide_menu_on']))
    534534{
    535535  include( PHPWG_ROOT_PATH.'include/menubar.inc.php');
  • trunk/identification.php

    r10812 r10824  
    9999// include menubar
    100100$themeconf = $template->get_template_vars('themeconf');
    101 if (!isset($themeconf['Exclude']) OR !in_array('theIdentificationPage', $themeconf['Exclude']))
     101if (!isset($themeconf['hide_menu_on']) OR !in_array('theIdentificationPage', $themeconf['hide_menu_on']))
    102102{
    103103  include( PHPWG_ROOT_PATH.'include/menubar.inc.php');
  • trunk/nbm.php

    r10812 r10824  
    8181// include menubar
    8282$themeconf = $template->get_template_vars('themeconf');
    83 if (!isset($themeconf['Exclude']) OR !in_array('theNBMPage', $themeconf['Exclude']))
     83if (!isset($themeconf['hide_menu_on']) OR !in_array('theNBMPage', $themeconf['hide_menu_on']))
    8484{
    8585  include( PHPWG_ROOT_PATH.'include/menubar.inc.php');
  • trunk/notification.php

    r10812 r10824  
    8181// include menubar
    8282$themeconf = $template->get_template_vars('themeconf');
    83 if (!isset($themeconf['Exclude']) OR !in_array('theNotificationPage', $themeconf['Exclude']))
     83if (!isset($themeconf['hide_menu_on']) OR !in_array('theNotificationPage', $themeconf['hide_menu_on']))
    8484{
    8585  include( PHPWG_ROOT_PATH.'include/menubar.inc.php');
  • trunk/password.php

    r10812 r10824  
    156156// include menubar
    157157$themeconf = $template->get_template_vars('themeconf');
    158 if (!isset($themeconf['Exclude']) OR !in_array('thePasswordPage', $themeconf['Exclude']))
     158if (!isset($themeconf['hide_menu_on']) OR !in_array('thePasswordPage', $themeconf['hide_menu_on']))
    159159{
    160160  include( PHPWG_ROOT_PATH.'include/menubar.inc.php');
  • trunk/picture.php

    r10814 r10824  
    10431043// include menubar
    10441044$themeconf = $template->get_template_vars('themeconf');
    1045 if ($conf['picture_menu'] AND (!isset($themeconf['Exclude']) OR !in_array('theIdentificationPage', $themeconf['Exclude'])))
     1045if ($conf['picture_menu'] AND (!isset($themeconf['hide_menu_on']) OR !in_array('thePicturePage', $themeconf['hide_menu_on'])))
    10461046{
    10471047  include( PHPWG_ROOT_PATH.'include/menubar.inc.php');
  • trunk/profile.php

    r10812 r10824  
    8686  // include menubar
    8787  $themeconf = $template->get_template_vars('themeconf');
    88   if (!isset($themeconf['Exclude']) OR !in_array('theProfilePage', $themeconf['Exclude']))
     88  if (!isset($themeconf['hide_menu_on']) OR !in_array('theProfilePage', $themeconf['hide_menu_on']))
    8989  {
    9090    include( PHPWG_ROOT_PATH.'include/menubar.inc.php');
  • trunk/register.php

    r10812 r10824  
    9999// include menubar
    100100$themeconf = $template->get_template_vars('themeconf');
    101 if (!isset($themeconf['Exclude']) OR !in_array('theRegisterPage', $themeconf['Exclude']))
     101if (!isset($themeconf['hide_menu_on']) OR !in_array('theRegisterPage', $themeconf['hide_menu_on']))
    102102{
    103103  include( PHPWG_ROOT_PATH.'include/menubar.inc.php');
  • trunk/search.php

    r10812 r10824  
    231231// include menubar
    232232$themeconf = $template->get_template_vars('themeconf');
    233 if (!isset($themeconf['Exclude']) OR !in_array('theSearchPage', $themeconf['Exclude']))
     233if (!isset($themeconf['hide_menu_on']) OR !in_array('theSearchPage', $themeconf['hide_menu_on']))
    234234{
    235235  include( PHPWG_ROOT_PATH.'include/menubar.inc.php');
  • trunk/tags.php

    r10812 r10824  
    194194// include menubar
    195195$themeconf = $template->get_template_vars('themeconf');
    196 if (!isset($themeconf['Exclude']) OR !in_array('theTagsPage', $themeconf['Exclude']))
     196if (!isset($themeconf['hide_menu_on']) OR !in_array('theTagsPage', $themeconf['hide_menu_on']))
    197197{
    198198  include( PHPWG_ROOT_PATH.'include/menubar.inc.php');
  • trunk/themes/default/template/about.tpl

    r10812 r10824  
    22<div id="content" class="content">
    33  <div class="titrePage">
    4     <ul class="categoryActions"></ul>
     4    <ul class="categoryActions">
     5      <li><a href="{$U_HOME}" title="{'Home'|@translate}" class="pwg-state-default pwg-button">
     6        <span class="pwg-icon pwg-icon-home">&nbsp;</span><span class="pwg-button-text">{'Home'|@translate}</span>
     7      </a></li>
     8    </ul>
    59    <h2>{'About'|@translate}</h2>
    610  </div>
  • trunk/themes/default/template/comments.tpl

    r10812 r10824  
    33
    44<div class="titrePage">
    5         <ul class="categoryActions"></ul>
     5        <ul class="categoryActions">
     6                <li><a href="{$U_HOME}" title="{'Home'|@translate}" class="pwg-state-default pwg-button">
     7                        <span class="pwg-icon pwg-icon-home">&nbsp;</span><span class="pwg-button-text">{'Home'|@translate}</span>
     8                </a></li>
     9  </ul>
    610        <h2>{'User comments'|@translate}</h2>
    711</div>
  • trunk/themes/default/template/identification.tpl

    r10812 r10824  
    33
    44<div class="titrePage">
    5         <ul class="categoryActions"></ul>
     5        <ul class="categoryActions">
     6                <li><a href="{$U_HOME}" title="{'Home'|@translate}" class="pwg-state-default pwg-button">
     7                        <span class="pwg-icon pwg-icon-home">&nbsp;</span><span class="pwg-button-text">{'Home'|@translate}</span>
     8                </a></li>
     9  </ul>
    610        <h2>{'Identification'|@translate}</h2>
    711</div>
  • trunk/themes/default/template/nbm.tpl

    r10812 r10824  
    22<div id="content" class="content">
    33        <div class="titrePage">
    4                 <ul class="categoryActions"></ul>
     4                <ul class="categoryActions">
     5      <li><a href="{$U_HOME}" title="{'Home'|@translate}" class="pwg-state-default pwg-button">
     6        <span class="pwg-icon pwg-icon-home">&nbsp;</span><span class="pwg-button-text">{'Home'|@translate}</span>
     7      </a></li>
     8    </ul>
    59                <h2>{'Notification'|@translate}</h2>
    610        </div>
  • trunk/themes/default/template/notification.tpl

    r10812 r10824  
    88
    99  <div class="titrePage">
    10     <ul class="categoryActions"></ul>
     10    <ul class="categoryActions">
     11      <li><a href="{$U_HOME}" title="{'Home'|@translate}" class="pwg-state-default pwg-button">
     12        <span class="pwg-icon pwg-icon-home">&nbsp;</span><span class="pwg-button-text">{'Home'|@translate}</span>
     13      </a></li>
     14    </ul>
    1115    <h2>{'Notification'|@translate}</h2>
    1216  </div>
  • trunk/themes/default/template/password.tpl

    r10812 r10824  
    33
    44        <div class="titrePage">
    5                 <ul class="categoryActions"></ul>
     5                <ul class="categoryActions">
     6      <li><a href="{$U_HOME}" title="{'Home'|@translate}" class="pwg-state-default pwg-button">
     7        <span class="pwg-icon pwg-icon-home">&nbsp;</span><span class="pwg-button-text">{'Home'|@translate}</span>
     8      </a></li>
     9    </ul>
    610                <h2>{'Password forgotten'|@translate}</h2>
    711        </div>
  • trunk/themes/default/template/profile.tpl

    r10812 r10824  
    1313
    1414<div class="titrePage">
    15         <ul class="categoryActions"></ul>
     15        <ul class="categoryActions">
     16                <li><a href="{$U_HOME}" title="{'Home'|@translate}" class="pwg-state-default pwg-button">
     17                        <span class="pwg-icon pwg-icon-home">&nbsp;</span><span class="pwg-button-text">{'Home'|@translate}</span>
     18                </a></li>
     19  </ul>
    1620        <h2>{'Profile'|@translate}</h2>
    1721</div>
  • trunk/themes/default/template/register.tpl

    r10812 r10824  
    55
    66<div class="titrePage">
    7         <ul class="categoryActions"></ul>
     7        <ul class="categoryActions">
     8                <li><a href="{$U_HOME}" title="{'Home'|@translate}" class="pwg-state-default pwg-button">
     9                        <span class="pwg-icon pwg-icon-home">&nbsp;</span><span class="pwg-button-text">{'Home'|@translate}</span>
     10                </a></li>
     11  </ul>
    812        <h2>{'Registration'|@translate}</h2>
    913</div>
  • trunk/themes/default/template/search.tpl

    r10812 r10824  
    2424                                <span class="pwg-icon pwg-icon-help">&nbsp;</span><span class="pwg-button-text">{'Help'|@translate}</span>
    2525                        </a></li>
     26      <li><a href="{$U_HOME}" title="{'Home'|@translate}" class="pwg-state-default pwg-button">
     27        <span class="pwg-icon pwg-icon-home">&nbsp;</span><span class="pwg-button-text">{'Home'|@translate}</span>
     28      </a></li>
    2629                </ul>
    2730                <h2>{'Search'|@translate}</h2>
  • trunk/themes/default/template/tags.tpl

    r10812 r10824  
    1414                </a></li>
    1515{/if}
     16                <li><a href="{$U_HOME}" title="{'Home'|@translate}" class="pwg-state-default pwg-button">
     17                        <span class="pwg-icon pwg-icon-home">&nbsp;</span><span class="pwg-button-text">{'Home'|@translate}</span>
     18                </a></li>
    1619        </ul>
    1720        <h2>{'Tags'|@translate}</h2>
Note: See TracChangeset for help on using the changeset viewer.