mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 01:34:55 +02:00
* colorful dynamic menus!
* and also: blank option for menus * NOTICE: Not all templates support that options yet
This commit is contained in:
7
system/migrations/23.php
Normal file
7
system/migrations/23.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
if(!$db->hasColumn(TABLE_PREFIX . 'menu', 'blank'))
|
||||
$db->query('ALTER TABLE `' . TABLE_PREFIX . 'menu` ADD `blank` TINYINT(1) NOT NULL DEFAULT 0 AFTER `link`;');
|
||||
|
||||
if(!$db->hasColumn(TABLE_PREFIX . 'menu', 'color'))
|
||||
$db->query('ALTER TABLE `' . TABLE_PREFIX . 'menu` ADD `color` CHAR(6) NOT NULL DEFAULT "ffffff" AFTER `blank`;');
|
Reference in New Issue
Block a user