示例#1
0
?>
		<meta name="description" content="The bug genie, friendly issue tracking">
		<meta name="keywords" content="thebuggenie friendly issue tracking">
		<meta name="author" content="thebuggenie.com">
		<meta http-equiv="Content-Type" content="<?php 
echo $tbg_response->getContentType();
?>
 charset=<?php 
echo TBGContext::getI18n()->getCharset();
?>
">
		<?php 
if (TBGSettings::getFaviconType() == '2') {
    ?>
			<link rel="shortcut icon" href="<?php 
    print TBGSettings::getFaviconURL();
    ?>
">
		<?php 
} elseif (TBGSettings::getFaviconType() == '1') {
    ?>
			<link rel="shortcut icon" href="<?php 
    print TBGContext::getTBGPath();
    ?>
favicon.png">
		<?php 
} else {
    ?>
			<link rel="shortcut icon" href="<?php 
    print TBGContext::getTBGPath();
    ?>
示例#2
0
			  src: url('<?php 
echo TBGContext::getTBGPath();
?>
fonts/open_sans_bold_italic.eot');
			  src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'), url('<?php 
echo TBGContext::getTBGPath();
?>
fonts/open_sans_bold_italic.woff') format('woff'), url('<?php 
echo TBGContext::getTBGPath();
?>
fonts/open_sans_bold_italic.ttf') format('truetype');
			}
		</style>
		<link rel="shortcut icon" href="<?php 
if (TBGSettings::isUsingCustomFavicon()) {
    echo TBGSettings::getFaviconURL();
} else {
    echo image_url('favicon.png');
}
?>
">
		<link title="<?php 
echo TBGContext::isProjectContext() ? __('%project_name search', array('%project_name' => TBGContext::getCurrentProject()->getName())) : __('%site_name search', array('%site_name' => TBGSettings::getTBGname()));
?>
" href="<?php 
echo TBGContext::isProjectContext() ? make_url('project_opensearch', array('project_key' => TBGContext::getCurrentProject()->getKey())) : make_url('opensearch');
?>
" type="application/opensearchdescription+xml" rel="search">
		<?php 
foreach ($tbg_response->getFeeds() as $feed_url => $feed_title) {
    ?>