mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-18 03:33:26 +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:
@@ -90,8 +90,7 @@ If you do not want to specify a certain field, just leave it blank.<br/><br/>
|
||||
<td style="border:0px;">
|
||||
<input type="hidden" name="name" value="{{ player.getName() }}">
|
||||
<input type="hidden" name="changecommentsave" value="1">
|
||||
<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="Submit" alt="Submit" src="{{ template_path }}/images/buttons/_sbutton_submit.gif" ></div>
|
||||
</div>
|
||||
{{ include('buttons.submit.html.twig') }}
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
@@ -102,8 +101,7 @@ If you do not want to specify a certain field, just leave it blank.<br/><br/>
|
||||
<form action="{{ getLink('account/manage') }}" 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="Back" alt="Back" src="{{ template_path }}/images/buttons/_sbutton_back.gif" ></div>
|
||||
</div>
|
||||
{{ include('buttons.back.html.twig') }}
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
|
@@ -79,9 +79,7 @@ Here you can tell other players about yourself. This information will be display
|
||||
<tr>
|
||||
<td style="border:0px;" >
|
||||
<input type="hidden" name="changeinfosave" value="1">
|
||||
<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="Submit" alt="Submit" src="{{ template_path }}/images/buttons/_sbutton_submit.gif" ></div>
|
||||
</div>
|
||||
{{ include('buttons.submit.html.twig') }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -92,9 +90,7 @@ Here you can tell other players about yourself. This information will be display
|
||||
<form action="{{ getLink('account/manage') }}" 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="Back" alt="Back" src="{{ template_path }}/images/buttons/_sbutton_back.gif" ></div>
|
||||
</div>
|
||||
{{ include('buttons.back.html.twig') }}
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
|
@@ -49,8 +49,7 @@ Please enter your password and the new email address. Make sure that you enter a
|
||||
<tr>
|
||||
<td style="border:0px;">
|
||||
<input type="hidden" name="changeemailsave" value="1"/>
|
||||
<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="Submit" alt="Submit" src="{{ template_path }}/images/buttons/_sbutton_submit.gif" ></div>
|
||||
</div>
|
||||
{{ include('buttons.submit.html.twig') }}
|
||||
</td>
|
||||
<tr>
|
||||
</table>
|
||||
@@ -61,8 +60,7 @@ Please enter your password and the new email address. Make sure that you enter a
|
||||
<form action="{{ getLink('account/manage') }}" 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="Back" alt="Back" src="{{ template_path }}/images/buttons/_sbutton_back.gif" ></div>
|
||||
</div>
|
||||
{{ include('buttons.back.html.twig') }}
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
|
@@ -55,8 +55,7 @@ To change a name of character select player and choose a new name.<br/>
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<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="Submit" alt="Submit" src="{{ template_path }}/images/buttons/_sbutton_submit.gif" ></div>
|
||||
</div>
|
||||
{{ include('buttons.submit.html.twig') }}
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
@@ -67,8 +66,7 @@ To change a name of character select player and choose a new name.<br/>
|
||||
<form action="{{ getLink('account/manage') }}" 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="Back" alt="Back" src="{{ template_path }}/images/buttons/_sbutton_back.gif" ></div>
|
||||
</div>
|
||||
{{ include('buttons.back.html.twig') }}
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
|
@@ -57,8 +57,7 @@ Please enter your current password and a new password. For your security, please
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<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="Submit" alt="Submit" src="{{ template_path }}/images/buttons/_sbutton_submit.gif" ></div>
|
||||
</div>
|
||||
{{ include('buttons.submit.html.twig') }}
|
||||
</td>
|
||||
<tr>
|
||||
</table>
|
||||
@@ -69,8 +68,7 @@ Please enter your current password and a new password. For your security, please
|
||||
<form action="{{ getLink('account/manage') }}" 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="Back" alt="Back" src="{{ template_path }}/images/buttons/_sbutton_back.gif" ></div>
|
||||
</div>
|
||||
{{ include('buttons.back.html.twig') }}
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
|
@@ -54,8 +54,7 @@ To change a sex of character select player and choose a new sex.<br/>
|
||||
<table border="0" cellspacing="0" cellpadding="0" >
|
||||
<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="Submit" alt="Submit" src="{{ template_path }}/images/buttons/_sbutton_submit.gif" ></div>
|
||||
</div>
|
||||
{{ include('buttons.submit.html.twig') }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -67,8 +66,7 @@ To change a sex of character select player and choose a new sex.<br/>
|
||||
<form action="{{ getLink('account/manage') }}" 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="Back" alt="Back" src="{{ template_path }}/images/buttons/_sbutton_back.gif" ></div>
|
||||
</div>
|
||||
{{ include('buttons.back.html.twig') }}
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
|
@@ -124,12 +124,7 @@ Also you have to agree to the terms presented below. If you have done so, your a
|
||||
<tr>
|
||||
<td style="border:0px;" >
|
||||
<input type="hidden" name="step" value="save" >
|
||||
<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="Submit" alt="Submit" src="{{ template_path }}/images/buttons/_sbutton_submit.gif" >
|
||||
</div>
|
||||
</div>
|
||||
{{ include('buttons.submit.html.twig') }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@@ -126,9 +126,7 @@ In any case the name must not violate the naming conventions stated in the <a hr
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<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="Submit" alt="Submit" src="{{ template_path }}/images/buttons/_sbutton_submit.gif" ></div>
|
||||
</div>
|
||||
{{ include('buttons.submit.html.twig') }}
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
@@ -139,7 +137,7 @@ In any case the name must not violate the naming conventions stated in the <a hr
|
||||
<form action="{{ getLink('account/manage') }}" 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="Back" alt="Back" src="{{ template_path }}/images/buttons/_sbutton_back.gif" ></div></div>
|
||||
{{ include('buttons.back.html.twig') }}
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
|
@@ -45,8 +45,7 @@ To delete a character enter the name of the character and your password.<br/><br
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<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="Submit" alt="Submit" src="{{ template_path }}/images/buttons/_sbutton_submit.gif" ></div>
|
||||
</div>
|
||||
{{ include('buttons.submit.html.twig') }}
|
||||
</td>
|
||||
<tr>
|
||||
</form>
|
||||
@@ -57,8 +56,7 @@ To delete a character enter the name of the character and your password.<br/><br
|
||||
<form action="{{ getLink('account/manage') }}" 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="Back" alt="Back" src="{{ template_path }}/images/buttons/_sbutton_back.gif" ></div>
|
||||
</div>
|
||||
{{ include('buttons.back.html.twig') }}
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
|
@@ -38,8 +38,7 @@ To generate new recovery key for your account please enter your password.<br/>
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<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="Submit" alt="Submit" src="{{ template_path }}/images/buttons/_sbutton_submit.gif" ></div>
|
||||
</div>
|
||||
{{ include('buttons.submit.html.twig') }}
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
@@ -50,8 +49,7 @@ To generate new recovery key for your account please enter your password.<br/>
|
||||
<form action="{{ getLink('account/manage') }}" 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="Back" alt="Back" src="{{ template_path }}/images/buttons/_sbutton_back.gif" ></div>
|
||||
</div>
|
||||
{{ include('buttons.back.html.twig') }}
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
|
@@ -41,8 +41,7 @@ To generate recovery key for your account please enter your password.<br/><br/>
|
||||
<table border="0" cellspacing="0" cellpadding="0" >
|
||||
<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="Submit" alt="Submit" src="{{ template_path }}/images/buttons/_sbutton_submit.gif" ></div>
|
||||
</div>
|
||||
{{ include('buttons.submit.html.twig') }}
|
||||
</td>
|
||||
<tr>
|
||||
</table>
|
||||
@@ -53,8 +52,7 @@ To generate recovery key for your account please enter your password.<br/><br/>
|
||||
<form action="{{ getLink('account/manage') }}" 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="Back" alt="Back" src="{{ template_path }}/images/buttons/_sbutton_back.gif" ></div>
|
||||
</div>
|
||||
{{ include('buttons.back.html.twig') }}
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
|
@@ -55,10 +55,7 @@ Please enter your account {{ account|lower }} and your password.<br/><a href="?s
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<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="Submit" alt="Submit" src="{{ template_path }}/images/buttons/_sbutton_submit.gif" >
|
||||
</div>
|
||||
</div>
|
||||
{{ include('buttons.submit.html.twig') }}
|
||||
</td>
|
||||
<tr>
|
||||
</form>
|
||||
@@ -69,10 +66,7 @@ Please enter your account {{ account|lower }} and your password.<br/><a href="?s
|
||||
<form action="{{ getLink('account/lost') }}" 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="Account lost?" alt="Account lost?" src="{{ template_path }}/images/buttons/_sbutton_accountlost.gif" >
|
||||
</div>
|
||||
</div>
|
||||
{{ include('buttons.account_lost.html.twig') }}
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
|
@@ -28,7 +28,7 @@ The Lost Account Interface can help you to get back your account name and passwo
|
||||
<table cellspacing="0" cellpadding="0" border="0" width="100%">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<input type="image" name="Submit" alt="Submit" src="{{ template_path }}/images/buttons/sbutton_submit.gif" border="0" width="120" height="18">
|
||||
{{ include('buttons.submit.html.twig') }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@@ -3,7 +3,7 @@ Please select action.<br/>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<a href="{{ getLink('account/lost') }}" border="0">
|
||||
<img src="{{ template_path }}/images/buttons/sbutton_back.gif" name="back" alt="back" border="0" width="120" height="18">
|
||||
{{ include('buttons.back.html.twig') }}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
2
system/templates/buttons.account_lost.html.twig
Normal file
2
system/templates/buttons.account_lost.html.twig
Normal file
@@ -0,0 +1,2 @@
|
||||
{% set button_name = 'Account lost?' %}
|
||||
{% include('buttons.base.html.twig') %}
|
2
system/templates/buttons.back.html.twig
Normal file
2
system/templates/buttons.back.html.twig
Normal file
@@ -0,0 +1,2 @@
|
||||
{% set button_name = 'Back' %}
|
||||
{% include('buttons.base.html.twig') %}
|
1
system/templates/buttons.base.html.twig
Normal file
1
system/templates/buttons.base.html.twig
Normal file
@@ -0,0 +1 @@
|
||||
<input type="submit" name="{{ button_name }}" value="{{ button_name }}" />
|
2
system/templates/buttons.cancel.html.twig
Normal file
2
system/templates/buttons.cancel.html.twig
Normal file
@@ -0,0 +1,2 @@
|
||||
{% set button_name = 'Cancel' %}
|
||||
{% include('buttons.base.html.twig') %}
|
2
system/templates/buttons.change_email.html.twig
Normal file
2
system/templates/buttons.change_email.html.twig
Normal file
@@ -0,0 +1,2 @@
|
||||
{% set button_name = 'Change Email' %}
|
||||
{% include('buttons.base.html.twig') %}
|
2
system/templates/buttons.change_name.html.twig
Normal file
2
system/templates/buttons.change_name.html.twig
Normal file
@@ -0,0 +1,2 @@
|
||||
{% set button_name = 'Change Name' %}
|
||||
{% include('buttons.base.html.twig') %}
|
2
system/templates/buttons.change_password.html.twig
Normal file
2
system/templates/buttons.change_password.html.twig
Normal file
@@ -0,0 +1,2 @@
|
||||
{% set button_name = 'Change Password' %}
|
||||
{% include('buttons.base.html.twig') %}
|
2
system/templates/buttons.change_sex.html.twig
Normal file
2
system/templates/buttons.change_sex.html.twig
Normal file
@@ -0,0 +1,2 @@
|
||||
{% set button_name = 'Change Sex' %}
|
||||
{% include('buttons.base.html.twig') %}
|
2
system/templates/buttons.create_character.html.twig
Normal file
2
system/templates/buttons.create_character.html.twig
Normal file
@@ -0,0 +1,2 @@
|
||||
{% set button_name = 'Create Character' %}
|
||||
{% include('buttons.base.html.twig') %}
|
2
system/templates/buttons.delete_character.html.twig
Normal file
2
system/templates/buttons.delete_character.html.twig
Normal file
@@ -0,0 +1,2 @@
|
||||
{% set button_name = 'Delete Character' %}
|
||||
{% include('buttons.base.html.twig') %}
|
2
system/templates/buttons.edit.html.twig
Normal file
2
system/templates/buttons.edit.html.twig
Normal file
@@ -0,0 +1,2 @@
|
||||
{% set button_name = 'Edit' %}
|
||||
{% include('buttons.base.html.twig') %}
|
2
system/templates/buttons.login.html.twig
Normal file
2
system/templates/buttons.login.html.twig
Normal file
@@ -0,0 +1,2 @@
|
||||
{% set button_name = 'Login' %}
|
||||
{% include('buttons.base.html.twig') %}
|
2
system/templates/buttons.logout.html.twig
Normal file
2
system/templates/buttons.logout.html.twig
Normal file
@@ -0,0 +1,2 @@
|
||||
{% set button_name = 'Logout' %}
|
||||
{% include('buttons.base.html.twig') %}
|
2
system/templates/buttons.register_account.html.twig
Normal file
2
system/templates/buttons.register_account.html.twig
Normal file
@@ -0,0 +1,2 @@
|
||||
{% set button_name = 'Register Account' %}
|
||||
{% include('buttons.base.html.twig') %}
|
2
system/templates/buttons.submit.html.twig
Normal file
2
system/templates/buttons.submit.html.twig
Normal file
@@ -0,0 +1,2 @@
|
||||
{% set button_name = 'Submit' %}
|
||||
{% include('buttons.base.html.twig') %}
|
@@ -1,15 +1,17 @@
|
||||
<form action="{{ link }}" method="post">
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="4">
|
||||
<tr><td bgcolor="{{ config.vdarkborder }}" class="white"><B>Search Character</B></TD></TR>
|
||||
<tr><td bgcolor="{{ config.darkborder }}">
|
||||
<table border="0" cellpadding="1">
|
||||
<tr>
|
||||
<td>Name:</td><td><input name="name" value="" size="29" maxlength="29"{% if autofocus %} autofocus{% endif %}></TD>
|
||||
<td>
|
||||
<input type=image name="Submit" src="{{ template_path }}/images/buttons/sbutton_submit.gif" border="0" width="120" height="18"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
<tr>
|
||||
<td bgcolor="{{ config.darkborder }}">
|
||||
<table border="0" cellpadding="1">
|
||||
<tr>
|
||||
<td>Name:</td><td><input name="name" value="" size="29" maxlength="29"{% if autofocus %} autofocus{% endif %}></TD>
|
||||
<td>
|
||||
{{ include('buttons.submit.html.twig') }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
@@ -95,7 +95,7 @@
|
||||
<td>
|
||||
<form action="?subtopic=houses&page=view" method="post">
|
||||
<input type="hidden" name="house" value="{{ house.name }}">
|
||||
<input type="image" name="View" alt="View" src="{{ template_path }}/images/buttons/sbutton_view.gif" border="0" width="120">
|
||||
<input type="image" name="View" alt="View" src="{{ template_path }}/images/global/buttons/sbutton_view.gif" border="0" width="120">
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -365,7 +365,7 @@
|
||||
<tr>
|
||||
<td>
|
||||
<input type="hidden" name="name" value="{{ player.getName() }}"/>
|
||||
<input type="image" name="View {{ player.getName() }}" alt="View {{ player.getName() }}" src="{{ template_path }}/images/buttons/sbutton_view.gif" border="0" width="120" height="18"/>
|
||||
<input type="image" name="View {{ player.getName() }}" alt="View {{ player.getName() }}" src="{{ template_path }}/images/global/buttons/sbutton_view.gif" border="0" width="120" height="18"/>
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
|
6
system/templates/creatures.back_button.html.twig
Normal file
6
system/templates/creatures.back_button.html.twig
Normal file
@@ -0,0 +1,6 @@
|
||||
<br/></br>
|
||||
<center>
|
||||
<form action="{{ getLink('creatures') }}" method="post">
|
||||
{{ include('buttons.back.html.twig') }}
|
||||
</form>
|
||||
</center>
|
32
system/templates/guilds.accept_invite.html.twig
Normal file
32
system/templates/guilds.accept_invite.html.twig
Normal file
@@ -0,0 +1,32 @@
|
||||
<table border="0" cellspacing="1" cellpadding="4" width="100%">
|
||||
<tr bgcolor="{{ config.vdarkborder }}">
|
||||
<td class="white"><b>Accept invitation</b></td>
|
||||
</tr>
|
||||
<tr bgcolor="{{ config.lightborder }}">
|
||||
<td width="100%">Select character to join guild:</td>
|
||||
</tr>
|
||||
<tr bgcolor="{{ config.darkborder }}">
|
||||
<td>
|
||||
<form action="?subtopic=guilds&action=accept_invite&guild={{ guild_name }}&todo=save" method="post">
|
||||
{% set i = 0 %}
|
||||
{% for player in invited_players %}
|
||||
<input type="radio" name="name" id="name_{{ i }}" value="{{ player }}" /><label for="name_{{ i }}">{{ player }}</label>
|
||||
{% set i = i + 1 %}
|
||||
{% endfor %}
|
||||
{{ include('buttons.submit.html.twig') }}
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br/>
|
||||
<center>
|
||||
<table border="0" cellspacing="0" cellpadding="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<form action="{{ getLink('guilds') ~ '/' ~ guild_name }}" method="post">
|
||||
{{ include('buttons.back.html.twig') }}
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
8
system/templates/guilds.back_button.html.twig
Normal file
8
system/templates/guilds.back_button.html.twig
Normal file
@@ -0,0 +1,8 @@
|
||||
{% if new_line is defined and new_line %}
|
||||
<br/>
|
||||
{% endif %}
|
||||
<center>
|
||||
<form action="{% if action is not defined %}{{ getLink('guilds') }}{% else %}{{ action }}{% endif %}" method="post">
|
||||
{{ include('buttons.back.html.twig') }}
|
||||
</form>
|
||||
</center>
|
@@ -5,15 +5,8 @@ Here you can change description of your guild.<br/>
|
||||
<textarea name="description" cols="60" rows="{{ rows }}">{{ guild.getCustomField('description')|raw }}</textarea><br>
|
||||
(max. {{ config.guild_description_lines_limit }} lines, max. {{ config.guild_description_chars_limit }} chars) <input type="submit" value="Save description"/></form><br/>
|
||||
<br/>
|
||||
{% spaceless %}
|
||||
<center>
|
||||
<form action="?subtopic=guilds&guild='.$guild->getName().'&action=manager" method="post">
|
||||
<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="Back" alt="Back" src="{{ template_path }}/images/buttons/_sbutton_back.gif" >
|
||||
</div>
|
||||
</div>
|
||||
{{ include('buttons.back.html.twig') }}
|
||||
</form>
|
||||
</center>
|
||||
{% endspaceless %}
|
||||
</center>
|
@@ -11,11 +11,8 @@ Only <b>jpg, gif, png, bmp</b> pictures. Max. size: <b>{{ config.guild_image_siz
|
||||
{% spaceless %}
|
||||
<center>
|
||||
<form action="?subtopic=guilds&guild={{ guild.getName() }}&action=manager" method="post">
|
||||
<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="Back" alt="Back" src="{{ template_path }}/images/buttons/_sbutton_back.gif" />
|
||||
</div>
|
||||
<div class="BigButton" style="background-image:url({{ template_path }}/images/global/buttons/sbutton.gif)">
|
||||
{{ include('buttons.back.html.twig') }}
|
||||
</div>
|
||||
</form>
|
||||
</center>
|
||||
|
@@ -8,11 +8,8 @@ Here you can change MOTD (Message of the Day, showed in game!) of your guild.<br
|
||||
{% spaceless %}
|
||||
<center>
|
||||
<form action="?subtopic=guilds&guild={{ guild.getName() }}&action=manager" method="post">
|
||||
<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="Back" alt="Back" src="{{ template_path }}/images/buttons/_sbutton_back.gif">
|
||||
</div>
|
||||
<div class="BigButton" style="background-image:url({{ template_path }}/images/global/buttons/sbutton.gif)">
|
||||
{{ include('buttons.back.html.twig') }}
|
||||
</div>
|
||||
</form>
|
||||
</center>
|
||||
|
37
system/templates/guilds.change_rank.html.twig
Normal file
37
system/templates/guilds.change_rank.html.twig
Normal file
@@ -0,0 +1,37 @@
|
||||
<form action="?subtopic=guilds&action=change_rank&guild={{ guild_name }}&todo=save" method="post">
|
||||
<table border="0" cellspacing="1" cellpadding="4" width="100%">
|
||||
<tr bgcolor="{{ config.vdarkborder }}"><td class="white"><b>Change Rank</b></td></tr>
|
||||
<tr bgcolor="{{ config.darkborder }}">
|
||||
<td>
|
||||
<table border="0" cellpadding="1">
|
||||
<tr>
|
||||
<td>Name: <select name="name">
|
||||
{% for player in players %}
|
||||
<option value="{{ player[0] }}">{{ player[1] }}</option>
|
||||
{% endfor %}
|
||||
</select> Rank: <select name="rankid">
|
||||
{% for rank in ranks %}
|
||||
<option value="{{ rank[0] }}">{{ rank[1] }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
{{ include('buttons.submit.html.twig') }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<table border="0" cellspacing="0" cellpadding="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<center>
|
||||
<form action="?subtopic=guilds&action=show&guild={{ guild_name }}" method="post">
|
||||
{{ include('buttons.back.html.twig') }}
|
||||
</form>
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
@@ -42,12 +42,12 @@
|
||||
<img src="{{ template_path }}/images/general/blank.gif" width=120 height=1 border=0><br/>
|
||||
</td>
|
||||
<td align="center" valign="top">
|
||||
<input type=image name="Submit" src="{{ template_path }}/images/buttons/sbutton_submit.gif" border="0" width="120" height="18"/>
|
||||
{{ include('buttons.submit.html.twig') }}
|
||||
</form>
|
||||
</td>
|
||||
<td align="center">
|
||||
<form action="?subtopic=guilds" method="post">
|
||||
<input type="image" name="Back" alt="Back" src="{{ template_path }}/images/buttons/sbutton_back.gif" border="0" width="120" height="18"/>
|
||||
{{ include('buttons.back.html.twig') }}
|
||||
</form>
|
||||
</td>
|
||||
<td align="center">
|
||||
|
22
system/templates/guilds.create_guild.success.html.twig
Normal file
22
system/templates/guilds.create_guild.success.html.twig
Normal file
@@ -0,0 +1,22 @@
|
||||
{% set title = 'Created guild' %}
|
||||
|
||||
{% set motd = '' %}
|
||||
{% if constant('MOTD_EXISTS') %}
|
||||
{% set motd = ' and motd' %}
|
||||
{% endif %}
|
||||
|
||||
{% set description = '<b>Congratulations!</b><br/>You have created guild <b>' ~ guild_name ~ '</b>. <b>' ~ leader_name ~ '</b> is leader of this guild. Now you can invite players, change picture, description' ~ motd ~ ' of guild. Press submit to open guild manager.' %}
|
||||
{% set custom_buttons = '' %}
|
||||
{{ include('success.html.twig') }}
|
||||
<br/>
|
||||
<table border="0" cellspacing="0" cellpadding="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<center>
|
||||
<form action="{{ getLink('guilds') ~ '/' ~ guild_name }}" method="post">
|
||||
{{ include('buttons.submit.html.twig') }}
|
||||
</form>
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
@@ -32,15 +32,8 @@
|
||||
</table>
|
||||
</div>
|
||||
<br/>
|
||||
{% spaceless %}
|
||||
<center>
|
||||
<form action="?subtopic=guilds&guild={{ guild.getName() }}&action=manager" method="post">
|
||||
<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="Back" alt="Back" src="{{ template_path }}/images/buttons/_sbutton_back.gif">
|
||||
</div>
|
||||
</div>
|
||||
{{ include('buttons.back.html.twig') }}
|
||||
</form>
|
||||
</center>
|
||||
{% endspaceless %}
|
||||
</center>
|
22
system/templates/guilds.delete_invite.html.twig
Normal file
22
system/templates/guilds.delete_invite.html.twig
Normal file
@@ -0,0 +1,22 @@
|
||||
{% set title = 'Delete player invitation' %}
|
||||
{% set description = 'Are you sure you want to delete player with name <b>' ~ player_name ~ '</b> from "invites list"?' %}
|
||||
{% set custom_buttons = '' %}
|
||||
{{ include('success.html.twig') }}
|
||||
<br/>
|
||||
<center>
|
||||
<table border="0" cellspacing="0" cellpadding="0" width="100%">
|
||||
<tr>
|
||||
<td align="right" width="50%">
|
||||
<form action="?subtopic=guilds&action=delete_invite&guild={{ guild_name }}&name={{ player_name }}&todo=save" method="post">
|
||||
{{ include('buttons.submit.html.twig') }}
|
||||
</form>
|
||||
</td>
|
||||
<td style="width: 10px; "></td>
|
||||
<td>
|
||||
<form action="?subtopic=guilds&action=show&guild={{ guild_name }}" method="post">
|
||||
{{ include('buttons.back.html.twig') }}
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
4
system/templates/guilds.invite.html.twig
Normal file
4
system/templates/guilds.invite.html.twig
Normal file
@@ -0,0 +1,4 @@
|
||||
<form action="?subtopic=guilds&action=invite&guild={{ guild_name }}&todo=save" method="post">
|
||||
Invite player with name: <input type="text" name="name">
|
||||
{{ include('buttons.submit.html.twig') }}
|
||||
</form>
|
22
system/templates/guilds.kick_player.html.twig
Normal file
22
system/templates/guilds.kick_player.html.twig
Normal file
@@ -0,0 +1,22 @@
|
||||
{% set title = 'Kick player' %}
|
||||
{% set description = 'Are you sure you want to kick player with name <b>' ~ player_name ~ '</b> from your guild?' %}
|
||||
{% set custom_buttons = '' %}
|
||||
{{ include('success.html.twig') }}
|
||||
<br/>
|
||||
<center>
|
||||
<table border="0" cellspacing="0" cellpadding="0" width="100%">
|
||||
<tr>
|
||||
<td align="right" width="50%">
|
||||
<form action="?subtopic=guilds&action=kick_player&guild={{ guild_name }}&name={{ player_name }}&todo=save" method="post">
|
||||
{{ include('buttons.submit.html.twig') }}
|
||||
</form>
|
||||
</td>
|
||||
<td style="width: 10px;"></td>
|
||||
<td>
|
||||
<form action="{{ getLink('guilds') ~ '/' ~ guild_name }}" method="post">
|
||||
{{ include('buttons.back.html.twig') }}
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
34
system/templates/guilds.leave_guild.html.twig
Normal file
34
system/templates/guilds.leave_guild.html.twig
Normal file
@@ -0,0 +1,34 @@
|
||||
<form action="?subtopic=guilds&action=leave_guild&guild={{ guild_name }}&todo=save" METHOD="post">
|
||||
<table border="0" cellspacing="1" cellpadding="4" width="100%">
|
||||
<tr bgcolor="{{ config.vdarkborder }}">
|
||||
<td class="white"><b>Leave guild</b></td></tr>
|
||||
{% if players|length > 0 %}
|
||||
<tr bgcolor="{{ config.lightborder }}">
|
||||
<td width="100%">Select character to leave guild:</td>
|
||||
</tr>
|
||||
<tr bgcolor="{{ config.darkborder }}">
|
||||
<td>
|
||||
{% for player in players %}
|
||||
<input type="radio" name="name" value="{{ player }}" />{{ player }}<br/>
|
||||
{% endfor %}
|
||||
</td>
|
||||
</tr>
|
||||
{% else %}
|
||||
<tr bgcolor="{{ config.lightborder }}"><td width="100%">Any of your characters can't leave guild.</td></tr>
|
||||
{% endif %}
|
||||
</table>
|
||||
<table border="0" cellspacing="0" cellpadding="0" width="100%">
|
||||
<tr>
|
||||
{% if players|length > 0 %}
|
||||
<td width="130" valign="top">
|
||||
{{ include('buttons.submit.html.twig') }}
|
||||
</td>
|
||||
{% endif %}
|
||||
</form>
|
||||
<td>
|
||||
<form action="?subtopic=guilds&action=show&guild={{ guild_name }}" method="post">
|
||||
{{ include('buttons.back.html.twig') }}
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
@@ -163,7 +163,6 @@ Here you can change names of ranks, delete and add ranks, pass leadership to oth
|
||||
<br/>
|
||||
<center>
|
||||
<form action="?subtopic=guilds&action=show&guild={{ guild.getName() }}" method="post">
|
||||
<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="Back" alt="Back" src="{{ template_path }}/images/buttons/_sbutton_back.gif" ></div>
|
||||
</div>
|
||||
{{ include('buttons.back.html.twig') }}
|
||||
</form>
|
||||
</center>
|
@@ -35,7 +35,6 @@
|
||||
<br/>
|
||||
<center>
|
||||
<form action="?subtopic=guilds&guild={{ guild.getName() }}&action=manager" method="post">
|
||||
<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="Back" alt="Back" src="{{ template_path }}/images/buttons/_sbutton_back.gif" ></div>
|
||||
</div>
|
||||
{{ include('buttons.back.html.twig') }}
|
||||
</form>
|
||||
</center>
|
25
system/templates/online.form.html.twig
Normal file
25
system/templates/online.form.html.twig
Normal file
@@ -0,0 +1,25 @@
|
||||
<br/>
|
||||
<form action="{{ getLink('characters') }}" method=post>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="4">
|
||||
<tr>
|
||||
<td bgcolor="{{ config.vdarkborder }}" class="white">
|
||||
<b>Search Character</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="{{ config.darkborder }}">
|
||||
<table border="0" cellpadding="1">
|
||||
<tr>
|
||||
<td>Name:</td>
|
||||
<td>
|
||||
<input name="name" value=""size=29 maxlength=29>
|
||||
</td>
|
||||
<td>
|
||||
{{ include('buttons.submit.html.twig') }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
@@ -6,7 +6,7 @@
|
||||
<span class="CaptionEdgeRightTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
||||
<span class="CaptionBorderTop" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
||||
<span class="CaptionVerticalLeft" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
||||
<div class="Text" >{{ title }}</div>
|
||||
<div class="Text" >{{ title|raw }}</div>
|
||||
<span class="CaptionVerticalRight" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
||||
<span class="CaptionBorderBottom" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
||||
<span class="CaptionEdgeLeftBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
||||
@@ -35,8 +35,7 @@
|
||||
<form action="{{ getLink('account/manage') }}" 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="Back" alt="Back" src="{{ template_path }}/images/buttons/_sbutton_back.gif" ></div>
|
||||
</div>
|
||||
{{ include('buttons.back.html.twig') }}
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
|
Reference in New Issue
Block a user