Dotclear

Changeset 2198:e9f1e3b6a3ad for inc


Ignore:
Timestamp:
10/02/13 09:43:49 (12 years ago)
Author:
Dsls
Branch:
default
Message:

includesubcats suddenly swallowed by core

Location:
inc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • inc/core/class.dc.core.php

    r1743 r2198  
    13421342                    array('use_smilies','boolean',false, 
    13431343                    'Show smilies on entries and comments'), 
     1344                    array('inc_subcats','boolean',false, 
     1345                    'Include sub-categories in category page and category posts feed'), 
    13441346                    array('wiki_comments','boolean',false, 
    13451347                    'Allow commenters to use a subset of wiki syntax') 
  • inc/public/class.dc.template.php

    r1674 r2198  
    12111211                    $p .= 
    12121212                    'if ($_ctx->exists("categories")) { '. 
    1213                          "\$params['cat_id'] = \$_ctx->categories->cat_id; ". 
     1213                         "\$params['cat_id'] = \$_ctx->categories->cat_id.(\$core->blog->settings->system->inc_subcats?' ?sub':'');". 
    12141214                    "}\n"; 
    12151215               } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map