pedro_morgan
2007-08-19 7374887be781334d52b9ad5bf26c9035a971fe5a
interface/lib/app.inc.php
@@ -124,7 +124,7 @@
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td class="error"><b>Error:</b><br>'.$msg;
      if($next_link != "") $msg .= '<a href="'.$next_link.'">Next</a><br>';
      if($next_link != '') $msg .= '<a href="'.$next_link.'">Next</a><br>';
      $msg .= '</td>
</tr>
</table>
@@ -165,6 +165,8 @@
      }
      $this->tpl->setVar('app_title', $this->_conf['app_title']);
      $this->tpl->setVar('delete_confirmation', $this->lng('delete_confirmation'));
        //TODO: Silence this notice
        //print_r($_SESSION);
      $this->tpl->setVar('app_module', $_SESSION['s']['module']['name']);
      if(isset($_SESSION['s']['user']) && $_SESSION['s']['user']['typ'] == 'admin') {
         $this->tpl->setVar('is_admin', 1);