daily pastebin goal
28%
SHARE
TWEET

Untitled

a guest Aug 22nd, 2018 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Cannot modify header information - headers already sent
  2. array(
  3.    "name" => "Custom CSS",  
  4.    "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}",  
  5.    "id" => $shortname."_custom_css",  
  6.    "type" => "textarea",  
  7.    "std" => ""
  8. ),
  9.    
  10. array(
  11.     "name" => "Link Color",  
  12.     "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}",  
  13.     "id" => $shortname."_link_color",  
  14.     "type" => "textarea",  
  15.     "std" => ""
  16. ),
  17.    
  18. // don't allow template files in subdirectories
  19. if (false !== strpos($basename, '/')) continue;
  20.  
  21. $template_data = implode('', file( $template ));
  22.  
  23. $name = '';
  24. if (preg_match( '|Single Post Template:(.*)$|mi', $template_data, $name))
  25.     $name = _cleanup_header_comment($name[1]);
  26.  
  27. if (!empty($name)) {
  28.     if(basename($template) != basename(__FILE__))
  29.         $post_templates[trim($name)] = $basename;
  30. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top