?
Path : /home/admin/public_html/old/board/components/com_kunena/template/default/announcement/ |
Current File : /home/admin/public_html/old/board/components/com_kunena/template/default/announcement/read.php |
<?php /** * @version $Id: read.php 4336 2011-01-31 06:05:12Z severdia $ * Kunena Component * @package Kunena * * @Copyright (C) 2008 - 2011 Kunena Team. All rights reserved. * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL * @link http://www.kunena.org **/ // Dont allow direct linking defined( '_JEXEC' ) or die(); $document = JFactory::getDocument(); $document->setTitle(JText::_('COM_KUNENA_ANN_ANNOUNCEMENTS') . ' - ' . $this->config->board_title); ?> <div class="kblock kannouncement"> <div class="kheader"> <h1><?php echo KunenaParser::parseText($this->announcement->title); ?></h1> </div> <div class="kcontainer" id="kannouncement"> <?php if ($this->canEdit) : ?> <div class="kactions"> <?php echo CKunenaLink::GetAnnouncementLink( 'edit', $this->id, JText::_('COM_KUNENA_ANN_EDIT'), JText::_('COM_KUNENA_ANN_EDIT')); ?> | <?php echo CKunenaLink::GetAnnouncementLink( 'delete', $this->id, JText::_('COM_KUNENA_ANN_DELETE'), JText::_('COM_KUNENA_ANN_DELETE')); ?> | <?php echo CKunenaLink::GetAnnouncementLink( 'add',NULL, JText::_('COM_KUNENA_ANN_ADD'), JText::_('COM_KUNENA_ANN_ADD')); ?> | <?php echo CKunenaLink::GetAnnouncementLink( 'show', NULL, JText::_('COM_KUNENA_ANN_CPANEL'), JText::_('COM_KUNENA_ANN_CPANEL')); ?> </div> <?php endif; ?> <div class="kbody"> <div class="kanndesc"> <?php if ($this->announcement->showdate > 0) : ?> <div class="anncreated" title="<?php echo CKunenaTimeformat::showDate($this->announcement->created, 'ago'); ?>"> <?php echo CKunenaTimeformat::showDate($this->announcement->created, 'date_today'); ?> </div> <?php endif; ?> <div class="anndesc"><?php echo !empty($this->announcement->description) ? KunenaParser::parseBBCode($this->announcement->description) : KunenaParser::parseBBCode($this->announcement->sdescription); ?></div> </div> </div> </div> </div>