Changeset 1299


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

html bug fixed: the sentence "mod adviser enabled" must be add in the page!

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/common.inc.php

    r1284 r1299  
    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']);
  • trunk/include/page_header.php

    r1290 r1299  
    5353    ));
    5454
     55if (is_adviser())
     56{
     57  $template->assign_vars(
     58    array(
     59      'ADVISER_ENABLED' => $lang['adviser_mode_enabled']
     60      )
     61    );
     62}
     63
     64
    5565// refresh
    5666if ( isset( $refresh ) and intval($refresh) >= 0 and isset( $url_link ) and isset( $redirect_msg ) )
  • trunk/template/yoga/header.tpl

    r1218 r1299  
    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.