Browse Source

Merge pull request #137 from fabrixxm/master

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

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

BIN
images/onoff.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 502 B

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

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

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

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

11
view/settings_addons.tpl

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

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

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 237 B

Loading…
Cancel
Save