Changeset 2108

Show
Ignore:
Timestamp:
09/28/07 04:22:57 (6 years ago)
Author:
rvelices
Message:

- remove unused css for IE7
- fix admin view plugin (due to a recent change elsewhere)
- remove an echo from admin/stats.php

Location:
trunk
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • trunk/admin/stats.php

    r1900 r2108  
    55// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | 
    66// +-----------------------------------------------------------------------+ 
    7 // | branch        : BSF (Best So Far) 
    87// | file          : $Id$ 
    98// | last update   : $Date$ 
     
    4847    nb_pages 
    4948  FROM '.HISTORY_SUMMARY_TABLE; 
    50    
     49 
    5150  if (isset($day)) 
    5251  { 
     
    8584    year ASC, 
    8685    month ASC 
    87 ;';    
     86;'; 
    8887  } 
    8988  else 
     
    9493  ORDER BY 
    9594    year ASC 
    96 ;';    
     95;'; 
    9796  } 
    9897 
     
    211210    sprintf('%4u.%02u.%02u.%02u', $year, $month, $day, $hour), 
    212211    ); 
    213    
     212 
    214213  $query = ' 
    215214SELECT 
     
    370369 
    371370  $time = mktime(12, 0, 0, $page['month'], $page['day'], $page['year']); 
    372    
     371 
    373372  $day_title = sprintf( 
    374373    '%u (%s)', 
     
    376375    $lang['day'][date('w', $time)] 
    377376    ); 
    378    
     377 
    379378  array_push( 
    380379    $title_parts, 
     
    456455      $datas[$i] = 0; 
    457456    } 
    458    
     457 
    459458    $url = null; 
    460    
     459 
    461460    if (isset($page['day'])) 
    462461    { 
     
    472471        .'&day='.$i 
    473472        ; 
    474    
     473 
    475474      $time = mktime(12, 0, 0, $page['month'], $i, $page['year']); 
    476        
     475 
    477476      $value = $i.' ('.$lang['day'][date('w', $time)].')'; 
    478477    } 
     
    485484        .'&month='.$i 
    486485        ; 
    487        
     486 
    488487      $value = $lang['month'][$i]; 
    489488    } 
     
    496495        .'&year='.$i 
    497496        ; 
    498        
     497 
    499498      $value = $i; 
    500499    } 
    501    
     500 
    502501    if ($datas[$i] != 0 and isset($url)) 
    503502    { 
    504503      $value = '<a href="'.$url.'">'.$value.'</a>'; 
    505504    } 
    506      
     505 
    507506    $template->assign_block_vars( 
    508507      'statrow', 
     
    522521$template->assign_var_from_handle('ADMIN_CONTENT', 'stats'); 
    523522?> 
    524  
  • trunk/plugins/admin_multi_view/is_admin.inc.php

    r2016 r2108  
    1212  { 
    1313    list($user['template'], $user['theme']) = explode('/', $theme); 
     14    unset( $user['admin_template'], $user['admin_theme']); 
    1415  } 
    1516  $lang = pwg_get_session_var( 'multiview_lang', '' ); 
  • trunk/template/yoga/fix-ie7.css

    r1912 r2108  
    2020  margin-top: 2%; 
    2121} 
    22 #content UL.thumbnails SPAN.wrap2 { 
    23   border-radius: 8px; 
    24 } 
    25 .tabsheet li { 
    26   border-radius: 12px 12px 0px 0px;     /* round corners with CSS3 compliant browsers */ 
    27 } 
    28 ul.tabsheet { 
    29   padding: 0px 0em 1.98em 6em; 
    30   border-bottom: 1px solid #fff; 
    31   border-top: 0px; 
    32 } 
     22 
  • trunk/template/yoga/not-ie.css

    r1900 r2108  
    2020} 
    2121ul.tabsheet li { 
    22   -moz-border-radius: 6px 6px 0px 0px;  /* round corners with CSS3 compliant browsers */ 
     22  -moz-border-radius: 6px 6px 0px 0px;  /* round corners with Geko */ 
    2323  -webkit-border-radius: 6px 6px 0px 0px; /* Safari webkit project */ 
    2424}