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


PHP CKunenaLink::getProfileLink方法代码示例

本文整理汇总了PHP中CKunenaLink::getProfileLink方法的典型用法代码示例。如果您正苦于以下问题:PHP CKunenaLink::getProfileLink方法的具体用法?PHP CKunenaLink::getProfileLink怎么用?PHP CKunenaLink::getProfileLink使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在CKunenaLink的用法示例。


在下文中一共展示了CKunenaLink::getProfileLink方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: echo

											<br />
										<?php endif; ?>
										<input type="submit" class="kbutton kreply-submit" name="submit" value="<?php echo JText::_('COM_KUNENA_GEN_CONTINUE') ?>" title="<?php echo (JText::_('COM_KUNENA_EDITOR_HELPLINE_SUBMIT'));?>" />
										<input type="reset" class="kbutton kreply-cancel" name="cancel" value="<?php echo JText::_('COM_KUNENA_CANCEL') ?>" title="<?php echo (JText::_('COM_KUNENA_EDITOR_HELPLINE_CANCEL'));?>" />
										<small><?php echo JText::_('COM_KUNENA_QMESSAGE_NOTE') ?></small>
										<input type="hidden" name="view" value="topic" />
										<input type="hidden" name="task" value="post" />
										<input type="hidden" name="parentid" value="<?php echo intval($this->message->id) ?>" />
										<input type="hidden" name="catid" value="<?php echo intval($this->category->id) ?>" />
										<?php echo JHTML::_( 'form.token' ) ?>
									</form>
								</li>
								<?php endif ?>
								<?php if ($this->message->modified_by && $this->config->editmarkup) : ?>
								<li class="kpost-body-lastedit">
									<?php echo JText::_('COM_KUNENA_EDITING_LASTEDIT') . ": [K=DATE:{$this->message->modified_time}] " . JText::_('COM_KUNENA_BY') . ' ' . CKunenaLink::getProfileLink( $this->message->modified_by ) . '.'; ?>
								</li>
								<?php if ($this->message->modified_reason) : ?>
								<li class="kpost-body-editreason">
									<?php echo JText::_('COM_KUNENA_REASON') . ': ' . $this->escape ( $this->message->modified_reason ); ?>
								</li>
								<?php endif ?>
								<?php endif ?>
								<?php if (!empty($this->signatureHtml)) : ?>
								<li class="kpost-body-sig"><?php echo $this->signatureHtml ?></li>
								<?php endif ?>
							</ul>
							[K=MESSAGE_ACTIONS]
							<div class="clr"></div>
						</div>
					</li>
开发者ID:rich20,项目名称:Kunena,代码行数:31,代码来源:default_message.php

示例2: if

if ($this->message->modified_time) {
	$datehover = 'title="'.KunenaDate::getInstance($this->message->modified_time)->toKunena('config_post_dateformat_hover').'"';
	$dateshown = KunenaDate::getInstance($this->message->modified_time)->toKunena('config_post_dateformat' ).' ';
}
?>
<div>
	<?php if ($this->signatureHtml) : ?>
	<div class="kmsgsignature">
		<?php echo $this->signatureHtml ?>
	</div>
	<?php endif ?>
</div>
<div class="kmessage-editmarkup-cover">
	<?php if ($this->message->modified_by && $this->config->editmarkup) : ?>
	<span class="kmessage-editmarkup" <?php echo $datehover ?>>
		<?php echo JText::_('COM_KUNENA_EDITING_LASTEDIT') . ': ' . $dateshown . JText::_('COM_KUNENA_BY') . ' ' . CKunenaLink::getProfileLink( $this->message->modified_by ) . '.'; ?>
		<?php if ($this->message->modified_reason) echo JText::_('COM_KUNENA_REASON') . ': ' . $this->escape ( $this->message->modified_reason ); ?>
	</span>
	<?php endif ?>
	<?php if ($this->config->reportmsg && KunenaFactory::getUser()->exists()) :?>
	<span class="kmessage-informmarkup"><?php echo CKunenaLink::GetReportMessageLink ( intval($this->category->id), intval($this->message->id), JText::_('COM_KUNENA_REPORT') ) ?></span>
	<?php endif ?>
	<?php if (!empty ( $this->ipLink )) : ?>
	<span class="kmessage-informmarkup"><?php echo $this->ipLink ?></span>
	<?php endif ?>
</div>
<div class="kmessage-buttons-cover">
	<div class="kmessage-buttons-row">
	<?php if (empty( $this->message_closed )) : ?>
		<?php echo $this->message_quickreply; ?>
		<?php echo $this->message_reply; ?>
开发者ID:rich20,项目名称:Kunena,代码行数:31,代码来源:default_message_actions.php


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