X-Git-Url: http://git.dj3c1t.com/?a=blobdiff_plain;f=mw%2Flibs%2Ftiny_mce%2Fplugins%2Ftinybrowser%2Fupload.php;fp=mw%2Flibs%2Ftiny_mce%2Fplugins%2Ftinybrowser%2Fupload.php;h=bc97e8d230283ef647162cd2d29af38e44922e13;hb=49c57f2e4950e8fbce1ff8f1c2b791e3df0d61b1;hp=0000000000000000000000000000000000000000;hpb=beb400a195a5ac025eb9fe75c5abdeddde4195c2;p=mtweb diff --git a/mw/libs/tiny_mce/plugins/tinybrowser/upload.php b/mw/libs/tiny_mce/plugins/tinybrowser/upload.php new file mode 100644 index 0000000..bc97e8d --- /dev/null +++ b/mw/libs/tiny_mce/plugins/tinybrowser/upload.php @@ -0,0 +1,177 @@ + array(), + 'message' => array() +); +$goodqty = (isset($_GET['goodfiles']) ? $_GET['goodfiles'] : 0); +$badqty = (isset($_GET['badfiles']) ? $_GET['badfiles'] : 0); +$dupqty = (isset($_GET['dupfiles']) ? $_GET['dupfiles'] : 0); + +if($goodqty>0) + { + $notify['type'][]='success'; + $notify['message'][]=sprintf(TB_MSGUPGOOD, $goodqty); + } +if($badqty>0) + { + $notify['type'][]='failure'; + $notify['message'][]=sprintf(TB_MSGUPBAD, $badqty); + } +if($dupqty>0) + { + $notify['type'][]='failure'; + $notify['message'][]=sprintf(TB_MSGUPDUP, $dupqty); + } +if(isset($_GET['permerror'])) + { + $notify['type'][]='failure'; + $notify['message'][]=sprintf(TB_MSGUPFAIL, $tinybrowser['docroot'].$tinybrowser['path'][$typenow]); + } +?> + + +
+