1
0
Fork 0

simple plugin details and log view in admin

This commit is contained in:
Fabio Comuni 2011-06-14 11:54:14 +02:00
commit 25d1637ec4
3 changed files with 80 additions and 2 deletions

17
view/admin_logs.tpl Normal file
View file

@ -0,0 +1,17 @@
<div id='adminpage'>
<h1>$title - $page</h1>
<form action="$baseurl/admin/logs" method="post">
{{ inc field_checkbox.tpl with $field=$debugging }}{{ endinc }}
{{ inc field_input.tpl with $field=$logfile }}{{ endinc }}
{{ inc field_select.tpl with $field=$loglevel }}{{ endinc }}
<div class="submit"><input type="submit" name="page_logs" value="$submit" /></div>
</form>
<h3>$logname</h3>
<iframe src='$baseurl/$logname' style="width:100%; height:400px"></iframe>
<!-- <div class="submit"><input type="submit" name="page_logs_clear_log" value="$clear" /></div> -->
</div>

View file

@ -0,0 +1,7 @@
<div id='adminpage'>
<h1>$title - $page</h1>
<p><span class='icon $status'></span> $plugin</p>
<p><a href="$baseurl/admin/plugins/$plugin/?a=t">$action</a></p>
</div>