本文整理汇总了PHP中TBGSettings::getTBGtagline方法的典型用法代码示例。如果您正苦于以下问题:PHP TBGSettings::getTBGtagline方法的具体用法?PHP TBGSettings::getTBGtagline怎么用?PHP TBGSettings::getTBGtagline使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类TBGSettings
的用法示例。
在下文中一共展示了TBGSettings::getTBGtagline方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: image_tag
<a class="logo" href="<?php
print $link;
?>
"><?php
echo image_tag('logo_24.png', array('alt' => '[logo]', 'title' => '[logo]'));
?>
</a>
<?php
}
?>
<div class="logo_large"><?php
echo TBGSettings::getTBGname();
?>
</div>
<div class="logo_small"><?php
echo TBGSettings::getTBGtagline();
?>
</div>
</td>
<td style="width: auto;">
<div class="tab_menu header_menu<?php
if (TBGContext::isProjectContext()) {
?>
project_context<?php
}
?>
">
<ul>
<?php
if (!TBGSettings::isSingleProjectTracker() && !TBGContext::isProjectContext()) {
?>
示例2: __
?xml version="1.0" encoding="<?php
echo TBGContext::getI18n()->getCharset();
?>
" ?>
<rss version="2.0">
<channel>
<title><?php
echo TBGSettings::getTBGname() . ' ~ ' . __('%project_name% project timeline', array('%project_name%' => TBGContext::getCurrentProject()->getName()));
?>
</title>
<link><?php
echo make_url('project_timeline', array('project_key' => TBGContext::getCurrentProject()->getKey()), false);
?>
</link>
<description><?php
echo strip_tags(TBGSettings::getTBGtagline());
?>
</description>
<language><?php
echo strtolower(str_replace('_', '-', TBGContext::getI18n()->getCurrentLanguage()));
?>
</language>
<image>
<?php
if (TBGSettings::isUsingCustomHeaderIcon() == '2') {
?>
<url><?php
echo TBGSettings::getHeaderIconURL();
?>
</url>
<?php
示例3: _parse_variable
protected function _parse_variable($matches)
{
switch ($matches[2]) {
case 'CURRENTMONTH':
return date('m');
case 'CURRENTMONTHNAMEGEN':
case 'CURRENTMONTHNAME':
return date('F');
case 'CURRENTDAY':
return date('d');
case 'CURRENTDAYNAME':
return date('l');
case 'CURRENTYEAR':
return date('Y');
case 'CURRENTTIME':
return date('H:i');
case 'NUMBEROFARTICLES':
return 0;
case 'PAGENAME':
return TBGContext::getResponse()->getPage();
case 'NAMESPACE':
return 'None';
case 'TOC':
return '{{TOC}}';
case 'SITENAME':
return TBGSettings::getTBGname();
case 'SITETAGLINE':
return TBGSettings::getTBGtagline();
default:
return '';
}
}
示例4: __
?>
<i>(<?php
echo __('HTML allowed');
?>
)</i></td>
</tr>
<tr>
<td><label for="b2_tagline"><?php
echo __('Tagline / slogan');
?>
</label></td>
<td><input type="text" name="<?php
echo TBGSettings::SETTING_TBG_TAGLINE;
?>
" id="b2_tagline" value="<?php
echo str_replace('"', '"', TBGSettings::getTBGtagline());
?>
" style="width: 100%;"<?php
if ($access_level != TBGSettings::ACCESS_FULL) {
?>
disabled<?php
}
?>
></td>
</tr>
<tr>
<td class="config_explanation" colspan="2"><?php
echo __('This will appear beneath the name in the header on all pages');
?>
<i>(<?php
echo __('HTML allowed');