nucleus/plugins/skinfiles/index.php File Reference

Go to the source code of this file.

Functions

 sfExpandDirectory ($path)
 sfRealPath ($path)
 sfFullUrl ($path)
 sfValidPath ($path)
 sfRelativePath ($path)
 sfIsFileType ($type, $file)
 sfAllowEditing ($file)
 sfAllowViewing ($file)
 sfDisplayPath ($relative)
 sfIcon ($file)
 sfIllegalFilename ($name)
 sfDirectoryIsEmpty ($dir)
 sfShowDirectory ($default= '')
 _skinfiles_rendir ($preset= '')
 _skinfiles_rendir_process ()
 _skinfiles_createdir ()
 _skinfiles_deldir ()
 _skinfiles_deldir_process ()
 _skinfiles_emptydir ()
 _skinfiles_emptydir_process ()
 _skinfiles_download ()
 _skinfiles_viewfile ()
 _skinfiles_exif_prepare ($value)
 _skinfiles_editfile ()
 _skinfiles_editfile_process ()
 _skinfiles_renfile ($preset= '')
 _skinfiles_renfile_process ()
 _skinfiles_createfile ()
 _skinfiles_delfile ()
 _skinfiles_delfile_process ()
 _skinfiles_uploadfile ()

Variables

 $strRel = '../../../'
 $language = ereg_replace( '[\\|/]', '', getLanguageName())
 $langfile = $language.'.php'
 else
 $oPluginAdmin = new PluginAdmin('SkinFiles')
 exit
 $rootDirectory = sfRealPath($DIR_SKINS)
 $rootUrl = $CONF['SkinsURL']
 $pluginUrl = $oPluginAdmin->plugin->getAdminURL()
 $filetypes
 $action = requestVar('action')
 $actions


Function Documentation

_skinfiles_createdir (  ) 

_skinfiles_createfile (  ) 

_skinfiles_deldir (  ) 

_skinfiles_deldir_process (  ) 

_skinfiles_delfile (  ) 

_skinfiles_delfile_process (  ) 

_skinfiles_download (  ) 

_skinfiles_editfile (  ) 

_skinfiles_editfile_process (  ) 

_skinfiles_emptydir (  ) 

_skinfiles_emptydir_process (  ) 

_skinfiles_exif_prepare ( value  ) 

Definition at line 1100 of file nucleus/plugins/skinfiles/index.php.

Referenced by _skinfiles_viewfile().

_skinfiles_rendir ( preset = ''  ) 

_skinfiles_rendir_process (  ) 

_skinfiles_renfile ( preset = ''  ) 

_skinfiles_renfile_process (  ) 

_skinfiles_uploadfile (  ) 

_skinfiles_viewfile (  ) 

sfAllowEditing ( file  ) 

sfAllowViewing ( file  ) 

Definition at line 250 of file nucleus/plugins/skinfiles/index.php.

References sfIsFileType().

Referenced by _skinfiles_viewfile(), and sfShowDirectory().

sfDirectoryIsEmpty ( dir  ) 

sfDisplayPath ( relative  ) 

sfExpandDirectory ( path  ) 

sfFullUrl ( path  ) 

Definition at line 209 of file nucleus/plugins/skinfiles/index.php.

References $rootDirectory, and $rootUrl.

Referenced by _skinfiles_viewfile().

sfIcon ( file  ) 

sfIllegalFilename ( name  ) 

sfIsFileType ( type,
file 
)

Definition at line 240 of file nucleus/plugins/skinfiles/index.php.

References $filetypes.

Referenced by _skinfiles_viewfile(), sfAllowEditing(), and sfAllowViewing().

sfRealPath ( path  ) 

Definition at line 198 of file nucleus/plugins/skinfiles/index.php.

Referenced by sfExpandDirectory().

sfRelativePath ( path  ) 

sfShowDirectory ( default = ''  ) 

sfValidPath ( path  ) 


Variable Documentation

$action = requestVar('action')

Bypass admin area for downloads

Definition at line 75 of file nucleus/plugins/skinfiles/index.php.

$actions

Initial value:

 array (
                'renfile', 'renfile_process', 'delfile', 'delfile_process', 
                'editfile', 'editfile_process', 'uploadfile', 'createfile', 'viewfile',
                'rendir', 'rendir_process', 'deldir', 'deldir_process',
                'emptydir', 'emptydir_process', 'createdir'
        )

Definition at line 153 of file nucleus/plugins/skinfiles/index.php.

Referenced by ADMIN::action_skinedittype(), ITEMACTIONS::highlightAndParse(), SKIN::parse(), ACTIONS::parse_comments(), COMMENTS::showComments(), and BLOG::showUsingQuery().

$filetypes

Initial value:

 array (
                'text'  => array ('inc', 'txt', 'css', 'js', 'php'),
                'html'  => array ('htm', 'html'),
                'img'   => array ('png', 'gif', 'jpg', 'jpeg', 'bmp', 'ico', 'swf'),
        )

Definition at line 64 of file nucleus/plugins/skinfiles/index.php.

Referenced by sfIsFileType().

$langfile = $language.'.php'

Definition at line 34 of file nucleus/plugins/skinfiles/index.php.

$language = ereg_replace( '[\\|/]', '', getLanguageName())

$oPluginAdmin = new PluginAdmin('SkinFiles')

Create admin area

Definition at line 44 of file nucleus/plugins/skinfiles/index.php.

$pluginUrl = $oPluginAdmin->plugin->getAdminURL()

$rootDirectory = sfRealPath($DIR_SKINS)

Setup main variables

Definition at line 60 of file nucleus/plugins/skinfiles/index.php.

Referenced by sfExpandDirectory(), sfFullUrl(), sfRelativePath(), sfShowDirectory(), and sfValidPath().

$rootUrl = $CONF['SkinsURL']

Definition at line 61 of file nucleus/plugins/skinfiles/index.php.

Referenced by sfFullUrl().

$strRel = '../../../'

Definition at line 29 of file nucleus/plugins/skinfiles/index.php.

Definition at line 38 of file nucleus/plugins/skinfiles/index.php.

Definition at line 51 of file nucleus/plugins/skinfiles/index.php.



Generated on Wed Jun 25 17:26:00 2008 by  doxygen 1.5.5