From b5a145b297ee933dc4c9d7e016a57feba91bf8ac Mon Sep 17 00:00:00 2001
From: Jörn Friedrich Dreyer <jfd@butonic.de>
Date: Tue, 3 Jun 2014 16:50:05 +0200
Subject: convert mail template editor to app framework for a restful api

---
 apps/files_sharing/templates/settings-admin.php | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

(limited to 'apps/files_sharing/templates')

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>
-- 
cgit v1.2.3