Changeset 2085 in ExiteCMS for themes/public/IcyXmas/php-files/themes/IcyXmas/theme.php
- Timestamp:
- 11/30/08 12:31:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
themes/public/IcyXmas/php-files/themes/IcyXmas/theme.php
r2002 r2085 145 145 | Left column (only if not in full-screen mode) | 146 146 +-----------------------------------------------------*/ 147 $side = (LOCALEDIR == "LTR" ? "left" : "right"); 147 148 if (!FULL_SCREEN) { 148 149 // Get the config for all leftside panels 149 load_panels( 'left');150 load_panels($side); 150 151 // if any leftside panel found 151 if (count_panels( 'left') > 0) {152 echo " <td valign='top' width='".SIDE_WIDTH."' class='side-border- left'>\n";152 if (count_panels($side) > 0) { 153 echo " <td valign='top' width='".SIDE_WIDTH."' class='side-border-$side'>\n"; 153 154 // load the templates for the left-side column 154 load_templates( 'left', '');155 load_templates($side, ''); 155 156 echo " </td>\n"; 156 157 } … … 159 160 | Center column | 160 161 +-----------------------------------------------------*/ 161 echo " <td valign='top' class='main-bg'> ";162 echo " <td valign='top' class='main-bg'>\n"; 162 163 163 164 // if in full-screen mode, activate the navigation header panel … … 185 186 | Right column (only if not in full-screen mode) | 186 187 +-----------------------------------------------------*/ 188 $side = (LOCALEDIR == "LTR" ? "right" : "left"); 187 189 if (!FULL_SCREEN) { 188 190 // Get the config for all rightside panels 189 load_panels( 'right');191 load_panels($side); 190 192 // if any rightside panel found 191 if (count_panels( 'right') > 0) {192 echo " <td valign='top' width='".SIDE_WIDTH."' class='side-border- right'>\n";193 if (count_panels($side) > 0) { 194 echo " <td valign='top' width='".SIDE_WIDTH."' class='side-border-$side'>\n"; 193 195 // load the templates for the right-side column 194 load_templates( 'right', '');196 load_templates($side, ''); 195 197 echo " </td>\n"; 196 198 } … … 209 211 $variables = array(); 210 212 211 // define the footer panel 213 // load the footer panels 214 load_panels('footer'); 215 216 // get MySQL host info 217 $variables['MySQLinfo'] = mysql_get_server_info(); 218 219 // define the footer template 212 220 $template_panels[] = array('type' => 'footer', 'name' => '_footer', 'template' => '_footer.tpl'); 213 221 $template_variables['_footer'] = $variables; 214 222 223 // load the footer templates 215 224 load_templates('footer', ''); 216 225
Note: See TracChangeset
for help on using the changeset viewer.
