slawkens1 ab73c602c3 * colorful dynamic menus!
* and also: blank option for menus
* NOTICE: Not all templates support that options yet
2018-01-14 14:29:53 +01:00

7 lines
338 B
PHP

<?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`;');