diff --git a/admin/pages/menus.php b/admin/pages/menus.php
index 20045528..1e839d26 100644
--- a/admin/pages/menus.php
+++ b/admin/pages/menus.php
@@ -46,6 +46,7 @@ if (isset($_REQUEST['template'])) {
if ($cache->enabled()) {
$cache->delete('template_menus');
}
+
success('Saved at ' . date('H:i'));
}
@@ -56,6 +57,7 @@ if (isset($_REQUEST['template'])) {
echo 'Cannot find template config.php file.';
return;
}
+
if (!isset($config['menu_categories'])) {
echo "No menu categories set in template config.php.
This template doesn't support dynamic menus.";
return;
@@ -91,15 +93,16 @@ if (isset($_REQUEST['template'])) {
@@ -120,7 +123,8 @@ if (isset($_REQUEST['template'])) {
display('admin.menus.js.html.twig', array(
'menus' => $menus,
- 'last_id' => $last_id
+ 'last_id' => $last_id,
+ 'menu_default_color' => $config['menu_default_color'] ?? '#ffffff'
));
?>
'); //add input bo
+ $('#sortable-' + cat).append(' '); //add input bo
$('#remove-button-' + cat + '-' + id).click(function () {
$('#list-' + $(this).attr("id").replace('remove-button-', '')).remove();
});
@@ -69,4 +69,4 @@
]
});
}
-
\ No newline at end of file
+
diff --git a/templates/kathrine/config.php b/templates/kathrine/config.php
index a53500b1..2de3804e 100644
--- a/templates/kathrine/config.php
+++ b/templates/kathrine/config.php
@@ -1,8 +1,10 @@
array('id' => 'news', 'name' => 'Latest News'),
MENU_CATEGORY_ACCOUNT => array('id' => 'account', 'name' => 'Account'),
MENU_CATEGORY_COMMUNITY => array('id' => 'community', 'name' => 'Community'),
MENU_CATEGORY_LIBRARY => array('id' => 'library', 'name' => 'Library'),
MENU_CATEGORY_SHOP => array('id' => 'shops', 'name' => 'Shop')
-);
\ No newline at end of file
+);
diff --git a/templates/tibiacom/config.php b/templates/tibiacom/config.php
index 5e529e06..3f3f49d5 100644
--- a/templates/tibiacom/config.php
+++ b/templates/tibiacom/config.php
@@ -1,4 +1,6 @@
array('id' => 'news', 'name' => 'Latest News'),
MENU_CATEGORY_ACCOUNT => array('id' => 'account', 'name' => 'Account'),