Lines Matching refs:markup
7 function get_wysiwyg($name, $markup) { argument
8 …preg_match("/<wysiwyg ".$name." >>>>>".wysiwyg_GUID."(.*?)".wysiwyg_GUID."<<<<< \\/>/",$markup,$ma…
12 function save_wysiwyg($pickle, $markup) { argument
17 $markup = insert_wysiwyg($key, $html, $markup);
22 …$markup = preg_replace("/(?<=<wysiwyg )([^\\s]*) (?=\\/>)/","$1 >>>>>".wysiwyg_GUID."Edit me!".wys…
23 return $markup;
26 function load_wysiwyg($markup) { argument
29 $names = nameList_wysiwyg($markup);
32 $pickle[$name] = get_wysiwyg($name, $markup);
34 $markup = hide_wysiwyg($name, $markup);
37 $ret['markup'] = $markup;
42 function hide_wysiwyg($name, $markup) { argument
43 …?<=<wysiwyg\\s".$name.") >>>>>".wysiwyg_GUID.".*?".wysiwyg_GUID."<<<<< (?=\\/>)/", " ", $markup);
47 function insert_wysiwyg($name, $html, $markup) { argument
48 …("/(?<=<wysiwyg ".$name.") (?=\\/>)/", " >>>>>".wysiwyg_GUID.$html.wysiwyg_GUID."<<<<< ", $markup);
51 function nameList_wysiwyg($markup) { argument
53 preg_match_all("/<wysiwyg ([^\\s]*).*?\\/>/",$markup,$matches);