Changeset 1300 for branches


Ignore:
Timestamp:
May 5, 2006, 10:09:51 PM (18 years ago)
Author:
nikrou
Message:

html bug fixed: the sentence "mod adviser enabled" must be add in the page!
svn merge -r1298:1299 from trunk

Location:
branches/branch-1_6
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/branch-1_6/include/common.inc.php

    r1282 r1300  
    209209  );
    210210
    211 if (is_adviser())
    212 {
    213   ob_start();// buffer output so that cookies work
    214   echo '
    215   <div class="titrePage">
    216     <h2>
    217       <div style="text-align:center;">'.$lang['adviser_mode_enabled'].'
    218       </div>
    219     </h2>
    220   </div>
    221   ';
    222 }
    223 
    224211// template instance
    225212$template = new Template(PHPWG_ROOT_PATH.'template/'.$user['template']);
  • branches/branch-1_6/include/page_header.php

    r1291 r1300  
    5757    ));
    5858
     59if (is_adviser())
     60{
     61  $template->assign_vars(
     62    array(
     63      'ADVISER_ENABLED' => $lang['adviser_mode_enabled']
     64      )
     65    );
     66}
     67
     68
    5969// refresh
    6070if ( isset( $refresh ) and intval($refresh) >= 0 and isset( $url_link ) and isset( $redirect_msg ) )
  • branches/branch-1_6/template/yoga/header.tpl

    r1219 r1300  
    3030<body id="{BODY_ID}">
    3131<div id="the_page">
     32  <div class="titrePage">
     33    <h2 style="text-align:center">{ADVISER_ENABLED}</h2>
     34  </div>
    3235
    3336{PAGE_BANNER}
Note: See TracChangeset for help on using the changeset viewer.