From 031054bc8b599d02e810901b929b73ce1fb7b3d6 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Mon, 01 Aug 2011 09:17:09 -0400
Subject: [PATCH] Changed functions from "private" to "protected" in remote library. Changed onClick function in DNS resync temlate.
---
interface/web/tools/templates/dns_resync.htm | 2 +-
interface/lib/classes/remoting.inc.php | 14 +++++++-------
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/interface/lib/classes/remoting.inc.php b/interface/lib/classes/remoting.inc.php
index 53ee957..2ff7a41 100644
--- a/interface/lib/classes/remoting.inc.php
+++ b/interface/lib/classes/remoting.inc.php
@@ -2107,12 +2107,12 @@
- //** private functions -----------------------------------------------------------------------------------
+ //** protected functions -----------------------------------------------------------------------------------
- private function klientadd($formdef_file, $reseller_id, $params)
+ protected function klientadd($formdef_file, $reseller_id, $params)
{
global $app, $tform, $remoting_lib;
$app->uses('remoting_lib');
@@ -2167,7 +2167,7 @@
return $insert_id;
}
- private function insertQuery($formdef_file, $client_id, $params,$event_identifier = '')
+ protected function insertQuery($formdef_file, $client_id, $params,$event_identifier = '')
{
global $app, $tform, $remoting_lib;
@@ -2211,7 +2211,7 @@
}
- private function updateQuery($formdef_file, $client_id, $primary_id, $params, $event_identifier = '')
+ protected function updateQuery($formdef_file, $client_id, $primary_id, $params, $event_identifier = '')
{
global $app;
@@ -2257,7 +2257,7 @@
return $affected_rows;
}
- private function deleteQuery($formdef_file, $primary_id, $event_identifier = '')
+ protected function deleteQuery($formdef_file, $primary_id, $event_identifier = '')
{
global $app;
@@ -2301,7 +2301,7 @@
}
- private function checkPerm($session_id, $function_name)
+ protected function checkPerm($session_id, $function_name)
{
$dobre=array();
$session = $this->getSession($session_id);
@@ -2314,7 +2314,7 @@
}
- private function getSession($session_id)
+ protected function getSession($session_id)
{
global $app;
diff --git a/interface/web/tools/templates/dns_resync.htm b/interface/web/tools/templates/dns_resync.htm
index 2c23208..990e948 100644
--- a/interface/web/tools/templates/dns_resync.htm
+++ b/interface/web/tools/templates/dns_resync.htm
@@ -23,7 +23,7 @@
<input type="hidden" name="id" value="{tmpl_var name='id'}">
<div class="buttonHolder buttons">
- <button class="positive iconstxt icoPositive" type="button" value="Import" onClick="submitUploadForm('pageForm','tools/dns_resync.php');"><span>Start</span></button>
+ <button class="positive iconstxt icoPositive" type="button" value="Import" onClick="submitForm('pageForm','tools/dns_resync.php');"><span>Start</span></button>
<button class="negative iconstxt icoNegative" type="button" value="Cancel" onClick="loadContent('tools/index.php');"><span>Cancel</span></button>
</div>
</div>
--
Gitblit v1.9.1