2006-12-02 04:36:16 +00:00
< ? php
/*
+ ----------------------------------------------------------------------------+
| e107 website system
|
| <EFBFBD> Steve Dunstan 2001 - 2002
| http :// e107 . org
| jalist @ e107 . org
|
| Released under the terms and conditions of the
| GNU General Public License ( http :// gnu . org ) .
|
| $Source : / cvs_backup / e107_0 . 8 / e107_languages / English / admin / help / upload . php , v $
2008-04-22 20:32:59 +00:00
| $Revision : 1.2 $
| $Date : 2008 - 04 - 22 20 : 32 : 49 $
| $Author : e107steved $
2006-12-02 04:36:16 +00:00
+----------------------------------------------------------------------------+
*/
if ( ! defined ( 'e107_INIT' )) { exit ; }
2008-04-22 20:32:59 +00:00
if ( e_QUERY ) list ( $action , $junk ) = explode ( '.' , e_QUERY ); else $action = 'list' ;
2006-12-02 04:36:16 +00:00
2008-04-22 20:32:59 +00:00
switch ( $action )
{
case 'filetypes' :
$text = " The file types and maximum file size which can be uploaded are set by user class. This option generates a file called " . e_UPLOAD_TEMP_DIR . e_SAVE_FILETYPES . " ,
which must be copied or moved to directory " .e_ADMIN_ABS. " and renamed to " .e_READ_FILETYPES. " before it takes effect .< br />
One definition per class is permitted .< br />
Note that these definitions apply site - wide , even if the public uploads feature is disabled . " ;
break ;
case 'options' :
$text = " The complete public uploads system may be disabled here.<br />
Flatfile storage is generally appropriate ( otherwise the maximum file size is hard - limited to 500 kb ) .< br />
The maximum filesize overrides any definitions set in filetypes . xml .< br />
Public uploads may be restricted to a particular user class , but these settings also apply to other areas of the site where uploads may be permitted , such as
news and forms . " ;
break ;
case 'view' :
default :
$text = " This page lists any submitted uploads. You may choose to delete them, transfer them to downloads, or post them to news " ;
}
2006-12-02 04:36:16 +00:00
$ns -> tablerender ( " Public Uploads Help " , $text );
?>