当前位置: 首页>>代码示例>>PHP>>正文


PHP artxPageTitle函数代码示例

本文整理汇总了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++) {
开发者ID:kwizera05,项目名称:police,代码行数:31,代码来源:default.php

示例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 {
开发者ID:jammie230,项目名称:JAMIDA,代码行数:31,代码来源:default.php

示例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());
开发者ID:jammie230,项目名称:JAMIDA,代码行数:30,代码来源:default_logout.php

示例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());
开发者ID:jammie230,项目名称:JAMIDA,代码行数:30,代码来源:form.php

示例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&amp;task=vcard&amp;contact_id=<?php 
    echo $this->contact->id;
    ?>
&amp;format=raw&amp;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());
开发者ID:jammie230,项目名称:JAMIDA,代码行数:30,代码来源:default.php


注:本文中的artxPageTitle函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。