Merge pull request #137 from fabrixxm/master

Add missing files from previus checkin
This commit is contained in:
Friendika 2011-07-06 14:19:16 -07:00
commit e315b2defb
9 changed files with 50 additions and 1 deletions

View file

@ -129,7 +129,7 @@ function js_upload_post_init(&$a,&$b) {
// max file size in bytes // max file size in bytes
$sizeLimit = 6 * 1024 * 1024; $sizeLimit = get_config('system','maximagesize'); //6 * 1024 * 1024;
$uploader = new qqFileUploader($allowedExtensions, $sizeLimit); $uploader = new qqFileUploader($allowedExtensions, $sizeLimit);
@ -141,6 +141,7 @@ function js_upload_post_init(&$a,&$b) {
if(isset($result['error'])) { if(isset($result['error'])) {
logger('mod/photos.php: photos_post(): error uploading photo: ' . $result['error'] , 'LOGGER_DEBUG'); logger('mod/photos.php: photos_post(): error uploading photo: ' . $result['error'] , 'LOGGER_DEBUG');
echo json_encode($result);
killme(); killme();
} }

BIN
images/onoff.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 502 B

6
view/field_custom.tpl Normal file
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
view/field_password.tpl Normal file
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
view/field_radio.tpl Normal file
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
view/field_yesno.tpl Normal file
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
view/settings_addons.tpl Normal file
View file

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

6
view/settings_tabs.tpl Normal file
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>

Binary file not shown.

After

Width:  |  Height:  |  Size: 237 B