public static function getInstance()
 {
     if (!self::$instance) {
         self::$instance = new NoNumberLicenses();
     }
     return self::$instance;
 }
Exemple #2
0
 protected function getInput()
 {
     $this->params = $this->element->attributes();
     $extension = $this->get('extension');
     if (!strlen($extension)) {
         return '';
     }
     require_once JPATH_PLUGINS . '/system/nnframework/helpers/licenses.php';
     return '</div><div class="hide">' . nnLicenses::getInstance()->getMessage($extension);
 }
Exemple #3
0
 protected function getInput()
 {
     $this->params = $this->element->attributes();
     $extension = $this->get('extension');
     if (!strlen($extension)) {
         return '';
     }
     // Import library dependencies
     require_once JPATH_PLUGINS . '/system/nnframework/helpers/licenses.php';
     $licenses = nnLicenses::getInstance();
     return $licenses->getMessage($extension);
 }
Exemple #4
0
							<?php 
        echo (int) $item->id;
        ?>
						</td>
					</tr>
				<?php 
    }
    ?>
			<?php 
}
?>
			</tbody>
		</table>

		<input type="hidden" name="task" value="" />
		<input type="hidden" name="boxchecked" value="0" />
		<?php 
echo JHtml::_('form.token');
?>
	</form>

<?php 
// PRO Check
require_once JPATH_PLUGINS . '/system/nnframework/helpers/licenses.php';
echo nnLicenses::getInstance()->getMessage('SNIPPETS', 0);
// Copyright
echo nnVersions::getInstance()->getCopyright('SNIPPETS', '', 0, 'snippets', 'component');
function makeTooltipSafe($str)
{
    return str_replace(array('"', '::', "&lt;", "\n"), array('&quot;', '&#58;&#58;', "&amp;lt;", '<br />'), htmlentities(trim($str), ENT_QUOTES, 'UTF-8'));
}