]> git.mxchange.org Git - friendica-addons.git/blob - jappixmini/jappix/php/form-hosts.php
Merge branch '3.6-release'
[friendica-addons.git] / jappixmini / jappix / php / form-hosts.php
1 <?php
2
3 /*
4
5 Jappix - An open social platform
6 This is the hosts configuration form (install & manager)
7
8 -------------------------------------------------
9
10 License: AGPL
11 Author: Vanaryon
12 Last revision: 11/06/11
13
14 */
15
16 // Someone is trying to hack us?
17 if(!defined('JAPPIX_BASE'))
18         exit;
19
20 ?>
21 <a class="info smallspace neutral" href="http://codingteam.net/project/jappix/doc/JappixApp#title-3" target="_blank"><?php _e("Need help? You'd better read our documentation page about how to fill this form!"); ?></a>
22
23 <fieldset>
24         <legend><?php _e("General"); ?></legend>
25         
26         <label for="host_main"><?php _e("Main host"); ?></label><input id="host_main" type="text" name="host_main" value="<?php echo $host_main; ?>" pattern="[^@/]+" />
27         
28         <label for="host_muc"><?php _e("Groupchat host"); ?></label><input id="host_muc" type="text" name="host_muc" value="<?php echo $host_muc; ?>" pattern="[^@/]+" />
29         
30         <label for="host_pubsub"><?php _e("Pubsub host"); ?></label><input id="host_pubsub" type="text" name="host_pubsub" value="<?php echo $host_pubsub; ?>" pattern="[^@/]+" />
31 </fieldset>
32
33 <fieldset>
34         <legend><?php _e("Advanced"); ?></legend>
35         
36         <label for="host_anonymous"><?php _e("Anonymous host"); ?></label><input id="host_anonymous" type="text" name="host_anonymous" value="<?php echo $host_anonymous; ?>" pattern="[^@/]+" />
37         
38         <label for="host_vjud"><?php _e("Directory host"); ?></label><input id="host_vjud" type="text" name="host_vjud" value="<?php echo $host_vjud; ?>" pattern="[^@/]+" />
39         
40         <label for="host_bosh"><?php _e("BOSH host"); ?></label><input id="host_bosh" type="text" name="host_bosh" value="<?php echo $host_bosh; ?>" />
41         
42         <input type="hidden" name="host_bosh_main" value="<?php echo $host_bosh_main; ?>" />
43         
44         <input type="hidden" name="host_bosh_mini" value="<?php echo $host_bosh_mini; ?>" />
45         
46         <input type="hidden" name="host_static" value="<?php echo $host_static; ?>" />
47         
48         <input type="hidden" name="host_upload" value="<?php echo $host_upload; ?>" />
49 </fieldset>