Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Cannot modify header information - headers already sent
- array(
- "name" => "Custom CSS",
- "desc" => "Want to add any custom CSS code? Put in here, and the rest is taken care of. This overrides any other stylesheets. eg: a.button{color:green}",
- "id" => $shortname."_custom_css",
- "type" => "textarea",
- "std" => ""
- ),
- array(
- "name" => "Link Color",
- "desc" => "Want to add any custom CSS code? Put in here, and the rest is taken care of. This overrides any other stylesheets. eg: a.button{color:green}",
- "id" => $shortname."_link_color",
- "type" => "textarea",
- "std" => ""
- ),
- // don't allow template files in subdirectories
- if (false !== strpos($basename, '/')) continue;
- $template_data = implode('', file( $template ));
- $name = '';
- if (preg_match( '|Single Post Template:(.*)$|mi', $template_data, $name))
- $name = _cleanup_header_comment($name[1]);
- if (!empty($name)) {
- if(basename($template) != basename(__FILE__))
- $post_templates[trim($name)] = $basename;
- }
Add Comment
Please, Sign In to add comment