add: formatting, cleaning of notes
Signed-off-by: Tobias Reisinger <tobias@msrg.cc>
This commit is contained in:
parent
ed101c6b4f
commit
edbb9d45c6
6 changed files with 102 additions and 19 deletions
lib
|
@ -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);
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue