aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-07-06 14:19:16 -0700
committerFriendika <info@friendika.com>2011-07-06 14:19:16 -0700
commite315b2defbda529acc73eff402582b8a97b5dace (patch)
treeffb71bb97b81a5a1650d0904d31505665f3ebac0
parente3e27458f85393d8c2a53a3b19d63d1689b6f874 (diff)
parent5526afcf76c261ac8f276ffc4121861d6e175d70 (diff)
downloadvolse-hubzilla-e315b2defbda529acc73eff402582b8a97b5dace.tar.gz
volse-hubzilla-e315b2defbda529acc73eff402582b8a97b5dace.tar.bz2
volse-hubzilla-e315b2defbda529acc73eff402582b8a97b5dace.zip
Merge pull request #137 from fabrixxm/master
Add missing files from previus checkin
-rw-r--r--addon/js_upload/js_upload.php3
-rw-r--r--images/onoff.jpgbin0 -> 502 bytes
-rw-r--r--view/field_custom.tpl6
-rw-r--r--view/field_password.tpl6
-rw-r--r--view/field_radio.tpl6
-rw-r--r--view/field_yesno.tpl13
-rw-r--r--view/settings_addons.tpl11
-rw-r--r--view/settings_tabs.tpl6
-rw-r--r--view/theme/dispy/login-bg.gifbin0 -> 237 bytes
9 files changed, 50 insertions, 1 deletions
diff --git a/addon/js_upload/js_upload.php b/addon/js_upload/js_upload.php
index 042e9a988..8691389fe 100644
--- a/addon/js_upload/js_upload.php
+++ b/addon/js_upload/js_upload.php
@@ -129,7 +129,7 @@ function js_upload_post_init(&$a,&$b) {
// max file size in bytes
- $sizeLimit = 6 * 1024 * 1024;
+ $sizeLimit = get_config('system','maximagesize'); //6 * 1024 * 1024;
$uploader = new qqFileUploader($allowedExtensions, $sizeLimit);
@@ -141,6 +141,7 @@ function js_upload_post_init(&$a,&$b) {
if(isset($result['error'])) {
logger('mod/photos.php: photos_post(): error uploading photo: ' . $result['error'] , 'LOGGER_DEBUG');
+ echo json_encode($result);
killme();
}
diff --git a/images/onoff.jpg b/images/onoff.jpg
new file mode 100644
index 000000000..7884912a7
--- /dev/null
+++ b/images/onoff.jpg
Binary files differ
diff --git a/view/field_custom.tpl b/view/field_custom.tpl
new file mode 100644
index 000000000..be15d3f60
--- /dev/null
+++ b/view/field_custom.tpl
@@ -0,0 +1,6 @@
+
+ <div class='field custom'>
+ <label for='$field.0'>$field.1</label>
+ $field.2
+ <span class='field_help'>$field.3</span>
+ </div>
diff --git a/view/field_password.tpl b/view/field_password.tpl
new file mode 100644
index 000000000..e604b7f5d
--- /dev/null
+++ b/view/field_password.tpl
@@ -0,0 +1,6 @@
+
+ <div class='field password'>
+ <label for='id_$field.0'>$field.1</label>
+ <input type='password' name='$field.0' id='id_$field.0' value="$field.2">
+ <span class='field_help'>$field.3</span>
+ </div>
diff --git a/view/field_radio.tpl b/view/field_radio.tpl
new file mode 100644
index 000000000..a915e8eb3
--- /dev/null
+++ b/view/field_radio.tpl
@@ -0,0 +1,6 @@
+
+ <div class='field radio'>
+ <label for='id_$field.0_$field.2'>$field.1</label>
+ <input type="radio" name='$field.0' id='id_$field.0_$field.2' value="$field.2" {{ if $field.4 }}checked="true"{{ endif }}>
+ <span class='field_help'>$field.3</span>
+ </div>
diff --git a/view/field_yesno.tpl b/view/field_yesno.tpl
new file mode 100644
index 000000000..5d4a775c2
--- /dev/null
+++ b/view/field_yesno.tpl
@@ -0,0 +1,13 @@
+ <div class='field yesno'>
+ <label for='id_$field.0'>$field.1</label>
+ <div class='onoff' id="id_$field.0_onoff">
+ <input type="hidden" name='$field.0' id='id_$field.0' value="$field.2">
+ <a href="#" class='off'>
+ {{ if $field.4 }}$field.4.0{{ else }}OFF{{ endif }}
+ </a>
+ <a href="#" class='on'>
+ {{ if $field.4 }}$field.4.1{{ else }}ON{{ endif }}
+ </a>
+ </div>
+ <span class='field_help'>$field.3</span>
+ </div>
diff --git a/view/settings_addons.tpl b/view/settings_addons.tpl
new file mode 100644
index 000000000..8fe0b5194
--- /dev/null
+++ b/view/settings_addons.tpl
@@ -0,0 +1,11 @@
+$tabs
+
+<h1>$title</h1>
+
+
+<form action="settings/addon" method="post" >
+
+$settings_addons
+
+</form>
+
diff --git a/view/settings_tabs.tpl b/view/settings_tabs.tpl
new file mode 100644
index 000000000..893fdfbce
--- /dev/null
+++ b/view/settings_tabs.tpl
@@ -0,0 +1,6 @@
+
+<div id="profile-tabs-wrapper" >
+ <a href="$account.1" id="profile-tab-status-link" class="profile-tabs" >$account.0</a>
+ <a href="$plugins.1" id="profile-tab-profile-link" class="profile-tabs" >$plugins.0</a>
+<div id="profile-tabs-end"></div>
+</div>
diff --git a/view/theme/dispy/login-bg.gif b/view/theme/dispy/login-bg.gif
new file mode 100644
index 000000000..cde836c89
--- /dev/null
+++ b/view/theme/dispy/login-bg.gif
Binary files differ