SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;

--
-- Base de donnÃ©es: `poshprofile`
--

-- --------------------------------------------------------

--
-- Structure de la table `desktopitem`
--

CREATE TABLE IF NOT EXISTS `desktopitem` (
  `desktopid` mediumint(9) NOT NULL AUTO_INCREMENT COMMENT 'id de l item de bureau dans la base',
  `name` varchar(100) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'nom du bouton',
  `libelle` varchar(100) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'libellÃ© du bouton',
  `url` varchar(500) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'url de l application associÃ©e au bouton',
  `icon` varchar(250) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'icone du bouton',
  `categorie` int(11) DEFAULT NULL,
  `indice` int(11) DEFAULT NULL,
  `mode` int(11) DEFAULT NULL,
  `badge_type` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `badge_message` longtext COLLATE utf8_unicode_ci NOT NULL,
  `badge_url` varchar(1024) COLLATE utf8_unicode_ci NOT NULL,
  `color` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`desktopid`),
  UNIQUE KEY `url` (`name`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='item de bureau posh' AUTO_INCREMENT=29 ;

--
-- insertion du bouton Configuration)
-- il n'y a pas de vÃ©rif d'existence a faire, un critÃ¨re d'unicitÃ© est posÃ© d'origine sur le champ url

INSERT INTO `desktopitem` (`name`, `libelle`, `url`, `icon`, `categorie`, `indice`, `mode`, `badge_type`, `badge_message`, `badge_url`, `color`) VALUES

('Administration/configuration', 'Configuration', '/envole/configuration.php', '/envole/includes/plugins/plugin_desktop/icones/cel/cel_settings.png', 0, NULL, NULL, '', '', '', '#00cbf3')


