Changeset 909 for trunk/admin


Ignore:
Timestamp:
Oct 22, 2005, 3:42:23 PM (19 years ago)
Author:
plg
Message:
  • bug fixed: link on a single day in Administration>General>History was missing
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/stats.php

    r904 r909  
    6565  $url_back = add_session_id($url_back);
    6666  $title_details='<a href='.$url_back.'>'.$lang['stats_day_title'].'</a>';
    67   $title_day=$lang['stats_day_details_title']." ".$date_of_day;
     67  $title_day = $date_of_day;
    6868}
    6969elseif ( isset($_GET['month']) && isset($_GET['year']) )
     
    130130    AND MONTH(date) = '.$row['m'].'
    131131    AND YEAR(date) = '.$row['y'];
    132     $week_day = $lang['day'][date('w', mktime(12,0,0,$row['m'],$row['d'],$row['y']))];
    133     $value = $row['d'].' ('.$week_day.')';
     132   
     133    $week_day =
     134      $lang['day'][date('w', mktime(12,0,0,$row['m'],$row['d'],$row['y']))];
     135
     136    $url =
     137      PHPWG_ROOT_PATH.'admin.php'
     138      .'?page=stats'
     139      .'&amp;year='.$row['y']
     140      .'&amp;month='.$row['m']
     141      .'&amp;day='.$row['d']
     142      ;
     143
     144    $value = '<a href="'.add_session_id($url).'">';
     145    $value.= $row['d'].' ('.$week_day.')';
     146    $value.= "</a>";
    134147  }
    135148  else
     
    277290$url.= isset($_GET['year']) ? '&amp;year='.$_GET['year'] : '';
    278291$url.= isset($_GET['month']) ? '&amp;month='.$_GET['month'] : '';
     292$url.= isset($_GET['day']) ? '&amp;day='.$_GET['day'] : '';
    279293
    280294$page['navigation_bar'] =
Note: See TracChangeset for help on using the changeset viewer.