mirror of
https://github.com/e107inc/e107.git
synced 2025-08-20 13:21:54 +02:00
First cut of modified upload system - uses class-based limits in filetypes.xml
This commit is contained in:
@@ -11,14 +11,33 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_languages/English/admin/help/upload.php,v $
|
||||
| $Revision: 1.1.1.1 $
|
||||
| $Date: 2006-12-02 04:34:43 $
|
||||
| $Author: mcfly_e107 $
|
||||
| $Revision: 1.2 $
|
||||
| $Date: 2008-04-22 20:32:49 $
|
||||
| $Author: e107steved $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
if (e_QUERY) list($action,$junk) = explode('.',e_QUERY); else $action = 'list';
|
||||
|
||||
$text = "From here you can allow / disallow the ability for users to upload files and manage those files that have been uploaded.";
|
||||
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 500kb).<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";
|
||||
}
|
||||
$ns -> tablerender("Public Uploads Help", $text);
|
||||
?>
|
Reference in New Issue
Block a user