[Updape headers, css and html Adrian Georgescu **20080119104157 ] hunk ./callsearch.phtml 4 -page_open( - array("sess" => "CDRTool_Session", - "auth" => "CDRTool_Auth", - "perm" => "CDRTool_Perm" - )); hunk ./callsearch.phtml 30 - header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); - header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1 - header("Pragma: no-cache"); hunk ./callsearch.phtml 32 +page_open( + array("sess" => "CDRTool_Session", + "auth" => "CDRTool_Auth", + "perm" => "CDRTool_Perm" + )); + hunk ./header.phtml 2 -printf(" +header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1 +header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); +header("Expires: " . gmdate("D, d M Y H:i:s") . " GMT"); +header("ETag: ",randomstring()); + +printf(" + hunk ./header.phtml 12 - \"CDR mediation for Voice over IP (SER, Asterisk and Cisco)\"> - + \"CDR mediation and rating engine for OpenSER\"> + hunk ./phplib/local.inc 943 + +function RandomString($len=11) { + $alf=array("a","b","c","d","e","f", + "h","i","j","k","l","m", + "n","p","r","s","t","w", + "x","y","1","2","3","4", + "5","6","7","8","9"); + $i=0; + while($i < $len) { + srand((double)microtime()*1000000); + $randval = rand(0,28); + $string="$string"."$alf[$randval]"; + $i++; + } + return $string; +} hunk ./provisioning.phtml 13 -header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1 -header("Pragma: no-cache"); - hunk ./provisioning.phtml 14 -page_open( - array("sess" => "CDRTool_Session", - "auth" => "CDRTool_Auth", - "perm" => "CDRTool_Perm")); - -$title="SIP and ENUM provisioning"; hunk ./provisioning.phtml 21 +page_open( + array("sess" => "CDRTool_Session", + "auth" => "CDRTool_Auth", + "perm" => "CDRTool_Perm")); + +$title="SIP and ENUM provisioning"; + hunk ./sip_settings.phtml 2 -header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1 -header("Pragma: no-cache"); hunk ./sip_settings.phtml 4 +if (is_readable("local/header.phtml")) { + include("local/header.phtml"); +} else { + include("header.phtml"); +} + hunk ./sip_settings.phtml 38 -if (is_readable("local/header.phtml")) { - include("local/header.phtml"); -} else { - include("header.phtml"); -} - hunk ./style.css 7 -a:link {color: #3366FF; text-decoration:none; font-weight: normal;} +a:link {text-decoration:none; font-weight: normal;} hunk ./style.css 9 -a:visited {color:#3366FF; text-decoration:none; font-weight: normal;} +a:visited {text-decoration:none; font-weight: normal;} hunk ./style.css 102 -p {font-size: 8pt;line-height: 11pt;} +p {text-align: justify;font-size: 8pt;line-height: 11pt;} hunk ./style.css 167 -td.bbot { - border-bottom: 1px solid #666666; - vertical-align: middle; - padding-top: 1px; - background-color: transparent; -} - hunk ./style.css 196 - -.extrainfo { - display: none; - font-family: Verdana, Arial, Helvetica, sans-serif; - font-size: 7pt; - color: black; -}