Changeset 814 for trunk


Ignore:
Timestamp:
Aug 16, 2005, 12:01:00 AM (19 years ago)
Author:
plg
Message:
  • new : introduction page to administration section. This page gives informations about PhpWebGallery version, PHP version, MySQL version, gallery database informations (number of categories, elements, users, comments). Ability to request phpwebgallery.net for upgrade.
  • deletion : of obsolete admin/admin_phpinfo.php page replaced by a link in introduction page.
Location:
trunk
Files:
1 added
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin.php

    r809 r814  
    5555}
    5656
    57 if (isset( $_GET['page'] ))
     57$_GET['page'] = isset($_GET['page']) ? $_GET['page'] : 'intro';
     58
    5859switch ( $_GET['page'] )
    5960{
     
    9899 case 'configuration':
    99100   $title = $lang['title_configuration']; $page_valide = true; break;
    100  case 'admin_phpinfo':
    101    $title = $lang['phpinfos']; $page_valide = true; break;
    102101 case 'help':
    103102   $title = $lang['title_instructions'];  $page_valide = true; break;
     
    187186//    break;
    188187//  }
    189  default:
    190    $title = $lang['title_default']; break;
     188 case 'intro' :
     189 {
     190   $_GET['page'] = 'intro';
     191   $title = $lang['title_default'];
     192   $page_valide = true;
     193   break;
     194 }
     195 default :
     196 {
     197   break;
     198 }
    191199}
    192200if ( $title == '' ) $title = $lang['title_default'];
     
    226234  'L_GENERAL'=>$lang['general'],
    227235  'L_DEFAULT'=>$lang['gallery_default'],
    228   'L_PHPINFO'=>$lang['phpinfos'],
    229236  'L_HISTORY'=>$lang['history'],
    230237  'L_FAQ'=>$lang['instructions'],
     
    256263  'U_FAQ'=>add_session_id($link_start.'help' ),
    257264  'U_SITES'=>add_session_id($link_start.'remote_site'),
    258   'U_PHPINFO'=>add_session_id($link_start.'admin_phpinfo' ),
    259265  'U_MAINTENANCE'=>add_session_id($link_start.'maintenance'),
    260266  'U_CONFIG_GENERAL'=>add_session_id($conf_link.'general' ),
  • trunk/doc/ChangeLog

    r812 r814  
     12005-08-15 Pierrick LE GALL
     2
     3        * new : introduction page to administration section. This page
     4        gives informations about PhpWebGallery version, PHP version, MySQL
     5        version, gallery database informations (number of categories,
     6        elements, users, comments). Ability to request phpwebgallery.net
     7        for upgrade.
     8
     9        * deletion : of obsolete admin/admin_phpinfo.php page replaced by
     10        a link in introduction page.
     11
    1122005-08-14 Pierrick LE GALL
    213
  • trunk/template/default/admin.tpl

    r812 r814  
    1818  <li><a class="adminMenu" href="{U_FAQ}">{L_FAQ}</a></li>
    1919  <li><a class="adminMenu" href="{U_SITES}">{L_SITES}</a></li>
    20   <li><a class="adminMenu" href="{U_PHPINFO}">{L_PHPINFO}</a></li>
    2120  <li><a class="adminMenu" href="{U_HISTORY}">{L_HISTORY}</a></li>
    2221  <li><a class="adminMenu" href="{U_CAT_UPDATE}">{L_UPDATE}</a></li>
  • trunk/template/default/default.css

    r812 r814  
    2727/* ANCHORS */
    2828
    29 a { text-decoration:none; color:#FFFFFF;}
    30 a:hover { text-decoration:none; color:#FFF48E;}
     29a {
     30  text-decoration: none;
     31  color: #F6B620;
     32}
     33
     34a:hover {
     35  text-decoration:none;
     36  color: #ffee40;
     37}
     38
    3139a.none:hover { text-decoration:none;}
    3240a.image:hover { text-decoration:none;}
     
    522530  padding: 0 5px;
    523531}
     532
     533div#adminMain dl {
     534  margin: 10px;
     535}
     536
     537div#adminMain dl>dd {
     538  margin-bottom: 10px;
     539}
     540
     541div#adminMain dl>dt {
     542  margin-bottom: 5px;
     543  font-style: italic;
     544  font-size: 110%;
     545}
Note: See TracChangeset for help on using the changeset viewer.