diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2014-02-21 10:01:02 +0100 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2014-06-02 19:22:58 +0200 |
commit | 37afab87b56fa7b2a1b0e751df72e9624663f94f (patch) | |
tree | 11252d05738f7d7ee4bdad333ee762a8a63dfad6 /apps/files_sharing/templates | |
parent | c88c0b9a13231478c626296d78aac7c1f66d87d9 (diff) | |
download | nextcloud-server-37afab87b56fa7b2a1b0e751df72e9624663f94f.tar.gz nextcloud-server-37afab87b56fa7b2a1b0e751df72e9624663f94f.zip |
minimal mail template editor for administrators, refs #7177
Diffstat (limited to 'apps/files_sharing/templates')
-rw-r--r-- | apps/files_sharing/templates/settings-admin.php | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/apps/files_sharing/templates/settings-admin.php b/apps/files_sharing/templates/settings-admin.php new file mode 100644 index 00000000000..44864c24717 --- /dev/null +++ b/apps/files_sharing/templates/settings-admin.php @@ -0,0 +1,39 @@ +<div class="section" id="mailTemplateSettings" > + <h2><?php p($l->t('Mail templates'));?></h2> + + <div class="actions"> + + <div> + <label for="mts-theme"><?php p($l->t('Theme'));?></label> + <select id="mts-theme"> + <?php foreach($_['themes'] as $theme): ?> + <option><?php p($theme); ?></option> + <?php endforeach; ?> + </select> + </div> + + <div> + <label for="mts-template"><?php p($l->t('Template'));?></label> + <select id="mts-template"> + <?php foreach($_['editableTemplates'] as $template => $editable): ?> + <option><?php p($template); ?></option> + <?php endforeach; ?> + </select> + </div> + + </div> + + <div class="templateEditor"> + <textarea></textarea> + </div> + + <div class="actions"> + + <button class="reset"><?php p($l->t('Reset'));?></button> + + <button class="save"><?php p($l->t('Save'));?></button> + + <span id="mts-msg" class="msg"></span> + + </div> +</div> |