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:
fabrixxm
2013-05-08 04:23:17 -04:00
parent c753fa19d2
commit 5e1980becf
364 changed files with 2868 additions and 7713 deletions

27
view/tpl/admin_logs.tpl Normal file → Executable file
View 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>