Added [module] shortcut

[module] in elements.html get replaced by the modules path.
This commit is contained in:
Paul-Vincent Roll
2016-01-28 11:13:27 +01:00
parent 7247ffae72
commit 01ee51e027
3 changed files with 7 additions and 7 deletions

View File

@@ -31,6 +31,6 @@
//Add the modules CSS file
print_r('<link rel="stylesheet" type="text/css" href="'.$module.'/style.css">'."\xA");
//Get and add HTML Elements
print_r(file_get_contents($module.'/elements.html'));
print_r(str_replace("[module]",$module ,file_get_contents($module.'/elements.html')));
}
?>