本文整理汇总了PHP中CKunenaLink::GetPostURL方法的典型用法代码示例。如果您正苦于以下问题:PHP CKunenaLink::GetPostURL方法的具体用法?PHP CKunenaLink::GetPostURL怎么用?PHP CKunenaLink::GetPostURL使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CKunenaLink
的用法示例。
在下文中一共展示了CKunenaLink::GetPostURL方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: kShowDetail
$document = JFactory::getDocument();
if ($this->my->id) {
$document->addScriptDeclaration('// <![CDATA[
var kunena_anonymous_name = "' . JText::_('COM_KUNENA_USERNAME_ANONYMOUS') . '";
// ]]>');
}
$document->addScriptDeclaration('// <![CDATA[
function kShowDetail(srcElement) {' . 'var targetID, srcElement, targetElement, imgElementID, imgElement;' . 'targetID = srcElement.id + "_details";' . 'imgElementID = srcElement.id + "_img";' . 'targetElement = document.getElementById(targetID);' . 'imgElement = document.getElementById(imgElementID);' . 'if (targetElement.style.display == "none") {' . 'targetElement.style.display = "";' . 'imgElement.src = "' . KUNENA_JLIVEURL . '/components/com_kunena/template/default/images/emoticons/w00t.png";' . '} else {' . 'targetElement.style.display = "none";' . 'imgElement.src = "' . KUNENA_JLIVEURL . '/components/com_kunena/template/default/images/emoticons/pinch.png";' . '}}
// ]]>');
$this->setTitle($this->title);
$this->k = 0;
CKunenaTools::loadTemplate('/pathway.php');
?>
<form class="postform form-validate" id="postform" action="<?php
echo CKunenaLink::GetPostURL();
?>
"
method="post" name="postform" enctype="multipart/form-data" onsubmit="return myValidate(this);">
<input type="hidden" name="action" value="<?php
echo $this->action;
?>
" />
<?php
if (!isset($this->selectcatlist)) {
?>
<input type="hidden" name="catid" value="<?php
echo intval($this->catid);
?>
" />
<?php