mirror of
				https://github.com/slawkens/myaac.git
				synced 2025-10-26 22:14:18 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			85 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			Twig
		
	
	
	
	
	
			
		
		
	
	
			85 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			Twig
		
	
	
	
	
	
| Here you can tell other players about yourself. This information will be displayed alongside the data of your characters. If you do not want to fill in a certain field, just leave it blank.<br/><br/>
 | |
| {% set title = 'Change Public Information' %}
 | |
| {% set background = config('darkborder') %}
 | |
| {% set content %}
 | |
| <table style="width: 100%;" >
 | |
| 	<tr>
 | |
| 		<td class="LabelV">Real Name:</td>
 | |
| 		<td style="width:90%;" >
 | |
| 			<input form="form" name="info_rlname" value="{{ account_rlname }}" size="30" maxlength="50" >
 | |
| 		</td>
 | |
| 	</tr>
 | |
| 	<tr>
 | |
| 		<td class="LabelV" >Location:</td>
 | |
| 		<td>
 | |
| 			<input form="form" name="info_location" value="{{ account_location }}" size="30" maxlength="50" >
 | |
| 		</td>
 | |
| 	</tr>
 | |
| 	{% if setting('core.account_country') %}
 | |
| 	<tr>
 | |
| 		<td class="LabelV">Country:</td>
 | |
| 		<td>
 | |
| 			<select form="form" name="info_country" id="account_country">
 | |
| 				{% for code, country in countries %}
 | |
| 				<option value="{{ code}}"{% if account_country == code %} selected{% endif %}>{{ country }} </option>
 | |
| 				{% endfor %}
 | |
| 			</select>
 | |
| 			<img src="" id="account_country_img"/>
 | |
| 			<script>
 | |
| 				function updateFlag()
 | |
| 				{
 | |
| 					var img = $('#account_country_img');
 | |
| 					var country = $('#account_country :selected').val();
 | |
| 					if(country.length) {
 | |
| 						img.attr('src', 'images/flags/' + country + '.gif');
 | |
| 						img.show();
 | |
| 					}
 | |
| 					else {
 | |
| 						img.hide();
 | |
| 					}
 | |
| 				}
 | |
| 
 | |
| 				$(function() {
 | |
| 					updateFlag();
 | |
| 					$('#account_country').change(function() {
 | |
| 						updateFlag();
 | |
| 					});
 | |
| 				});
 | |
| 			</script>
 | |
| 		</td>
 | |
| 	</tr>
 | |
| 	{% endif %}
 | |
| </table>
 | |
| {% endset %}
 | |
| {% include 'tables.headline.html.twig' %}
 | |
| <br/>
 | |
| <table width="100%">
 | |
| 	<tr align="center">
 | |
| 		<td>
 | |
| 			<table border="0" cellspacing="0" cellpadding="0" >
 | |
| 				<tr>
 | |
| 					<td style="border:0px;" >
 | |
| 						<form id="form" action="{{ getLink('account/change-info') }}" method="post">
 | |
| 							{{ csrf() }}
 | |
| 							<input type="hidden" name="changeinfosave" value="1">
 | |
| 							{{ include('buttons.submit.html.twig') }}
 | |
| 						</form>
 | |
| 					</td>
 | |
| 				</tr>
 | |
| 			</table>
 | |
| 		</td>
 | |
| 		<td>
 | |
| 			<table border="0" cellspacing="0" cellpadding="0" >
 | |
| 				<tr>
 | |
| 					<td style="border:0px;" >
 | |
| 						<form action="{{ getLink('account/manage') }}" method="post" >
 | |
| 							{{ csrf() }}
 | |
| 							{{ include('buttons.back.html.twig') }}
 | |
| 						</form>
 | |
| 					</td>
 | |
| 				</tr>
 | |
| 			</table>
 | |
| 		</td>
 | |
| 	</tr>
 | |
| </table>
 | 
