Changeset 1436 for trunk/index.php


Ignore:
Timestamp:
Jul 6, 2006, 4:45:26 AM (18 years ago)
Author:
rvelices
Message:

merge -r1435 from branch-1_6 to trunk
bug 450: "upload an image" link in menu bar is missing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/index.php

    r1377 r1436  
    268268if (isset($page['category']))
    269269{
    270   // upload a picture in the category
    271   if ($page['cat_uploadable'])
    272   {
    273     $url = get_root_url().'upload.php?cat='.$page['category'];
    274     $template->assign_block_vars(
    275       'upload',
    276       array(
    277         'U_UPLOAD'=> $url
    278         )
    279       );
    280   }
    281 
    282270  // category comment
    283271  if (isset($page['comment']) and $page['comment'] != '')
Note: See TracChangeset for help on using the changeset viewer.