diff options
author | Brian Evans <grknight@gentoo.org> | 2018-01-29 16:04:13 -0500 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2018-01-29 16:05:35 -0500 |
commit | 3c56284f7fe1926f6bf6ebd97ec72805d94df1e4 (patch) | |
tree | 805a3fb4cfb14519c0bebc3f1863f4759e916a82 /php/inc/forms/location.php | |
download | bouncer-3c56284f7fe1926f6bf6ebd97ec72805d94df1e4.tar.gz bouncer-3c56284f7fe1926f6bf6ebd97ec72805d94df1e4.tar.bz2 bouncer-3c56284f7fe1926f6bf6ebd97ec72805d94df1e4.zip |
Import existing bouncer.g.o into gitv1.0-20181208-IMPORT
Diffstat (limited to 'php/inc/forms/location.php')
-rw-r--r-- | php/inc/forms/location.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/php/inc/forms/location.php b/php/inc/forms/location.php new file mode 100644 index 0000000..60e35cb --- /dev/null +++ b/php/inc/forms/location.php @@ -0,0 +1,23 @@ +<?php +/** + * File location form. + * @package mirror + * @subpackage forms + */ +echo '<div>'; +form_label('Product', 'product','label-small'); +form_select('product_id','product','',mirror_get_products_select(),$posts['product_id']); +echo ' [<a href="./products.php">edit products</a>]'; +echo '</div><br />'; + +echo '<div>'; +form_label('OS', 'os','label-small'); +form_select('os_id','os','',mirror_get_oss_select(),$posts['os_id']); +echo ' [<a href="./os.php">edit operating systems</a>]'; +echo '</div><br />'; + +echo '<div>'; +form_label('File Location', 'floc','label-small'); +form_text('location_path', 'floc', '', $posts['location_path'], 30, 100); +echo '</div><br />'; +?> |