/content/code/trunk/modules/mod_artofcontent_add/tmpl/default.php
PHP | 23 lines | 11 code | 2 blank | 10 comment | 0 complexity | a1249400c1297ad0f8dfb031f71cabc1 MD5 | raw file
- <?php
- /**
- * @version $Id:combolayout.php 2547 2007-11-10 04:37:15Z masterchief $
- * @package NewLifeInIT
- * @subpackage mod_artofcontent_add
- * @copyright Copyright 2005 - 2010 New Life in IT Pty Ltd. All rights reserved.
- * @license GNU General Public License <http://www.gnu.org/copyleft/gpl.html>
- * @author Andrew Eddie <andrew.eddie@newlifeinit.com>
- * @link http://www.theartofjoomla.com/extensions/artof-content.html
- */
- // No direct access.
- defined('JPATH_BASE') or die();
- $uri = JFactory::getUri();
- $return = base64_encode(JRoute::_($uri->toString()));
- $itemId = $params->get('alt_itemid', 1175); //JRequest::getInt('Itemid');
- $link = JRoute::_(
- 'index.php?option=com_content&view=article&id=0&task=new§ionid='.$sectionId.'&cat_id='.$categoryId.'&ret='.$return
- );
- ?>
- <a href="<?php echo $link; ?>">
- <?php echo JText::_('MOD_ARTOFCONTENT_ADD_LINKTEXT'); ?></a>