plugins/SpecialLog.php
changeset 905 1e40b33f2e3e
parent 901 99ea0b0ac4be
child 909 94c1ff984286
equal deleted inserted replaced
904:10076b28194b 905:1e40b33f2e3e
    46   
    46   
    47   if ( $params = explode('/', $paths->getAllParams()) )
    47   if ( $params = explode('/', $paths->getAllParams()) )
    48   {
    48   {
    49     foreach ( $params as $param )
    49     foreach ( $params as $param )
    50     {
    50     {
    51       if ( preg_match('/^(user|page|within|resultpage|size)=(.+?)$/', $param, $match) )
    51       if ( preg_match('/^([a-z]+)=(.+?)$/', $param, $match) )
    52       {
    52       {
    53         $name =& $match[1];
    53         $name =& $match[1];
    54         $value =& $match[2];
    54         $value =& $match[2];
    55         switch($name)
    55         switch($name)
    56         {
    56         {
    80   foreach ( $dataset as $row )
    80   foreach ( $dataset as $row )
    81   {
    81   {
    82     echo LogDisplay::render_row($row) . '<br />';
    82     echo LogDisplay::render_row($row) . '<br />';
    83   }
    83   }
    84   $output->footer();
    84   $output->footer();
    85 } 
    85 }
       
    86