Changeset 861 in ExiteCMS for trunk/includes/theme_functions.php


Ignore:
Timestamp:
10/02/07 22:23:07 (5 years ago)
Author:
hverton
Message:

moved more templates to the template include directory
download panel had problems displaying an odd number of categories
make more modules xhtml compliant

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/theme_functions.php

    r847 r861  
    278278+-----------------------------------------------------*/ 
    279279function load_panels($column) { 
    280     global $db_prefix, $locale, $settings, $userdata, $template_panels; 
     280    global $db_prefix, $locale, $settings, $userdata, $template, $template_panels; 
    281281     
    282282    // parameter validation and processing 
     
    417417    mysql_close(); 
    418418     
    419     // and flush any output remaining 
    420     ob_end_flush(); 
    421      
    422     // check if we have had query debugging active 
     419    // check if we have had query debugging active. If so, display the result just before the footer panel(s) 
    423420    if (is_array($_db_logs) && count($_db_logs)) { 
    424421        $template->assign('queries', $_db_logs); 
    425422        $template->display('_query_debug.tpl'); 
    426423    } 
     424 
     425    echo "</body>\n</html>\n"; 
     426     
     427    // and flush any output remaining 
     428    ob_end_flush(); 
    427429} 
    428430 
Note: See TracChangeset for help on using the changeset viewer.