Update directory layout to fit with other projects
This commit is contained in:
12
source/webui/templates/ajax.tpl
Normal file
12
source/webui/templates/ajax.tpl
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
{if $messages}
|
||||
"messages": [
|
||||
{foreach from=$messages item=message name=messages}
|
||||
{$message|json_encode}{if ! $smarty.foreach.messages.last},{/if}
|
||||
{/foreach}
|
||||
]{if $page_content},{/if}
|
||||
{/if}
|
||||
|
||||
{$page_content}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user