Comanche documentation and some cleanup of layout page (including link to doco) and a few other webpage related cleanups

This commit is contained in:
friendica
2013-10-28 17:48:42 -07:00
parent 1bf6591e1b
commit 1380bee82c
7 changed files with 173 additions and 4 deletions

View File

@@ -46,6 +46,12 @@ function pdl_selector($uid,$current="") {
function comanche_parser(&$a,$s) {
$cnt = preg_match_all("/\[comment\](.*?)\[\/comment\]/ism", $s, $matches, PREG_SET_ORDER);
if($cnt) {
foreach($matches as $mtch) {
$s = str_replace($mtch[0],'',$s);
}
}
$cnt = preg_match("/\[layout\](.*?)\[\/layout\]/ism", $s, $matches);
if($cnt)