remove "internal" templates, use "tpl/" folder for smarty3 templates,
move smarty3 templates in "tpl/" folder, add util/precompile_smarty.php utility, add precompiled templates
This commit is contained in:
27
view/tpl/admin_logs.tpl
Normal file → Executable file
27
view/tpl/admin_logs.tpl
Normal file → Executable file
@@ -1,19 +1,24 @@
|
||||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<div id='adminpage'>
|
||||
<h1>$title - $page</h1>
|
||||
<h1>{{$title}} - {{$page}}</h1>
|
||||
|
||||
<form action="$baseurl/admin/logs" method="post">
|
||||
<input type='hidden' name='form_security_token' value='$form_security_token'>
|
||||
<form action="{{$baseurl}}/admin/logs" method="post">
|
||||
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
|
||||
|
||||
{{ inc field_checkbox.tpl with $field=$debugging }}{{ endinc }}
|
||||
{{ inc field_input.tpl with $field=$logfile }}{{ endinc }}
|
||||
{{ inc field_select.tpl with $field=$loglevel }}{{ endinc }}
|
||||
{{include file="field_checkbox.tpl" field=$debugging}}
|
||||
{{include file="field_input.tpl" field=$logfile}}
|
||||
{{include file="field_select.tpl" field=$loglevel}}
|
||||
|
||||
<div class="submit"><input type="submit" name="page_logs" value="$submit" /></div>
|
||||
<div class="submit"><input type="submit" name="page_logs" value="{{$submit}}" /></div>
|
||||
|
||||
</form>
|
||||
|
||||
<h3>$logname</h3>
|
||||
<div style="width:100%; height:400px; overflow: auto; "><pre>$data</pre></div>
|
||||
<!-- <iframe src='$baseurl/$logname' style="width:100%; height:400px"></iframe> -->
|
||||
<!-- <div class="submit"><input type="submit" name="page_logs_clear_log" value="$clear" /></div> -->
|
||||
<h3>{{$logname}}</h3>
|
||||
<div style="width:100%; height:400px; overflow: auto; "><pre>{{$data}}</pre></div>
|
||||
<!-- <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>
|
||||
|
||||
Reference in New Issue
Block a user