Ejemplo n.º 1
0
<?php

/************************************************************************
 * Dashboard2
 * Copyright 2006-2010 by Niels Leenheer
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.	 
 */
config::create('redirectToLogin', 'boolean', true);
/* Dutch language strings */
sql::query("INSERT INTO " . _TABLE_PREFIX_ . "strings SET language='nl', id='login', value='Inloggen'");
sql::query("INSERT INTO " . _TABLE_PREFIX_ . "strings SET language='nl', id='logout', value='Uitloggen'");
sql::query("INSERT INTO " . _TABLE_PREFIX_ . "strings SET language='nl', id='username', value='Gebruikersnaam'");
sql::query("INSERT INTO " . _TABLE_PREFIX_ . "strings SET language='nl', id='password', value='Wachtwoord'");
sql::query("INSERT INTO " . _TABLE_PREFIX_ . "strings SET language='nl', id='rememberpassword', value='Wachtwoord onthouden'");
sql::query("INSERT INTO " . _TABLE_PREFIX_ . "strings SET language='nl', id='passwordnotcorrect', value='De door u opgegeven gebruikersnaam of het door u opgegeven wachtwoord is niet correct.'");
sql::query("INSERT INTO " . _TABLE_PREFIX_ . "strings SET language='nl', id='anerroroccured', value='Er is een fout opgetreden'");
sql::query("INSERT INTO " . _TABLE_PREFIX_ . "strings SET language='nl', id='notenoughrights', value='U heeft niet voldoende rechten.'");
sql::query("INSERT INTO " . _TABLE_PREFIX_ . "strings SET language='nl', id='logintoview', value='Log in om deze pagina te openen.'");
/* English language strings */
sql::query("INSERT INTO " . _TABLE_PREFIX_ . "strings SET language='en', id='login', value='Login'");
sql::query("INSERT INTO " . _TABLE_PREFIX_ . "strings SET language='en', id='logout', value='Logout'");
sql::query("INSERT INTO " . _TABLE_PREFIX_ . "strings SET language='en', id='username', value='Username'");
sql::query("INSERT INTO " . _TABLE_PREFIX_ . "strings SET language='en', id='password', value='Password'");
sql::query("INSERT INTO " . _TABLE_PREFIX_ . "strings SET language='en', id='rememberpassword', value='Remember password'");
sql::query("INSERT INTO " . _TABLE_PREFIX_ . "strings SET language='en', id='passwordnotcorrect', value='The supplied username or password is not correct.'");
sql::query("INSERT INTO " . _TABLE_PREFIX_ . "strings SET language='nl', id='anerroroccured', value='An error occured'");
sql::query("INSERT INTO " . _TABLE_PREFIX_ . "strings SET language='nl', id='notenoughrights', value='You are not allowed to view this page.'");
sql::query("INSERT INTO " . _TABLE_PREFIX_ . "strings SET language='nl', id='logintoview', value='Log in to open this page.'");
Ejemplo n.º 2
0
<?php

/************************************************************************
 * Dashboard2
 * Copyright 2006-2010 by Niels Leenheer
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.	 
 */
sql::create("contents_links", "\r\n\t\t`ID` int(11) NOT NULL default '0',\r\n\t\t`revision` int(11) NOT NULL default '0',\r\n\t\t`link` int(11) NOT NULL auto_increment,\r\n\t\t`position` int(11) NOT NULL default '0',\r\n\t\t`url` varchar(255) NOT NULL default '',\r\n\t\t`title` varchar(255) NOT NULL default '',\r\n\t\t`target` varchar(16) NOT NULL default '',\r\n\t\tUNIQUE KEY `id_revision_link` (`ID`,`revision`,`link`)\r\n\t");
config::create('linksAlign', 'string', 'right');
/* Dutch language strings */
sql::query("INSERT INTO " . _TABLE_PREFIX_ . "strings SET language='nl', id='links', value='Links'");
sql::query("INSERT INTO " . _TABLE_PREFIX_ . "strings SET language='nl', id='linksurl', value='Adres'");
sql::query("INSERT INTO " . _TABLE_PREFIX_ . "strings SET language='nl', id='linkstarget', value='Doel'");
sql::query("INSERT INTO " . _TABLE_PREFIX_ . "strings SET language='nl', id='newwindow', value='Nieuw venster'");
sql::query("INSERT INTO " . _TABLE_PREFIX_ . "strings SET language='nl', id='currentwindow', value='Hetzelfde venster'");
sql::query("INSERT INTO " . _TABLE_PREFIX_ . "strings SET language='nl', id='linksdraganddrop', value='Klik op een link om te wijzigen of sleep de links naar de gewenste positie'");
/* English language strings */
sql::query("INSERT INTO " . _TABLE_PREFIX_ . "strings SET language='en', id='links', value='Links'");
sql::query("INSERT INTO " . _TABLE_PREFIX_ . "strings SET language='en', id='linksurl', value='URL'");
sql::query("INSERT INTO " . _TABLE_PREFIX_ . "strings SET language='en', id='linkstarget', value='Target'");
sql::query("INSERT INTO " . _TABLE_PREFIX_ . "strings SET language='en', id='newwindow', value='New window'");
sql::query("INSERT INTO " . _TABLE_PREFIX_ . "strings SET language='en', id='currentwindow', value='Current window'");
sql::query("INSERT INTO " . _TABLE_PREFIX_ . "strings SET language='en', id='linksdraganddrop', value='Click a link to edit it or drag and drop the links in the order you want'");
Ejemplo n.º 3
0
<?php

/************************************************************************
 * Dashboard2
 * Copyright 2006-2010 by Niels Leenheer
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.	 
 */
config::create('installed', 'boolean', true);
config::create('inlineLogin', 'boolean', false);
config::create('inlineLogout', 'boolean', false);
config::create('multiLanguageSupport', 'boolean', false);
config::create('showLastModified', 'boolean', true);
config::create('siteTitle', 'string', 'Acme Cogs, Ltd.');
Ejemplo n.º 4
0
<?php

/************************************************************************
 * Dashboard2
 * Copyright 2006-2010 by Niels Leenheer
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.	 
 */
config::create('analyticsId', 'string', '');
sql::query("INSERT INTO " . _TABLE_PREFIX_ . "strings SET language='nl', id='analytics', value='Analytics'");
sql::query("INSERT INTO " . _TABLE_PREFIX_ . "strings SET language='nl', id='analyticsId', value='Web Property ID'");
sql::query("INSERT INTO " . _TABLE_PREFIX_ . "strings SET language='en', id='analytics', value='Analytics'");
sql::query("INSERT INTO " . _TABLE_PREFIX_ . "strings SET language='en', id='analyticsId', value='Web Property ID'");