示例#1
0
			<tr>
				<td style="height: auto; overflow: hidden;" valign="top" id="maintd">
					<table class="main_header" cellpadding=0 cellspacing=0 width="100%" style="table-layout: fixed;">
						<tr>
							<td align="left" valign="middle" id="logo_td">
								<?php 
$link = TBGSettings::getHeaderLink() == '' ? TBGContext::getTBGPath() : TBGSettings::getHeaderLink();
?>
								<?php 
if (TBGSettings::isUsingCustomHeaderIcon() == TBGSettings::APPEARANCE_HEADER_URL) {
    ?>
									<a class="logo" href="<?php 
    print $link;
    ?>
"><img src="<?php 
    print TBGSettings::getHeaderIconURL();
    ?>
" alt="[logo]" title="[logo]"></a>
								<?php 
} elseif (TBGSettings::isUsingCustomHeaderIcon() == TBGSettings::APPEARANCE_HEADER_CUSTOM) {
    ?>
									<a class="logo" href="<?php 
    print $link;
    ?>
"><img src="<?php 
    print TBGContext::getTBGPath();
    ?>
header.png" alt="[logo]" title="[logo]"></a>
								<?php 
} else {
    ?>
示例#2
0
?>
</link>
		<description><?php 
echo strip_tags(TBGSettings::getTBGname());
?>
</description>
		<language><?php 
echo mb_strtolower(str_replace('_', '-', TBGContext::getI18n()->getCurrentLanguage()));
?>
</language>
		<image>
		<?php 
if (TBGSettings::isUsingCustomHeaderIcon() == '2') {
    ?>
			<url><?php 
    echo TBGSettings::getHeaderIconURL();
    ?>
</url>
		<?php 
} elseif (TBGSettings::isUsingCustomHeaderIcon() == '1') {
    ?>
			<url><?php 
    echo TBGContext::getUrlHost() . TBGContext::getTBGPath() . 'header.png';
    ?>
</url>
		<?php 
} else {
    ?>
			<url><?php 
    echo image_url('logo_24.png', false, null, false);
    ?>