<?php echo '<?xml version="1.0" encoding="' . get_bloginfo('charset') . '" ?>'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <?php $lang = get_vicuna_language(); if (!$lang) { $lang = 'ja'; } ?> <html xmlns="http://www.w3.org/1999/xhtml" lang="<?php echo $lang; ?> " xml:lang="<?php echo $lang; ?> "> <head profile="http://purl.org/net/ns/metaprof"> <meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo('charset'); ?> " /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <meta name="generator" content="WordPress" /> <meta name="author" content="<?php bloginfo('name'); ?> " /> <?php
<?php /** * function.php for wp.Vicuna * author: ma38su * * If you want to get the latest feature, * you should connect to http://ma38su.org/. */ $vicuna_mofile = dirname(__FILE__) . '/languages/' . get_vicuna_language() . '.mo'; if ($vicuna_mofile) { load_textdomain('vicuna', $vicuna_mofile); } require_once dirname(__FILE__) . '/script/config.php'; require_once dirname(__FILE__) . '/script/layout.php'; if (function_exists('register_sidebar')) { require_once dirname(__FILE__) . '/script/widgets.php'; } if (function_exists('get_tags')) { require_once dirname(__FILE__) . '/script/tag.php'; } /** * display vicuna footer link */ function vicuna_link() { $locale = get_locale(); if ($locale == "ja") { echo 'http://wp.vicuna.jp/'; } else { if ($locale == "zh_TW" || $locale == "zh_CN") {