Ignore:
Timestamp:
May 2, 2008, 11:56:21 PM (16 years ago)
Author:
rub
Message:

Resolved issue 0000823: Enhance upload functionalities

First commit, others will be follow.
Not hesitate to change my translations.

Add upload configuration tabsheet (move and add configuration)
Change and add define for access level
Can show upload link every time
Can restrict access upload.class.php
Can choice category on upload page
Add upload class not use for the moment
Review quickly and temporary style of upload.tpl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/menubar.inc.php

    r2299 r2325  
    4040    'U_CATEGORIES' => make_index_url(array('section' => 'categories')),
    4141    'U_LOST_PASSWORD' => get_root_url().'password.php',
     42    'U_UPLOAD' => get_upload_menu_link()
    4243    )
    4344  );
     
    305306  );
    306307
    307 if (isset($page['category']) and $page['category']['uploadable'] )
    308 { // upload a picture in the category
    309   $url = get_root_url().'upload.php?cat='.$page['category']['id'];
    310   $template->assign('U_UPLOAD', $url);
    311 }
    312 
    313308trigger_action('loc_end_menubar');
    314309$template->assign_var_from_handle('MENUBAR', 'menubar');
     310
    315311?>
Note: See TracChangeset for help on using the changeset viewer.