summaryrefslogtreecommitdiff
path: root/manager/application/views/scripts
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2010-06-29 20:00:03 +0200
committerMichael Tänzer <neo@nhng.de>2010-06-29 20:00:03 +0200
commit93f7bf20f649382446784ad2b000394fe63f5010 (patch)
tree757be1ad95a297eb2c1cb5f6d7d0f3cc5b900f1e /manager/application/views/scripts
parent1169be1f5812fd0dec4f13d89aff4fff83e8251c (diff)
downloadcacert-mgr-93f7bf20f649382446784ad2b000394fe63f5010.tar.gz
cacert-mgr-93f7bf20f649382446784ad2b000394fe63f5010.tar.xz
cacert-mgr-93f7bf20f649382446784ad2b000394fe63f5010.zip
New admin increase feature
TODO: Add to the menu somewhere TODO: Test ;-) Signed-off-by: Michael Tänzer <neo@nhng.de>
Diffstat (limited to 'manager/application/views/scripts')
-rw-r--r--manager/application/views/scripts/manage-account/admin-increase-form.phtml8
-rw-r--r--manager/application/views/scripts/manage-account/admin-increase.phtml19
2 files changed, 27 insertions, 0 deletions
diff --git a/manager/application/views/scripts/manage-account/admin-increase-form.phtml b/manager/application/views/scripts/manage-account/admin-increase-form.phtml
new file mode 100644
index 0000000..16d6f31
--- /dev/null
+++ b/manager/application/views/scripts/manage-account/admin-increase-form.phtml
@@ -0,0 +1,8 @@
+<?php
+/**
+ * @author Michael Tänzer
+ * @todo Text
+ */
+?>
+
+<?php print $this->admin_increase_form ?>
diff --git a/manager/application/views/scripts/manage-account/admin-increase.phtml b/manager/application/views/scripts/manage-account/admin-increase.phtml
new file mode 100644
index 0000000..bf984d3
--- /dev/null
+++ b/manager/application/views/scripts/manage-account/admin-increase.phtml
@@ -0,0 +1,19 @@
+<?php
+/**
+ * @author Michael Tänzer
+ * @todo Text
+ */
+?>
+
+<h1><?php print I18n::_('Points added successfully')?></h1>
+
+<table>
+ <thead>
+ <tr><th>#</th><th><?php print I18n::_('Number of points')?></th></tr>
+ </thead>
+ <tbody>
+ <?php foreach ($this->adminIncreasesDone as $i => $points) {
+ printf('<tr><td> %1$d </td><td> %2$d </td></tr>', $i, $points);
+ }?>
+ </tbody>
+</table>