aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-01-27 18:45:19 -0800
committerFriendika <info@friendika.com>2011-01-27 18:45:19 -0800
commit33037754d80dce07e6d806b6cee6df56311bb954 (patch)
tree399238f478515afdbe6d045ed4c096cadaf8989e /view
parentebba294189d87c0016f2fd33a7bacf8c08090d66 (diff)
downloadvolse-hubzilla-33037754d80dce07e6d806b6cee6df56311bb954.tar.gz
volse-hubzilla-33037754d80dce07e6d806b6cee6df56311bb954.tar.bz2
volse-hubzilla-33037754d80dce07e6d806b6cee6df56311bb954.zip
removed java photo uploader from mainline. Photo uploaders are now plugins, but a single item upload is available by default.
Diffstat (limited to 'view')
-rw-r--r--view/en/htconfig.tpl6
-rw-r--r--view/photos_upload.tpl35
-rw-r--r--view/theme/default/style.css3
-rw-r--r--view/theme/duepuntozero/style.css4
4 files changed, 16 insertions, 32 deletions
diff --git a/view/en/htconfig.tpl b/view/en/htconfig.tpl
index c7c19bf69..0182dbe5c 100644
--- a/view/en/htconfig.tpl
+++ b/view/en/htconfig.tpl
@@ -62,3 +62,9 @@ $a->config['system']['huburl'] = 'http://pubsubhubbub.appspot.com';
$a->config['system']['rino_encrypt'] = true;
+// Addons or plugins are configured here.
+// This is a comma seperated list of addons to enable. Example:
+// $a->config['system']['addon'] = 'js_upload,randplace,oembed';
+
+$a->config['system']['addon'] = 'js_upload';
+
diff --git a/view/photos_upload.tpl b/view/photos_upload.tpl
index 8a9dc3c68..2dbcddefd 100644
--- a/view/photos_upload.tpl
+++ b/view/photos_upload.tpl
@@ -23,41 +23,12 @@
</div>
- <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-spacer"></div>
- <div id="photos-upload-no-java-message" >
- $nojava
- </div>
+ $uploader
- <input type="file" name="userfile" />
+ $default
- <div class="photos-upload-submit-wrapper" >
- <input type="submit" name="submit" value="$submit" id="photos-upload-submit" />
- </div>
<div class="photos-upload-end" ></div>
</form>
diff --git a/view/theme/default/style.css b/view/theme/default/style.css
index 6e643d4fe..3ef63e265 100644
--- a/view/theme/default/style.css
+++ b/view/theme/default/style.css
@@ -1727,6 +1727,9 @@ a.mail-list-link {
#photos-upload-album-select {
float: left;
}
+#photos-upload-spacer {
+ margin-top: 25px;
+}
#photos-upload-new-end, #photos-upload-exist-end {
clear: both;
}
diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css
index 1f713f28d..59a5bf88a 100644
--- a/view/theme/duepuntozero/style.css
+++ b/view/theme/duepuntozero/style.css
@@ -1600,6 +1600,10 @@ a.mail-list-link {
#photos-upload-album-select {
float: left;
}
+
+#photos-upload-spacer {
+ margin-top: 25px;
+}
#photos-upload-new-end, #photos-upload-exist-end {
clear: both;
}