summaryrefslogtreecommitdiffstats
path: root/apps/admin/modules/log/templates
diff options
context:
space:
mode:
Diffstat (limited to 'apps/admin/modules/log/templates')
-rw-r--r--apps/admin/modules/log/templates/_priority.php1
-rw-r--r--apps/admin/modules/log/templates/_user_id.php1
-rw-r--r--apps/admin/modules/log/templates/clearSuccess.php12
3 files changed, 14 insertions, 0 deletions
diff --git a/apps/admin/modules/log/templates/_priority.php b/apps/admin/modules/log/templates/_priority.php
new file mode 100644
index 0000000..2427ac7
--- /dev/null
+++ b/apps/admin/modules/log/templates/_priority.php
@@ -0,0 +1 @@
+<?php echo image_tag(($log_entry->getPriority()<3?"information.gif":($log_entry->getPriority()<4?"warning.gif":"error.gif")),"alt=[!] border=0") ?><?php echo $log_entry->getLevel() ?>
diff --git a/apps/admin/modules/log/templates/_user_id.php b/apps/admin/modules/log/templates/_user_id.php
new file mode 100644
index 0000000..737a1c7
--- /dev/null
+++ b/apps/admin/modules/log/templates/_user_id.php
@@ -0,0 +1 @@
+<?php echo ($log_entry->getUser() ? $log_entry->getUser(): "Anonymous") ?>
diff --git a/apps/admin/modules/log/templates/clearSuccess.php b/apps/admin/modules/log/templates/clearSuccess.php
new file mode 100644
index 0000000..83508eb
--- /dev/null
+++ b/apps/admin/modules/log/templates/clearSuccess.php
@@ -0,0 +1,12 @@
+ <div id="context">
+ <?php echo use_helper("Asset", "Form", "Object", "Validation") ?>
+ &nbsp; <?php echo form_tag("log/clear")?>
+ <h1>Clear Log</h1>
+
+ <hr size="1" />
+
+ <h2>Do you really want to remove all log entries?</h2>
+
+ <div class="formaction"><?php echo submit_tag("Yes") ?><?php echo button_to("Cancel", "log/list") ?></div>
+ </form>
+ </div>