Sindbad~EG File Manager

Current Path : /home/sarayaglobal/sarayamystair.in/libraries/syw/fields/
Upload File :
Current File : /home/sarayaglobal/sarayamystair.in/libraries/syw/fields/allowurlfopentest.php

<?php
/**
 * @copyright	Copyright (C) 2011 Simplify Your Web, Inc. All rights reserved.
 * @license		GNU General Public License version 3 or later; see LICENSE.txt
 */

// no direct access
defined('_JEXEC') or die ;

jimport('joomla.form.formfield');
jimport('joomla.plugin.helper');

/**
 *
 * deprecated. Use phpsettingtest instead
 *
 */
class JFormFieldAllowurlfopentest extends JFormField 
{		
	public $type = 'Allowurlfopentest';

	protected function getLabel() 
	{
		return '<div style="clear: both;"></div>';
	}
	
	protected function getInput() 
	{		
		$lang = JFactory::getLanguage();
		$lang->load('lib_syw.sys', JPATH_SITE);
				
		$html = '';
		
		if (!ini_get('allow_url_fopen')) {
			$html .= '<div class="alert alert-error">';
			$html .= '<span>';
			$html .= JText::_('LIB_SYW_ALLOWURLFOPENTEST_NOTLOADED');
			$html .= '</span>';
			$html .= '</div>';
				
			return $html;
		} else {
			$html .= '<div class="alert alert-success">';
			$html .= '<span>';
			$html .= JText::_('LIB_SYW_ALLOWURLFOPENTEST_LOADED');
			$html .= '</span>';
			$html .= '</div>';
		}
		
		return $html;
	}

}
?>

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists