Ignore:
Timestamp:
Feb 27, 2007, 2:56:16 AM (17 years ago)
Author:
rvelices
Message:
  • refactoring pagecategory before 1.7 release

pagecategory is not an id anymore, but an associative array of category info
all of pagecat_xxx or pageuppercats merged into one
simplifies calls to make_index_url
give plugins a clean start for page variables for version 1.7

File:
1 edited

Legend:

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

    r1846 r1861  
    55// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
    66// +-----------------------------------------------------------------------+
    7 // | branch        : BSF (Best So Far)
    87// | file          : $Id$
    98// | last update   : $Date$
     
    483482    \''.$_SERVER['REMOTE_ADDR'].'\',
    484483    '.(isset($page['section']) ? "'".$page['section']."'" : 'NULL').',
    485     '.(isset($page['category']) ? $page['category'] : 'NULL').',
     484    '.(isset($page['category']) ? $page['category']['id'] : 'NULL').',
    486485    '.(isset($image_id) ? $image_id : 'NULL').',
    487486    '.(isset($image_id) ? "'".$image_type."'" : 'NULL').',
Note: See TracChangeset for help on using the changeset viewer.