|
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 | : | 32.37 GB of 70.42 GB (45.97%) |
|
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/
temp/
colorbox/
- drwxr-xr-x
|
Viewing file: colorbox.api.php (1.08 KB) -rw-r--r--Select action/file-type:  ( +) |  ( +) |  ( +) | Code ( +) | Session ( +) |  ( +) | SDB ( +) |  ( +) |  ( +) |  ( +) |  ( +) |  ( +) |
<?php
/** * @file * API documentation for the colorbox module. */
/** * Allows to override Colorbox settings and style. * * Implements hook_colorbox_settings_alter(). * * @param $settings * An associative array of Colorbox settings. See the * @link http://colorpowered.com/colorbox/ Colorbox documentation @endlink * for the full list of supported parameters. * @param $style * The name of the active style plugin. */ function hook_colorbox_settings_alter(&$settings, &$style) { // Disable automatic downscaling of images to maxWidth/maxHeight size. $settings['scalePhotos'] = TRUE;
// Use custom style plugin specifically for node/123. if ($_GET['q'] == 'node/123') { $style = 'mystyle'; } }
/** * Allow other modules to control access to forms opening in Colorbox. * * Implements hook_colorbox_form_access(). * * @param $form_id * The unique string identifying the current form. */ function hook_colorbox_form_access($form_id) { $access = FALSE;
if ($form_id == 'forward_form') { return user_access('access forward'); }
return $access; }
|