From 394f4518a31192b5403320b679210f2c0c744e65 Mon Sep 17 00:00:00 2001 From: Daku Date: Sat, 24 Dec 2011 23:28:33 +0000 Subject: [PATCH] More improvements to the uploader. --- ext/upload/minus.png | Bin 0 -> 212 bytes ext/upload/plus.png | Bin 0 -> 269 bytes ext/upload/style.css | 5 +++++ ext/upload/theme.php | 51 ++++++++++++++++++++++++++++++++++--------- 4 files changed, 46 insertions(+), 10 deletions(-) create mode 100644 ext/upload/minus.png create mode 100644 ext/upload/plus.png diff --git a/ext/upload/minus.png b/ext/upload/minus.png new file mode 100644 index 0000000000000000000000000000000000000000..57c86dec53054cc72ef0452fb7718bbc2e205be9 GIT binary patch literal 212 zcmeAS@N?(olHy`uVBq!ia0vp^{2~)xwMhD znL)t$V!5F82G3JItw%CKzG!e8IHxTzU=1m0n4-4v$*EsOiQz)wUkjY~bC?H&%Eq<7 z=@gUS!+&$mlI{Mc3hFkhH)k0pSzhM(YJXDvVJXAKB`RVCdTLofTNpfD{an^LB{Ts5 DG$%k} literal 0 HcmV?d00001 diff --git a/ext/upload/plus.png b/ext/upload/plus.png new file mode 100644 index 0000000000000000000000000000000000000000..d7ec0ae3036fcfceb702ee3787cc2e6ddf410d1b GIT binary patch literal 269 zcmeAS@N?(olHy`uVBq!ia0vp^{2L&MZ!+2Ho1iJ6}se26bfKAWr&*O?9_h$NA0ETrpy1get_int('upload_count'); $i++) { - $n = $i + 1; - $upload_list .= " - -
File
"; + $a=$i+1; + $s=$i-1; + if(!$i==0){ + $upload_list .=""; + }else{ + $upload_list .= ""; + } + $upload_list .= ""; + + if($i==0){ + $upload_list .= "
" . + "". + "
"; + }else{ + $upload_list .="
+ ". + ""; + if($a==$config->get_int('upload_count')){ + $upload_list .=""; + }else{ + $upload_list .= + "". + ""; + } + $upload_list .= "
"; + } + + $upload_list .= + " File
"; if($tl_enabled) { - $upload_list .=" - URL
+ $upload_list .= + " URL "; @@ -58,8 +89,8 @@ class UploadTheme extends Themelet { ".make_form(make_link("upload"), "POST", $multipart=True)." $upload_list - - + +
Tags
Source
Tags
Source
@@ -110,10 +141,10 @@ class UploadTheme extends Themelet { $upload_list = ''; $upload_list .= " -
File
"; + File
"; if($tl_enabled) { $upload_list .=" - URL
+ URL "; } else {