mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 01:34:55 +02:00
* moved most of guilds html-in-php code to twig
* moved buttons to separate templates * moved online search for to twig
This commit is contained in:
@@ -14,9 +14,7 @@
|
||||
<form action="{{ getLink('account/logout') }}" method="post" >
|
||||
<tr>
|
||||
<td style="border:0px;">
|
||||
<div class="BigButton" style="background-image:url({{ template_path }}/images/buttons/sbutton.gif)"><div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);"><div class="BigButtonOver" style="background-image:url({{ template_path }}/images/buttons/sbutton_over.gif);" ></div>
|
||||
<input class="ButtonText" type="image" name="Logout" alt="Logout" src="{{ template_path }}/images/buttons/_sbutton_logout.gif" ></div>
|
||||
</div>
|
||||
{{ include('buttons.logout.html.twig') }}
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
@@ -64,9 +62,7 @@
|
||||
<form action="{{ getLink('account/register') }}" method="post">
|
||||
<tr>
|
||||
<td style="border:0px;">
|
||||
<div class="BigButton" style="background-image:url({{ template_path }}/images/buttons/sbutton.gif)"><div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);"><div class="BigButtonOver" style="background-image:url({{ template_path }}/images/buttons/sbutton_over.gif);" ></div>
|
||||
<input class="ButtonText" type="image" name="Register Account" alt="Register Account" src="{{ template_path }}/images/buttons/_sbutton_registeraccount.gif" ></div>
|
||||
</div>
|
||||
{{ include('buttons.register_account.html.twig') }}
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
@@ -101,9 +97,7 @@
|
||||
<form action="{{ getLink('account/email') }}" method="post">
|
||||
<tr>
|
||||
<td style="border:0px;">
|
||||
<div class="BigButton" style="background-image:url({{ template_path }}/images/buttons/sbutton.gif)"><div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);"><div class="BigButtonOver" style="background-image:url({{ template_path }}/images/buttons/sbutton_over.gif);" ></div>
|
||||
<input class="ButtonText" type="image" name="Edit" alt="Edit" src="{{ template_path }}/images/buttons/_sbutton_edit.gif" ></div>
|
||||
</div>
|
||||
{{ include('buttons.edit.html.twig') }}
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
@@ -197,8 +191,7 @@
|
||||
<form action="{{ getLink('account/password') }}" method="post">
|
||||
<tr>
|
||||
<td style="border:0px;" >
|
||||
<div class="BigButton" style="background-image:url({{ template_path }}/images/buttons/sbutton.gif)" ><div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);"><div class="BigButtonOver" style="background-image:url({{ template_path }}/images/buttons/sbutton_over.gif);" ></div><input class="ButtonText" type="image" name="Change Password" alt="Change Password" src="{{ template_path }}/images/buttons/_sbutton_changepassword.gif" ></div>
|
||||
</div>
|
||||
{{ include('buttons.change_password.html.twig') }}
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
@@ -211,8 +204,7 @@
|
||||
<td style="border:0px;">
|
||||
<input type="hidden" name="newemail" value=""/>
|
||||
<input type="hidden" name="newemaildate" value="0">
|
||||
<div class="BigButton" style="background-image:url({{ template_path }}/images/buttons/sbutton.gif)" ><div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" ><div class="BigButtonOver" style="background-image:url({{ template_path }}/images/buttons/sbutton_over.gif);" ></div><input class="ButtonText" type="image" name="Change Email" alt="Change Email" src="{{ template_path }}/images/buttons/_sbutton_changeemail.gif" ></div>
|
||||
</div>
|
||||
{{ include('buttons.change_email.html.twig') }}
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
@@ -226,8 +218,7 @@
|
||||
<form action="{{ getLink('account/register') }}" method="post">
|
||||
<tr>
|
||||
<td style="border:0px;">
|
||||
<div class="BigButton" style="background-image:url({{ template_path }}/images/buttons/sbutton.gif)"><div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);"><div class="BigButtonOver" style="background-image:url({{ template_path }}/images/buttons/sbutton_over.gif);" ></div><input class="ButtonText" type="image" name="Register Account" alt="Register Account" src="{{ template_path }}/images/buttons/_sbutton_registeraccount.gif" ></div>
|
||||
</div>
|
||||
{{ include('buttons.register_account.html.twig') }}
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
@@ -298,8 +289,7 @@
|
||||
<form action="{{ getLink('account/info') }}" method="post">
|
||||
<tr>
|
||||
<td style="border:0px;">
|
||||
<div class="BigButton" style="background-image:url({{ template_path }}/images/buttons/sbutton.gif)" ><div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" ><div class="BigButtonOver" style="background-image:url({{ template_path }}/images/buttons/sbutton_over.gif);" ></div><input class="ButtonText" type="image" name="Edit" alt="Edit" src="{{ template_path }}/images/buttons/_sbutton_edit.gif" ></div>
|
||||
</div>
|
||||
{{ include('buttons.edit.html.twig') }}
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
@@ -471,9 +461,8 @@
|
||||
<table border="0" cellspacing="0" cellpadding="0" >
|
||||
<form action="{{ getLink('account/character/create') }}" method="post" >
|
||||
<tr>
|
||||
<td style="border:0px;" ><div class="BigButton" style="background-image:url({{ template_path }}/images/buttons/sbutton.gif)" ><div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" ><div class="BigButtonOver" style="background-image:url({{ template_path }}/images/buttons/sbutton_over.gif);" ></div>
|
||||
<input class="ButtonText" type="image" name="Create Character" alt="Create Character" src="{{ template_path }}/images/buttons/_sbutton_createcharacter.gif" ></div>
|
||||
</div>
|
||||
<td style="border:0px;" >
|
||||
{{ include('buttons.create_character.html.twig') }}
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
@@ -484,8 +473,8 @@
|
||||
<table border="0" cellspacing="0" cellpadding="0" >
|
||||
<form action="{{ getLink('account/character/name') }}" method="post" >
|
||||
<tr>
|
||||
<td style="border:0px;" ><div class="BigButton" style="background-image:url({{ template_path }}/images/buttons/sbutton.gif)" ><div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" ><div class="BigButtonOver" style="background-image:url('.$template_path.'/images/buttons/sbutton_over.gif);" ></div><input class="ButtonText" type="image" name="Change Name" alt="Change Name" src="images/buttons/_sbutton_change_name.gif" ></div>
|
||||
</div>
|
||||
<td style="border:0px;" >
|
||||
{{ include('buttons.change_name.html.twig') }}
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
@@ -497,8 +486,8 @@
|
||||
<table border="0" cellspacing="0" cellpadding="0" >
|
||||
<form action="{{ getLink('account/character/sex') }}" method="post" >
|
||||
<tr>
|
||||
<td style="border:0px;" ><div class="BigButton" style="background-image:url({{ template_path }}/images/buttons/sbutton.gif)" ><div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" ><div class="BigButtonOver" style="background-image:url('.$template_path.'/images/buttons/sbutton_over.gif);" ></div><input class="ButtonText" type="image" name="Change Sex" alt="Change Sex" src="images/buttons/_sbutton_change_sex.gif" ></div>
|
||||
</div>
|
||||
<td style="border:0px;" >
|
||||
{{ include('buttons.change_sex.html.twig') }}
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
@@ -511,8 +500,7 @@
|
||||
<form action="{{ getLink('account/character/delete') }}" method="post">
|
||||
<tr>
|
||||
<td style="border:0px;">
|
||||
<div class="BigButton" style="background-image:url({{ template_path }}/images/buttons/sbutton.gif)" ><div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" ><div class="BigButtonOver" style="background-image:url({{ template_path }}/images/buttons/sbutton_over.gif);" ></div><input class="ButtonText" type="image" name="Delete Character" alt="Delete Character" src="{{ template_path }}/images/buttons/_sbutton_deletecharacter.gif" ></div>
|
||||
</div>
|
||||
{{ include('buttons.delete_character.html.twig') }}
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
|
Reference in New Issue
Block a user