First commit
This commit is contained in:
20
app/ZnoteAAC/layout/widgets/houses.php
Normal file
20
app/ZnoteAAC/layout/widgets/houses.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user