| Current Path : /var/www/administrator/components/com_cnotes/helpers/ |
| Current File : /var/www/administrator/components/com_cnotes/helpers/utils.php |
<?php
/**
* @author Daniel Dimitrov - compojoom.com
* @date: 17.09.12
*
* @copyright Copyright (C) 2008 - 2012 compojoom.com . All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
defined('_JEXEC') or die('Restricted access');
/**
* A class with utility functions
*/
class cnotesHelperUtils
{
/**
* @return string
*/
public static function footer()
{
$footer = '<p style="text-align: center; margin-top: 15px;" class="copyright"> ';
$footer .= 'CNotes - User notes for <a href="http://joomla.org" target="_blank">Joomla!™</a>';
$footer .= ' by <a href="https://compojoom.com">compojoom.com</a>';
$footer .= '</p>';
return $footer;
}
/**
* @return string
*/
public static function ad() {
$ad =
'<div class="ad">
<p>'.JText::_('COM_CNOTES_AD_EXPLANATION') .
'<a href="http://dothewebinar.com/?ref=cnotes" target="_blank"></p>
<img src="'.JURI::root(). '/media/com_cnotes/images/dothewebinar.jpg" />
</a>
</div>';
return $ad;
}
}