summaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authorJakob Sack <kde@jakobsack.de>2011-03-02 11:56:48 +0100
committerJakob Sack <kde@jakobsack.de>2011-03-02 11:56:48 +0100
commit66ac355f7845c56589dcd6c10a92a25af48c97fc (patch)
tree6f8563c33ece2b61cfe5482bf755a87d579ed378 /settings/templates
parent015ab0eb6424bbde90f36a087326e769233ac577 (diff)
downloadnextcloud-server-66ac355f7845c56589dcd6c10a92a25af48c97fc.tar.gz
nextcloud-server-66ac355f7845c56589dcd6c10a92a25af48c97fc.zip
Getting rid of Smarty, using our own template system
Diffstat (limited to 'settings/templates')
-rw-r--r--settings/templates/index.php24
-rw-r--r--settings/templates/index.tmpl19
2 files changed, 24 insertions, 19 deletions
diff --git a/settings/templates/index.php b/settings/templates/index.php
new file mode 100644
index 00000000000..20410e06d12
--- /dev/null
+++ b/settings/templates/index.php
@@ -0,0 +1,24 @@
+<?php
+/*
+ * Template for settings page
+ */
+?>
+<h1>Settings</h1>
+
+<form action="" type="">
+ <p>
+ <span>New password:</span>
+ <input type="password" name="newpassword" value="">
+ </p>
+ <p>
+ <span>Confirm new password:</span>
+ <input type="password" name="newpasswordconfirm" value="">
+ </p>
+ <p>
+ <span>Old password:</span>
+ <input type="password" name="password" value="">
+ </p>
+ <p>
+ <input type="submit" name="submit" value="Send">
+ </p>
+</form>
diff --git a/settings/templates/index.tmpl b/settings/templates/index.tmpl
deleted file mode 100644
index b700ced4e3a..00000000000
--- a/settings/templates/index.tmpl
+++ /dev/null
@@ -1,19 +0,0 @@
-<h1>Settings</h1>
-
-<form action="" type="">
- <p>
- <span>New password:</span>
- <input type="password" name="newpassword" value="">
- </p>
- <p>
- <span>Confirm new password:</span>
- <input type="password" name="newpasswordconfirm" value="">
- </p>
- <p>
- <span>Old password:</span>
- <input type="password" name="password" value="">
- </p>
- <p>
- <input type="submit" name="submit" value="Send">
- </p>
-</form>