Changed functions from "private" to "protected" in remote library.
Changed onClick function in DNS resync temlate.
| | |
| | | |
| | | |
| | | |
| | | //** 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'); |
| | |
| | | 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; |
| | | |
| | |
| | | } |
| | | |
| | | |
| | | 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; |
| | | |
| | |
| | | return $affected_rows; |
| | | } |
| | | |
| | | private function deleteQuery($formdef_file, $primary_id, $event_identifier = '') |
| | | protected function deleteQuery($formdef_file, $primary_id, $event_identifier = '') |
| | | { |
| | | global $app; |
| | | |
| | |
| | | } |
| | | |
| | | |
| | | private function checkPerm($session_id, $function_name) |
| | | protected function checkPerm($session_id, $function_name) |
| | | { |
| | | $dobre=array(); |
| | | $session = $this->getSession($session_id); |
| | |
| | | } |
| | | |
| | | |
| | | private function getSession($session_id) |
| | | protected function getSession($session_id) |
| | | { |
| | | global $app; |
| | | |
| | |
| | | <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> |