Changeset 1367

Show
Ignore:
Timestamp:
12/05/07 17:38:18 (1 year ago)
Author:
rho
Message:

minor tweak page output function

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/lib/templates.php

    r1351 r1367  
    12551255    if (!isset($context)) $context = 'contentholder'; 
    12561256 
    1257     // allow title with html tags or specialchars 
    1258     $body = templates_draw(array( 
    1259         'context' => $context, 
    1260         'title' => $title, 
    1261         'body' => $body, 
    1262         )); 
     1257 
     1258    if ($context !== false) { 
     1259        // allow title with html tags or specialchars 
     1260        $body = templates_draw(array( 
     1261            'context' => $context, 
     1262            'title' => $title, 
     1263            'body' => $body, 
     1264            )); 
     1265    } 
    12631266 
    12641267    // clean title for <title> tag