Lines Matching refs:renderer

193      * @param (obj) $renderer object reference to the Doku_Render class,
215 public function render($mode, Doku_Renderer $renderer, $data) { argument
223 $renderer->nocache();
296 …$this->_print_code($renderer, $src_url, $code_loc, $lang, $range, $flag, $name, $subname, $nums, $…
300 $this->_print_tree($renderer, $loc_url, $tree_loc, $docstr);
308 $this->_print_note($renderer, $loc_url, $code_raw, $sl_loc, $el_loc);
314 …$this->_print_code($renderer, $src_url, $code_loc, $lang, $range, $flag, $name, $subname, $nums, $…
321 $this->_print_note($renderer, $loc_url, $code_raw, $sl_loc, $el_loc);
322 $this->_print_tree($renderer, $loc_url, $tree_dif, $docstr);
325 $this->_print_tree($renderer, $loc_url, $tree_loc, $docstr);
338 $this->_print_error($renderer);
341 $this->_print_wrong_flag($renderer);
344 $this->_print_notfound_lns($renderer);
347 $this->_print_notfound_def($renderer);
350 $this->_print_notfound_cls($renderer);
358 * @param (obj) $renderer object reference to the Doku_Render class,
380 private function _print_code(Doku_Renderer $renderer, $src_url, $code, $lang, $range, $flag, argument
431 $renderer->doc .= "<div class='nums_pycode'>";
432 $renderer->doc .= "<dl class='code nums_pycode'>";
434 $renderer->doc .= "<dt>&nbsp;</dt>";
436 $renderer->doc .= "<dd>";
437 $renderer->doc .= "<pre class='code nums_pycode'>";
445 $renderer->doc .= "$number<br>";
447 $renderer->doc .= "</pre> </dd> </dl> </div>";
448 $renderer->doc .= "<div class='code_pycode'>";
453 $renderer->doc .= "<dl class='code code_pycode'>";
454 $renderer->doc .= "<dt><img class='code_pycode' src='" . $icon . "'>$title</dt>";
455 $renderer->doc .= "<dd>";
458 $renderer->doc .= "<pre class='code $lang'>";
459 $renderer->doc .= $this->mpp->_get_geshi_code($code, $lang);
460 $renderer->doc .= "</pre>";
463 $renderer->doc .= "</dd> </dl>";
467 $renderer->doc .= "</div>";
474 * @param (obj) $renderer object reference to the Doku_Render class,
502 private function _print_tree(Doku_Renderer $renderer, $loc_url, $tree, $docstr = null) { argument
552 $renderer->listu_open(); // <ul>
553 $renderer->listitem_open(1); // <li>
554 $renderer->listcontent_open(); // <div>
556 $renderer->strong_open(); // start bold
557 $renderer->cdata($tree[0][0]);
558 $renderer->strong_close(); // stop bold
561 $renderer->cdata($tree[0][0]);
564 $renderer->doc .= "<blockquote class='quote_pycode'>";
565 $renderer->emphasis_open();
567 $renderer->doc .= $line . "<br />";
569 $renderer->emphasis_close();
570 $renderer->doc .= "</blockquote>";
572 $renderer->listcontent_close(); // </div>
574 $renderer->listu_open(); // <ul> start indented
579 $renderer->listitem_open(2); // <li>
580 $renderer->listcontent_open(); // <div>
582 $renderer->strong_open(); // start bold
585 $renderer->deleted_open(); // start strike out
587 $renderer->internallink($namespace . ":" . $val[1], $val[0]);
589 $renderer->strong_close(); // stop bold
592 $renderer->deleted_close(); // stop strike out
595 $renderer->doc .= "<blockquote class='quote_pycode'>";
596 $renderer->emphasis_open();
598 $renderer->doc .= $line . "<br />";
600 $renderer->emphasis_close();
601 $renderer->doc .= "</blockquote>";
603 $renderer->listcontent_close(); // </div>
604 $renderer->listitem_close(); // </li>
606 $renderer->listu_close(); // </ul> stop indented
608 $renderer->listitem_close(); // </li>
609 $renderer->listu_close(); // </ul>
621 * @param (obj) $renderer object reference to the Doku_Render class,
630 private function _print_note(Doku_Renderer $renderer, $loc_url, $code_new, $sl, $el) { argument
636 $renderer->doc .= "<div class='notify'>";
637 $renderer->cdata($note);
639 $renderer->doc .= "<form method='post'>";
640 $renderer->doc .= "<input type='hidden' name='url' value=$loc_url>";
641 $renderer->doc .= "<input type='hidden' name='new' value=$code_new>";
642 $renderer->doc .= "<input type='hidden' name='start' value=$sl>";
643 $renderer->doc .= "<input type='hidden' name='end' value=$el>";
644 $renderer->doc .= "<input class='button ok_pycode' type='submit'
646 $renderer->doc .= "</form>";
648 $renderer->doc .= "</div>";
655 * @param (obj) $renderer object reference to the Doku_Render class,
659 private function _print_notfound_lns(Doku_Renderer $renderer) { argument
662 $renderer->doc .= "<div class='error'>";
663 $renderer->cdata($notfound_lns);
664 $renderer->doc .= "</div>";
671 * @param (obj) $renderer object reference to the Doku_Render class,
675 private function _print_notfound_def(Doku_Renderer $renderer) { argument
678 $renderer->doc .= "<div class='error'>";
679 $renderer->cdata($notfound_def);
680 $renderer->doc .= "</div>";
687 * @param (obj) $renderer object reference to the Doku_Render class,
691 private function _print_notfound_cls(Doku_Renderer $renderer) { argument
694 $renderer->doc .= "<div class='error'>";
695 $renderer->cdata($notfound_cls);
696 $renderer->doc .= "</div>";
702 * @param (obj) $renderer object reference to the Doku_Render class,
706 private function _print_wrong_flag(Doku_Renderer $renderer) { argument
709 $renderer->doc .= "<div class='error'>";
710 $renderer->cdata($wrong_flag);
711 $renderer->doc .= "</div>";
718 * @param (obj) $renderer object reference to the Doku_Render class,
722 private function _print_wrong_lang(Doku_Renderer $renderer) { argument
725 $renderer->doc .= "<div class='error'>";
726 $renderer->cdata($wrong_lang);
727 $renderer->doc .= "</div>";
734 * @param (obj) $renderer object reference to the Doku_Render class,
738 private function _print_error(Doku_Renderer $renderer) { argument
741 $renderer->doc .= "<div class='error'>";
742 $renderer->cdata($error);
743 $renderer->doc .= "</div>";