[ * Added rights for login accounts to show pricing and caller id Adrian Georgescu **20070320144942] hunk ./accounts_lib.phtml 419 + /* hunk ./accounts_lib.phtml 426 - print "CS codes"; + */ + print "Carrier codes"; hunk ./cdrlib_ser.phtml 2183 + global $perm; + hunk ./cdrlib_ser.phtml 2355 - $this->pricePrint=$this->price; + if ($perm->have_perm("showPrice")) { + $this->pricePrint=$this->price; + } else { + $this->pricePrint='x.xxx'; + } hunk ./cdrlib_ser.phtml 2440 + global $perm; hunk ./cdrlib_ser.phtml 2684 - if ($this->price > 0 || $this->rate) { - $CallInfoVerbose.= " - - - - - - - - - - -
Rating information
$this->ratePrint
- "; + if ($perm->have_perm("showPrice")) { + if ($this->price > 0 || $this->rate) { + $CallInfoVerbose.= " + + + + + + + + + + +
Rating information
$this->ratePrint
+ "; + } hunk ./cdrlib_ser.phtml 2701 - hunk ./debian/changelog 7 + * Added rights for login accounts to show pricing and caller id hunk ./debian/changelog 9 - -- Adrian Georgescu Tue, 20 Mar 2007 15:17:30 +0100 + -- Adrian Georgescu Tue, 20 Mar 2007 15:49:05 +0100 hunk ./phplib/local.inc 157 - $this->auth["perm"] = "callsearch,statistics"; + $this->auth["perm"] = "callsearch,statistics,showPrice,showCallerId"; hunk ./phplib/local.inc 160 - $this->auth["perm"] = "callsearch,statistics"; + $this->auth["perm"] = "callsearch,statistics,showPrice,showCallerId"; hunk ./phplib/local.inc 287 - "rates" => 32 + "rates" => 32, + "showCallerId" => 64, + "showPrice" => 128