summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/templates
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2014-06-03 16:50:05 +0200
committerJörn Friedrich Dreyer <jfd@butonic.de>2014-06-03 16:53:03 +0200
commitb5a145b297ee933dc4c9d7e016a57feba91bf8ac (patch)
tree4999e4053582a73b2a07c030afd3877f4937717b /apps/files_sharing/templates
parent37afab87b56fa7b2a1b0e751df72e9624663f94f (diff)
downloadnextcloud-server-b5a145b297ee933dc4c9d7e016a57feba91bf8ac.tar.gz
nextcloud-server-b5a145b297ee933dc4c9d7e016a57feba91bf8ac.zip
convert mail template editor to app framework for a restful api
Diffstat (limited to 'apps/files_sharing/templates')
-rw-r--r--apps/files_sharing/templates/settings-admin.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/files_sharing/templates/settings-admin.php b/apps/files_sharing/templates/settings-admin.php
index 44864c24717..4021be871cd 100644
--- a/apps/files_sharing/templates/settings-admin.php
+++ b/apps/files_sharing/templates/settings-admin.php
@@ -1,4 +1,5 @@
<div class="section" id="mailTemplateSettings" >
+
<h2><?php p($l->t('Mail templates'));?></h2>
<div class="actions">
@@ -6,7 +7,7 @@
<div>
<label for="mts-theme"><?php p($l->t('Theme'));?></label>
<select id="mts-theme">
- <?php foreach($_['themes'] as $theme): ?>
+ <?php foreach($_['themes'] as $theme => $editable): ?>
<option><?php p($theme); ?></option>
<?php endforeach; ?>
</select>
@@ -22,11 +23,11 @@
</div>
</div>
-
+
<div class="templateEditor">
<textarea></textarea>
</div>
-
+
<div class="actions">
<button class="reset"><?php p($l->t('Reset'));?></button>
@@ -36,4 +37,5 @@
<span id="mts-msg" class="msg"></span>
</div>
+
</div>