mirror of
https://github.com/friendica/friendica
synced 2025-04-25 02:30:11 +00:00
Merge branch 'master' into newui
This commit is contained in:
commit
5792b3d358
246 changed files with 7155 additions and 12678 deletions
|
@ -199,8 +199,26 @@
|
|||
$os=$s; $count++;
|
||||
$s = str_replace($this->search,$this->replace, $s);
|
||||
}
|
||||
return $s;
|
||||
return template_unescape($s);
|
||||
}
|
||||
}
|
||||
|
||||
$t = new Template;
|
||||
|
||||
|
||||
|
||||
|
||||
function template_escape($s) {
|
||||
|
||||
return str_replace(array('$','{{'),array('!_Doll^Ars1Az_!','!_DoubLe^BraceS4Rw_!'),$s);
|
||||
|
||||
|
||||
}
|
||||
|
||||
function template_unescape($s) {
|
||||
|
||||
return str_replace(array('!_Doll^Ars1Az_!','!_DoubLe^BraceS4Rw_!'),array('$','{{'),$s);
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue