mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 09:44:55 +02:00
AdminPanel updates - changelog
-Admin menu updates -Moved getchangelogtype/where to functions file and added to twig -Added changelog editor to admin panel and updated changelog page -Renamed the changelog md reader to clmd and edited the version file.
This commit is contained in:
@@ -54,6 +54,20 @@ $function = new TwigFunction('getGuildLink', function ($s, $p) {
|
||||
});
|
||||
$twig->addFunction($function);
|
||||
|
||||
$function = new TwigFunction('truncate', function ($s, $n) {
|
||||
return truncate($s, $n);
|
||||
});
|
||||
$twig->addFunction($function);
|
||||
|
||||
$function = new TwigFunction('getChangelogType', function ($n) {
|
||||
return getChangelogType($n);
|
||||
});
|
||||
$twig->addFunction($function);
|
||||
|
||||
$function = new TwigFunction('getChangelogWhere', function ($n) {
|
||||
return getChangelogWhere($n);
|
||||
});
|
||||
$twig->addFunction($function);
|
||||
$function = new TwigFunction('hook', function ($hook) {
|
||||
global $hooks;
|
||||
|
||||
|
Reference in New Issue
Block a user