Browse Source

Merge pull request #137 from fabrixxm/master

Add missing files from previus checkin
pull/1/head
Friendika 10 years ago
parent
commit
e315b2defb
9 changed files with 50 additions and 1 deletions
  1. +2
    -1
      addon/js_upload/js_upload.php
  2. BIN
      images/onoff.jpg
  3. +6
    -0
      view/field_custom.tpl
  4. +6
    -0
      view/field_password.tpl
  5. +6
    -0
      view/field_radio.tpl
  6. +13
    -0
      view/field_yesno.tpl
  7. +11
    -0
      view/settings_addons.tpl
  8. +6
    -0
      view/settings_tabs.tpl
  9. BIN
      view/theme/dispy/login-bg.gif

+ 2
- 1
addon/js_upload/js_upload.php View File

@ -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();
}


BIN
images/onoff.jpg View File

Before After
Width: 34  |  Height: 20  |  Size: 502 B

+ 6
- 0
view/field_custom.tpl View File

@ -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>

+ 6
- 0
view/field_password.tpl View File

@ -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>

+ 6
- 0
view/field_radio.tpl View File

@ -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>

+ 13
- 0
view/field_yesno.tpl View File

@ -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>

+ 11
- 0
view/settings_addons.tpl View File

@ -0,0 +1,11 @@
$tabs
<h1>$title</h1>
<form action="settings/addon" method="post" >
$settings_addons
</form>

+ 6
- 0
view/settings_tabs.tpl View File

@ -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>

BIN
view/theme/dispy/login-bg.gif View File

Before After
Width: 16  |  Height: 16  |  Size: 237 B

Loading…
Cancel
Save