mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 01:34:55 +02:00
* updated tinymce to the latest (4.7.0) version
* added option to uninstall plugin * added option to require specified myaac or php version for plugins * added links loaded from database to admin panel - for future plugins * added few characters hooks * fixed some kathrine template js bug when shop is disabled
This commit is contained in:
@@ -51,6 +51,12 @@ $function = new Twig_SimpleFunction('getLink', function ($s) {
|
||||
});
|
||||
$twig->addFunction($function);
|
||||
|
||||
$function = new Twig_SimpleFunction('hook', function ($hook) {
|
||||
global $hooks;
|
||||
$hooks->trigger($hook);
|
||||
});
|
||||
$twig->addFunction($function);
|
||||
|
||||
// trim values we receive
|
||||
if(isset($_POST))
|
||||
{
|
||||
|
Reference in New Issue
Block a user