diff --git a/e107_files/shortcode/uploadfile.sc b/e107_files/shortcode/uploadfile.sc deleted file mode 100644 index a46dbb878..000000000 --- a/e107_files/shortcode/uploadfile.sc +++ /dev/null @@ -1,40 +0,0 @@ -// $Id: uploadfile.sc,v 1.3 2009-08-15 15:44:37 marj_nl_fr Exp $ - -// Your
tag must include: enctype='multipart/form-data' - in order to work. -// parm is the path to the upload folder. -global $pref; - -if(!FILE_UPLOADS) -{ - return LAN_UPLOAD_SERVEROFF; -} -if(USER_AREA === TRUE && !check_class($pref['upload_class'])) -{ - return LAN_DISABLED; -} - - -if($parm && !is_writable($parm)) -{ - return LAN_UPLOAD_777." ".str_replace("../","",$parm).""; -} - -$name = "file_userfile[]"; -//FIXME - XHTML/JS standards -$text .=" - -
-
- - -
-
-
- -
-
-
- - "; - -return $text;