mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-05-01 19:59:22 +02:00

Layout is primarily changed to this because the old layout had obsolete javascript dependencies. I still want to make another default layout eventually, which is mobile friendly. This layout has a very nice character search widget though that looks for names realtime and displays them in a list beside the search.
20 lines
626 B
PHP
20 lines
626 B
PHP
<div class="well widget">
|
|
<div class="header">
|
|
Town list / houses
|
|
</div>
|
|
<div class="body">
|
|
<form action="houses.php" method="<?php if ($config['ServerEngine'] !== 'TFS_10') echo "post"; else echo "get" ;?>">
|
|
<select name="<?php if ($config['ServerEngine'] !== 'TFS_10') echo "selected"; else echo "id" ;?>">
|
|
<?php
|
|
foreach ($config['towns'] as $id => $name)
|
|
echo '<option value="'. $id .'">'. $name .'</option>';
|
|
?>
|
|
</select>
|
|
<?php
|
|
/* Form file */
|
|
if ($config['ServerEngine'] !== 'TFS_10') Token::create();
|
|
?>
|
|
<input type="submit" value="Fetch houses">
|
|
</form>
|
|
</div>
|
|
</div>
|