Ignore:
Timestamp:
Jan 18, 2011, 3:03:00 PM (13 years ago)
Author:
plg
Message:

bug fixed: no more categories.uploadable column when creating a new category

split the admin/photos_add_direct.php script into
admin/include/photos_add_direct_prepare.php (prepare the upload form)
+ admin/include/photos_add_direct_process.inc.php (process the submitted form)
: it makes the upload form backend easier to reuse in the future Community
plugin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/functions.php

    r8728 r8734  
    12261226    'rank' => ++$current_rank,
    12271227    'commentable' => boolean_to_string($conf['newcat_default_commentable']),
    1228     'uploadable' => 'false',
    12291228    );
    12301229
     
    12771276    array(
    12781277      'site_id', 'name', 'id_uppercat', 'rank', 'commentable',
    1279       'uploadable', 'visible', 'status', 'global_rank',
     1278      'visible', 'status', 'global_rank',
    12801279      ),
    12811280    array($insert)
     
    19851984  {
    19861985    case 'photos_add':
    1987     case 'upload':
    19881986    case 'rating':
    19891987    case 'tags':
Note: See TracChangeset for help on using the changeset viewer.