| 69 |
* @return string the raw html output. |
* @return string the raw html output. |
| 70 |
*/ |
*/ |
| 71 |
function render( $indent_level=1, $output_debug=0) { |
function render( $indent_level=1, $output_debug=0) { |
| 72 |
$this->_selected = $_REQUEST[$this->_query_prefix."textcssnavselected"]; |
$this->_selected = @$_REQUEST[$this->_query_prefix."textcssnavselected"]; |
| 73 |
$div = html_div("textnav", $this->_build_links()); |
$div = html_div("textnav", $this->_build_links()); |
| 74 |
return $div->render( $indent_level, $output_debug ); |
return $div->render( $indent_level, $output_debug ); |
| 75 |
} |
} |
| 176 |
} |
} |
| 177 |
$url .= "&".$this->_query_prefix."textcssnavselected=".$cnt; |
$url .= "&".$this->_query_prefix."textcssnavselected=".$cnt; |
| 178 |
} |
} |
| 179 |
$obj = html_a($url, $nav["text"], "", $nav["target"], $nav["title"]); |
$obj = html_a(htmlentities($url), $nav["text"], "", $nav["target"], $nav["title"]); |
| 180 |
if ($class != NULL) { |
if ($class != NULL) { |
| 181 |
if ($this->_highlight_selected && $this->_selected == $cnt) { |
if ($this->_highlight_selected && $this->_selected == $cnt) { |
| 182 |
$class = "selected".$class; |
$class = "selected".$class; |
| 216 |
|
|
| 217 |
$this->add_entry(".textnav", "a", |
$this->add_entry(".textnav", "a", |
| 218 |
array("font-family" => "sans-serif", |
array("font-family" => "sans-serif", |
| 219 |
"font-size" => "10pt", |
"font-size" => "8pt", |
| 220 |
"font-weight" => "bold", |
"font-weight" => "bold", |
| 221 |
"text-decoration" => "none", |
"text-decoration" => "none", |
| 222 |
"color" => "#FFFFFF", |
"color" => "#FFFFFF", |