Changeset 1878 for trunk/admin.php


Ignore:
Timestamp:
Mar 7, 2007, 11:53:42 PM (18 years ago)
Author:
rub
Message:

Add tabsheet on administration pages.

Step 2: Regroup categories options into sheet Batch management.

On next commit, use of this new method on history and configuration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin.php

    r1877 r1878  
    7070$link_start = PHPWG_ROOT_PATH.'admin.php?page=';
    7171$conf_link = $link_start.'configuration&section=';
    72 $opt_link = $link_start.'cat_options&section=';
    7372//----------------------------------------------------- template initialization
    7473$title = l10n('PhpWebGallery Administration'); // for include/page_header.php
     
    9493    'U_CATEGORIES'=> $link_start.'cat_list',
    9594    'U_MOVE'=> $link_start.'cat_move',
    96     'U_CAT_UPLOAD'=> $opt_link.'upload',
    97     'U_CAT_COMMENTS'=> $opt_link.'comments',
    98     'U_CAT_VISIBLE'=> $opt_link.'visible',
    99     'U_CAT_STATUS'=> $opt_link.'status',
    10095    'U_CAT_OPTIONS'=> $link_start.'cat_options',
    10196    'U_CAT_UPDATE'=> $link_start.'site_update&site=1',
     
    119114    array(
    120115      'U_WS_CHECKER'=> $link_start.'ws_checker',
    121       )
    122     );
    123 }
    124 if ($conf['allow_random_representative'])
    125 {
    126   $template->assign_block_vars(
    127     'representative',
    128     array(
    129       'URL' => $opt_link.'representative'
    130116      )
    131117    );
Note: See TracChangeset for help on using the changeset viewer.