예제 #1
0
											<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>
예제 #2
0
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; ?>