本文整理汇总了PHP中CKunenaTools::showModulePosition方法的典型用法代码示例。如果您正苦于以下问题:PHP CKunenaTools::showModulePosition方法的具体用法?PHP CKunenaTools::showModulePosition怎么用?PHP CKunenaTools::showModulePosition使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CKunenaTools
的用法示例。
在下文中一共展示了CKunenaTools::showModulePosition方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
$this->displayContents();
?>
</td>
<td rowspan="2" class="kprofile-right">
<?php
$this->displayProfile('vertical');
?>
</td>
</tr>
<tr>
<td class="kbuttonbar-right">
<?php
$this->displayActions();
?>
<?php
$this->displayThankyou();
?>
</td>
</tr>
</tbody>
</table>
<?php
}
?>
<!-- Begin: Message Module Position -->
<?php
CKunenaTools::showModulePosition('kunena_msg_' . $this->mmm);
?>
<!-- Finish: Message Module Position -->
示例2: intval
</td>
<?php
}
?>
</tr>
<?php
if (JDocumentHTML::countModules('kunena_topic_' . $counter)) {
?>
<tr>
<td class="ktopicmodule" colspan="<?php
echo intval($this->columns);
?>
">
<?php
CKunenaTools::showModulePosition('kunena_topic_' . $counter);
?>
</td>
</tr>
<?php
}
?>
<?php
}
}
?>
<?php
if (count($this->actionDropdown) > 1 || $this->embedded) {
?>
<!-- Bulk Actions -->
示例3: defined
* @link http://www.kunena.org
*
* Based on FireBoard Component
* @Copyright (C) 2006 - 2007 Best Of Joomla All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @link http://www.bestofjoomla.com
*
* Based on Joomlaboard Component
* @copyright (C) 2000 - 2004 TSMF / Jan de Graaff / All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @author TSMF & Jan de Graaff
**/
// Dont allow direct linking
defined('_JEXEC') or die;
$this->displayAnnouncement();
CKunenaTools::showModulePosition('kunena_announcement');
$this->displayPathway();
?>
<div class="klist-markallcatsread kcontainer">
<div class="ksectionbody">
<div class="fltlft">
<?php
if ($this->my->id != 0) {
?>
<form action="<?php
echo KunenaRoute::_(KUNENA_LIVEURLREL);
?>
" name="markAllForumsRead" method="post">
<input type="hidden" name="option" value="com_kunena" />
<input type="hidden" name="func" value="markallcatsread" />
示例4: isset
?>
<div id="kforum-head" class="<?php
echo isset($this->catinfo->class_sfx) ? ' kforum-headerdesc' . $this->escape($this->catinfo->class_sfx) : '';
?>
">
<?php
echo $this->headerdesc;
?>
</div>
<?php
}
?>
<?php
$this->displayPoll();
CKunenaTools::showModulePosition('kunena_poll');
$this->displayThreadActions(0);
?>
<div class="kblock">
<div class="kheader">
<h2><span><?php
echo JText::_('COM_KUNENA_TOPIC');
?>
<?php
echo $this->escape($this->kunena_topic_title);
?>
</span></h2>
<?php
if ($this->favorited) {
?>
示例5:
echo $registration;
?>
</span>
<?php
}
?>
</div>
</form>
<?php
}
?>
</td>
<?php
if (JDocumentHTML::countModules('kunena_profilebox')) {
?>
<td class = "kprofilebox-right">
<div class="kprofilebox-modul">
<?php
CKunenaTools::showModulePosition('kunena_profilebox');
?>
</div>
</td>
<?php
}
?>
</tr>
</tbody>
</table>
</div>
</div>
</div>
示例6: __construct
//.........这里部分代码省略.........
CKunenaTools::KUndelete();
break;
}
break;
case 'template':
jimport('joomla.filesystem.path');
$name = JRequest::getString('name', JRequest::getString('kunena_template', '', 'COOKIE'));
while (@ob_end_clean()) {
}
if ($name) {
$name = JPath::clean($name);
if (!is_readable(KPATH_SITE . "/template/{$name}/template.xml")) {
$name = 'default';
}
setcookie('kunena_template', $name, 0, JURI::root(true) . '/');
} else {
setcookie('kunena_template', null, time() - 3600, JURI::root(true) . '/');
}
$kunena_app->redirect(CKunenaLink::GetKunenaURL(false));
break;
case 'credits':
include JPATH_COMPONENT . '/lib/kunena.credits.php';
break;
default:
require_once KUNENA_PATH_FUNCS . '/listcat.php';
$page = new CKunenaListcat($catid);
$page->display();
break;
}
if (JDEBUG) {
$__profiler->mark('$func End');
}
// Bottom Module
CKunenaTools::showModulePosition('kunena_bottom');
// PDF and RSS
if ($kunena_config->enablerss || $kunena_config->enablepdf) {
if ($catid > 0) {
kimport('category');
$category = KunenaCategory::getInstance($catid);
if ($category->pub_access == 0 && $category->parent) {
$rss_params = '&catid=' . (int) $catid;
}
} else {
$rss_params = '';
}
if (isset($rss_params) || $kunena_config->enablepdf) {
echo '<div class="krss-block">';
if ($kunena_config->enablepdf && $func == 'view' && KUNENA_JOOMLA_COMPAT == '1.5') {
// FIXME: add better translation:
echo CKunenaLink::GetPDFLink($catid, $limit, $limitstart, $id, CKunenaTools::showIcon('kpdf', JText::_('PDF')), 'nofollow', '', JText::_('PDF'));
}
if ($kunena_config->enablerss && isset($rss_params)) {
if ($kunena_config->rss_specification == 'atom1.0') {
$rss_specification = 'application/atom+xml';
} else {
$rss_specification = 'application/rss+xml';
}
$document->addCustomTag('<link rel="alternate" type="' . $rss_specification . '" title="' . JText::_('COM_KUNENA_LISTCAT_RSS') . '" href="' . CKunenaLink::GetRSSURL($rss_params) . '" />');
echo CKunenaLink::GetRSSLink(CKunenaTools::showIcon('krss', JText::_('COM_KUNENA_LISTCAT_RSS')), 'follow', $rss_params);
}
echo '</div>';
}
}
$template = KunenaFactory::getTemplate();
$this->params = $template->params;
// Credits
示例7:
?>
</td>
<?php
}
?>
</tr>
<?php
}
}
?>
</table>
</div>
</div>
</div>
<!-- F: List Cat -->
<!-- Begin: Category Module Position -->
<?php
// TODO: Remove from production version
//if(JDEBUG == 1){
// if(defined('JFIREPHP')){
// FB::log($mmm, 'Section Count');
// }
//}
?>
<?php
CKunenaTools::showModulePosition('kunena_section_' . $mmm);
?>
<!-- Finish: Category Module Position -->
<?php
}