Changeset 2085 in ExiteCMS for themes/public/ChristmasDays/php-files/themes/ChristmasDays/theme.php
- Timestamp:
- 11/30/08 12:31:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
themes/public/ChristmasDays/php-files/themes/ChristmasDays/theme.php
r2053 r2085 136 136 | Left column (only if not in full-screen mode) | 137 137 +-----------------------------------------------------*/ 138 $side = (LOCALEDIR == "LTR" ? "left" : "right"); 138 139 if (!FULL_SCREEN) { 139 140 // Get the config for all leftside panels 140 load_panels( 'left');141 load_panels($side); 141 142 // if any leftside panel found 142 if (count_panels( 'left') > 0) {143 echo " <td valign='top' width='".SIDE_WIDTH."' class='side-border- left'>\n";143 if (count_panels($side) > 0) { 144 echo " <td valign='top' width='".SIDE_WIDTH."' class='side-border-$side'>\n"; 144 145 // load the templates for the left-side column 145 load_templates( 'left', '');146 load_templates($side, ''); 146 147 echo " </td>\n"; 147 148 } 148 echo " <td valign='top' class='main-bg' width='3'></td>\n";149 149 } 150 150 /*-----------------------------------------------------+ … … 177 177 | Right column (only if not in full-screen mode) | 178 178 +-----------------------------------------------------*/ 179 $side = (LOCALEDIR == "LTR" ? "right" : "left"); 179 180 if (!FULL_SCREEN) { 180 181 // Get the config for all rightside panels 181 load_panels( 'right');182 load_panels($side); 182 183 // if any rightside panel found 183 if (count_panels( 'right') > 0) {184 echo " <td valign='top' width='".SIDE_WIDTH."' class='side-border- right'>\n";184 if (count_panels($side) > 0) { 185 echo " <td valign='top' width='".SIDE_WIDTH."' class='side-border-$side'>\n"; 185 186 // load the templates for the right-side column 186 load_templates( 'right', '');187 load_templates($side, ''); 187 188 echo " </td>\n"; 188 189 } … … 201 202 $variables = array(); 202 203 203 // define the footer panel 204 // load the footer panels 205 load_panels('footer'); 206 207 // get MySQL host info 208 $variables['MySQLinfo'] = mysql_get_server_info(); 209 210 // define the footer template 204 211 $template_panels[] = array('type' => 'footer', 'name' => '_footer', 'template' => '_footer.tpl'); 205 212 $template_variables['_footer'] = $variables; 206 213 214 // load the footer templates 207 215 load_templates('footer', ''); 208 216
Note: See TracChangeset
for help on using the changeset viewer.
