示例#1
0
		<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();
    ?>
themes/<?php 
    print TBGSettings::getThemeName();
    ?>
/favicon.png">
</td>
	</tr>
	<tr>
		<td><label for="icon_fav_url"><?php 
echo __('Custom favicon URL');
?>
</label></td>
		<td>
			<input type="text" name="<?php 
echo TBGSettings::SETTING_FAVICON_URL;
?>
" id="icon_fav_url" value="<?php 
echo TBGSettings::getFaviconURL();
?>
" style="width: 100%;"<?php 
if ($access_level != TBGSettings::ACCESS_FULL || TBGSettings::getFaviconType() != '2') {
    ?>
 disabled<?php 
}
?>
>
		</td>
	</tr>
	<tr>
		<td class="config_explanation" colspan="2"><?php 
echo __('If you want to load your favicon from a URL, specify the URL to an image here.');
?>
</td>
	</tr>
</table>