print_layout.css
print_layout.css
Hello Oliver
is this an bug!? Cos if i want create an template the print_layout is set to default!?
Pappnase
is this an bug!? Cos if i want create an template the print_layout is set to default!?
Pappnase
- Oliver Georgi
- Site Admin
- Posts: 9900
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
- Oliver Georgi
- Site Admin
- Posts: 9900
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
Confirm this in "include/inc_tmpl/admin.templates.tmpl.php" :
Code: Select all
<?php
// get css file list
if(is_dir(".".$phpwcms["templates"]."inc_css")) {
$css_handle = opendir( ".".$phpwcms["templates"]."inc_css" );
while($css_file = readdir( $css_handle )) {
if( $css_file != "." && $css_file != ".." && preg_match('/(\.css)$/', strtolower($css_file)) ) {
echo '<option value="'.$css_file.'"';
echo ($css_file == $template["css"]) ? " selected" : "";
echo '>'.$css_file."</option>\n";
}
}
closedir( $css_handle );
}
?>
- Oliver Georgi
- Site Admin
- Posts: 9900
- Joined: Fri 3. Oct 2003, 22:22
- Contact: