Esempio n. 1
0
	function fetchElement($name, $value, $node, $control_name)
	{	
		$html = '<p>Enabling this requires registering your website as Twitter application, more about it <a href="http://www.rockettheme.com/extensions-joomla/roktwittie#registration" target="_blank">here</a>.</p>';
		
		$html .= parent::fetchElement($name, $value, $node, $control_name);
		
		return $html;
	}
Esempio n. 2
0
 function fetchElement($name, $value, &$node, $control_name)
 {
     if (!is_writable(JPATH_ADMINISTRATOR . '/includes')) {
         return 'Unable to write to <strong>administrator/includes</strong> directory.  Unable to patch files. Check your permissions.';
     }
     if (!is_writable(JPATH_ADMINISTRATOR . '/includes/application.php')) {
         return 'Unable to write to <strong>administrator/includes/application.php</strong>.  Unable to patch files.  Check your permissions.';
     }
     return parent::fetchElement($name, $value, $node, $control_name);
 }