Ignore:
Timestamp:
Aug 23, 2009, 6:37:45 PM (15 years ago)
Author:
george
Message:
  • Přidáno: Doplněny další Controllery.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/Application/View/Debug.php

    r69 r72  
    2828  function ShowListOnRow($Row)
    2929  {
    30     $Row['Time'] = '<a href="?Action=DebugView&amp;Id='.$Row['Id'].'&amp;Show=Backtrace">'.str_replace(' ', '&nbsp;', $Row['Time']).'</a>';
     30    $Row['Time'] = '<a href="?Module=Debug&amp;Action=View&amp;Id='.$Row['Id'].'&amp;Show=Backtrace">'.str_replace(' ', '&nbsp;', $Row['Time']).'</a>';
    3131    $Row['Uptime'] = TimeToHumanTime($Row['Uptime']);
    3232    return($Row);
     
    6969   
    7070    $MangosDebug = new MangosDebug($this->Database, $this->System);
    71     $Form = new Form($this->ItemFormClass);
     71    $Form = new Form($this->System, $this->ItemFormClass);
    7272    if($Form->LoadValuesFromDatabase($_GET['Id']))
    7373    {
     
    7575        $Output .= $Form->ShowTable();
    7676     
    77         $Output .= '<a href="?Action=DebugView&amp;Id='.$_GET['Id'].'&amp;Show=Backtrace">Backtrace</a>'.
    78           '  <a href="?Action=DebugView&amp;Id='.$_GET['Id'].'&amp;Show=Log">Mangos log</a>'.
    79           '  <a href="?Action=DebugView&amp;Id='.$_GET['Id'].'&amp;Show=Error">Console error log</a>'.
    80           '  <a href="?Action=DebugView&amp;Id='.$_GET['Id'].'&amp;Show=DbErrors">Database error log</a>'.
    81           '  <a href="?Action=DebugView&amp;Id='.$_GET['Id'].'&amp;Show=Configuration">Mangos configuration</a>'.
     77        $Output .= '<a href="?Module=Debug&amp;Action=View&amp;Id='.$_GET['Id'].'&amp;Show=Backtrace">Backtrace</a>'.
     78          '  <a href="?Module=Debug&amp;Action=View&amp;Id='.$_GET['Id'].'&amp;Show=Log">Mangos log</a>'.
     79          '  <a href="?Module=Debug&amp;Action=View&amp;Id='.$_GET['Id'].'&amp;Show=Error">Console error log</a>'.
     80          '  <a href="?Module=Debug&amp;Action=View&amp;Id='.$_GET['Id'].'&amp;Show=DbErrors">Database error log</a>'.
     81          '  <a href="?Module=Debug&amp;Action=View&amp;Id='.$_GET['Id'].'&amp;Show=Configuration">Mangos configuration</a>'.
    8282          '<hr>';
    8383        if(array_key_exists('Show', $_GET))
Note: See TracChangeset for help on using the changeset viewer.