[Formatted files Tijmen de Mes **20200214105413 Ignore-this: 761d0bd2e8260d01413cc47635b9c237 ] hunk ./callsearch.phtml 12 -$loginname=$auth->auth["uname"]; +$loginname = $auth->auth["uname"]; hunk ./callsearch.phtml 49 - while (list($k,$v)=each($CDRTool['dataSourcesAllowed'])) { - $cdr_source_els[]=array("label"=>$DATASOURCES[$v]['name'],"value"=>$v); + while (list($k,$v) = each($CDRTool['dataSourcesAllowed'])) { + $cdr_source_els[] = array( + "label" => $DATASOURCES[$v]['name'], + "value" => $v + ); hunk ./callsearch.phtml 60 -$CDR_class=$DATASOURCES[$cdr_source]["class"]; +$CDR_class = $DATASOURCES[$cdr_source]["class"]; hunk ./callsearch.phtml 76 - if ($action=='edit' || !$action) { + if ($action =='edit' || !$action) { hunk ./callsearch.phtml 82 - } elseif ($action==search) { + } elseif ($action == search) { hunk ./index.phtml 9 - page_open(array( - "sess" => "CDRTool_Session", - "auth" => "CDRTool_Auth", - "perm" => "CDRTool_Perm") - ); - $loginname=$auth->auth["uname"]; - - $title="Legal notice"; + page_open( + array( + "sess" => "CDRTool_Session", + "auth" => "CDRTool_Auth", + "perm" => "CDRTool_Perm" + ) + ); + $loginname = $auth->auth["uname"]; + + $title = "Legal notice"; hunk ./index.phtml 21 - $query=sprintf("select * from settings - where billing_party = '%s' - and var_module= 'login' - and var_name = 'I_agree_with_license'",addslashes($loginname)); + $query = sprintf( + "select * from settings + where billing_party = '%s' + and var_module= 'login' + and var_name = 'I_agree_with_license'", + addslashes($loginname) + ); hunk ./index.phtml 29 - if ($db->num_rows()) { - $refreshURL='callsearch.phtml'; - $refreshTime=0; + if ($db->num_rows()) { + $refreshURL = 'callsearch.phtml'; + $refreshTime = 0; hunk ./index.phtml 46 - hunk ./index.phtml 63 - You must first setup php, apache and to create the cdrtool database. - Detailed installation instructions are available in doc/INSTALL.txt + You must first setup php, apache and to create the cdrtool database. + Detailed installation instructions are available in doc/INSTALL.txt hunk ./index.phtml 77 - $fp=fopen("setup/global.inc.simple.sample",r); + $fp = fopen("setup/global.inc.simple.sample",r); hunk ./index.phtml 88 - + hunk ./logout.phtml 29 - + hunk ./media_sessions.phtml 68 - + hunk ./media_trace.phtml 27 - hunk ./media_trace.phtml 32 - +