2006-12-02 04:36:16 +00:00
< ? php
/*
2009-11-17 11:13:05 +00:00
* e107 website system
*
2009-11-18 01:06:08 +00:00
* Copyright ( C ) 2008 - 2009 e107 Inc ( e107 . org )
2009-11-17 11:13:05 +00:00
* Released under the terms and conditions of the
* GNU General Public License ( http :// www . gnu . org / licenses / gpl . txt )
*
*
*
* $Source : / cvs_backup / e107_0 . 8 / e107_languages / English / admin / help / upload . php , v $
2010-02-10 18:18:01 +00:00
* $Revision $
* $Date $
* $Author $
2009-11-17 11:13:05 +00:00
*/
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 );