aboutsummaryrefslogtreecommitdiffstats
path: root/addon/java_upload/java_upload.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-01-27 03:52:18 -0800
committerFriendika <info@friendika.com>2011-01-27 03:52:18 -0800
commit076c25e1034f35e486bf5a38c186ab897de4e3b6 (patch)
tree2cfeda0dd39056938eabc073cf7af4ea61d991f9 /addon/java_upload/java_upload.php
parente8a3166fa9caa1bdff90526886ae705bc44c4ac8 (diff)
downloadvolse-hubzilla-076c25e1034f35e486bf5a38c186ab897de4e3b6.tar.gz
volse-hubzilla-076c25e1034f35e486bf5a38c186ab897de4e3b6.tar.bz2
volse-hubzilla-076c25e1034f35e486bf5a38c186ab897de4e3b6.zip
Revert "Revert "roll version - now in alpha 2.1""
This reverts commit e8a3166fa9caa1bdff90526886ae705bc44c4ac8.
Diffstat (limited to 'addon/java_upload/java_upload.php')
-rw-r--r--addon/java_upload/java_upload.php41
1 files changed, 41 insertions, 0 deletions
diff --git a/addon/java_upload/java_upload.php b/addon/java_upload/java_upload.php
index 92cd5326e..3d627b08f 100644
--- a/addon/java_upload/java_upload.php
+++ b/addon/java_upload/java_upload.php
@@ -3,6 +3,47 @@
+function java_upload_form(&$a,&$b) {
+
+
+$b .= <<< EOT;
+
+ <div id="photos-upload-select-files-text">$filestext</div>
+
+ <div id="photos_upload_applet_wrapper">
+ <applet name="jumpLoaderApplet"
+ code="jmaster.jumploader.app.JumpLoaderApplet.class"
+ archive="$archive"
+ width="700"
+ height="600"
+ mayscript >
+ <param name="uc_uploadUrl" value="$uploadurl" />
+ <param name="uc_uploadFormName" value="photos-upload-form" />
+ <param name="gc_loggingLeveL" value="FATAL" />
+ <param name="uc_fileParameterName" value="userfile" />
+ <param name="uc_cookie" value="PHPSESSID=$sessid; path=/;" />
+ <param name="vc_disableLocalFileSystem" value="false" />
+ <param name="vc_uploadViewMenuBarVisible" value="false" />
+ <param name="vc_mainViewFileListViewVisible" value="true" />
+ <param name="vc_mainViewFileListViewHeightPercent" value="50" />
+ <param name="vc_mainViewFileTreeViewVisible" value="true" />
+ <param name="vc_mainViewFileTreeViewWidthPercent" value="35" />
+ <param name="vc_lookAndFeel" value="system" />
+
+ </applet>
+
+ </div>
+
+ <div id="photos-upload-no-java-message" >
+ $nojava
+ </div>
+
+EOT;
+
+}
+
+
+
function java_upload_photo_post_init(&$a,&$b) {