本文整理汇总了PHP中artxPageTitle函数的典型用法代码示例。如果您正苦于以下问题:PHP artxPageTitle函数的具体用法?PHP artxPageTitle怎么用?PHP artxPageTitle使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了artxPageTitle函数的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: defined
<?php
defined('_JEXEC') or die('Restricted access');
// no direct access
require_once dirname(__FILE__) . str_replace('/', DIRECTORY_SEPARATOR, '/../../../functions.php');
echo artxPost(artxPageTitle($this), null);
if ($this->params->def('num_leading_articles', 1)) {
for ($i = $this->pagination->limitstart; $i < $this->pagination->limitstart + $this->params->get('num_leading_articles'); $i++) {
if ($i >= $this->total) {
break;
}
$this->item =& $this->getItem($i, $this->params);
echo $this->loadTemplate('item');
}
} else {
$i = $this->pagination->limitstart;
}
?>
<?php
$startIntroArticles = $this->pagination->limitstart + $this->params->get('num_leading_articles');
$numIntroArticles = $startIntroArticles + $this->params->get('num_intro_articles', 4);
if ($numIntroArticles != $startIntroArticles && $i < $this->total) {
?>
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<?php
$divider = '';
if ($this->params->get('multi_column_order')) {
// order across as before
for ($z = 0; $z < $this->params->def('num_columns', 2); $z++) {
示例2: defined
<?php
defined('_JEXEC') or die('Restricted access');
// no direct access
require_once dirname(__FILE__) . DS . '..' . DS . '..' . DS . '..' . DS . 'functions.php';
$canEdit = $this->user->authorize('com_content', 'edit', 'content', 'all') || $this->user->authorize('com_content', 'edit', 'content', 'own');
echo artxPost(artxPageTitle($this, $this->params->get('show_page_title', 1) && $this->params->get('page_title') != $this->article->title), null);
$metadata = array();
?>
<div class="Post">
<div class="Post-body">
<div class="Post-inner">
<?php
if ($this->params->get('show_title')) {
?>
<h2 class="PostHeaderIcon-wrapper"> <?php
if ($this->params->get('show_title')) {
?>
<?php
if ($this->params->get('link_titles') && $this->article->readmore_link != '') {
?>
<a href="<?php
echo $this->article->readmore_link;
?>
" class="PostHeader">
<?php
echo $this->escape($this->article->title);
?>
</a>
<?php
} else {
示例3: artxPost
if ($this->params->get('description_logout')) {
echo $this->params->get('description_logout_text');
}
?>
</div>
</td>
</tr>
<tr>
<td align="center">
<div align="center">
<input type="submit" name="Submit" class="button" value="<?php
echo JText::_('Logout');
?>
" />
</div>
</td>
</tr>
</table>
<br /><br />
<input type="hidden" name="option" value="com_user" />
<input type="hidden" name="task" value="logout" />
<input type="hidden" name="return" value="<?php
echo $this->return;
?>
" />
</form>
<?php
echo artxPost(artxPageTitle($this, $this->params->get('show_logout_title'), 'header_logout'), ob_get_clean());
示例4: artxPost
<button type="button" onclick="submitbutton('save')"><?php
echo JText::_('Save');
?>
</button>
<button type="button" onclick="submitbutton('cancel')"><?php
echo JText::_('Cancel');
?>
</button>
</div>
<input type="hidden" name="jform[id]" value="<?php
echo $this->weblink->id;
?>
" />
<input type="hidden" name="jform[ordering]" value="<?php
echo $this->weblink->ordering;
?>
" />
<input type="hidden" name="jform[approved]" value="<?php
echo $this->weblink->approved;
?>
" />
<input type="hidden" name="option" value="com_weblinks" />
<input type="hidden" name="controller" value="weblink" />
<input type="hidden" name="task" value="" />
<?php
echo JHTML::_('form.token');
?>
</form>
<?php
echo artxPost(artxPageTitle($this), ob_get_clean());
示例5: artxPost
if ($this->contact->params->get('allow_vcard')) {
?>
<tr>
<td colspan="2">
<?php
echo JText::_('Download information as a');
?>
<a href="<?php
echo JURI::base();
?>
index.php?option=com_contact&task=vcard&contact_id=<?php
echo $this->contact->id;
?>
&format=raw&tmpl=component">
<?php
echo JText::_('VCard');
?>
</a>
</td>
</tr>
<?php
}
if ($this->contact->params->get('show_email_form') && ($this->contact->email_to || $this->contact->user_id)) {
echo $this->loadTemplate('form');
}
?>
</table>
</div>
<?php
echo artxPost(artxPageTitle($this, $this->params->get('show_page_title', 1) && !$this->contact->params->get('popup') && $this->params->get('page_title') != $this->contact->name), ob_get_clean());