Skip to content

Commit 029b358

Browse files
author
pedro_morgan
committed
Adding sandbox for remote client . THis is to be a test area for client and thereby create the docs. Love i
1 parent 36b605a commit 029b358

File tree

1 file changed

+57
-3
lines changed

1 file changed

+57
-3
lines changed

interface/web/sandbox-remote_client/class.ispconfig.remote.client.php

Lines changed: 57 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
<?php
22

3-
/* This is a conceptual stlye code for feedback and work in progress
3+
/* This is a conceptual style code for feedback and work in progress
4+
Translates the lang of the tables also...
45
Please hack
56
*/
67

78
class ISPConfigClient
89
{
10+
private $SID;
911

10-
public function __construct($db_connection = null){
11-
12+
public function __construct($soap_session_id){
13+
$this->SID = $soap_session_id;
1214
}
1315

1416
//* Get Reseller List
@@ -30,6 +32,58 @@ public function reseller($ID){
3032
}
3133
}
3234

35+
public function reseller_edit(
36+
37+
// Adding a reseller
38+
$params = array ( 'sid' => $session_id,
39+
'module' => 'reseller',
40+
'function' => 'reseller_add',
41+
'params' => array ( reseller_title => 'Reseller1',
42+
firma => 'Reseller4',
43+
vorname => 'Jens',
44+
limit_user => '50',
45+
limit_disk => '1000',
46+
limit_web => '10',
47+
limit_domain => '10',
48+
name => 'Jensen',
49+
strasse => 'Hauptstr. 1',
50+
plz => '12345',
51+
ort => 'Hauptstadt',
52+
telefon => '0511 5469766',
53+
fax => '0511 9799655',
54+
email => 'test@hostobserver.com',
55+
internet => 'http://www.reseller4.tld',
56+
reseller_user => 'reseller4',
57+
reseller_passwort => 'huhu',
58+
anrede => 'Herr', // Herr, Frau, Firma
59+
land => 'Deutschland',
60+
limit_httpd_include => '1',
61+
limit_dns_manager => '1',
62+
limit_domain_dns => '50',
63+
province => 'Niedersachsen',
64+
limit_shell_access => '0',
65+
limit_cgi => '1',
66+
limit_php => '1',
67+
limit_ssi => '1',
68+
limit_ftp => '1',
69+
limit_mysql => '1',
70+
limit_ssl => '1',
71+
limit_anonftp => '1',
72+
limit_standard_cgis => '1',
73+
limit_wap => '1',
74+
limit_error_pages => '1',
75+
limit_frontpage => '0',
76+
limit_mysql_anzahl_dbs => '100',
77+
limit_slave_dns => '50',
78+
client_salutatory_email_sender_email => '',
79+
client_salutatory_email_sender_name => '',
80+
client_salutatory_email_bcc => '',
81+
client_salutatory_email_subject => '',
82+
client_salutatory_email_message => '',
83+
standard_index => '',
84+
user_standard_index => ''
85+
));
86+
3387
}
3488

3589
?>

0 commit comments

Comments
 (0)