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 Binary files /dev/null and b/images/onoff.jpg 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 @@ + +
+ + $field.2 + $field.3 +
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 @@ + +
+ + + $field.3 +
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 @@ + +
+ + + $field.3 +
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 @@ +
+ +
+ + + {{ if $field.4 }}$field.4.0{{ else }}OFF{{ endif }} + + + {{ if $field.4 }}$field.4.1{{ else }}ON{{ endif }} + +
+ $field.3 +
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 + +

$title

+ + +
+ +$settings_addons + +
+ 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 @@ + +
+ $account.0 + $plugins.0 +
+
diff --git a/view/theme/dispy/login-bg.gif b/view/theme/dispy/login-bg.gif new file mode 100644 index 000000000..cde836c89 Binary files /dev/null and b/view/theme/dispy/login-bg.gif differ