Changeset 1342

Show
Ignore:
Timestamp:
12/04/07 07:05:43 (1 year ago)
Author:
rho
Message:

tweaked default context on templates_page_output

Signed-off: Rolando Espinoza La fuente <rho@prosoftpeople.com>

Files:

Legend:

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

    r1307 r1342  
    15961596 * @param string $sidebar Optional sidebar content  
    15971597 */ 
    1598 function templates_page_output($title, $body, $context='contentholder', $sidebar=null) { 
     1598function templates_page_output($title, $body, $context=null, $sidebar=null) { 
    15991599    // hook pre-output page 
    16001600    // @rho i think no needed because there is already 
    16011601    //      _init and _pagesetup 
     1602 
     1603    if (!isset($context)) $context = 'contentholder'; 
    16021604 
    16031605    // allow title with html tags or specialchars