1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
<?php
/**
* Region form.
* @package mirror
* @subpackage forms
*/
echo '<div>';
form_label('Mirror Name', 'mname','label-small');
form_text('mirror_name', 'mname', '', $posts['mirror_name'], 30, 100);
echo '</div><br />';
echo '<div>';
form_label('Region', 'mregion','label-small');
form_select('region_id','mregion','',Mirror::get_regions_select(),$posts['region_id']);
echo ' [<a href="./regions.php">edit regions</a>]';
echo '</div><br />';
echo '<div>';
form_label('Base URL', 'murl','label-small');
form_text('mirror_baseurl', 'murl', '', $posts['mirror_baseurl'], 30, 100);
echo '</div><br />';
echo '<div>';
form_label('Rating', 'mrating','label-small');
form_text('mirror_rating', 'mrating', '', $posts['mirror_rating'], 30, 100);
echo '</div><br />';
|