aboutsummaryrefslogtreecommitdiff
path: root/views/default/settings
diff options
context:
space:
mode:
authorroot <root@migration.vz.lan>2012-10-23 09:04:43 +0000
committerroot <root@migration.vz.lan>2012-10-23 09:04:43 +0000
commit074dc8fda6f634cc8c024a913d8033600b336b3a (patch)
tree1a9959d61e9f308b0a3443d9d67c00d26421581c /views/default/settings
downloadelgg-074dc8fda6f634cc8c024a913d8033600b336b3a.tar.gz
elgg-074dc8fda6f634cc8c024a913d8033600b336b3a.tar.bz2
initial commit.
Diffstat (limited to 'views/default/settings')
-rwxr-xr-xviews/default/settings/beechat/edit.php31
1 files changed, 31 insertions, 0 deletions
diff --git a/views/default/settings/beechat/edit.php b/views/default/settings/beechat/edit.php
new file mode 100755
index 000000000..8f82834db
--- /dev/null
+++ b/views/default/settings/beechat/edit.php
@@ -0,0 +1,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>
+