add: formatting, cleaning of notes

Signed-off-by: Tobias Reisinger <tobias@msrg.cc>
This commit is contained in:
Tobias Reisinger 2020-03-07 16:22:08 +01:00
parent ed101c6b4f
commit edbb9d45c6
6 changed files with 102 additions and 19 deletions

View file

@ -5,7 +5,7 @@ function remove_whitespace($target)
return str_replace(" ", "", $target);
}
function render($template, $locale, $param){
function render($template, $param){
ob_start();
extract($param, EXTR_SKIP);
include($template);
@ -34,4 +34,9 @@ function setup_locale()
textdomain($domain);
}
function modifier_is_rest($modifier)
{
return !($modifier & 0b0111);
}
?>