|
System | : | Linux MiraNet 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686 |
Software | : | Apache. PHP/5.3.6-13ubuntu3.10 |
ID | : | uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
|
|
Safe Mode | : | OFF |
Open_Basedir | : | OFF |
Freespace | : | 21.44 GB of 70.42 GB (30.45%) |
|
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON |
Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
|
[ System Info ]
[ Processes ]
[ SQL Manager ]
[ Eval ]
[ Encoder ]
[ Mailer ]
[ Back Connection ]
[ Backdoor Server ]
[ Kernel Exploit Search ]
[ MD5 Decrypter ]
[ Reverse IP ]
[ Kill Shell ]
[ FTP Brute-Force ]
|
|
/
http/
guitar.1/
libraries/
joomla/
html/
toolbar/
- drwxr-xr-x
|
Viewing file: button.php (2.04 KB) -rw-r--r--Select action/file-type:  ( +) |  ( +) |  ( +) | Code ( +) | Session ( +) |  ( +) | SDB ( +) |  ( +) |  ( +) |  ( +) |  ( +) |  ( +) |
<?php /** * @package Joomla.Platform * @subpackage HTML * * @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE */
defined('JPATH_PLATFORM') or die;
/** * Button base class * * The JButton is the base class for all JButton types * * @package Joomla.Platform * @subpackage HTML * @since 11.1 */ abstract class JButton extends JObject { /** * element name * * This has to be set in the final renderer classes. * * @var string */ protected $_name = null;
/** * reference to the object that instantiated the element * * @var JButton */ protected $_parent = null;
/** * Constructor * * @param object $parent The parent */ public function __construct($parent = null) { $this->_parent = $parent; }
/** * Get the element name * * @return string type of the parameter */ public function getName() { return $this->_name; }
/** * Get the HTML to render the button * * @param array &$definition Parameters to be passed * * @return string */ public function render(&$definition) { /* * Initialise some variables */ $html = null; $id = call_user_func_array(array(&$this, 'fetchId'), $definition); $action = call_user_func_array(array(&$this, 'fetchButton'), $definition);
// Build id attribute if ($id) { $id = "id=\"$id\""; }
// Build the HTML Button $html .= "<li class=\"button\" $id>\n"; $html .= $action; $html .= "</li>\n";
return $html; }
/** * Method to get the CSS class name for an icon identifier * * Can be redefined in the final class * * @param string $identifier Icon identification string * * @return string CSS class name * * @since 11.1 */ public function fetchIconClass($identifier) { return "icon-32-$identifier"; }
/** * Get the button * * Defined in the final button class * * @return string * * @since 11.1 */ abstract public function fetchButton(); }
|