git-svn-id: http://svn.automattic.com/wordpress/trunk@1638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rboren
2004-09-11 16:12:40 +00:00
parent aae9dbf02d
commit fec36ee655
7 changed files with 541 additions and 20 deletions

View File

@@ -77,6 +77,22 @@ function get_bloginfo($show='') {
case 'pingback_url':
$output = get_settings('siteurl') .'/xmlrpc.php';
break;
case 'stylesheet_url':
$output = get_settings('stylesheet');;
if (empty($output) || $output == 'default') {
$output = get_settings('home') . "/wp-layout.css";
} else {
$output = get_settings('home') . "/wp-content/themes/$output/style.css";
}
break;
case 'template_url':
$output = get_settings('template');;
if (empty($output) || $output == 'default') {
$output = get_settings('home');
} else {
$output = get_settings('home') . "/wp-content/themes/$output";
}
break;
case 'admin_email':
$output = get_settings('admin_email');
break;