Changeset 1307 for devel/profile

Show
Ignore:
Timestamp:
11/22/07 17:21:31 (1 year ago)
Author:
rho
Message:

Patch #171, new function templates_page_output()

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/profile/edit.php

    r1054 r1307  
    5454    $body = $profile->display_form(); 
    5555}    
    56 $body = templates_draw(array( 'context' => 'contentholder', 
    57                               'title' => $title, 
    58                               'body' => $body   )); 
    5956 
    60 print templates_page_draw(array($title, $body)); 
    61  
    62  
     57templates_page_output($title, $body); 
    6358 
    6459function profile_update($profile_new) { 
  • devel/profile/index.php

    r1215 r1307  
    309309$view  = $profile->view(); 
    310310 
    311 $body  = templates_draw( array( 
    312                                'context' => 'contentholder', 
    313                                'title' => $title, 
    314                                'body' => $view['body'], 
    315                                )); 
    316  
    317 //echo templates_page_draw(array($title, $body, NULL, $view['widgets'])); 
    318 echo templates_page_draw(array($title, $body)); 
     311templates_page_output($title, $view['body']); 
    319312 
    320313?>