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
27
28
29
30
31
|
<?php
/**
* Barter Plugin
* @package Barters
**/
$domain = get_plugin_setting("domain", "beechat");
$group_domain = get_plugin_setting("groupdomain", "beechat");
$xmlrpc_ip = get_plugin_setting("xmlrpcip", "beechat");
$dbname = get_plugin_setting("dbname", "beechat");
$dbhost = get_plugin_setting("dbhost", "beechat");
$dbuser = get_plugin_setting("dbuser", "beechat");
$dbpassword = get_plugin_setting("dbpassword", "beechat");
?>
<p>
<?php echo elgg_echo('beechat:domain'); ?>
<?php echo elgg_view('input/text', array('internalname' => 'params[domain]','value' => $domain)); ?>
<!--<?php echo elgg_echo('beechat:groupdomain'); ?>
<?php echo elgg_view('input/text', array('internalname' => 'params[groupdomain]','value' => $group_domain)); ?>-->
<?php echo elgg_echo('beechat:xmlrpcip'); ?>
<?php echo elgg_view('input/text', array('internalname' => 'params[xmlrpcip]','value' => $xmlrpc_ip)); ?>
<?php echo elgg_echo('beechat:dbname'); ?>
<?php echo elgg_view('input/text', array('internalname' => 'params[dbname]','value' => $dbname)); ?>
<?php echo elgg_echo('beechat:dbhost'); ?>
<?php echo elgg_view('input/text', array('internalname' => 'params[dbhost]','value' => $dbhost)); ?>
<?php echo elgg_echo('beechat:dbuser'); ?>
<?php echo elgg_view('input/text', array('internalname' => 'params[dbuser]','value' => $dbuser)); ?>
<?php echo elgg_echo('beechat:dbpassword'); ?>
<?php echo elgg_view('input/password', array('internalname' => 'params[dbpassword]','value' => $dbpassword)); ?>
</p>
|