changed git call from https to git readonly
[atutor.git] / mods / wiki / plugins / meta / f_title.php
1 <?php
2
3 /*
4    Evaluates the "title: " given in the {meta}{meta} field and uses
5    this for the current page.
6 */
7
8 $ewiki_plugins["handler"][] = "ewiki_meta_f_title";
9 function ewiki_meta_f_title($id, &$data, $action) {
10    global $ewiki_title;
11    if ($t = @$data["meta"]["meta"]["title"]) {
12       $ewiki_title = htmlentities($t);
13    }
14 }
15
16 ?>