Fix source header alignment
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{check_auth context="admin" roles="ADMIN" login_url="login"}
|
||||
{check_auth context="admin" roles="ROLE_ADMIN" login_url="login"}
|
||||
{$page_title={intl l='Home'}}
|
||||
{include file='includes/header.inc.html'}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
{form_hidden_fields form=$form}
|
||||
|
||||
{form_field form=$form field='success_url'}
|
||||
<input type="hidden" name="{$name}" value="{url path='admin'}" /> {* redirect to /admin *}
|
||||
<input type="hidden" name="{$name}" value="{url path='admin'}" /> {* on success, redirect to /admin *}
|
||||
{/form_field}
|
||||
|
||||
{form_field form=$form field='username'}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>{intl l="Hi, I'm a Thelia TPex template"}</title>
|
||||
<title>{$page_title|default:{intl l="Thelia II"}}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
|
||||
{stylesheets file='../assets/css/*' filters='less,cssembed'}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{include file="includes/header.html"}
|
||||
<div>
|
||||
|
||||
{loop type="auth" name="auth_test" context="front" roles="CUSTOMER"}
|
||||
{loop type="auth" name="auth_test" context="front" roles="ROLE_CUSTOMER"}
|
||||
|
||||
<p>Customer is authentified :-)</p>
|
||||
{/loop}
|
||||
|
||||
Reference in New Issue
Block a user