diff --git a/conlite/header.php b/conlite/header.php index ebf3292..2cdacd3 100644 --- a/conlite/header.php +++ b/conlite/header.php @@ -1,4 +1,5 @@ 'Contenido_Session', - 'auth' => 'Contenido_Challenge_Crypt_Auth', - 'perm' => 'Contenido_Perm')); + array('sess' => 'Contenido_Session', + 'auth' => 'Contenido_Challenge_Crypt_Auth', + 'perm' => 'Contenido_Perm')); -i18nInit($cfg["path"]["contenido"].$cfg["path"]["locale"], $belang); +i18nInit($cfg["path"]["contenido"] . $cfg["path"]["locale"], $belang); -cInclude ("includes", 'cfg_language_de.inc.php'); -cInclude ("includes", 'functions.forms.php'); +cInclude("includes", 'cfg_language_de.inc.php'); +cInclude("includes", 'functions.forms.php'); -if (isset($killperms)) -{ +if (isset($killperms)) { $sess->unregister("right_list"); $sess->unregister("area_rights"); $sess->unregister("item_rights"); } -i18nInit($cfg["path"]["contenido"].$cfg["path"]["locale"], $belang); +i18nInit($cfg["path"]["contenido"] . $cfg["path"]["locale"], $belang); $sess->register("sess_area"); @@ -68,41 +67,35 @@ if (isset($area)) { } if (is_numeric($changelang)) { - unset($area_rights); - unset($item_rights); - + unset($area_rights); + unset($item_rights); + $sess->register("lang"); $lang = $changelang; } -if (empty($client) || !is_numeric($client) || - (!$perm->have_perm_client("client[".$client."]") && - !$perm->have_perm_client("admin[".$client."]"))) -{ - // use first client which is accessible +if (empty($client) || !is_numeric($client) || (!$perm->have_perm_client("client[" . $client . "]") && !$perm->have_perm_client("admin[" . $client . "]"))) { + // use first client which is accessible $sess->register("client"); - $sql = "SELECT idclient FROM ".$cfg["tab"]["clients"]." ORDER BY idclient ASC"; + $sql = "SELECT idclient FROM " . $cfg["tab"]["clients"] . " ORDER BY idclient ASC"; $db->query($sql); - - while ($db->next_record()) - { - $mclient = $db->f("idclient"); - if ($perm->have_perm_client("client[".$mclient."]") || - $perm->have_perm_client("admin[".$mclient."]") ) - { - unset($lang); - $client = $mclient; - break; - } + while ($db->next_record()) { + $mclient = $db->f("idclient"); + + if ($perm->have_perm_client("client[" . $mclient . "]") || $perm->have_perm_client("admin[" . $mclient . "]")) { + unset($lang); + $client = $mclient; + break; + } } } else { - $sess->register("client"); + $sess->register("client"); } if (empty($lang) || !is_numeric($lang)) { // use first language found $sess->register("lang"); - $sql = "SELECT * FROM ".$cfg["tab"]["lang"]." AS A, ".$cfg["tab"]["clients_lang"]." AS B WHERE A.idlang=B.idlang AND idclient='".Contenido_Security::toInteger($client)."' ORDER BY A.idlang ASC"; + $sql = "SELECT * FROM " . $cfg["tab"]["lang"] . " AS A, " . $cfg["tab"]["clients_lang"] . " AS B WHERE A.idlang=B.idlang AND idclient='" . Contenido_Security::toInteger($client) . "' ORDER BY A.idlang ASC"; $db->query($sql); $db->next_record(); $lang = $db->f("idlang"); @@ -115,14 +108,12 @@ sendEncodingHeader($db, $cfg, $lang); $perm->load_permissions(); -$xml = new XML_doc; -$tpl = new Template; -$nav = new Contenido_Navigation; +$xml = new XML_doc; +$tpl = new Template; +$nav = new Contenido_Navigation(); rereadClients(); $nav->buildHeader($lang); -page_close(); - -?> \ No newline at end of file +page_close(); \ No newline at end of file diff --git a/conlite/includes/include.system_db_backup.php b/conlite/includes/include.system_db_backup.php index 414e4fb..893fc6d 100644 --- a/conlite/includes/include.system_db_backup.php +++ b/conlite/includes/include.system_db_backup.php @@ -154,12 +154,12 @@ if ($backup_action == 'backupnow') { $dump['num_rows'] = 0; for ($i = 0; $i < $dump['num_tables']; $i++) { $oDB->next_record(); - $row = $oDB->toArray(FETCH_ASSOC); + $row = $oDB->toArray(); $dump['tables'][$i] = $row['Name']; $oDB2->query("SELECT COUNT(*) FROM " . $row['Name']); $oDB2->next_record(); //$result = mysql_query("SELECT COUNT(*) FROM ".$row['Name'], $oDB->Link_ID); - $aTmp = $oDB2->toArray(FETCH_ASSOC); + $aTmp = $oDB2->toArray(); $dump['num_rows'] += $aTmp[0]; //print_r($row); } diff --git a/conlite/includes/startup.php b/conlite/includes/startup.php index 5701467..e12c920 100644 --- a/conlite/includes/startup.php +++ b/conlite/includes/startup.php @@ -71,7 +71,7 @@ if (!defined('CL_ENVIRONMENT')) { */ if (!defined('CL_VERSION')) { -define('CL_VERSION', '2.1.0'); +define('CL_VERSION', '2.1.1'); } diff --git a/setup/data/base.txt b/setup/data/base.txt index dba4aa9..8e66de2 100644 --- a/setup/data/base.txt +++ b/setup/data/base.txt @@ -8,9 +8,7 @@ base/base_chartable5.sql base/base_chartable6.sql base/base_chartable7.sql base/base_files1.sql -base/base_files2.sql base/base_framefiles1.sql -base/base_framefiles2.sql base/base_meta_type1.sql base/base_nav_main1.sql base/base_nav_sub1.sql diff --git a/setup/data/base/base_actions1.sql b/setup/data/base/base_actions1.sql index d68597a..c341ef2 100644 --- a/setup/data/base/base_actions1.sql +++ b/setup/data/base/base_actions1.sql @@ -28,7 +28,6 @@ INSERT INTO !PREFIX!_actions VALUES('38', '22', '40', 'lang_activatelanguage', ' INSERT INTO !PREFIX!_actions VALUES('39', '22', '41', 'lang_deactivatelanguage', 'langActivateDeactivateLanguage($idlang, 0);', '', '1'); INSERT INTO !PREFIX!_actions VALUES('44', '25', '12', 'user_saverightsarea', 'saverightsarea(); ', '', '0'); INSERT INTO !PREFIX!_actions VALUES('47', '40', '10', 'user_edit', '//fake action => edit frontenduser', '', '1'); -INSERT INTO !PREFIX!_actions VALUES('48', '26', '20', '20', 'include($cfgPathInc."con_edittpl.inc.php");', '', '0'); INSERT INTO !PREFIX!_actions VALUES('53', '28', '10', '10', 'if ( $installed == 0 ) {\r\n installplugin();\r\n} else {\r\n deinstallplugin();\r\n}', '', '1'); INSERT INTO !PREFIX!_actions VALUES('54', '3', '', 'con_newart', '/* Code for action\r\n ''con_newart'' */\r\n$sql = "SELECT\r\n a.idtplcfg,\r\n a.name\r\n FROM\r\n ".$cfg["tab"]["cat_lang"]." AS a,\r\n ".$cfg["tab"]["cat"]." AS b\r\n WHERE\r\n a.idlang = ''".$lang."'' AND\r\n b.idclient = ''".$client."'' AND\r\n a.idcat = ''".$idcat."'' AND\r\n b.idcat = a.idcat";\r\n\r\n$db->query($sql);\r\n$db->next_record();\r\n\r\nif ( $db->f("idtplcfg") != 0 ) {\r\n$newart = true;\r\n \r\n\r\n} else {\r\n\r\n $noti_html = ''\r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n
\r\n Fehler bei der Erstellung des Artikels

\r\n Der Kategorie ist kein Template zugewiesen.\r\n
 
'';\r\n\r\n $code = ''\r\n \r\n \r\n Error\r\n \r\n \r\n ''.$notification->returnNotification("error", $noti_html).''\r\n '';\r\n\r\n echo $code;\r\n\r\n}', '', '1'); INSERT INTO !PREFIX!_actions VALUES('55', '3', '', 'con_saveart', 'if (!isset($idtpl))\r\n{\r\n $idtpl = false;\r\n}\r\n\r\nif (!isset($artspec))\r\n{\r\n $artspec = "";\r\n}\r\n\r\nif (!isset($online))\r\n{\r\n $online = false;\r\n}\r\n\r\nif (isset($title)) \r\n{\r\n \r\n if (1 == $tmp_firstedit) \r\n {\r\n \r\n $idart = conEditFirstTime($idcat, $idcatnew, $idart, $is_start, $idtpl, $idartlang, $lang, $title, $summary, $artspec, $created, $lastmodified, $author, $online, $datestart, $dateend, $artsort);\r\n $tmp_notification = $notification->returnNotification("info", i18n("Changes saved"));\r\n \r\n if ( !isset($idartlang) ) \r\n {\r\n $sql = "SELECT idartlang FROM ".$cfg["tab"]["art_lang"]." WHERE idart = $idart AND idlang = $lang";\r\n $db->query($sql);\r\n $db->next_record();\r\n $idartlang = $db->f("idartlang");\r\n }\r\n \r\n if ( in_array($idcat, $idcatnew) ) \r\n {\r\n \r\n $sql = "SELECT idcatart FROM ".$cfg["tab"]["cat_art"]." WHERE idcat = ''".$idcat."'' AND idart = ''".$idart."''";\r\n \r\n $db->query($sql);\r\n $db->next_record();\r\n \r\n $tmp_idcatart = $db->f("idcatart");\r\n \r\n if ( $is_start == 1 ) \r\n {\r\n conMakeStart($tmp_idcatart, $is_start);\r\n }\r\n \r\n if (!isset($is_start))\r\n {\r\n if ($cfg["is_start_compatible"] == true)\r\n {\r\n \r\n $sql = "SELECT * FROM ".$cfg["tab"]["cat_art"]." WHERE idcat = ''$idcat'' AND is_start = ''1'' ";\r\n $db->query($sql);\r\n if ( $db->next_record() ) \r\n {\r\n ; \r\n }else\r\n {\r\n conMakeStart($tmp_idcatart, 0);\r\n }\r\n \r\n }else\r\n {\r\n \r\n $sql = "SELECT * FROM ".$cfg["tab"]["cat_lang"]." WHERE idcat = ''$idcat'' AND idlang = ''$lang'' AND startidartlang != ''0'' ";\r\n $db->query($sql);\r\n if ( $db->next_record() ) \r\n {\r\n $tmp_startidartlang = $db->f(''startidartlang'');\r\n if ($idartlang == $tmp_startidartlang)\r\n {\r\n conMakeStart($tmp_idcatart, 0);\r\n }else\r\n {\r\n ; # do nothing\r\n }\r\n \r\n }else\r\n {\r\n conMakeStart($tmp_idcatart, 0);\r\n }\r\n \r\n }\r\n }\r\n \r\n }\r\n \r\n if ( is_array($idcatnew) ) \r\n {\r\n \r\n foreach ( $idcatnew as $idcat ) \r\n {\r\n \r\n $sql = "SELECT idcatart FROM ".$cfg["tab"]["cat_art"]." WHERE idcat = $idcat AND idart = $idart";\r\n \r\n $db->query($sql);\r\n $db->next_record();\r\n \r\n conSetCodeFlag( $db->f("idcatart") );\r\n \r\n }\r\n }\r\n \r\n } \r\n else \r\n {\r\n \r\n conEditArt($idcat, $idcatnew, $idart, $is_start, $idtpl, $idartlang, $lang, $title, $summary, $artspec, $created, $lastmodified, $author, $online, $datestart, $dateend, $artsort);\r\n \r\n $tmp_notification = $notification->returnNotification("info", i18n("Changes saved"));\r\n \r\n if ( !isset($idartlang) ) \r\n {\r\n $sql = "SELECT idartlang FROM ".$cfg["tab"]["art_lang"]." WHERE idart = $idart AND idlang = $lang";\r\n $db->query($sql);\r\n $db->next_record();\r\n $idartlang = $db->f("idartlang");\r\n }\r\n \r\n if ( is_array($idcatnew) ) \r\n {\r\n if ( in_array($idcat, $idcatnew) ) \r\n {\r\n \r\n $sql = "SELECT idcatart FROM ".$cfg["tab"]["cat_art"]." WHERE idcat = ''".$idcat."'' AND idart = ''".$idart."''";\r\n \r\n $db->query($sql);\r\n $db->next_record();\r\n \r\n $tmp_idcatart = $db->f("idcatart");\r\n \r\n if ( $is_start == 1 ) \r\n {\r\n conMakeStart($tmp_idcatart, $is_start);\r\n }\r\n \r\n if (!isset($is_start))\r\n {\r\n if ($cfg["is_start_compatible"] == true)\r\n {\r\n \r\n $sql = "SELECT * FROM ".$cfg["tab"]["cat_art"]." WHERE idcat = ''$idcat'' AND is_start = ''1'' ";\r\n $db->query($sql);\r\n if ( $db->next_record() ) \r\n {\r\n ; \r\n }else\r\n {\r\n conMakeStart($tmp_idcatart, 0);\r\n }\r\n \r\n }else\r\n {\r\n \r\n $sql = "SELECT * FROM ".$cfg["tab"]["cat_lang"]." WHERE idcat = ''$idcat'' AND idlang = ''$lang'' AND startidartlang != ''0'' ";\r\n $db->query($sql);\r\n if ( $db->next_record() ) \r\n {\r\n $tmp_startidartlang = $db->f(''startidartlang'');\r\n if ($idartlang == $tmp_startidartlang)\r\n {\r\n conMakeStart($tmp_idcatart, 0);\r\n }else\r\n {\r\n ; # do nothing\r\n }\r\n \r\n }else\r\n {\r\n conMakeStart($tmp_idcatart, 0);\r\n }\r\n \r\n }\r\n \r\n }\r\n }\r\n }\r\n \r\n if ( is_array($idcatnew) ) \r\n {\r\n \r\n foreach ( $idcatnew as $idcat ) \r\n {\r\n \r\n $sql = "SELECT idcatart FROM ".$cfg["tab"]["cat_art"]." WHERE idcat = $idcat AND idart = $idart";\r\n \r\n $db->query($sql);\r\n $db->next_record();\r\n \r\n conSetCodeFlag( $db->f("idcatart") );\r\n \r\n }\r\n }\r\n }\r\n}\r\n\r\n\r\nCEC_Hook::execute("Contenido.Action.con_saveart.AfterCall", array(\r\n ''idcat'' => $idcat, \r\n ''idcatnew'' => $idcatnew, \r\n ''idart'' => $idart, \r\n ''is_start'' => $is_start, \r\n ''idtpl'' => $idtpl, \r\n ''idartlang'' => $idartlang, \r\n ''lang'' => $lang, \r\n ''title'' => $title, \r\n ''urlname'' => $urlname,\r\n ''summary'' => $summary, \r\n ''artspec'' => $artspec, \r\n ''created'' => $created, \r\n ''lastmodified'' => $lastmodified, \r\n ''author'' => $author, \r\n ''online'' => $online, \r\n ''datestart'' => $datestart, \r\n ''dateend'' => $dateend, \r\n ''artsort'' => $artsort\r\n));', '', '0'); @@ -65,12 +64,6 @@ INSERT INTO !PREFIX!_actions VALUES('330', '24', '', 'login', '//fake login acti INSERT INTO !PREFIX!_actions VALUES('334', '48', '', 'client_new', '', '', '1'); INSERT INTO !PREFIX!_actions VALUES('335', '48', '', 'client_edit', '', '', '1'); INSERT INTO !PREFIX!_actions VALUES('336', '46', '', 'client_delete', '', '', '1'); -INSERT INTO !PREFIX!_actions VALUES('337', '16', '', 'news_save', '', '', '1'); -INSERT INTO !PREFIX!_actions VALUES('338', '16', '', 'news_create', '', '', '1'); -INSERT INTO !PREFIX!_actions VALUES('339', '16', '', 'news_delete', '', '', '1'); -INSERT INTO !PREFIX!_actions VALUES('341', '50', '', 'recipients_save', '', '', '1'); -INSERT INTO !PREFIX!_actions VALUES('342', '50', '', 'recipients_create', '', '', '1'); -INSERT INTO !PREFIX!_actions VALUES('343', '50', '', 'recipients_delete', '', '', '1'); INSERT INTO !PREFIX!_actions VALUES('345', '32', '', 'js_create', '', '', '1'); INSERT INTO !PREFIX!_actions VALUES('346', '11', '', 'mod_new', '', '', '1'); INSERT INTO !PREFIX!_actions VALUES('347', '31', '', 'style_create', '', '', '1'); @@ -131,47 +124,14 @@ INSERT INTO !PREFIX!_actions VALUES('422', '86', '', 'recipientgroup_delete', '' INSERT INTO !PREFIX!_actions VALUES('423', '86', '', 'recipientgroup_create', '', '', '1'); INSERT INTO !PREFIX!_actions VALUES('424', '86', '', 'recipientgroup_recipient_delete', '', '', '1'); INSERT INTO !PREFIX!_actions VALUES('425', '86', '', 'recipientgroup_save_group', '', '', '1'); -INSERT INTO !PREFIX!_actions VALUES('427', '16', '', 'news_duplicate', '', '', '0'); -INSERT INTO !PREFIX!_actions VALUES('428', '50', '', 'recipients_purge', '', '', '0'); INSERT INTO !PREFIX!_actions VALUES('429', '82', '', 'fegroups_save_perm', '', '', '0'); INSERT INTO !PREFIX!_actions VALUES('430', '85', '', 'note_save_item', '', '', '0'); INSERT INTO !PREFIX!_actions VALUES('431', '85', '', 'note_delete', '', '', '0'); -INSERT INTO !PREFIX!_actions VALUES('434', '16', '', 'news_add_job', '', '', '1'); -INSERT INTO !PREFIX!_actions VALUES('435', '16', '', 'news_send_test', '', '', '0'); -INSERT INTO !PREFIX!_actions VALUES('436', '90', '', 'news_job_delete', '', '', '1'); -INSERT INTO !PREFIX!_actions VALUES('437', '90', '', 'news_job_details', '', '', '0'); -INSERT INTO !PREFIX!_actions VALUES('438', '90', '', 'news_job_detail_delete', '', '', '1'); -INSERT INTO !PREFIX!_actions VALUES('439', '16', '', 'news_html_settings', '', '', '1'); -INSERT INTO !PREFIX!_actions VALUES('440', '91', '', 'recipients_import', '', '', '0'); -INSERT INTO !PREFIX!_actions VALUES('441', '90', '', 'news_job_run', '', '', '1'); -INSERT INTO !PREFIX!_actions VALUES('442', '91', '', 'recipients_import_exec', '', '', '0'); INSERT INTO !PREFIX!_actions VALUES('443', '92', '', 'mod_importexport_package', '', '', '0'); INSERT INTO !PREFIX!_actions VALUES('444', '77', '', 'frontendgroup_user_add', '', '', '1'); -INSERT INTO !PREFIX!_actions VALUES('500', '500', '', 'linkchecker', '', '', '1'); -INSERT INTO !PREFIX!_actions VALUES('501', '500', '', 'whitelist_view', '', '', '1'); -INSERT INTO !PREFIX!_actions VALUES('600', '601', '', 'workflow_show', '', '', '1'); -INSERT INTO !PREFIX!_actions VALUES('601', '601', '', 'workflow_create', '', '', '1'); -INSERT INTO !PREFIX!_actions VALUES('602', '601', '', 'workflow_save', '', '', '1'); -INSERT INTO !PREFIX!_actions VALUES('603', '600', '', 'workflow_delete', '', '', '1'); -INSERT INTO !PREFIX!_actions VALUES('604', '602', '', 'workflow_step_edit', '', '', '1'); -INSERT INTO !PREFIX!_actions VALUES('605', '602', '', 'workflow_step_up', '', '', '1'); -INSERT INTO !PREFIX!_actions VALUES('606', '602', '', 'workflow_step_down', '', '', '1'); -INSERT INTO !PREFIX!_actions VALUES('607', '602', '', 'workflow_save_step', '', '', '1'); -INSERT INTO !PREFIX!_actions VALUES('608', '602', '', 'workflow_create_step', '', '', '1'); -INSERT INTO !PREFIX!_actions VALUES('609', '602', '', 'workflow_step_delete', '', '', '1'); -INSERT INTO !PREFIX!_actions VALUES('610', '602', '', 'workflow_user_up', '', '', '1'); -INSERT INTO !PREFIX!_actions VALUES('611', '602', '', 'workflow_user_down', '', '', '1'); -INSERT INTO !PREFIX!_actions VALUES('612', '602', '', 'workflow_create_user', '', '', '1'); -INSERT INTO !PREFIX!_actions VALUES('613', '602', '', 'workflow_user_delete', '', '', '1'); INSERT INTO !PREFIX!_actions VALUES('614', '6', '', 'workflow_cat_assign', '', '', '1'); INSERT INTO !PREFIX!_actions VALUES('615', '1', '', 'workflow_do_action', '', '', '1'); INSERT INTO !PREFIX!_actions VALUES('616', '6', '', 'workflow_inherit_down', '', '', '1'); -INSERT INTO !PREFIX!_actions VALUES('617', '604', '', 'workflow_task_user_select', '', '', '1'); -INSERT INTO !PREFIX!_actions VALUES('618', '604', '', 'workflow_do_action', '', '', '1'); -INSERT INTO !PREFIX!_actions VALUES('700', '700', '', 'mod_rewrite', '', '', '1'); -INSERT INTO !PREFIX!_actions VALUES('701', '700', '', 'mod_rewrite_expert', '', '', '1'); -INSERT INTO !PREFIX!_actions VALUES('702', '700', '', 'mod_rewrite_test', '', '', '1'); -INSERT INTO !PREFIX!_actions VALUES('800', '802', '', 'storeallocation', '', '', '1'); INSERT INTO !PREFIX!_actions VALUES('801', '400', 'history_truncate', 'history_truncate', '', '', '1'); INSERT INTO !PREFIX!_actions VALUES('802', '401', 'history_truncate', 'history_truncate', '', '', '1'); INSERT INTO !PREFIX!_actions VALUES('803', '402', 'history_truncate', 'history_truncate', '', '', '1'); @@ -179,4 +139,5 @@ INSERT INTO !PREFIX!_actions VALUES('804', '403', 'history_truncate', 'history_t INSERT INTO !PREFIX!_actions VALUES('805', '70', 'history_truncate', 'history_truncate', '', '', '1'); INSERT INTO !PREFIX!_actions VALUES('806', '415', 'edit_sysconf', 'edit_sysconf', '', '', '1'); INSERT INTO !PREFIX!_actions VALUES('811', '811', 'do_purge', 'do_purge', '', '', '1'); -INSERT INTO !PREFIX!_actions VALUES('990', '990', '', 'pluginmanager', '', '', '1'); \ No newline at end of file +INSERT INTO !PREFIX!_actions VALUES('990', '990', '', 'pluginmanager', '', '', '1'); +INSERT INTO !PREFIX!_actions VALUES('991', '11', '', 'mod_folder_create', '', '', '1'); \ No newline at end of file diff --git a/setup/data/base/base_area1.sql b/setup/data/base/base_area1.sql index 35bbcd4..4a3f16c 100644 --- a/setup/data/base/base_area1.sql +++ b/setup/data/base/base_area1.sql @@ -12,15 +12,11 @@ INSERT INTO !PREFIX!_area VALUES('10', '0', 'mod', '1', '1', '0'); INSERT INTO !PREFIX!_area VALUES('11', 'mod', 'mod_edit', '1', '1', '0'); INSERT INTO !PREFIX!_area VALUES('12', '0', 'tpl', '1', '1', '0'); INSERT INTO !PREFIX!_area VALUES('13', 'tpl', 'tpl_edit', '1', '1', '0'); -INSERT INTO !PREFIX!_area VALUES('16', '0', 'news', '1', '1', '0'); -INSERT INTO !PREFIX!_area VALUES('17', 'news', 'news_edit', '1', '1', '0'); INSERT INTO !PREFIX!_area VALUES('20', '0', 'stat', '1', '1', '0'); INSERT INTO !PREFIX!_area VALUES('21', '0', 'user', '1', '1', '0'); INSERT INTO !PREFIX!_area VALUES('22', '0', 'lang', '1', '1', '0'); INSERT INTO !PREFIX!_area VALUES('24', '0', 'login', '0', '1', '0'); INSERT INTO !PREFIX!_area VALUES('25', 'user', 'user_areas', '1', '1', '0'); -INSERT INTO !PREFIX!_area VALUES('26', 'news', 'news_edittpl', '1', '1', '0'); -INSERT INTO !PREFIX!_area VALUES('27', 'news', 'news_editcontent', '1', '1', '0'); INSERT INTO !PREFIX!_area VALUES('28', '0', 'plug', '1', '1', '0'); INSERT INTO !PREFIX!_area VALUES('29', '0', 'langfile', '1', '0', '0'); INSERT INTO !PREFIX!_area VALUES('30', 'str', 'str_tplcfg', '1', '1', '0'); @@ -42,8 +38,6 @@ INSERT INTO !PREFIX!_area VALUES('46', '0', 'client', '1', '1', '0'); INSERT INTO !PREFIX!_area VALUES('47', 'lang', 'lang_edit', '1', '1', '0'); INSERT INTO !PREFIX!_area VALUES('48', 'client', 'client_edit', '1', '1', '0'); INSERT INTO !PREFIX!_area VALUES('49', '0', 'logs', '1', '1', '1'); -INSERT INTO !PREFIX!_area VALUES('50', '0', 'recipients', '1', '1', '0'); -INSERT INTO !PREFIX!_area VALUES('51', '0', 'myArea', '1', '1', '1'); INSERT INTO !PREFIX!_area VALUES('52', '0', 'info', '0', '1', '1'); INSERT INTO !PREFIX!_area VALUES('53', '0', 'symbolhelp', '0', '1', '1'); INSERT INTO !PREFIX!_area VALUES('54', '0', 'groups', '1', '1', '0'); @@ -80,30 +74,14 @@ INSERT INTO !PREFIX!_area VALUES('86', '0', 'recipientgroups', '1', '1', '0'); INSERT INTO !PREFIX!_area VALUES('87', '0', 'con_upl', '0', '1', '0'); INSERT INTO !PREFIX!_area VALUES('88', 'user', 'user_external', '1', '1', '0'); INSERT INTO !PREFIX!_area VALUES('89', 'group', 'group_external', '1', '1', '0'); -INSERT INTO !PREFIX!_area VALUES('90', 'news', 'news_jobs', '1', '1', '0'); -INSERT INTO !PREFIX!_area VALUES('91', 'recipients', 'recipients_import', '1', '1', '0'); INSERT INTO !PREFIX!_area VALUES('92', 'mod', 'mod_package', '1', '1', '0'); INSERT INTO !PREFIX!_area VALUES('93', 'mod', 'mod_sync', '1', '1', '0'); INSERT INTO !PREFIX!_area VALUES('96', '0', 'cl_sample_plugin', '1', '1', '1'); -INSERT INTO !PREFIX!_area VALUES('97', '0', 'myArea', '1', '1', '1'); -INSERT INTO !PREFIX!_area VALUES('98', '0', 'myArea', '1', '1', '1'); INSERT INTO !PREFIX!_area VALUES('400', 'lay', 'lay_history', '1', '1', '0'); INSERT INTO !PREFIX!_area VALUES('401', 'style', 'style_history', '1', '1', '0'); INSERT INTO !PREFIX!_area VALUES('402', 'js', 'js_history', '1', '1', '0'); INSERT INTO !PREFIX!_area VALUES('403', 'htmltpl', 'htmltpl_history', '1', '1', '0'); INSERT INTO !PREFIX!_area VALUES('415', 'system', 'system_configuration', '1', '1', '0'); -INSERT INTO !PREFIX!_area VALUES('500', '0', 'linkchecker', '1', '1', '1'); -INSERT INTO !PREFIX!_area VALUES('501', 'linkchecker', 'lc_whitelist', '1', '1', '1'); -INSERT INTO !PREFIX!_area VALUES('600', '0', 'workflow', '1', '1', '0'); -INSERT INTO !PREFIX!_area VALUES('601', 'workflow', 'workflow_common', '1', '1', '0'); -INSERT INTO !PREFIX!_area VALUES('602', 'workflow', 'workflow_steps', '1', '1', '0'); -INSERT INTO !PREFIX!_area VALUES('603', 'workflow', 'workflow_step_edit', '1', '1', '0'); -INSERT INTO !PREFIX!_area VALUES('604', 'con', 'con_workflow', '0', '1', '0'); -INSERT INTO !PREFIX!_area VALUES('700', '0', 'mod_rewrite', '1', '1', '1'); -INSERT INTO !PREFIX!_area VALUES('701', 'mod_rewrite', 'mod_rewrite_expert', '1', '1', '1'); -INSERT INTO !PREFIX!_area VALUES('702', 'mod_rewrite', 'mod_rewrite_test', '1', '1', '1'); -INSERT INTO !PREFIX!_area VALUES('801', '0', 'content_allocation', '1', '1', '0'); -INSERT INTO !PREFIX!_area VALUES('802', 'con', 'con_contentallocation', '1', '1', '0'); INSERT INTO !PREFIX!_area VALUES('811', 'system', 'system_purge', '1', '1', '0'); INSERT INTO !PREFIX!_area VALUES('812', 'system', 'db_backup', '1', '1', '0'); INSERT INTO !PREFIX!_area VALUES('990', '0', 'pluginmanager', '1', '1', '1'); \ No newline at end of file diff --git a/setup/data/base/base_files1.sql b/setup/data/base/base_files1.sql index ae30bd7..821c511 100644 --- a/setup/data/base/base_files1.sql +++ b/setup/data/base/base_files1.sql @@ -72,7 +72,6 @@ INSERT INTO !PREFIX!_files VALUES('77', '39', 'include.rights_create.php', 'main INSERT INTO !PREFIX!_files VALUES('78', '39', 'functions.forms.php', 'inc'); INSERT INTO !PREFIX!_files VALUES('79', '39', 'include.rights_subnav.php', 'main'); INSERT INTO !PREFIX!_files VALUES('80', '24', 'main.login.php', 'main'); -INSERT INTO !PREFIX!_files VALUES('81', '16', 'newsletter/includes/include.newsletter_left_top.php', 'main'); INSERT INTO !PREFIX!_files VALUES('82', '42', 'main.login.php', 'main'); INSERT INTO !PREFIX!_files VALUES('83', '42', 'include.mycontenido_subnav.php', 'main'); INSERT INTO !PREFIX!_files VALUES('84', '45', 'include.mycontenido_settings.php', 'main'); @@ -90,20 +89,11 @@ INSERT INTO !PREFIX!_files VALUES('96', '49', 'include.log_menu.php', 'main'); INSERT INTO !PREFIX!_files VALUES('97', '49', 'include.left_top_blank.php', 'main'); INSERT INTO !PREFIX!_files VALUES('98', '49', 'include.log_menu.php', 'main'); INSERT INTO !PREFIX!_files VALUES('99', '49', 'include.logs.php', 'main'); -INSERT INTO !PREFIX!_files VALUES('100', '16', 'newsletter/includes/include.newsletter_menu.php', 'main'); -INSERT INTO !PREFIX!_files VALUES('101', '16', 'newsletter/includes/include.newsletter_edit.php', 'main'); -INSERT INTO !PREFIX!_files VALUES('102', '16', 'functions.forms.php', 'inc'); -INSERT INTO !PREFIX!_files VALUES('103', '50', 'newsletter/includes/include.recipients_left_top.php', 'main'); -INSERT INTO !PREFIX!_files VALUES('104', '50', 'newsletter/includes/include.recipients_menu.php', 'main'); -INSERT INTO !PREFIX!_files VALUES('105', '50', 'include.subnav.php', 'main'); -INSERT INTO !PREFIX!_files VALUES('106', '50', 'functions.forms.php', 'inc'); -INSERT INTO !PREFIX!_files VALUES('107', '50', 'newsletter/includes/include.recipients_edit.php', 'main'); INSERT INTO !PREFIX!_files VALUES('108', '5', 'include.tplcfg_edit_form.php', 'main'); INSERT INTO !PREFIX!_files VALUES('109', '5', 'include.tplcfg_edit.php', 'inc'); INSERT INTO !PREFIX!_files VALUES('110', '5', 'functions.con.php', 'inc'); INSERT INTO !PREFIX!_files VALUES('111', '5', 'functions.tpl.php', 'inc'); INSERT INTO !PREFIX!_files VALUES('113', '33', 'functions.con.php', 'inc'); -INSERT INTO !PREFIX!_files VALUES('114', '16', 'newsletter/includes/include.newsletter_subnav.php', 'main'); INSERT INTO !PREFIX!_files VALUES('115', '47', 'functions.lang.php', 'inc'); INSERT INTO !PREFIX!_files VALUES('116', '22', 'functions.con.php', 'inc'); INSERT INTO !PREFIX!_files VALUES('117', '45', 'include.mycontenido_subnav.php', 'main'); @@ -179,11 +169,6 @@ INSERT INTO !PREFIX!_files VALUES('197', '87', 'include.upl_artlist.php', 'main' INSERT INTO !PREFIX!_files VALUES('198', '87', 'functions.upl.php', 'inc'); INSERT INTO !PREFIX!_files VALUES('199', '88', 'include.rights_external.php', 'main'); INSERT INTO !PREFIX!_files VALUES('200', '89', 'include.grouprights_external.php', 'main'); -INSERT INTO !PREFIX!_files VALUES('201', '90', 'newsletter/includes/include.newsletter_jobs_menu.php', 'main'); -INSERT INTO !PREFIX!_files VALUES('202', '90', 'newsletter/includes/include.newsletter_jobs_details.php', 'main'); -INSERT INTO !PREFIX!_files VALUES('203', '90', 'newsletter/includes/include.newsletter_jobs_subnav.php', 'main'); -INSERT INTO !PREFIX!_files VALUES('204', '17', 'newsletter/includes/include.newsletter_edit_message.php', 'main'); -INSERT INTO !PREFIX!_files VALUES('205', '91', 'newsletter/includes/include.recipients_import.php', 'main'); INSERT INTO !PREFIX!_files VALUES('206', '92', 'include.mod_package.php', 'main'); INSERT INTO !PREFIX!_files VALUES('207', '93', 'include.mod_sync.php', 'main'); INSERT INTO !PREFIX!_files VALUES('397', '71', 'include.files_subnav.php', 'main'); @@ -194,9 +179,8 @@ INSERT INTO !PREFIX!_files VALUES('401', '401', 'include.style_history.php', 'ma INSERT INTO !PREFIX!_files VALUES('402', '402', 'include.js_history.php', 'main'); INSERT INTO !PREFIX!_files VALUES('403', '403', 'include.html_tpl_history.php', 'main'); INSERT INTO !PREFIX!_files VALUES('415', '415', 'include.system_configuration.php', 'main'); -INSERT INTO !PREFIX!_files VALUES('500', '500', 'linkchecker/includes/include.linkchecker.php', 'main'); -INSERT INTO !PREFIX!_files VALUES('501', '501', 'linkchecker/includes/include.linkchecker_whitelist.php', 'main'); -INSERT INTO !PREFIX!_files VALUES('502', '500', 'linkchecker/includes/include.linkchecker_right_top.php', 'main'); -INSERT INTO !PREFIX!_files VALUES('600', '600', 'workflow/includes/include.workflow_left_top.php', 'main'); -INSERT INTO !PREFIX!_files VALUES('601', '600', 'workflow/includes/include.workflow_list.php', 'main'); -INSERT INTO !PREFIX!_files VALUES('602', '601', 'workflow/includes/include.workflow_edit.php', 'main'); \ No newline at end of file +INSERT INTO !PREFIX!_files VALUES('503', '52', 'include.subnav.php', 'main'); +INSERT INTO !PREFIX!_files VALUES('700', '52', 'include.subnav_blank.php', 'main'); +INSERT INTO !PREFIX!_files VALUES('813', '811', 'include.system_purge.php', 'main'); +INSERT INTO !PREFIX!_files VALUES('814', '812', 'include.system_db_backup.php', 'main'); +INSERT INTO !PREFIX!_files VALUES('990', '990', 'pluginmanager/includes/include.right_bottom.php', 'main'); \ No newline at end of file diff --git a/setup/data/base/base_framefiles1.sql b/setup/data/base/base_framefiles1.sql index 94ca422..1d8ff29 100644 --- a/setup/data/base/base_framefiles1.sql +++ b/setup/data/base/base_framefiles1.sql @@ -71,7 +71,6 @@ INSERT INTO !PREFIX!_frame_files VALUES('79', '39', '4', '77'); INSERT INTO !PREFIX!_frame_files VALUES('80', '39', '4', '78'); INSERT INTO !PREFIX!_frame_files VALUES('81', '40', '3', '79'); INSERT INTO !PREFIX!_frame_files VALUES('82', '24', '1', '80'); -INSERT INTO !PREFIX!_frame_files VALUES('83', '16', '1', '81'); INSERT INTO !PREFIX!_frame_files VALUES('84', '42', '4', '82'); INSERT INTO !PREFIX!_frame_files VALUES('86', '45', '4', '84'); INSERT INTO !PREFIX!_frame_files VALUES('87', '45', '4', '85'); @@ -87,14 +86,6 @@ INSERT INTO !PREFIX!_frame_files VALUES('97', '48', '4', '95'); INSERT INTO !PREFIX!_frame_files VALUES('99', '49', '1', '97'); INSERT INTO !PREFIX!_frame_files VALUES('100', '49', '2', '98'); INSERT INTO !PREFIX!_frame_files VALUES('101', '49', '4', '99'); -INSERT INTO !PREFIX!_frame_files VALUES('102', '16', '2', '100'); -INSERT INTO !PREFIX!_frame_files VALUES('103', '16', '4', '101'); -INSERT INTO !PREFIX!_frame_files VALUES('104', '16', '4', '102'); -INSERT INTO !PREFIX!_frame_files VALUES('105', '50', '1', '103'); -INSERT INTO !PREFIX!_frame_files VALUES('106', '50', '2', '104'); -INSERT INTO !PREFIX!_frame_files VALUES('107', '50', '3', '105'); -INSERT INTO !PREFIX!_frame_files VALUES('108', '50', '4', '106'); -INSERT INTO !PREFIX!_frame_files VALUES('109', '50', '4', '107'); INSERT INTO !PREFIX!_frame_files VALUES('110', '5', '4', '108'); INSERT INTO !PREFIX!_frame_files VALUES('111', '5', '4', '111'); INSERT INTO !PREFIX!_frame_files VALUES('112', '5', '4', '110'); @@ -102,7 +93,6 @@ INSERT INTO !PREFIX!_frame_files VALUES('113', '5', '4', '109'); INSERT INTO !PREFIX!_frame_files VALUES('115', '12', '2', '19'); INSERT INTO !PREFIX!_frame_files VALUES('116', '33', '4', '113'); INSERT INTO !PREFIX!_frame_files VALUES('117', '10', '2', '8'); -INSERT INTO !PREFIX!_frame_files VALUES('118', '16', '3', '114'); INSERT INTO !PREFIX!_frame_files VALUES('119', '22', '2', '27'); INSERT INTO !PREFIX!_frame_files VALUES('120', '22', '4', '27'); INSERT INTO !PREFIX!_frame_files VALUES('121', '22', '2', '116'); @@ -177,11 +167,6 @@ INSERT INTO !PREFIX!_frame_files VALUES('205', '87', '2', '198'); INSERT INTO !PREFIX!_frame_files VALUES('206', '87', '4', '198'); INSERT INTO !PREFIX!_frame_files VALUES('207', '88', '4', '199'); INSERT INTO !PREFIX!_frame_files VALUES('208', '89', '4', '200'); -INSERT INTO !PREFIX!_frame_files VALUES('209', '90', '2', '201'); -INSERT INTO !PREFIX!_frame_files VALUES('210', '90', '4', '202'); -INSERT INTO !PREFIX!_frame_files VALUES('211', '90', '3', '203'); -INSERT INTO !PREFIX!_frame_files VALUES('212', '17', '4', '204'); -INSERT INTO !PREFIX!_frame_files VALUES('213', '91', '4', '205'); INSERT INTO !PREFIX!_frame_files VALUES('214', '92', '4', '206'); INSERT INTO !PREFIX!_frame_files VALUES('215', '93', '4', '207'); INSERT INTO !PREFIX!_frame_files VALUES('397', '71', '3', '397'); @@ -192,11 +177,8 @@ INSERT INTO !PREFIX!_frame_files VALUES('401', '401', '4', '401'); INSERT INTO !PREFIX!_frame_files VALUES('402', '402', '4', '402'); INSERT INTO !PREFIX!_frame_files VALUES('403', '403', '4', '403'); INSERT INTO !PREFIX!_frame_files VALUES('415', '415', '4', '415'); -INSERT INTO !PREFIX!_frame_files VALUES('500', '500', '4', '500'); -INSERT INTO !PREFIX!_frame_files VALUES('501', '501', '4', '501'); -INSERT INTO !PREFIX!_frame_files VALUES('600', '600', '1', '600'); -INSERT INTO !PREFIX!_frame_files VALUES('601', '600', '2', '601'); -INSERT INTO !PREFIX!_frame_files VALUES('602', '600', '3', '603'); -INSERT INTO !PREFIX!_frame_files VALUES('603', '601', '4', '602'); -INSERT INTO !PREFIX!_frame_files VALUES('604', '602', '4', '604'); -INSERT INTO !PREFIX!_frame_files VALUES('605', '604', '3', '11151'); \ No newline at end of file +INSERT INTO !PREFIX!_frame_files VALUES('503', '52', '3', '503'); +INSERT INTO !PREFIX!_frame_files VALUES('700', '52', '3', '700'); +INSERT INTO !PREFIX!_frame_files VALUES('990', '990', '4', '990'); +INSERT INTO !PREFIX!_frame_files VALUES('1007', '811', '4', '813'); +INSERT INTO !PREFIX!_frame_files VALUES('1008', '812', '4', '814'); \ No newline at end of file diff --git a/setup/data/base/base_misc1.sql b/setup/data/base/base_misc1.sql new file mode 100644 index 0000000..0f35934 --- /dev/null +++ b/setup/data/base/base_misc1.sql @@ -0,0 +1 @@ +UPDATE !PREFIX!_art_lang SET published=lastmodified, publishedby=modifiedby WHERE online=1 and published="0000-00-00 00:00:00"; \ No newline at end of file diff --git a/setup/data/base/base_nav_main1.sql b/setup/data/base/base_nav_main1.sql index a23604d..504ea65 100644 --- a/setup/data/base/base_nav_main1.sql +++ b/setup/data/base/base_nav_main1.sql @@ -1,6 +1,6 @@ DELETE FROM !PREFIX!_nav_main WHERE idnavm < 10000; -INSERT INTO !PREFIX!_nav_main VALUES('5', 'navigation/administration/main', 'administration'); -INSERT INTO !PREFIX!_nav_main VALUES('4', 'navigation/statistic/main', 'statistic'); -INSERT INTO !PREFIX!_nav_main VALUES('2', 'navigation/style/main', 'style'); -INSERT INTO !PREFIX!_nav_main VALUES('1', 'navigation/content/main', 'content'); -INSERT INTO !PREFIX!_nav_main VALUES('3', 'navigation/extra/main', 'extra'); \ No newline at end of file +INSERT INTO !PREFIX!_nav_main VALUES('5', 'administration', 'navigation/administration/main'); +INSERT INTO !PREFIX!_nav_main VALUES('4', 'statistic', 'navigation/statistic/main'); +INSERT INTO !PREFIX!_nav_main VALUES('2', 'style', 'navigation/style/main'); +INSERT INTO !PREFIX!_nav_main VALUES('1', 'content', 'navigation/content/main'); +INSERT INTO !PREFIX!_nav_main VALUES('3', 'extra', 'navigation/extra/main'); \ No newline at end of file diff --git a/setup/data/base/base_nav_sub1.sql b/setup/data/base/base_nav_sub1.sql index 2bdb9d0..bd273df 100644 --- a/setup/data/base/base_nav_sub1.sql +++ b/setup/data/base/base_nav_sub1.sql @@ -1,6 +1,4 @@ DELETE FROM !PREFIX!_nav_sub WHERE idnavs < 10000; -INSERT INTO !PREFIX!_nav_sub VALUES('502', '0', '500', '1', 'linkchecker/xml/lang_de_DE.xml;navigation/content/linkchecker/overview', '1'); -INSERT INTO !PREFIX!_nav_sub VALUES('500', '1', '500', '0', 'linkchecker/xml/lang_de_DE.xml;navigation/content/linkchecker/main', '1'); INSERT INTO !PREFIX!_nav_sub VALUES('82', '3', '92', '1', 'navigation/style/modules/package', '1'); INSERT INTO !PREFIX!_nav_sub VALUES('81', '3', '86', '1', 'navigation/extra/recipientgroups', '1'); INSERT INTO !PREFIX!_nav_sub VALUES('79', '0', '6', '1', 'navigation/content/structure/overview', '1'); @@ -33,7 +31,6 @@ INSERT INTO !PREFIX!_nav_sub VALUES('45', '0', '56', '1', 'navigation/administra INSERT INTO !PREFIX!_nav_sub VALUES('44', '0', '55', '1', 'navigation/administration/groups/layout', '1'); INSERT INTO !PREFIX!_nav_sub VALUES('43', '0', '62', '1', 'navigation/administration/groups/areas', '1'); INSERT INTO !PREFIX!_nav_sub VALUES('41', '0', '61', '1', 'navigation/administration/groups/overview', '1'); -INSERT INTO !PREFIX!_nav_sub VALUES('38', '3', '50', '1', 'navigation/extra/recipients', '1'); INSERT INTO !PREFIX!_nav_sub VALUES('37', '0', '4', '1', 'navigation/content/article/preview', '1'); INSERT INTO !PREFIX!_nav_sub VALUES('49', '5', '49', '0', 'navigation/administration/logs', '1'); INSERT INTO !PREFIX!_nav_sub VALUES('36', '5', '46', '0', 'navigation/administration/clients/main', '1'); @@ -66,10 +63,6 @@ INSERT INTO !PREFIX!_nav_sub VALUES('3', '1', '7', '0', 'navigation/content/uplo INSERT INTO !PREFIX!_nav_sub VALUES('2', '1', '6', '0', 'navigation/content/structure/main', '1'); INSERT INTO !PREFIX!_nav_sub VALUES('1', '1', '1', '0', 'navigation/content/article/main', '1'); INSERT INTO !PREFIX!_nav_sub VALUES('990', '5', '990', '0', 'pluginmanager/xml/lang_de_DE.xml;navigation/administration/pluginmanager/main', '1'); -INSERT INTO !PREFIX!_nav_sub VALUES('503', '0', '501', '1', 'linkchecker/xml/lang_de_DE.xml;navigation/content/linkchecker/whitelist', '1'); -INSERT INTO !PREFIX!_nav_sub VALUES('600', '3', '600', '0', 'workflow/xml/lang_de_DE.xml;navigation/extra/workflow/main', '1'); -INSERT INTO !PREFIX!_nav_sub VALUES('601', '0', '601', '1', 'workflow/xml/lang_de_DE.xml;navigation/extra/workflow/settings', '1'); -INSERT INTO !PREFIX!_nav_sub VALUES('602', '0', '602', '1', 'workflow/xml/lang_de_DE.xml;navigation/extra/workflow/steps', '1'); INSERT INTO !PREFIX!_nav_sub VALUES('19', '2', '31', '0', 'navigation/style/styleeditor/main', '1'); INSERT INTO !PREFIX!_nav_sub VALUES('20', '2', '32', '0', 'navigation/style/jseditor/main', '1'); INSERT INTO !PREFIX!_nav_sub VALUES('61', '2', '71', '0', 'navigation/style/tpleditor/main', '1'); @@ -81,11 +74,4 @@ INSERT INTO !PREFIX!_nav_sub VALUES('402', '0', '402', '1', 'navigation/style/js INSERT INTO !PREFIX!_nav_sub VALUES('397', '0', '71', '1', 'navigation/style/tpleditor/file', '1'); INSERT INTO !PREFIX!_nav_sub VALUES('403', '0', '403', '1', 'navigation/style/tpleditor/history', '1'); INSERT INTO !PREFIX!_nav_sub VALUES('805', '0', '811', '1', 'navigation/administration/system/purge', '1'); -INSERT INTO !PREFIX!_nav_sub VALUES('806', '0', '812', '1', 'navigation/administration/system/db_backup', '1'); -INSERT INTO !PREFIX!_nav_sub VALUES('610', '3', '16', '0', 'navigation/extra/newsletter', '1'); -INSERT INTO !PREFIX!_nav_sub VALUES('800', '3', '801', '0', 'content_allocation/xml/;navigation/extra/content_allocation/main', '1'); -INSERT INTO !PREFIX!_nav_sub VALUES('801', '0', '802', '1', 'content_allocation/xml/;navigation/extra/content_allocation/main', '1'); -INSERT INTO !PREFIX!_nav_sub VALUES('700', '3', '700', '0', 'mod_rewrite/xml/;navigation/extras/mod_rewrite/main', '1'); -INSERT INTO !PREFIX!_nav_sub VALUES('701', '0', '700', '1', 'mod_rewrite/xml/;navigation/extras/mod_rewrite/settings', '1'); -INSERT INTO !PREFIX!_nav_sub VALUES('702', '0', '701', '1', 'mod_rewrite/xml/;navigation/extras/mod_rewrite/expert', '1'); -INSERT INTO !PREFIX!_nav_sub VALUES('703', '0', '702', '1', 'mod_rewrite/xml/;navigation/extras/mod_rewrite/test', '1'); \ No newline at end of file +INSERT INTO !PREFIX!_nav_sub VALUES('806', '0', '812', '1', 'navigation/administration/system/db_backup', '1'); \ No newline at end of file diff --git a/setup/data/base/base_type1.sql b/setup/data/base/base_type1.sql index ff293a4..192cec8 100644 --- a/setup/data/base/base_type1.sql +++ b/setup/data/base/base_type1.sql @@ -1,23 +1,23 @@ DELETE FROM !PREFIX!_type WHERE idtype < 10000; -INSERT INTO !PREFIX!_type VALUES('22', 'CMS_QRCODE', '/**\r\n * CMS_QRCODE\r\n */ \r\n$tmp = $a_content[''CMS_QRCODE''][$val];\r\n$tmp = urldecode($tmp); \r\n\r\n$tmp = AddSlashes(AddSlashes($tmp)); \r\n$tmp = str_replace("\\\\\\''", "''", $tmp); \r\n$tmp = str_replace("\\$", ''\\\\\\$'', $tmp); \r\n\r\n$q = array("", "L", "M", "Q", "H");\r\n$quality = intval(getEffectiveSetting("qrcode", "quality"));\r\nif ($quality == 0) {\r\n setSystemProperty("qrcode", "quality", 1);\r\n setSystemProperty("qrcode", "blocksize", 3);\r\n setSystemProperty("qrcode", "border", 2);\r\n $quality = 1;\r\n}\r\n$quality = $q[$quality];\r\n$blocksize = intval(getEffectiveSetting("qrcode", "blocksize", 3));\r\n$border = intval(getEffectiveSetting("qrcode", "border", 2));\r\n\r\nif ($edit) {\r\n # In editor we always generate a new image because of possible changes\r\n $tmp2 = "\r\necho ''QR Code
(online only)
'';\r\n@unlink(''" . $cfgClient[$client]["path"]["frontend"] . "cache/QR-Code-" . $idart . "-" . $val . ".png'');";\r\n \r\n # Edit anchor and image\r\n $editLink = $sess->url("front_content.php?action=10&idcat=$idcat&idart=$idart&idartlang=$idartlang&type=CMS_QRCODE&typenr=$val&lang=$lang");\r\n $editAnchor = new cHTMLLink;\r\n $editAnchor->setClass(''CMS_QRCODE_'' . $val . ''_EDIT CMS_LINK_EDIT'');\r\n $editAnchor->setLink("javascript:setcontent(''$idartlang'', ''" . $editLink . "'');");\r\n # Save all content\r\n \r\n $editButton = new cHTMLImage;\r\n $editButton->setSrc($cfg["path"]["contenido_fullhtml"] . $cfg["path"]["images"] . "but_edittext.gif");\r\n $editButton->setBorder(0);\r\n $editButton->setStyleDefinition("margin-right", "2px");\r\n \r\n $editAnchor->setContent($editButton);\r\n \r\n # Process for tmp2put with echo\r\n $finalEditButton = $editAnchor->render();\r\n \r\n $tmp2 .= "echo ''" . $finalEditButton . "'';";\r\n} else {\r\n # In frontend and preview we only generate a new image if it was deleted\r\n $tmp2 = "\r\nif (!is_file(''" . $cfgClient[$client][''path''][''frontend''] . "cache/QR-Code-" . $idart . "-" . $val . ".png'')) {\r\n define(''QR_CACHE_DIR'', ''" . $cfgClient[$client][''path''][''frontend''] . "cache/phpqrcode/'');\r\n if (!is_dir(QR_CACHE_DIR)) {\r\n mkdir(QR_CACHE_DIR);\r\n }";\r\n if (isStartArticle($idartlang, $idcat, $lang)) {\r\n $tmp2 .= "\r\n QRcode::png(''" . ((strlen($tmp)) ? $tmp : Contenido_Url::getInstance()->build(array(''idcat'' => $idcat, ''client'' => $client, ''lang'' => $lang), true)) . "'', ''" . $cfgClient[$client][''path''][''frontend''] . ''cache/QR-Code-'' . $idart . ''-'' . $val . ''.png'' . "'', ''" . $quality . "'', " . $blocksize . ", " . $border . ");";\r\n } else {\r\n $tmp2 .= "\r\n QRcode::png(''" . ((strlen($tmp)) ? $tmp : Contenido_Url::getInstance()->build(array(''idcat'' => $idcat, ''idart'' => $idart, ''client'' => $client, ''lang'' => $lang), true)) . "'', ''" . $cfgClient[$client][''path''][''frontend''] . ''cache/QR-Code-'' . $idart . ''-'' . $val . ''.png'' . "'', ''" . $quality . "'', " . $blocksize . ", " . $border . ");";\r\n }\r\n $tmp2 .= "\r\n}\r\necho ''\\"QR
'';";\r\n}\r\n$tmp = $tmp2;', 'QR Code', '0', '', '1970-01-01 00:00:01', '1970-01-01 00:00:01'); -INSERT INTO !PREFIX!_type VALUES('18', 'CMS_EASYIMGEDIT', '/**\r\n * CMS_EASYIMGEDIT\r\n */\r\n$tmp = "";\r\nif ($edit) {\r\n\r\n /* Edit anchor and image */\r\n $editLink = $sess->url("front_content.php?action=10&idcat=$idcat&idart=$idart&idartlang=$idartlang&type=CMS_EASYIMG&typenr=$val&lang=$lang");\r\n $editAnchor = new cHTMLLink;\r\n $editAnchor->setClass(''CMS_EASYIMGEDIT_''.$val.''_EDIT CMS_LINK_EDIT'');\r\n $editAnchor->setLink("javascript:setcontent(''$idartlang'',''".$editLink."'');");\r\n //Save all content\r\n \r\n $editButton = new cHTMLImage;\r\n $editButton->setSrc($cfg["path"]["contenido_fullhtml"].$cfg["path"]["images"]."but_editimage.gif");\r\n $editButton->setBorder(0);\r\n \r\n $editAnchor->setContent($editButton);\r\n\r\n /* Process for output with echo */\r\n $finalEditButton = $editAnchor->render();\r\n $finalEditButton = AddSlashes(AddSlashes($finalEditButton));\r\n $finalEditButton = str_replace("\\\\\\''","''",$finalEditButton);\r\n\r\n $tmp = $tmp.$finalEditButton;\r\n}', '', '0', '', '1970-01-01 00:00:01', '2009-04-14 13:56:58'); -INSERT INTO !PREFIX!_type VALUES('19', 'CMS_DATE', '$tmp = $a_content["CMS_DATE"][$val];\r\n\r\n$oCmsDate = new Cms_Date($tmp, $val, $idartlang, $editLink, $cfg, $db, count($a_content["CMS_DATE"]), $belang);\r\n\r\nif($edit){\r\n\r\n$tmp = $oCmsDate->getAllWidgetEdit();\r\n\r\n}else{\r\n\r\n$tmp = $oCmsDate->getAllWidgetView();\r\n\r\n}', 'Date', '0', '', '1970-01-01 00:00:01', '1970-01-01 00:00:01'); -INSERT INTO !PREFIX!_type VALUES('20', 'CMS_TEASER', '$tmp = $a_content["CMS_TEASER"][$val];\r\n\r\n$oCmsTeaser = new Cms_Teaser($tmp, $val, $idartlang, $editLink, $cfg, $db, $belang, $client, $lang, $cfgClient, $sess);\r\n\r\nif($edit){\r\n\r\n$tmp = $oCmsTeaser->getAllWidgetEdit();\r\n\r\n}else{\r\n\r\n$tmp = $oCmsTeaser->getAllWidgetView();\r\n\r\n}', 'Teaser', '0', '', '2009-04-20 13:12:14', '1970-01-01 00:00:01'); -INSERT INTO !PREFIX!_type VALUES('21', 'CMS_FILELIST', '$tmp = $a_content["CMS_FILELIST"][$val];\r\n\r\n$oCmsFileList = new Cms_FileList($tmp, $val, $idartlang, $editLink, $cfg, $db, $belang, $client, $lang, $cfgClient, $sess);\r\n\r\nif($edit){\r\n\r\n$tmp = $oCmsFileList->getAllWidgetEdit();\r\n\r\n}else{\r\n\r\n$tmp = $oCmsFileList->getAllWidgetView();\r\n\r\n}', '', '0', '', '1970-01-01 00:00:01', '1970-01-01 00:00:01'); +INSERT INTO !PREFIX!_type VALUES('22', 'CMS_QRCODE', '/**\r\n * CMS_QRCODE\r\n */ \r\n$tmp = $a_content[''CMS_QRCODE''][$val];\r\n$tmp = urldecode($tmp); \r\n\r\n$tmp = AddSlashes(AddSlashes($tmp)); \r\n$tmp = str_replace("\\\\\\''", "''", $tmp); \r\n$tmp = str_replace("\\$", ''\\\\\\$'', $tmp); \r\n\r\n$q = array("", "L", "M", "Q", "H");\r\n$quality = intval(getEffectiveSetting("qrcode", "quality"));\r\nif ($quality == 0) {\r\n setSystemProperty("qrcode", "quality", 1);\r\n setSystemProperty("qrcode", "blocksize", 3);\r\n setSystemProperty("qrcode", "border", 2);\r\n $quality = 1;\r\n}\r\n$quality = $q[$quality];\r\n$blocksize = intval(getEffectiveSetting("qrcode", "blocksize", 3));\r\n$border = intval(getEffectiveSetting("qrcode", "border", 2));\r\n\r\nif ($edit) {\r\n # In editor we always generate a new image because of possible changes\r\n $tmp2 = "\r\necho ''QR Code
(online only)
'';\r\n@unlink(''" . $cfgClient[$client]["path"]["frontend"] . "cache/QR-Code-" . $idart . "-" . $val . ".png'');";\r\n \r\n # Edit anchor and image\r\n $editLink = $sess->url("front_content.php?action=10&idcat=$idcat&idart=$idart&idartlang=$idartlang&type=CMS_QRCODE&typenr=$val&lang=$lang");\r\n $editAnchor = new cHTMLLink;\r\n $editAnchor->setClass(''CMS_QRCODE_'' . $val . ''_EDIT CMS_LINK_EDIT'');\r\n $editAnchor->setLink("javascript:setcontent(''$idartlang'', ''" . $editLink . "'');");\r\n # Save all content\r\n \r\n $editButton = new cHTMLImage;\r\n $editButton->setSrc($cfg["path"]["contenido_fullhtml"] . $cfg["path"]["images"] . "but_edittext.gif");\r\n $editButton->setBorder(0);\r\n $editButton->setStyleDefinition("margin-right", "2px");\r\n \r\n $editAnchor->setContent($editButton);\r\n \r\n # Process for tmp2put with echo\r\n $finalEditButton = $editAnchor->render();\r\n \r\n $tmp2 .= "echo ''" . $finalEditButton . "'';";\r\n} else {\r\n # In frontend and preview we only generate a new image if it was deleted\r\n $tmp2 = "\r\nif (!is_file(''" . $cfgClient[$client][''path''][''frontend''] . "cache/QR-Code-" . $idart . "-" . $val . ".png'')) {\r\n define(''QR_CACHE_DIR'', ''" . $cfgClient[$client][''path''][''frontend''] . "cache/phpqrcode/'');\r\n if (!is_dir(QR_CACHE_DIR)) {\r\n mkdir(QR_CACHE_DIR);\r\n }";\r\n if (isStartArticle($idartlang, $idcat, $lang)) {\r\n $tmp2 .= "\r\n QRcode::png(''" . ((strlen($tmp)) ? $tmp : Contenido_Url::getInstance()->build(array(''idcat'' => $idcat, ''client'' => $client, ''lang'' => $lang), true)) . "'', ''" . $cfgClient[$client][''path''][''frontend''] . ''cache/QR-Code-'' . $idart . ''-'' . $val . ''.png'' . "'', ''" . $quality . "'', " . $blocksize . ", " . $border . ");";\r\n } else {\r\n $tmp2 .= "\r\n QRcode::png(''" . ((strlen($tmp)) ? $tmp : Contenido_Url::getInstance()->build(array(''idcat'' => $idcat, ''idart'' => $idart, ''client'' => $client, ''lang'' => $lang), true)) . "'', ''" . $cfgClient[$client][''path''][''frontend''] . ''cache/QR-Code-'' . $idart . ''-'' . $val . ''.png'' . "'', ''" . $quality . "'', " . $blocksize . ", " . $border . ");";\r\n }\r\n $tmp2 .= "\r\n}\r\necho ''\\"QR
'';";\r\n}\r\n$tmp = $tmp2;', 'QR Code', '0', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00'); +INSERT INTO !PREFIX!_type VALUES('18', 'CMS_EASYIMGEDIT', '/**\r\n * CMS_EASYIMGEDIT\r\n */\r\n$tmp = "";\r\nif ($edit) {\r\n\r\n /* Edit anchor and image */\r\n $editLink = $sess->url("front_content.php?action=10&idcat=$idcat&idart=$idart&idartlang=$idartlang&type=CMS_EASYIMG&typenr=$val&lang=$lang");\r\n $editAnchor = new cHTMLLink;\r\n $editAnchor->setClass(''CMS_EASYIMGEDIT_''.$val.''_EDIT CMS_LINK_EDIT'');\r\n $editAnchor->setLink("javascript:setcontent(''$idartlang'',''".$editLink."'');");\r\n //Save all content\r\n \r\n $editButton = new cHTMLImage;\r\n $editButton->setSrc($cfg["path"]["contenido_fullhtml"].$cfg["path"]["images"]."but_editimage.gif");\r\n $editButton->setBorder(0);\r\n \r\n $editAnchor->setContent($editButton);\r\n\r\n /* Process for output with echo */\r\n $finalEditButton = $editAnchor->render();\r\n $finalEditButton = AddSlashes(AddSlashes($finalEditButton));\r\n $finalEditButton = str_replace("\\\\\\''","''",$finalEditButton);\r\n\r\n $tmp = $tmp.$finalEditButton;\r\n}', '', '0', '', '0000-00-00 00:00:00', '2009-04-14 13:56:58'); +INSERT INTO !PREFIX!_type VALUES('19', 'CMS_DATE', '$tmp = $a_content["CMS_DATE"][$val];\r\n\r\n$oCmsDate = new Cms_Date($tmp, $val, $idartlang, $editLink, $cfg, $db, count($a_content["CMS_DATE"]), $belang);\r\n\r\nif($edit){\r\n\r\n$tmp = $oCmsDate->getAllWidgetEdit();\r\n\r\n}else{\r\n\r\n$tmp = $oCmsDate->getAllWidgetView();\r\n\r\n}', 'Date', '0', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00'); +INSERT INTO !PREFIX!_type VALUES('20', 'CMS_TEASER', '$tmp = $a_content["CMS_TEASER"][$val];\r\n\r\n$oCmsTeaser = new Cms_Teaser($tmp, $val, $idartlang, $editLink, $cfg, $db, $belang, $client, $lang, $cfgClient, $sess);\r\n\r\nif($edit){\r\n\r\n$tmp = $oCmsTeaser->getAllWidgetEdit();\r\n\r\n}else{\r\n\r\n$tmp = $oCmsTeaser->getAllWidgetView();\r\n\r\n}', 'Teaser', '0', '', '2009-04-20 13:12:14', '0000-00-00 00:00:00'); +INSERT INTO !PREFIX!_type VALUES('21', 'CMS_FILELIST', '$tmp = $a_content["CMS_FILELIST"][$val];\r\n\r\n$oCmsFileList = new Cms_FileList($tmp, $val, $idartlang, $editLink, $cfg, $db, $belang, $client, $lang, $cfgClient, $sess);\r\n\r\nif($edit){\r\n\r\n$tmp = $oCmsFileList->getAllWidgetEdit();\r\n\r\n}else{\r\n\r\n$tmp = $oCmsFileList->getAllWidgetView();\r\n\r\n}', '', '0', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00'); INSERT INTO !PREFIX!_type VALUES('17', 'CMS_HTMLTEXT', '/**\r\n * CMS_HTMLTEXT\r\n */\r\ncInclude("includes", "functions.lang.php");\r\n\r\n$content = $a_content[''CMS_HTMLTEXT''][$val];\r\n$content = urldecode($content);\r\n$content = htmldecode($content);\r\n$content = strip_tags($content);\r\n\r\n$content = str_replace(" ", " ", $content);\r\n\r\n$content = htmlspecialchars($content);\r\nif ($content == "")\r\n{\r\n $content = " ";\r\n}\r\n\r\n$content = nl2br($content);\r\n\r\nif ($edit) {\r\n\r\n $div = new cHTMLDiv;\r\n $div->setID("HTMLTEXT_".$db->f("idtype")."_".$val);\r\n $div->setEvent("focus", "this.style.border=''1px solid #bb5577''");\r\n $div->setEvent("blur", "this.style.border=''1px dashed #bfbfbf''");\r\n $div->setStyleDefinition("border", "1px dashed #bfbfbf");\r\n $div->updateAttributes(array("contentEditable" => "true"));\r\n $div->setStyleDefinition("direction", langGetTextDirection($lang));\r\n \r\n $editlink = new cHTMLLink;\r\n $editlink->setClass(''CMS_HTMLTEXT_''.$val.''_EDIT CMS_LINK_EDIT'');\r\n $editlink->setLink($sess->url("front_content.php?action=10&idcat=$idcat&idart=$idart&idartlang=$idartlang&type=CMS_HTMLTEXT&typenr=$val&lang=$lang"));\r\n \r\n $editimg = new cHTMLImage;\r\n $editimg->setSrc($cfg["path"]["contenido_fullhtml"].$cfg["path"]["images"]."but_edittext.gif");\r\n \r\n $savelink = new cHTMLLink;\r\n $savelink->setClass(''CMS_HTMLTEXT_''.$val.''_SAVE CMS_LINK_SAVE'');\r\n $savelink->setLink("javascript:setcontent(''$idartlang'',''0'')");\r\n \r\n $saveimg = new cHTMLImage;\r\n $saveimg->setSrc($cfg["path"]["contenido_fullhtml"].$cfg["path"]["images"]."but_ok.gif");\r\n \r\n $savelink->setContent($saveimg);\r\n \r\n $editlink->setContent($editimg);\r\n \r\n $div->setContent($content);\r\n\r\n $tmp = implode("", array($div->render(), $editlink->render(), " ", $savelink->render()));\r\n $tmp = str_replace(''"'', ''\\"'', $tmp);\r\n} else {\r\n $tmp = $content;\r\n $tmp = str_replace(''"'', ''\\"'', $tmp);\r\n}\r\n\r\n\r\n$tmp = addslashes($tmp);\r\n$tmp = str_replace(''$'', ''\\\\\\$'', $tmp);', 'Text / Standard', '0', '', '2002-05-13 19:04:13', '2009-04-14 13:56:58'); -INSERT INTO !PREFIX!_type VALUES('16', 'CMS_SIMPLELINKEDIT', '/**\r\n * CMS_LINKEDIT\r\n */\r\n$tmp = "";\r\nif ($edit) {\r\n /* Edit anchor and image */\r\n $editLink = $sess->url("front_content.php?action=10&idcat=$idcat&idart=$idart&idartlang=$idartlang&type=CMS_SIMPLELINK&typenr=$val");\r\n $editAnchor = new cHTMLLink;\r\n $editAnchor->setClass(''CMS_SIMPLELINKEDIT_''.$val.''_EDIT CMS_LINK_EDIT'');\r\n $editAnchor->setLink("javascript:setcontent(''$idartlang'',''".$editLink."'');");\r\n //Save all content\r\n \r\n $editButton = new cHTMLImage;\r\n $editButton->setSrc($cfg["path"]["contenido_fullhtml"].$cfg["path"]["images"]."but_editlink.gif");\r\n $editButton->setBorder(0);\r\n \r\n $editAnchor->setContent($editButton);\r\n\r\n /* Process for output with echo */\r\n $finalEditButton = $editAnchor->render();\r\n $finalEditButton = AddSlashes(AddSlashes($finalEditButton));\r\n $finalEditButton = str_replace("\\\\\\''","''",$finalEditButton);\r\n\r\n $tmp = $tmp.$finalEditButton;\r\n}', '', '0', '', '1970-01-01 00:00:01', '2009-04-14 13:56:58'); -INSERT INTO !PREFIX!_type VALUES('14', 'CMS_IMGEDIT', '/**\r\n * CMS_IMGEDIT\r\n */\r\n$tmp = '''';\r\n\r\nif ($edit) {\r\n \r\n /* Edit anchor and image */\r\n $editLink = $sess->url("front_content.php?action=10&idcat=$idcat&idart=$idart&idartlang=$idartlang&type=CMS_IMG&typenr=$val&lang=$lang");\r\n $editAnchor = new cHTMLLink;\r\n $editAnchor->setClass(''CMS_IMGEDIT_''.$val.''_EDIT CMS_LINK_EDIT'');\r\n $editAnchor->setLink("javascript:setcontent(''$idartlang'',''".$editLink."'');");\r\n //Save all content\r\n \r\n $editButton = new cHTMLImage;\r\n $editButton->setSrc($cfg["path"]["contenido_fullhtml"].$cfg["path"]["images"]."but_editimage.gif");\r\n $editButton->setBorder(0);\r\n \r\n $editAnchor->setContent($editButton);\r\n\r\n /* Process for output with echo */\r\n $finalEditButton = $editAnchor->render();\r\n $finalEditButton = AddSlashes(AddSlashes($finalEditButton));\r\n $finalEditButton = str_replace("\\\\\\''","''",$finalEditButton);\r\n\r\n $tmp = $tmp.$finalEditButton;\r\n}', 'Edit button for an image', '0', '', '1970-01-01 00:00:01', '2009-04-14 13:58:44'); -INSERT INTO !PREFIX!_type VALUES('15', 'CMS_IMGTITLE', '/**\r\n * CMS_IMGTITLE\r\n */\r\n$tmp = $a_content["CMS_IMGDESCR"][$val];\r\n$tmp = urldecode($tmp);\r\n$tmp = htmlspecialchars($tmp);\r\n$tmp = addslashes($tmp);', 'Title of an image', '0', '', '1970-01-01 00:00:01', '1970-01-01 00:00:01'); -INSERT INTO !PREFIX!_type VALUES('13', 'CMS_RAWLINK', '/**\r\n* CMS_RAWLINK\r\n*/\r\nglobal $cfgClient;\r\nglobal $client;\r\n\r\n$tmp = urldecode($a_content["CMS_LINK"][$val]);\r\n\r\n/* internal link */\r\nif ( is_numeric($tmp) ) {\r\n $tmp = "front_content.php?idcatart=". $tmp."&client=".$client."&lang=".$lang;\r\n if ($edit) $tmp = $sess->url("$tmp");\r\n\r\n}', 'Raw Link without transformation', '0', '', '1970-01-01 00:00:01', '1970-01-01 00:00:01'); -INSERT INTO !PREFIX!_type VALUES('11', 'CMS_LINKTITLE', '/**\r\n * CMS_LINKTITLE\r\n */\r\n$tmp = $a_content["CMS_LINKDESCR"][$val];\r\n$tmp = urldecode($tmp);\r\n$tmp = htmlspecialchars($tmp);\r\n$tmp = addslashes($tmp);\r\n\r\n', 'Title of a Link', '0', '', '1970-01-01 00:00:01', '1970-01-01 00:00:01'); -INSERT INTO !PREFIX!_type VALUES('12', 'CMS_LINKEDIT', '/**\r\n * CMS_LINKEDIT\r\n */\r\n$tmp = "";\r\n\r\nif ($edit) {\r\n \r\n /* Edit anchor and image */\r\n $editLink = $sess->url("front_content.php?action=10&idcat=$idcat&idart=$idart&idartlang=$idartlang&type=CMS_LINK&typenr=$val");\r\n $editAnchor = new cHTMLLink;\r\n $editAnchor->setClass(''CMS_LINKEDIT_''.$val.''_EDIT CMS_LINK_EDIT'');\r\n $editAnchor->setLink("javascript:setcontent(''$idartlang'',''".$editLink."'');");\r\n //Save all content\r\n \r\n $editButton = new cHTMLImage;\r\n $editButton->setSrc($cfg["path"]["contenido_fullhtml"].$cfg["path"]["images"]."but_editlink.gif");\r\n $editButton->setBorder(0);\r\n \r\n $editAnchor->setContent($editButton);\r\n\r\n /* Process for output with echo */\r\n $finalEditButton = $editAnchor->render();\r\n $finalEditButton = AddSlashes(AddSlashes($finalEditButton));\r\n $finalEditButton = str_replace("\\\\\\''","''",$finalEditButton);\r\n\r\n $tmp = $finalEditButton;\r\n \r\n}', 'Link edit button', '0', '', '1970-01-01 00:00:01', '2009-04-14 13:56:58'); +INSERT INTO !PREFIX!_type VALUES('16', 'CMS_SIMPLELINKEDIT', '/**\r\n * CMS_LINKEDIT\r\n */\r\n$tmp = "";\r\nif ($edit) {\r\n /* Edit anchor and image */\r\n $editLink = $sess->url("front_content.php?action=10&idcat=$idcat&idart=$idart&idartlang=$idartlang&type=CMS_SIMPLELINK&typenr=$val");\r\n $editAnchor = new cHTMLLink;\r\n $editAnchor->setClass(''CMS_SIMPLELINKEDIT_''.$val.''_EDIT CMS_LINK_EDIT'');\r\n $editAnchor->setLink("javascript:setcontent(''$idartlang'',''".$editLink."'');");\r\n //Save all content\r\n \r\n $editButton = new cHTMLImage;\r\n $editButton->setSrc($cfg["path"]["contenido_fullhtml"].$cfg["path"]["images"]."but_editlink.gif");\r\n $editButton->setBorder(0);\r\n \r\n $editAnchor->setContent($editButton);\r\n\r\n /* Process for output with echo */\r\n $finalEditButton = $editAnchor->render();\r\n $finalEditButton = AddSlashes(AddSlashes($finalEditButton));\r\n $finalEditButton = str_replace("\\\\\\''","''",$finalEditButton);\r\n\r\n $tmp = $tmp.$finalEditButton;\r\n}', '', '0', '', '0000-00-00 00:00:00', '2009-04-14 13:56:58'); +INSERT INTO !PREFIX!_type VALUES('14', 'CMS_IMGEDIT', '/**\r\n * CMS_IMGEDIT\r\n */\r\n$tmp = '''';\r\n\r\nif ($edit) {\r\n \r\n /* Edit anchor and image */\r\n $editLink = $sess->url("front_content.php?action=10&idcat=$idcat&idart=$idart&idartlang=$idartlang&type=CMS_IMG&typenr=$val&lang=$lang");\r\n $editAnchor = new cHTMLLink;\r\n $editAnchor->setClass(''CMS_IMGEDIT_''.$val.''_EDIT CMS_LINK_EDIT'');\r\n $editAnchor->setLink("javascript:setcontent(''$idartlang'',''".$editLink."'');");\r\n //Save all content\r\n \r\n $editButton = new cHTMLImage;\r\n $editButton->setSrc($cfg["path"]["contenido_fullhtml"].$cfg["path"]["images"]."but_editimage.gif");\r\n $editButton->setBorder(0);\r\n \r\n $editAnchor->setContent($editButton);\r\n\r\n /* Process for output with echo */\r\n $finalEditButton = $editAnchor->render();\r\n $finalEditButton = AddSlashes(AddSlashes($finalEditButton));\r\n $finalEditButton = str_replace("\\\\\\''","''",$finalEditButton);\r\n\r\n $tmp = $tmp.$finalEditButton;\r\n}', 'Edit button for an image', '0', '', '0000-00-00 00:00:00', '2009-04-14 13:58:44'); +INSERT INTO !PREFIX!_type VALUES('15', 'CMS_IMGTITLE', '/**\r\n * CMS_IMGTITLE\r\n */\r\n$tmp = $a_content["CMS_IMGDESCR"][$val];\r\n$tmp = urldecode($tmp);\r\n$tmp = htmlspecialchars($tmp);\r\n$tmp = addslashes($tmp);', 'Title of an image', '0', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00'); +INSERT INTO !PREFIX!_type VALUES('13', 'CMS_RAWLINK', '/**\r\n* CMS_RAWLINK\r\n*/\r\nglobal $cfgClient;\r\nglobal $client;\r\n\r\n$tmp = urldecode($a_content["CMS_LINK"][$val]);\r\n\r\n/* internal link */\r\nif ( is_numeric($tmp) ) {\r\n $tmp = "front_content.php?idcatart=". $tmp."&client=".$client."&lang=".$lang;\r\n if ($edit) $tmp = $sess->url("$tmp");\r\n\r\n}', 'Raw Link without transformation', '0', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00'); +INSERT INTO !PREFIX!_type VALUES('11', 'CMS_LINKTITLE', '/**\r\n * CMS_LINKTITLE\r\n */\r\n$tmp = $a_content["CMS_LINKDESCR"][$val];\r\n$tmp = urldecode($tmp);\r\n$tmp = htmlspecialchars($tmp);\r\n$tmp = addslashes($tmp);\r\n\r\n', 'Title of a Link', '0', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00'); +INSERT INTO !PREFIX!_type VALUES('12', 'CMS_LINKEDIT', '/**\r\n * CMS_LINKEDIT\r\n */\r\n$tmp = "";\r\n\r\nif ($edit) {\r\n \r\n /* Edit anchor and image */\r\n $editLink = $sess->url("front_content.php?action=10&idcat=$idcat&idart=$idart&idartlang=$idartlang&type=CMS_LINK&typenr=$val");\r\n $editAnchor = new cHTMLLink;\r\n $editAnchor->setClass(''CMS_LINKEDIT_''.$val.''_EDIT CMS_LINK_EDIT'');\r\n $editAnchor->setLink("javascript:setcontent(''$idartlang'',''".$editLink."'');");\r\n //Save all content\r\n \r\n $editButton = new cHTMLImage;\r\n $editButton->setSrc($cfg["path"]["contenido_fullhtml"].$cfg["path"]["images"]."but_editlink.gif");\r\n $editButton->setBorder(0);\r\n \r\n $editAnchor->setContent($editButton);\r\n\r\n /* Process for output with echo */\r\n $finalEditButton = $editAnchor->render();\r\n $finalEditButton = AddSlashes(AddSlashes($finalEditButton));\r\n $finalEditButton = str_replace("\\\\\\''","''",$finalEditButton);\r\n\r\n $tmp = $finalEditButton;\r\n \r\n}', 'Link edit button', '0', '', '0000-00-00 00:00:00', '2009-04-14 13:56:58'); INSERT INTO !PREFIX!_type VALUES('9', 'CMS_HEAD', '/**\r\n * CMS_HEAD\r\n */\r\n$tmp = $a_content["CMS_HEAD"][$val];\r\n$tmp = urldecode($tmp);\r\n$tmp = htmlspecialchars($tmp);\r\n$tmp = str_replace("''", "\\''", $tmp);\r\n$tmp = str_replace("\\$",''\\\\\\$'',$tmp); \r\n\r\nif ($edit) {\r\n\r\n /* Edit anchor and image */\r\n $editLink = $sess->url("front_content.php?action=10&idcat=$idcat&idart=$idart&idartlang=$idartlang&type=CMS_HEAD&typenr=$val&lang=$lang");\r\n $editAnchor = new cHTMLLink;\r\n $editAnchor->setClass(''CMS_HEAD_''.$val.''_EDIT CMS_LINK_EDIT'');\r\n $editAnchor->setLink("javascript:setcontent(''$idartlang'',''".$editLink."'');");\r\n //Save all content\r\n \r\n $editButton = new cHTMLImage;\r\n $editButton->setSrc($cfg["path"]["contenido_fullhtml"].$cfg["path"]["images"]."but_edithead.gif");\r\n $editButton->setBorder(0);\r\n $editButton->setStyleDefinition("margin-right", "2px");\r\n \r\n $editAnchor->setContent($editButton);\r\n \r\n /* Process for output with echo */\r\n $finalEditButton = $editAnchor->render();\r\n $finalEditButton = AddSlashes(AddSlashes($finalEditButton));\r\n $finalEditButton = str_replace("\\\\\\''","''",$finalEditButton);\r\n\r\n $tmp = $tmp.$finalEditButton;\r\n}', 'Headline / Standard', '0', '', '2002-05-13 19:02:34', '2009-04-14 13:56:58'); -INSERT INTO !PREFIX!_type VALUES('10', 'CMS_SWF', '/**\r\n * CMS_SWF\r\n */\r\n\r\nif ( !is_object($db2) ) $db2 = new DB_Contenido;\r\n\r\n$tmp_id = $a_content[''CMS_SWF''][$val];\r\n\r\n$sql = "SELECT * FROM ".$cfg["tab"]["upl"]." WHERE idclient=''".$client."'' AND idupl=''".$tmp_id."'' AND filetype = ''swf''";\r\n\r\n$db2->query($sql);\r\n\r\nif ( $db2->next_record() ) {\r\n\r\n $tmp_swf = $cfgClient[$client]["upload"] . $db2->f("dirname") . $db2->f("filename");\r\n \r\n $aImgSize = @getimagesize($tmp_swf);\r\n\r\n $width = $aImgSize[0];\r\n $height = $aImgSize[1];\r\n\r\n $tmp = ''\r\n \r\n \r\n '';\r\n} else {\r\n $tmp = '''';\r\n}\r\n\r\n\r\nif( $edit ) {\r\n /* Edit anchor and image */\r\n $editLink = $sess->url("front_content.php?action=10&idcat=$idcat&idart=$idart&idartlang=$idartlang&type=CMS_SWF&typenr=$val");\r\n $editAnchor = new cHTMLLink;\r\n $editAnchor->setClass(''CMS_SWF_''.$val.''_EDIT CMS_LINK_EDIT'');\r\n $editAnchor->setLink("javascript:setcontent(''$idartlang'',''".$editLink."'');");\r\n //Save all content\r\n \r\n $editButton = new cHTMLImage;\r\n $editButton->setSrc($cfg["path"]["contenido_fullhtml"].$cfg["path"]["images"]."but_editswf.gif");\r\n $editButton->setBorder(0);\r\n \r\n $editAnchor->setContent($editButton);\r\n\r\n /* Process for output with echo */\r\n $finalEditButton = $editAnchor->render();\r\n \r\n $tmp = ''
''.$tmp.''
''.$finalEditButton.''
'';\r\n}\r\n\r\n$tmp = addslashes( addslashes($tmp) ); \r\n$tmp = str_replace( "\\\\\\''", "''", $tmp ); ', 'Flash Movie', '0', '', '1970-01-01 00:00:01', '2009-04-14 13:56:58'); +INSERT INTO !PREFIX!_type VALUES('10', 'CMS_SWF', '/**\r\n * CMS_SWF\r\n */\r\n\r\nif ( !is_object($db2) ) $db2 = new DB_Contenido;\r\n\r\n$tmp_id = $a_content[''CMS_SWF''][$val];\r\n\r\n$sql = "SELECT * FROM ".$cfg["tab"]["upl"]." WHERE idclient=''".$client."'' AND idupl=''".$tmp_id."'' AND filetype = ''swf''";\r\n\r\n$db2->query($sql);\r\n\r\nif ( $db2->next_record() ) {\r\n\r\n $tmp_swf = $cfgClient[$client]["upload"] . $db2->f("dirname") . $db2->f("filename");\r\n \r\n $aImgSize = @getimagesize($tmp_swf);\r\n\r\n $width = $aImgSize[0];\r\n $height = $aImgSize[1];\r\n\r\n $tmp = ''\r\n \r\n \r\n '';\r\n} else {\r\n $tmp = '''';\r\n}\r\n\r\n\r\nif( $edit ) {\r\n /* Edit anchor and image */\r\n $editLink = $sess->url("front_content.php?action=10&idcat=$idcat&idart=$idart&idartlang=$idartlang&type=CMS_SWF&typenr=$val");\r\n $editAnchor = new cHTMLLink;\r\n $editAnchor->setClass(''CMS_SWF_''.$val.''_EDIT CMS_LINK_EDIT'');\r\n $editAnchor->setLink("javascript:setcontent(''$idartlang'',''".$editLink."'');");\r\n //Save all content\r\n \r\n $editButton = new cHTMLImage;\r\n $editButton->setSrc($cfg["path"]["contenido_fullhtml"].$cfg["path"]["images"]."but_editswf.gif");\r\n $editButton->setBorder(0);\r\n \r\n $editAnchor->setContent($editButton);\r\n\r\n /* Process for output with echo */\r\n $finalEditButton = $editAnchor->render();\r\n \r\n $tmp = ''
''.$tmp.''
''.$finalEditButton.''
'';\r\n}\r\n\r\n$tmp = addslashes( addslashes($tmp) ); \r\n$tmp = str_replace( "\\\\\\''", "''", $tmp ); ', 'Flash Movie', '0', '', '0000-00-00 00:00:00', '2009-04-14 13:56:58'); INSERT INTO !PREFIX!_type VALUES('7', 'CMS_LINKTARGET', '/**\r\n * CMS_LINKTARGET\r\n */\r\n$tmp = $a_content["CMS_LINKTARGET"][$val];\r\n$tmp = htmlspecialchars($tmp);\r\n$tmp = str_replace("''", "\\''", $tmp);\r\n$tmp = urldecode($tmp);', 'Frame', '0', '', '2002-05-13 19:04:43', '2002-05-13 19:04:43'); INSERT INTO !PREFIX!_type VALUES('8', 'CMS_LINKDESCR', '/**\r\n * CMS_LINKDESCR\r\n */\r\n$tmp = $a_content["CMS_LINKDESCR"][$val];\r\n$tmp = urldecode($tmp);\r\n$tmp = htmlspecialchars($tmp);\r\n$tmp = str_replace("''", "\\''", $tmp);\r\nif ($edit) {\r\n\r\n\r\n /* Edit anchor and image */\r\n $editLink = $sess->url("front_content.php?action=10&idcat=$idcat&idart=$idart&idartlang=$idartlang&type=CMS_LINK&typenr=$val");\r\n $editAnchor = new cHTMLLink;\r\n $editAnchor->setClass(''CMS_LINKDESCR_''.$val.''_EDIT CMS_LINK_EDIT'');\r\n $editAnchor->setLink("javascript:setcontent(''$idartlang'',''".$editLink."'');");\r\n //Save all content\r\n \r\n $editButton = new cHTMLImage;\r\n $editButton->setSrc($cfg["path"]["contenido_fullhtml"].$cfg["path"]["images"]."but_editlink.gif");\r\n $editButton->setBorder(0);\r\n \r\n $editAnchor->setContent($editButton);\r\n\r\n /* Process for output with echo */\r\n $finalEditButton = $editAnchor->render();\r\n $finalEditButton = AddSlashes(AddSlashes($finalEditButton));\r\n $finalEditButton = str_replace("\\\\\\''","''",$finalEditButton);\r\n\r\n $tmp = $tmp.$finalEditButton;\r\n}', 'Description', '0', '', '2002-05-13 19:05:00', '2009-04-14 13:56:58'); INSERT INTO !PREFIX!_type VALUES('6', 'CMS_LINK', '/**\r\n* CMS_LINK\r\n*/\r\n\r\n$tmp = urldecode($a_content["CMS_LINK"][$val]);\r\n\r\n/* internal link */\r\nif ( is_numeric($tmp) ) {\r\n $tmp = "front_content.php?idcatart=". $tmp."&client=".$client."&lang=".$lang;\r\n if ($edit) $tmp = $sess->url("$tmp");\r\n\r\n} else {\r\n\r\n if (!preg_match(''/^(http|https|ftp|telnet|gopher):\\/\\/((?:[a-zA-Z0-9_-]+\\.?)+):?(\\d*)/'', $tmp)) {\r\n // it''s a relative link, or an absolute link with unsupported protocol\r\n if (substr($tmp,0,4) == "www." || $tmp == "") { // only check if it could be a domainname\r\n $tmp = "http://".$tmp;\r\n }\r\n }\r\n\r\n}', 'Link', '0', '', '2002-05-13 19:04:36', '2002-05-13 19:04:36'); INSERT INTO !PREFIX!_type VALUES('4', 'CMS_IMG', '/**\r\n * CMS_IMG\r\n */\r\n \r\n$tmp = $a_content["CMS_IMG"][$val];\r\n$tmp = urldecode($tmp);\r\nif($tmp==""||$tmp=="0"){\r\n$tmp="";\r\n\r\n}else{\r\n\r\nif (is_numeric($tmp))\r\n{\r\n$sql = "SELECT * FROM ".$cfg["tab"]["upl"]." WHERE idclient=''".$client."'' AND idupl=''".$tmp."''";\r\n\r\n$db2 = new DB_Contenido;\r\n$db2->query($sql);\r\n\r\nif ( $db2->next_record() ) {\r\n\r\n $tmp = $cfgClient[$client]["path"]["htmlpath"].$cfgClient[$client]["upload"].$db2->f("dirname").$db2->f("filename");\r\n }\r\n}\r\n\r\n $tmp = htmlspecialchars($tmp);\r\n$tmp = urldecode($tmp);\r\n $tmp = str_replace("''", "\\''", $tmp);\r\n}', 'Image', '0', '', '2002-05-13 19:04:21', '2002-05-13 19:04:21'); INSERT INTO !PREFIX!_type VALUES('5', 'CMS_IMGDESCR', '/**\r\n * CMS_IMGDESCR\r\n */\r\n$tmp = $a_content["CMS_IMGDESCR"][$val];\r\n$tmp = urldecode($tmp);\r\n$tmp = htmlentities($tmp,ENT_QUOTES);\r\n\r\n\r\nif ($edit) {\r\n /* Edit anchor and image */\r\n $editLink = $sess->url("front_content.php?action=10&idcat=$idcat&idart=$idart&idartlang=$idartlang&type=CMS_IMG&typenr=$val&lang=$lang");\r\n $editAnchor = new cHTMLLink;\r\n $editAnchor->setClass(''CMS_IMGDESCR_''.$val.''_EDIT CMS_LINK_EDIT'');\r\n $editAnchor->setLink("javascript:setcontent(''$idartlang'',''".$editLink."'');");\r\n //Save all content\r\n \r\n $editButton = new cHTMLImage;\r\n $editButton->setSrc($cfg["path"]["contenido_fullhtml"].$cfg["path"]["images"]."but_editimage.gif");\r\n $editButton->setBorder(0);\r\n \r\n $editAnchor->setContent($editButton);\r\n\r\n /* Process for output with echo */\r\n $finalEditButton = $editAnchor->render();\r\n $finalEditButton = AddSlashes(AddSlashes($finalEditButton));\r\n $finalEditButton = str_replace("\\\\\\''","''",$finalEditButton);\r\n\r\n $tmp = $tmp.$finalEditButton;\r\n}', 'Description', '0', '', '2002-05-13 19:04:28', '2009-04-14 13:56:58'); INSERT INTO !PREFIX!_type VALUES('3', 'CMS_TEXT', '/**\r\n * CMS_TEXT\r\n */\r\ncInclude("includes", "functions.lang.php");\r\n\r\n$tmp = $a_content["CMS_TEXT"][$val];\r\n$tmp = urldecode($tmp);\r\n$tmp = htmlspecialchars($tmp);\r\n$tmp = nl2br($tmp);\r\n$tmp = str_replace("''", "\\''", $tmp);\r\n$tmp = str_replace("\\$",''\\\\\\$'',$tmp);\r\n\r\n$tmp = str_replace("
","
", $tmp);\r\nif ($edit) {\r\n\r\n /* Edit anchor and image */\r\n $editLink = $sess->url("front_content.php?action=10&idcat=$idcat&idart=$idart&idartlang=$idartlang&type=CMS_TEXT&typenr=$val&lang=$lang");\r\n $editAnchor = new cHTMLLink;\r\n $editAnchor->setClass(''CMS_TEXT_''.$val.''_EDIT CMS_LINK_EDIT'');\r\n $editAnchor->setLink("javascript:setcontent(''$idartlang'',''".$editLink."'');");\r\n //Save all content\r\n \r\n $editButton = new cHTMLImage;\r\n $editButton->setSrc($cfg["path"]["contenido_fullhtml"].$cfg["path"]["images"]."but_edittext.gif");\r\n $editButton->setBorder(0);\r\n $editButton->setStyleDefinition("margin-right", "2px");\r\n \r\n $editAnchor->setContent($editButton);\r\n \r\n /* Process for output with echo */\r\n $finalEditButton = $editAnchor->render();\r\n $finalEditButton = AddSlashes(AddSlashes($finalEditButton));\r\n $finalEditButton = str_replace("\\\\\\''","''",$finalEditButton);\r\n\r\n $tmp = $tmp.$finalEditButton;\r\n}', 'Text / Standard', '0', '', '2002-05-13 19:04:13', '2009-04-14 13:56:58'); -INSERT INTO !PREFIX!_type VALUES('1', 'CMS_HTMLHEAD', '/**\r\n * CMS_HTMLHEAD\r\n */ \r\n$tmp = $a_content[''CMS_HTMLHEAD''][$val];\r\n$tmp = urldecode($tmp); \r\n\r\n$tmp = AddSlashes(AddSlashes($tmp)); \r\n$tmp = str_replace("\\\\\\''","''",$tmp); \r\n$tmp = str_replace("\\$",''\\\\\\$'',$tmp); \r\n\r\ncInclude("includes", "functions.lang.php"); \r\n\r\nif ($edit) {\r\n if ($tmp == "") { \r\n $tmp = " "; \r\n } \r\n $insiteEditingDIV = new cHTMLDiv; \r\n $insiteEditingDIV->setId("HTMLHEAD_".$db->f("idtype")."_".$val);\r\n $insiteEditingDIV->setEvent("Focus", "this.style.border=''1px solid #bb5577'';"); \r\n $insiteEditingDIV->setEvent("Blur", "this.style.border=''1px dashed #bfbfbf'';"); \r\n $insiteEditingDIV->setStyleDefinition("border", "1px dashed #bfbfbf"); \r\n $insiteEditingDIV->setStyleDefinition("direction", langGetTextDirection($lang)); \r\n \r\n $insiteEditingDIV->updateAttributes(array("contentEditable" => "true")); \r\n \r\n $insiteEditingDIV->setContent("_REPLACEMENT_"); \r\n \r\n\r\n /* Edit anchor and image */ \r\n $editLink = $sess->url("front_content.php?action=10&idcat=$idcat&idart=$idart&idartlang=$idartlang&type=CMS_HTMLHEAD&typenr=$val");\r\n $editAnchor = new cHTMLLink; \r\n $editAnchor->setClass(''CMS_HTMLHEAD_''.$val.''_EDIT CMS_LINK_EDIT'');\r\n $editAnchor->setLink("javascript:setcontent(''$idartlang'',''" . $editLink . "'');"); \r\n \r\n $editButton = new cHTMLImage; \r\n $editButton->setSrc($cfg["path"]["contenido_fullhtml"].$cfg["path"]["images"]."but_edithead.gif");\r\n $editButton->setBorder(0); \r\n $editButton->setStyleDefinition("margin-right", "2px"); \r\n \r\n $editAnchor->setContent($editButton); \r\n \r\n \r\n /* Save anchor and image */ \r\n $saveAnchor = new cHTMLLink; \r\n $saveAnchor->setClass(''CMS_HTMLHEAD_''.$val.''_SAVE CMS_LINK_SAVE'');\r\n $saveAnchor->setLink("javascript:setcontent(''$idartlang'',''0'')"); \r\n \r\n $saveButton = new cHTMLImage; \r\n $saveButton->setSrc($cfg["path"]["contenido_fullhtml"].$cfg["path"]["images"]."but_ok.gif"); \r\n $saveButton->setBorder(0); \r\n \r\n $saveAnchor->setContent($saveButton); \r\n\r\n /* Process for output with echo */ \r\n $finalEditButton = $editAnchor->render(); \r\n $finalEditButton = AddSlashes(AddSlashes($finalEditButton)); \r\n $finalEditButton = str_replace("\\\\\\''","''",$finalEditButton); \r\n \r\n $finalEditingDiv = $insiteEditingDIV->render(); \r\n $finalEditingDiv = AddSlashes(AddSlashes($finalEditingDiv)); \r\n $finalEditingDiv = str_replace("\\\\\\''","''",$finalEditingDiv); \r\n \r\n $finalEditingDiv = str_replace("_REPLACEMENT_", $tmp, $finalEditingDiv); \r\n \r\n $finalSaveButton = $saveAnchor->render(); \r\n $finalSaveButton = AddSlashes(AddSlashes($finalSaveButton)); \r\n $finalSaveButton = str_replace("\\\\\\''","''",$finalSaveButton); \r\n \r\n $tmp = $finalEditingDiv . $finalEditButton . $finalSaveButton;\r\n}', 'Headline / HTML', '0', '', '1970-01-01 00:00:01', '2009-04-14 13:56:58'); +INSERT INTO !PREFIX!_type VALUES('1', 'CMS_HTMLHEAD', '/**\r\n * CMS_HTMLHEAD\r\n */ \r\n$tmp = $a_content[''CMS_HTMLHEAD''][$val];\r\n$tmp = urldecode($tmp); \r\n\r\n$tmp = AddSlashes(AddSlashes($tmp)); \r\n$tmp = str_replace("\\\\\\''","''",$tmp); \r\n$tmp = str_replace("\\$",''\\\\\\$'',$tmp); \r\n\r\ncInclude("includes", "functions.lang.php"); \r\n\r\nif ($edit) {\r\n if ($tmp == "") { \r\n $tmp = " "; \r\n } \r\n $insiteEditingDIV = new cHTMLDiv; \r\n $insiteEditingDIV->setId("HTMLHEAD_".$db->f("idtype")."_".$val);\r\n $insiteEditingDIV->setEvent("Focus", "this.style.border=''1px solid #bb5577'';"); \r\n $insiteEditingDIV->setEvent("Blur", "this.style.border=''1px dashed #bfbfbf'';"); \r\n $insiteEditingDIV->setStyleDefinition("border", "1px dashed #bfbfbf"); \r\n $insiteEditingDIV->setStyleDefinition("direction", langGetTextDirection($lang)); \r\n \r\n $insiteEditingDIV->updateAttributes(array("contentEditable" => "true")); \r\n \r\n $insiteEditingDIV->setContent("_REPLACEMENT_"); \r\n \r\n\r\n /* Edit anchor and image */ \r\n $editLink = $sess->url("front_content.php?action=10&idcat=$idcat&idart=$idart&idartlang=$idartlang&type=CMS_HTMLHEAD&typenr=$val");\r\n $editAnchor = new cHTMLLink; \r\n $editAnchor->setClass(''CMS_HTMLHEAD_''.$val.''_EDIT CMS_LINK_EDIT'');\r\n $editAnchor->setLink("javascript:setcontent(''$idartlang'',''" . $editLink . "'');"); \r\n \r\n $editButton = new cHTMLImage; \r\n $editButton->setSrc($cfg["path"]["contenido_fullhtml"].$cfg["path"]["images"]."but_edithead.gif");\r\n $editButton->setBorder(0); \r\n $editButton->setStyleDefinition("margin-right", "2px"); \r\n \r\n $editAnchor->setContent($editButton); \r\n \r\n \r\n /* Save anchor and image */ \r\n $saveAnchor = new cHTMLLink; \r\n $saveAnchor->setClass(''CMS_HTMLHEAD_''.$val.''_SAVE CMS_LINK_SAVE'');\r\n $saveAnchor->setLink("javascript:setcontent(''$idartlang'',''0'')"); \r\n \r\n $saveButton = new cHTMLImage; \r\n $saveButton->setSrc($cfg["path"]["contenido_fullhtml"].$cfg["path"]["images"]."but_ok.gif"); \r\n $saveButton->setBorder(0); \r\n \r\n $saveAnchor->setContent($saveButton); \r\n\r\n /* Process for output with echo */ \r\n $finalEditButton = $editAnchor->render(); \r\n $finalEditButton = AddSlashes(AddSlashes($finalEditButton)); \r\n $finalEditButton = str_replace("\\\\\\''","''",$finalEditButton); \r\n \r\n $finalEditingDiv = $insiteEditingDIV->render(); \r\n $finalEditingDiv = AddSlashes(AddSlashes($finalEditingDiv)); \r\n $finalEditingDiv = str_replace("\\\\\\''","''",$finalEditingDiv); \r\n \r\n $finalEditingDiv = str_replace("_REPLACEMENT_", $tmp, $finalEditingDiv); \r\n \r\n $finalSaveButton = $saveAnchor->render(); \r\n $finalSaveButton = AddSlashes(AddSlashes($finalSaveButton)); \r\n $finalSaveButton = str_replace("\\\\\\''","''",$finalSaveButton); \r\n \r\n $tmp = $finalEditingDiv . $finalEditButton . $finalSaveButton;\r\n}', 'Headline / HTML', '0', '', '0000-00-00 00:00:00', '2009-04-14 13:56:58'); INSERT INTO !PREFIX!_type VALUES('2', 'CMS_HTML', '/** \r\n * CMS_HTML \r\n */ \r\n$tmp = $a_content[''CMS_HTML''][$val]; \r\n$tmp = urldecode($tmp); \r\n\r\n$tmp = AddSlashes(AddSlashes($tmp)); \r\n$tmp = str_replace("\\\\\\''","''",$tmp); \r\n$tmp = str_replace("\\$",''\\\\\\$'',$tmp); \r\n\r\ncInclude("includes", "functions.lang.php"); \r\n\r\nif ($edit) { \r\n if ($tmp == "") { \r\n $tmp = " "; \r\n } \r\n $insiteEditingDIV = new cHTMLDiv; \r\n $insiteEditingDIV->setId("HTML_".$db->f("idtype")."_".$val); \r\n $insiteEditingDIV->setEvent("Focus", "this.style.border=''1px solid #bb5577'';"); \r\n $insiteEditingDIV->setEvent("Blur", "this.style.border=''1px dashed #bfbfbf'';"); \r\n $insiteEditingDIV->setStyleDefinition("border", "1px dashed #bfbfbf"); \r\n $insiteEditingDIV->setStyleDefinition("direction", langGetTextDirection($lang)); \r\n \r\n $insiteEditingDIV->updateAttributes(array("contentEditable" => "true")); \r\n \r\n $insiteEditingDIV->setContent("_REPLACEMENT_"); \r\n \r\n\r\n /* Edit anchor and image */ \r\n $editLink = $sess->url("front_content.php?action=10&idcat=$idcat&idart=$idart&idartlang=$idartlang&type=CMS_HTML&typenr=$val"); \r\n $editAnchor = new cHTMLLink; \r\n $editAnchor->setClass(''CMS_HTML_''.$val.''_EDIT CMS_LINK_EDIT'');\r\n $editAnchor->setLink("javascript:setcontent(''$idartlang'',''" . $editLink . "'');"); \r\n \r\n $editButton = new cHTMLImage; \r\n $editButton->setSrc($cfg["path"]["contenido_fullhtml"].$cfg["path"]["images"]."but_edithtml.gif"); \r\n $editButton->setBorder(0); \r\n $editButton->setStyleDefinition("margin-right", "2px"); \r\n \r\n $editAnchor->setContent($editButton); \r\n \r\n \r\n /* Save anchor and image */ \r\n $saveAnchor = new cHTMLLink; \r\n $saveAnchor->setClass(''CMS_HTML_''.$val.''_SAVE CMS_LINK_SAVE'');\r\n $saveAnchor->setLink("javascript:setcontent(''$idartlang'',''0'')"); \r\n \r\n $saveButton = new cHTMLImage; \r\n $saveButton->setSrc($cfg["path"]["contenido_fullhtml"].$cfg["path"]["images"]."but_ok.gif"); \r\n $saveButton->setBorder(0); \r\n \r\n $saveAnchor->setContent($saveButton); \r\n\r\n /* Process for output with echo */ \r\n $finalEditButton = $editAnchor->render(); \r\n $finalEditButton = AddSlashes(AddSlashes($finalEditButton)); \r\n $finalEditButton = str_replace("\\\\\\''","''",$finalEditButton); \r\n \r\n $finalEditingDiv = $insiteEditingDIV->render(); \r\n $finalEditingDiv = AddSlashes(AddSlashes($finalEditingDiv)); \r\n $finalEditingDiv = str_replace("\\\\\\''","''",$finalEditingDiv); \r\n \r\n $finalEditingDiv = str_replace("_REPLACEMENT_", $tmp, $finalEditingDiv); \r\n \r\n $finalSaveButton = $saveAnchor->render(); \r\n $finalSaveButton = AddSlashes(AddSlashes($finalSaveButton)); \r\n $finalSaveButton = str_replace("\\\\\\''","''",$finalSaveButton); \r\n \r\n $tmp = $finalEditingDiv . $finalEditButton . $finalSaveButton;\r\n}', 'Text / HTML', '0', '', '2002-05-13 19:04:13', '2009-04-14 13:56:58'); \ No newline at end of file diff --git a/setup/data/client/client1.sql b/setup/data/client/client1.sql index b9c4c12..d20c4b4 100644 --- a/setup/data/client/client1.sql +++ b/setup/data/client/client1.sql @@ -1,3 +1,11 @@ -INSERT INTO !PREFIX!_clients VALUES('1', 'ConLite Demo', '', '1970-01-01 00:00:01', '1970-01-01 00:00:01', '', '/var/www/html/conlite/cms/', 'http://localhost/conlite/cms/', '4', '2'); +INSERT INTO !PREFIX!_clients VALUES('1', 'Demo ConLite', '', '1000-01-01 00:00:00', '1000-01-01 00:00:00', '', '/cms/', '/cms/', '0', '0'); INSERT INTO !PREFIX!_clients_lang VALUES('1', '1', '1'); -INSERT INTO !PREFIX!_lang VALUES('1', 'Deutsch', '1', '48a365b4ce1e322a55ae9017f3daf0c0', '2015-06-22 14:33:45', '2015-06-22 14:34:17', 'utf-8', 'ltr'); \ No newline at end of file +INSERT INTO !PREFIX!_lang VALUES('1', 'deutsch', '1', '48a365b4ce1e322a55ae9017f3daf0c0', '2019-10-29 16:58:57', '2019-10-29 16:59:21', 'utf-8', 'ltr'); +INSERT INTO !PREFIX!_properties VALUES('5', '1', 'idlang', '1', 'dateformat', 'full', '', '48a365b4ce1e322a55ae9017f3daf0c0', '2019-10-29 16:59:21', '2019-10-29 16:59:21', '48a365b4ce1e322a55ae9017f3daf0c0'); +INSERT INTO !PREFIX!_properties VALUES('6', '1', 'idlang', '1', 'dateformat', 'date', '', '48a365b4ce1e322a55ae9017f3daf0c0', '2019-10-29 16:59:21', '2019-10-29 16:59:21', '48a365b4ce1e322a55ae9017f3daf0c0'); +INSERT INTO !PREFIX!_properties VALUES('7', '1', 'idlang', '1', 'dateformat', 'time', '', '48a365b4ce1e322a55ae9017f3daf0c0', '2019-10-29 16:59:21', '2019-10-29 16:59:21', '48a365b4ce1e322a55ae9017f3daf0c0'); +INSERT INTO !PREFIX!_properties VALUES('8', '1', 'idlang', '1', 'language', 'code', 'de', '48a365b4ce1e322a55ae9017f3daf0c0', '2019-10-29 16:59:21', '2019-10-29 16:59:21', '48a365b4ce1e322a55ae9017f3daf0c0'); +INSERT INTO !PREFIX!_properties VALUES('9', '1', 'idlang', '1', 'country', 'code', 'de', '48a365b4ce1e322a55ae9017f3daf0c0', '2019-10-29 16:59:21', '2019-10-29 16:59:21', '48a365b4ce1e322a55ae9017f3daf0c0'); +INSERT INTO !PREFIX!_properties VALUES('2', '0', 'idclient', '1', 'backend', 'clientimage', '', '48a365b4ce1e322a55ae9017f3daf0c0', '2019-10-29 16:58:49', '2019-10-29 16:58:49', '48a365b4ce1e322a55ae9017f3daf0c0'); +INSERT INTO !PREFIX!_properties VALUES('3', '1', 'clientsetting', '1', 'generator', 'xhtml', 'false', '48a365b4ce1e322a55ae9017f3daf0c0', '2019-10-29 16:58:49', '2019-10-29 16:58:49', '48a365b4ce1e322a55ae9017f3daf0c0'); +INSERT INTO !PREFIX!_properties VALUES('4', '1', 'clientsetting', '1', 'generator', 'html5', 'true', '48a365b4ce1e322a55ae9017f3daf0c0', '2019-10-29 16:58:49', '2019-10-29 16:58:49', '48a365b4ce1e322a55ae9017f3daf0c0'); \ No newline at end of file diff --git a/setup/data/client_no_content.txt b/setup/data/client_no_content.txt new file mode 100644 index 0000000..e3998ea --- /dev/null +++ b/setup/data/client_no_content.txt @@ -0,0 +1 @@ +client_no_content/client_no_content1.sql \ No newline at end of file diff --git a/setup/data/client_no_content/client_no_content1.sql b/setup/data/client_no_content/client_no_content1.sql new file mode 100644 index 0000000..d20c4b4 --- /dev/null +++ b/setup/data/client_no_content/client_no_content1.sql @@ -0,0 +1,11 @@ +INSERT INTO !PREFIX!_clients VALUES('1', 'Demo ConLite', '', '1000-01-01 00:00:00', '1000-01-01 00:00:00', '', '/cms/', '/cms/', '0', '0'); +INSERT INTO !PREFIX!_clients_lang VALUES('1', '1', '1'); +INSERT INTO !PREFIX!_lang VALUES('1', 'deutsch', '1', '48a365b4ce1e322a55ae9017f3daf0c0', '2019-10-29 16:58:57', '2019-10-29 16:59:21', 'utf-8', 'ltr'); +INSERT INTO !PREFIX!_properties VALUES('5', '1', 'idlang', '1', 'dateformat', 'full', '', '48a365b4ce1e322a55ae9017f3daf0c0', '2019-10-29 16:59:21', '2019-10-29 16:59:21', '48a365b4ce1e322a55ae9017f3daf0c0'); +INSERT INTO !PREFIX!_properties VALUES('6', '1', 'idlang', '1', 'dateformat', 'date', '', '48a365b4ce1e322a55ae9017f3daf0c0', '2019-10-29 16:59:21', '2019-10-29 16:59:21', '48a365b4ce1e322a55ae9017f3daf0c0'); +INSERT INTO !PREFIX!_properties VALUES('7', '1', 'idlang', '1', 'dateformat', 'time', '', '48a365b4ce1e322a55ae9017f3daf0c0', '2019-10-29 16:59:21', '2019-10-29 16:59:21', '48a365b4ce1e322a55ae9017f3daf0c0'); +INSERT INTO !PREFIX!_properties VALUES('8', '1', 'idlang', '1', 'language', 'code', 'de', '48a365b4ce1e322a55ae9017f3daf0c0', '2019-10-29 16:59:21', '2019-10-29 16:59:21', '48a365b4ce1e322a55ae9017f3daf0c0'); +INSERT INTO !PREFIX!_properties VALUES('9', '1', 'idlang', '1', 'country', 'code', 'de', '48a365b4ce1e322a55ae9017f3daf0c0', '2019-10-29 16:59:21', '2019-10-29 16:59:21', '48a365b4ce1e322a55ae9017f3daf0c0'); +INSERT INTO !PREFIX!_properties VALUES('2', '0', 'idclient', '1', 'backend', 'clientimage', '', '48a365b4ce1e322a55ae9017f3daf0c0', '2019-10-29 16:58:49', '2019-10-29 16:58:49', '48a365b4ce1e322a55ae9017f3daf0c0'); +INSERT INTO !PREFIX!_properties VALUES('3', '1', 'clientsetting', '1', 'generator', 'xhtml', 'false', '48a365b4ce1e322a55ae9017f3daf0c0', '2019-10-29 16:58:49', '2019-10-29 16:58:49', '48a365b4ce1e322a55ae9017f3daf0c0'); +INSERT INTO !PREFIX!_properties VALUES('4', '1', 'clientsetting', '1', 'generator', 'html5', 'true', '48a365b4ce1e322a55ae9017f3daf0c0', '2019-10-29 16:58:49', '2019-10-29 16:58:49', '48a365b4ce1e322a55ae9017f3daf0c0'); \ No newline at end of file diff --git a/setup/data/examples.txt b/setup/data/examples.txt index 8ebd69b..4ca2c45 100644 --- a/setup/data/examples.txt +++ b/setup/data/examples.txt @@ -1,5 +1 @@ -examples/examples_articles1.sql -examples/examples_categories1.sql -examples/examples_container1.sql -examples/examples_content1.sql examples/examples_misc1.sql \ No newline at end of file diff --git a/setup/data/examples/examples_misc1.sql b/setup/data/examples/examples_misc1.sql index 293ded2..d3d16b7 100644 --- a/setup/data/examples/examples_misc1.sql +++ b/setup/data/examples/examples_misc1.sql @@ -1,83 +1,9 @@ -INSERT INTO !PREFIX!_lay VALUES('1', '1', 'cl demo default', '', NULL, '\r\n\r\n\r\n\r\n \r\n\r\n\r\n\r\nConLite 2.0 Demo\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n\r\n\r\n\r\n\r\n\r\n\r\nEU Cookie Directive \r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n\r\n
\r\n \r\n
\r\n
\r\n
\r\n Headline 1\r\n Html 1 \r\n Portal Buttons\r\n
\r\n
\r\n CL Flex Slider \r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n\r\n \r\n
\r\n
\r\n develop\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n

Brazil!

\r\n \r\n

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum

\r\n
\r\n \r\n
\r\n

Mexico!

\r\n \r\n

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum

\r\n
\r\n \r\n
\r\n

US!

\r\n \r\n

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum

\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n \r\n \r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n\r\n\r\n\r\n', 'sysadmin', '1970-01-01 00:00:01', '2017-08-09 14:31:21'); -INSERT INTO !PREFIX!_template VALUES('1', '1', '1', '1', 'CL Default', '', '1', '0', '1', 'sysadmin', '2015-06-22 14:37:44', '2017-08-09 14:31:38'); -INSERT INTO !PREFIX!_template_conf VALUES('1', '1', '0', 'sysadmin', '', '1970-01-01 00:00:01'); -INSERT INTO !PREFIX!_template_conf VALUES('2', '1', '0', 'sysadmin', '20150622143953', '1970-01-01 00:00:01'); -INSERT INTO !PREFIX!_template_conf VALUES('3', '1', '0', 'sysadmin', '20150622144021', '1970-01-01 00:00:01'); -INSERT INTO !PREFIX!_template_conf VALUES('4', '1', '0', 'sysadmin', '20150622144053', '1970-01-01 00:00:01'); -INSERT INTO !PREFIX!_template_conf VALUES('5', '1', '0', 'sysadmin', '20150622144118', '1970-01-01 00:00:01'); -INSERT INTO !PREFIX!_template_conf VALUES('6', '1', '0', '', '', '1970-01-01 00:00:01'); -INSERT INTO !PREFIX!_template_conf VALUES('7', '1', '0', 'sysadmin', '20160315182527', '1970-01-01 00:00:01'); -INSERT INTO !PREFIX!_template_conf VALUES('8', '1', '0', 'sysadmin', '20160315184214', '1970-01-01 00:00:01'); -INSERT INTO !PREFIX!_template_conf VALUES('9', '1', '0', 'sysadmin', '20160315184302', '1970-01-01 00:00:01'); -INSERT INTO !PREFIX!_template_conf VALUES('10', '1', '0', 'sysadmin', '20160315184409', '1970-01-01 00:00:01'); -INSERT INTO !PREFIX!_template_conf VALUES('14', '1', '0', 'sysadmin', '20160315184842', '1970-01-01 00:00:01'); -INSERT INTO !PREFIX!_template_conf VALUES('13', '1', '0', 'sysadmin', '20160315184831', '1970-01-01 00:00:01'); -INSERT INTO !PREFIX!_upl VALUES('5', '1', 'basic-pic1.jpg', 'Flexslider/', 'jpg', '149587', 'Love+Brazil+%21%21%21+Sea+view+from+Rio+de+Janeiro+fort.', '0', '48a365b4ce1e322a55ae9017f3daf0c0', '2016-10-12 11:33:29', '2016-10-12 15:33:49', '48a365b4ce1e322a55ae9017f3daf0c0'); -INSERT INTO !PREFIX!_upl VALUES('2', '1', 'IMG_1522.JPG', 'lightslider/', 'JPG', '2386646', '', '0', '48a365b4ce1e322a55ae9017f3daf0c0', '2015-09-15 16:36:11', '2015-09-15 16:36:11', '48a365b4ce1e322a55ae9017f3daf0c0'); -INSERT INTO !PREFIX!_upl VALUES('3', '1', 'IMG_1523.JPG', 'lightslider/', 'JPG', '2168414', '', '0', '48a365b4ce1e322a55ae9017f3daf0c0', '2015-09-15 16:36:35', '2015-09-15 16:36:35', '48a365b4ce1e322a55ae9017f3daf0c0'); -INSERT INTO !PREFIX!_upl VALUES('4', '1', 'IMG_1524.JPG', 'lightslider/', 'JPG', '2069622', '', '0', '48a365b4ce1e322a55ae9017f3daf0c0', '2015-09-15 16:36:35', '2015-09-15 16:36:35', '48a365b4ce1e322a55ae9017f3daf0c0'); -INSERT INTO !PREFIX!_upl VALUES('6', '1', 'basic-pic3.jpg', 'Flexslider/', 'jpg', '129079', '', '0', '48a365b4ce1e322a55ae9017f3daf0c0', '2016-10-12 11:33:29', '2016-10-12 11:33:29', '48a365b4ce1e322a55ae9017f3daf0c0'); -INSERT INTO !PREFIX!_upl VALUES('7', '1', 'basic-pic4.jpg', 'Flexslider/', 'jpg', '54623', '', '0', '48a365b4ce1e322a55ae9017f3daf0c0', '2016-10-12 11:33:29', '2016-10-12 11:33:30', '48a365b4ce1e322a55ae9017f3daf0c0'); -INSERT INTO !PREFIX!_upl VALUES('8', '1', 'basic-pic2.jpg', 'Flexslider/', 'jpg', '129022', '', '0', '48a365b4ce1e322a55ae9017f3daf0c0', '2016-10-12 11:33:30', '2016-10-12 11:33:30', '48a365b4ce1e322a55ae9017f3daf0c0'); -INSERT INTO !PREFIX!_upl VALUES('9', '1', 'PICT0188.JPG', 'Gallery/', 'JPG', '149404', '', '0', '48a365b4ce1e322a55ae9017f3daf0c0', '2017-01-13 01:14:46', '2017-01-13 01:14:46', '48a365b4ce1e322a55ae9017f3daf0c0'); -INSERT INTO !PREFIX!_upl VALUES('10', '1', 'PICT0025.JPG', 'Gallery/', 'JPG', '160647', '', '0', '48a365b4ce1e322a55ae9017f3daf0c0', '2017-01-13 01:14:46', '2017-01-13 01:14:46', '48a365b4ce1e322a55ae9017f3daf0c0'); -INSERT INTO !PREFIX!_upl VALUES('11', '1', 'Terasse26.jpg', 'Gallery/', 'jpg', '176634', '', '0', '48a365b4ce1e322a55ae9017f3daf0c0', '2017-01-13 01:14:46', '2017-01-13 01:14:46', '48a365b4ce1e322a55ae9017f3daf0c0'); -INSERT INTO !PREFIX!_upl VALUES('12', '1', 'IMAGE_296.jpg', 'Gallery/', 'jpg', '251656', '', '0', '48a365b4ce1e322a55ae9017f3daf0c0', '2017-01-13 01:14:46', '2017-01-13 01:14:46', '48a365b4ce1e322a55ae9017f3daf0c0'); -INSERT INTO !PREFIX!_upl VALUES('13', '1', 'PICT0004.JPG', 'Gallery/', 'JPG', '135998', '', '0', '48a365b4ce1e322a55ae9017f3daf0c0', '2017-01-13 01:14:46', '2017-01-13 01:14:46', '48a365b4ce1e322a55ae9017f3daf0c0'); -INSERT INTO !PREFIX!_upl VALUES('14', '1', 'PICT0082.JPG', 'Gallery/', 'JPG', '160199', '', '0', '48a365b4ce1e322a55ae9017f3daf0c0', '2017-01-13 01:14:46', '2017-01-13 01:14:46', '48a365b4ce1e322a55ae9017f3daf0c0'); -INSERT INTO !PREFIX!_keywords VALUES('10', 'have', '', '&3=1(CMS_HTML-1)', '', '1'); -INSERT INTO !PREFIX!_keywords VALUES('9', 'you', '', '&3=2(CMS_HTML-1)', '', '1'); -INSERT INTO !PREFIX!_keywords VALUES('3', 'conlite', '', '&3=3(CMS_HTMLHEAD-1,CMS_HTML-1)', '', '1'); -INSERT INTO !PREFIX!_keywords VALUES('15', 'please', '', '&3=1(CMS_HTML-1)', '', '1'); -INSERT INTO !PREFIX!_keywords VALUES('14', 'successfully', '', '&3=1(CMS_HTML-1)', '', '1'); -INSERT INTO !PREFIX!_keywords VALUES('7', 'installed', '', '&3=1(CMS_HTML-1)', '', '1'); -INSERT INTO !PREFIX!_keywords VALUES('8', '20', '', '&3=2(CMS_HTMLHEAD-1,CMS_HTML-1)', '', '1'); -INSERT INTO !PREFIX!_keywords VALUES('12', 'welcome', '', '&3=1(CMS_HTMLHEAD-1)', '', '1'); -INSERT INTO !PREFIX!_keywords VALUES('13', 'to', '', '&3=3(CMS_HTMLHEAD-1,CMS_HTML-1)', '', '1'); -INSERT INTO !PREFIX!_keywords VALUES('16', 'take', '', '&3=1(CMS_HTML-1)', '', '1'); -INSERT INTO !PREFIX!_keywords VALUES('17', 'moment', '', '&3=1(CMS_HTML-1)', '', '1'); -INSERT INTO !PREFIX!_keywords VALUES('18', 'check', '', '&3=1(CMS_HTML-1)', '', '1'); -INSERT INTO !PREFIX!_keywords VALUES('19', 'out', '', '&3=1(CMS_HTML-1)', '', '1'); -INSERT INTO !PREFIX!_keywords VALUES('20', 'this', '', '&3=1(CMS_HTML-1)', '', '1'); -INSERT INTO !PREFIX!_keywords VALUES('21', 'demo', '', '&3=1(CMS_HTML-1)', '', '1'); -INSERT INTO !PREFIX!_keywords VALUES('22', 'client', '', '&3=1(CMS_HTML-1)', '', '1'); -INSERT INTO !PREFIX!_keywords VALUES('23', 'if', '', '&3=1(CMS_HTML-1)', '', '1'); -INSERT INTO !PREFIX!_keywords VALUES('24', 'need', '', '&3=1(CMS_HTML-1)', '', '1'); -INSERT INTO !PREFIX!_keywords VALUES('25', 'help', '', '&3=1(CMS_HTML-1)', '', '1'); -INSERT INTO !PREFIX!_keywords VALUES('26', 'or', '', '&3=2(CMS_HTML-1)', '', '1'); -INSERT INTO !PREFIX!_keywords VALUES('27', 'searching', '', '&3=1(CMS_HTML-1)', '', '1'); -INSERT INTO !PREFIX!_keywords VALUES('28', 'for', '', '&3=1(CMS_HTML-1)', '', '1'); -INSERT INTO !PREFIX!_keywords VALUES('29', 'more', '', '&3=1(CMS_HTML-1)', '', '1'); -INSERT INTO !PREFIX!_keywords VALUES('30', 'information', '', '&3=1(CMS_HTML-1)', '', '1'); -INSERT INTO !PREFIX!_keywords VALUES('31', 'about', '', '&3=1(CMS_HTML-1)', '', '1'); -INSERT INTO !PREFIX!_keywords VALUES('32', 'use', '', '&3=1(CMS_HTML-1)', '', '1'); -INSERT INTO !PREFIX!_keywords VALUES('33', 'the', '', '&3=1(CMS_HTML-1)', '', '1'); -INSERT INTO !PREFIX!_keywords VALUES('34', 'following', '', '&3=1(CMS_HTML-1)', '', '1'); -INSERT INTO !PREFIX!_keywords VALUES('35', 'buttons', '', '&3=1(CMS_HTML-1)', '', '1'); -INSERT INTO !PREFIX!_keywords VALUES('36', 'visit', '', '&3=1(CMS_HTML-1)', '', '1'); -INSERT INTO !PREFIX!_keywords VALUES('37', 'our', '', '&3=1(CMS_HTML-1)', '', '1'); -INSERT INTO !PREFIX!_keywords VALUES('38', 'forum', '', '&3=1(CMS_HTML-1)', '', '1'); -INSERT INTO !PREFIX!_keywords VALUES('39', 'faq', '', '&3=1(CMS_HTML-1)', '', '1'); -INSERT INTO !PREFIX!_keywords VALUES('40', 'bugtracker', '', '&3=1(CMS_HTML-1)', '', '1'); -INSERT INTO !PREFIX!_properties VALUES('1', '0', 'idclient', '1', 'backend', 'clientimage', '', '48a365b4ce1e322a55ae9017f3daf0c0', '2015-06-22 14:33:23', '2015-06-22 14:33:23', '48a365b4ce1e322a55ae9017f3daf0c0'); -INSERT INTO !PREFIX!_properties VALUES('2', '1', 'clientsetting', '1', 'generator', 'xhtml', 'false', '48a365b4ce1e322a55ae9017f3daf0c0', '2015-06-22 14:33:23', '2017-03-10 16:35:23', '48a365b4ce1e322a55ae9017f3daf0c0'); -INSERT INTO !PREFIX!_properties VALUES('3', '1', 'clientsetting', '1', 'generator', 'html5', 'true', '48a365b4ce1e322a55ae9017f3daf0c0', '2015-06-22 14:33:23', '2017-03-10 16:35:23', '48a365b4ce1e322a55ae9017f3daf0c0'); -INSERT INTO !PREFIX!_properties VALUES('4', '1', 'idlang', '1', 'dateformat', 'full', '', '48a365b4ce1e322a55ae9017f3daf0c0', '2015-06-22 14:34:17', '2015-06-22 14:34:17', '48a365b4ce1e322a55ae9017f3daf0c0'); -INSERT INTO !PREFIX!_properties VALUES('5', '1', 'idlang', '1', 'dateformat', 'date', '', '48a365b4ce1e322a55ae9017f3daf0c0', '2015-06-22 14:34:17', '2015-06-22 14:34:17', '48a365b4ce1e322a55ae9017f3daf0c0'); -INSERT INTO !PREFIX!_properties VALUES('6', '1', 'idlang', '1', 'dateformat', 'time', '', '48a365b4ce1e322a55ae9017f3daf0c0', '2015-06-22 14:34:17', '2015-06-22 14:34:17', '48a365b4ce1e322a55ae9017f3daf0c0'); -INSERT INTO !PREFIX!_properties VALUES('7', '1', 'idlang', '1', 'language', 'code', 'de', '48a365b4ce1e322a55ae9017f3daf0c0', '2015-06-22 14:34:17', '2015-06-22 14:34:17', '48a365b4ce1e322a55ae9017f3daf0c0'); -INSERT INTO !PREFIX!_properties VALUES('8', '1', 'idlang', '1', 'country', 'code', 'de', '48a365b4ce1e322a55ae9017f3daf0c0', '2015-06-22 14:34:17', '2015-06-22 14:34:17', '48a365b4ce1e322a55ae9017f3daf0c0'); -INSERT INTO !PREFIX!_properties VALUES('9', '1', 'idlay', '1', 'layout', 'used-types', 'navigation%3Bcontent%3Bmedia', '48a365b4ce1e322a55ae9017f3daf0c0', '2015-06-22 14:35:22', '2019-07-04 13:24:01', '48a365b4ce1e322a55ae9017f3daf0c0'); -INSERT INTO !PREFIX!_properties VALUES('10', '1', 'idclient', '1', 'backend', 'clientimage', '', '48a365b4ce1e322a55ae9017f3daf0c0', '2015-06-22 14:43:47', '2017-03-10 16:35:23', '48a365b4ce1e322a55ae9017f3daf0c0'); -INSERT INTO !PREFIX!_properties VALUES('11', '1', 'user_id', '48a365b4ce1e322a55ae9017f3daf0c0', 'itemsperpage', 'frontend', '25', '48a365b4ce1e322a55ae9017f3daf0c0', '2015-06-22 20:44:26', '2019-07-04 13:48:38', '48a365b4ce1e322a55ae9017f3daf0c0'); -INSERT INTO !PREFIX!_properties VALUES('12', '1', 'user_id', '48a365b4ce1e322a55ae9017f3daf0c0', 'itemsperpage', 'user', '25', '48a365b4ce1e322a55ae9017f3daf0c0', '2015-06-22 20:45:49', '2015-06-22 20:45:49', '48a365b4ce1e322a55ae9017f3daf0c0'); -INSERT INTO !PREFIX!_properties VALUES('13', '1', 'user_id', '48a365b4ce1e322a55ae9017f3daf0c0', 'itemsperpage', 'news', '25', '48a365b4ce1e322a55ae9017f3daf0c0', '2015-07-09 20:26:35', '2017-08-01 15:27:16', '48a365b4ce1e322a55ae9017f3daf0c0'); -INSERT INTO !PREFIX!_properties VALUES('14', '1', 'update', '1', 'file_check', 'xml', '45e515592ee6fc2dd44437a73c5838a6', '48a365b4ce1e322a55ae9017f3daf0c0', '2015-07-12 11:01:19', '2019-07-04 13:54:20', '48a365b4ce1e322a55ae9017f3daf0c0'); -INSERT INTO !PREFIX!_properties VALUES('15', '1', 'user_id', '91017d590a69dc49807671a51f10ab7f', 'itemsperpage', 'user', '25', '91017d590a69dc49807671a51f10ab7f', '2015-08-05 10:28:58', '2015-08-05 10:28:58', '91017d590a69dc49807671a51f10ab7f'); -INSERT INTO !PREFIX!_properties VALUES('16', '1', 'idclientslang', '1', 'social-media-links', 'xing', 'https%3A%2F%2Fwww.xing.com%2Fcommunities%2Fgroups%2Fconlite-the-lightweight-and-userfriendly-cms-cec9-1045289%3A%3AConnect+to+ConLite+in+our+XING-Group', '48a365b4ce1e322a55ae9017f3daf0c0', '2016-07-20 10:50:19', '2016-07-20 10:50:19', '48a365b4ce1e322a55ae9017f3daf0c0'); -INSERT INTO !PREFIX!_properties VALUES('17', '1', 'upload', 'Flexslider/basic-pic1.jpg', 'file', 'protected', '', '48a365b4ce1e322a55ae9017f3daf0c0', '2016-10-12 15:33:49', '2016-10-12 15:33:49', '48a365b4ce1e322a55ae9017f3daf0c0'); -INSERT INTO !PREFIX!_properties VALUES('18', '1', 'upload', 'Flexslider/basic-pic1.jpg', 'file', 'timemgmt', '0', '48a365b4ce1e322a55ae9017f3daf0c0', '2016-10-12 15:33:49', '2016-10-12 15:33:49', '48a365b4ce1e322a55ae9017f3daf0c0'); -INSERT INTO !PREFIX!_properties VALUES('19', '1', 'user_id', '48a365b4ce1e322a55ae9017f3daf0c0', 'itemsperpage', 'news_jobs', '25', '48a365b4ce1e322a55ae9017f3daf0c0', '2017-02-20 13:24:54', '2017-08-01 14:42:18', '48a365b4ce1e322a55ae9017f3daf0c0'); -INSERT INTO !PREFIX!_properties VALUES('20', '1', 'user_id', '48a365b4ce1e322a55ae9017f3daf0c0', 'itemsperpage', 'recipients', '25', '48a365b4ce1e322a55ae9017f3daf0c0', '2017-02-20 13:24:56', '2017-08-01 14:42:24', '48a365b4ce1e322a55ae9017f3daf0c0'); -INSERT INTO !PREFIX!_properties VALUES('21', '1', 'user_id', '48a365b4ce1e322a55ae9017f3daf0c0', 'itemsperpage', 'recipientgroups', '25', '48a365b4ce1e322a55ae9017f3daf0c0', '2017-02-20 13:24:57', '2017-08-01 14:42:39', '48a365b4ce1e322a55ae9017f3daf0c0'); -INSERT INTO !PREFIX!_properties VALUES('23', '1', 'clientsetting', '1', 'client', 'xss-test', '%3Cscript%3Ealert%28%5C%22ewfwe%5C%22%29%3B%3C%2Fscript%3E', '48a365b4ce1e322a55ae9017f3daf0c0', '2017-07-06 11:25:25', '2017-07-06 11:25:25', '48a365b4ce1e322a55ae9017f3daf0c0'); \ No newline at end of file +INSERT INTO !PREFIX!_properties VALUES('1', '0', 'user_id', '48a365b4ce1e322a55ae9017f3daf0c0', 'itemsperpage', 'user', '25', '48a365b4ce1e322a55ae9017f3daf0c0', '2019-10-29 16:58:18', '2019-10-29 16:58:18', '48a365b4ce1e322a55ae9017f3daf0c0'); +INSERT INTO !PREFIX!_properties VALUES('2', '0', 'idclient', '1', 'backend', 'clientimage', '', '48a365b4ce1e322a55ae9017f3daf0c0', '2019-10-29 16:58:49', '2019-10-29 16:58:49', '48a365b4ce1e322a55ae9017f3daf0c0'); +INSERT INTO !PREFIX!_properties VALUES('3', '1', 'clientsetting', '1', 'generator', 'xhtml', 'false', '48a365b4ce1e322a55ae9017f3daf0c0', '2019-10-29 16:58:49', '2019-10-29 16:58:49', '48a365b4ce1e322a55ae9017f3daf0c0'); +INSERT INTO !PREFIX!_properties VALUES('4', '1', 'clientsetting', '1', 'generator', 'html5', 'true', '48a365b4ce1e322a55ae9017f3daf0c0', '2019-10-29 16:58:49', '2019-10-29 16:58:49', '48a365b4ce1e322a55ae9017f3daf0c0'); +INSERT INTO !PREFIX!_properties VALUES('5', '1', 'idlang', '1', 'dateformat', 'full', '', '48a365b4ce1e322a55ae9017f3daf0c0', '2019-10-29 16:59:21', '2019-10-29 16:59:21', '48a365b4ce1e322a55ae9017f3daf0c0'); +INSERT INTO !PREFIX!_properties VALUES('6', '1', 'idlang', '1', 'dateformat', 'date', '', '48a365b4ce1e322a55ae9017f3daf0c0', '2019-10-29 16:59:21', '2019-10-29 16:59:21', '48a365b4ce1e322a55ae9017f3daf0c0'); +INSERT INTO !PREFIX!_properties VALUES('7', '1', 'idlang', '1', 'dateformat', 'time', '', '48a365b4ce1e322a55ae9017f3daf0c0', '2019-10-29 16:59:21', '2019-10-29 16:59:21', '48a365b4ce1e322a55ae9017f3daf0c0'); +INSERT INTO !PREFIX!_properties VALUES('8', '1', 'idlang', '1', 'language', 'code', 'de', '48a365b4ce1e322a55ae9017f3daf0c0', '2019-10-29 16:59:21', '2019-10-29 16:59:21', '48a365b4ce1e322a55ae9017f3daf0c0'); +INSERT INTO !PREFIX!_properties VALUES('9', '1', 'idlang', '1', 'country', 'code', 'de', '48a365b4ce1e322a55ae9017f3daf0c0', '2019-10-29 16:59:21', '2019-10-29 16:59:21', '48a365b4ce1e322a55ae9017f3daf0c0'); \ No newline at end of file diff --git a/setup/data/standard.txt b/setup/data/standard.txt index d620d5c..e69de29 100644 --- a/setup/data/standard.txt +++ b/setup/data/standard.txt @@ -1,2 +0,0 @@ -standard/standard_modules1.sql -standard/standard_modules_translations1.sql \ No newline at end of file diff --git a/setup/data/sysadmin/sysadmin1.sql b/setup/data/sysadmin/sysadmin1.sql index c5bb50c..f35f443 100644 --- a/setup/data/sysadmin/sysadmin1.sql +++ b/setup/data/sysadmin/sysadmin1.sql @@ -1 +1 @@ -INSERT INTO !PREFIX!_phplib_auth_user_md5 VALUES('48a365b4ce1e322a55ae9017f3daf0c0', 'sysadmin', '48a365b4ce1e322a55ae9017f3daf0c0', 'sysadmin', 'Systemadministrator', 'sysadmin@IhreSite.de', '', '', '', '', '', '1', '1000-01-01', '1000-01-01', '1000-01-01 00:00:01', '', '0'); \ No newline at end of file +INSERT INTO !PREFIX!_phplib_auth_user_md5 VALUES('48a365b4ce1e322a55ae9017f3daf0c0', 'sysadmin', '48a365b4ce1e322a55ae9017f3daf0c0', 'sysadmin', 'Systemadministrator', 'sysadmin@IhreSite.de', '', '', '', '', '', '1', '0000-00-00', '0000-00-00', '0000-00-00 00:00:00', '', '0'); \ No newline at end of file diff --git a/setup/data/tables.txt b/setup/data/tables.txt index ef53922..0b80474 100644 --- a/setup/data/tables.txt +++ b/setup/data/tables.txt @@ -39,16 +39,16 @@ "art_lang";"redirect";"int(6)";"NO";"";"0";"";"" "art_lang";"redirect_url";"varchar(255)";"NO";"";"";"";"" "art_lang";"artsort";"int(10)";"NO";"";"0";"";"" -"art_lang";"timemgmt";"tinyint(1)";"NO";"";"0";"";"" +"art_lang";"timemgmt";"tinyint(1)";"YES";"";"";"";"" "art_lang";"datestart";"datetime";"YES";"";"";"";"" "art_lang";"dateend";"datetime";"YES";"";"";"";"" "art_lang";"status";"int(10)";"NO";"";"0";"";"" -"art_lang";"free_use_01";"mediumint(7)";"NO";"";"0";"";"" -"art_lang";"free_use_02";"mediumint(7)";"NO";"";"0";"";"" -"art_lang";"free_use_03";"mediumint(7)";"NO";"";"0";"";"" -"art_lang";"time_move_cat";"mediumint(7)";"NO";"";"0";"";"" -"art_lang";"time_target_cat";"mediumint(7)";"NO";"";"0";"";"" -"art_lang";"time_online_move";"mediumint(7)";"NO";"";"0";"";"" +"art_lang";"free_use_01";"mediumint(7)";"YES";"";"";"";"" +"art_lang";"free_use_02";"mediumint(7)";"YES";"";"";"";"" +"art_lang";"free_use_03";"mediumint(7)";"YES";"";"";"";"" +"art_lang";"time_move_cat";"mediumint(7)";"YES";"";"";"";"" +"art_lang";"time_target_cat";"mediumint(7)";"YES";"";"";"";"" +"art_lang";"time_online_move";"mediumint(7)";"YES";"";"";"";"" "art_lang";"external_redirect";"char(1)";"NO";"";"";"";"" "art_lang";"locked";"int(1)";"NO";"";"0";"";"" "art_spec";"idartspec";"int(10)";"NO";"PRI";"0";"";"1" @@ -72,8 +72,8 @@ "cat_art";"is_start";"tinyint(1)";"NO";"";"0";"";"" "cat_art";"status";"int(10)";"NO";"";"0";"";"" "cat_art";"author";"varchar(32)";"NO";"";"";"";"" -"cat_art";"created";"datetime";"NO";"";"1970-01-01 00:00:01";"";"" -"cat_art";"lastmodified";"datetime";"NO";"";"1970-01-01 00:00:01";"";"" +"cat_art";"created";"datetime";"NO";"";"1000-01-01 00:00:00";"";"" +"cat_art";"lastmodified";"datetime";"NO";"";"1000-01-01 00:00:00";"";"" "cat_art";"createcode";"tinyint(1)";"NO";"";"1";"";"" "cat_lang";"idcatlang";"int(10)";"NO";"PRI";"0";"";"1" "cat_lang";"idcat";"int(10)";"NO";"";"0";"";"" @@ -84,8 +84,8 @@ "cat_lang";"public";"tinyint(1)";"NO";"";"0";"";"" "cat_lang";"status";"int(10)";"NO";"";"0";"";"" "cat_lang";"author";"varchar(32)";"NO";"";"";"";"" -"cat_lang";"created";"datetime";"NO";"";"1970-01-01 00:00:01";"";"" -"cat_lang";"lastmodified";"datetime";"NO";"";"1970-01-01 00:00:01";"";"" +"cat_lang";"created";"datetime";"NO";"";"1000-01-01 00:00:00";"";"" +"cat_lang";"lastmodified";"datetime";"NO";"";"1000-01-01 00:00:00";"";"" "cat_lang";"startidartlang";"int(10)";"NO";"";"0";"";"" "cat_lang";"urlname";"varchar(64)";"NO";"";"";"";"" "cat_lang";"urlpath";"varchar(255)";"NO";"";"";"";"" @@ -98,8 +98,8 @@ "clients";"idclient";"int(10)";"NO";"PRI";"0";"";"1" "clients";"name";"varchar(255)";"NO";"";"";"";"" "clients";"author";"varchar(32)";"NO";"";"";"";"" -"clients";"created";"datetime";"NO";"";"1970-01-01 00:00:01";"";"" -"clients";"lastmodified";"datetime";"NO";"";"1970-01-01 00:00:01";"";"" +"clients";"created";"datetime";"NO";"";"1000-01-01 00:00:00";"";"" +"clients";"lastmodified";"datetime";"NO";"";"1000-01-01 00:00:00";"";"" "clients";"path";"varchar(255)";"NO";"";"";"";"" "clients";"frontendpath";"varchar(255)";"NO";"";"";"";"" "clients";"htmlpath";"varchar(255)";"NO";"";"";"";"" @@ -120,9 +120,9 @@ "communications";"message";"text";"NO";"";"";"";"" "communications";"recipient";"varchar(32)";"NO";"";"";"";"" "communications";"author";"varchar(32)";"NO";"";"";"";"" -"communications";"created";"datetime";"NO";"";"1970-01-01 00:00:01";"";"" +"communications";"created";"datetime";"NO";"";"1000-01-01 00:00:00";"";"" "communications";"modifiedby";"varchar(32)";"NO";"";"";"";"" -"communications";"modified";"datetime";"NO";"";"1970-01-01 00:00:01";"";"" +"communications";"modified";"datetime";"NO";"";"1000-01-01 00:00:00";"";"" "config";"idconfig";"int(10)";"NO";"PRI";"0";"";"1" "config";"abs_path";"varchar(255)";"YES";"";"";"";"" "config";"url_path";"varchar(255)";"YES";"";"";"";"" @@ -151,8 +151,8 @@ "content";"value";"longtext";"NO";"";"";"";"" "content";"version";"varchar(32)";"NO";"";"";"";"" "content";"author";"varchar(32)";"NO";"";"";"";"" -"content";"created";"datetime";"NO";"";"1970-01-01 00:00:01";"";"" -"content";"lastmodified";"datetime";"NO";"";"1970-01-01 00:00:01";"";"" +"content";"created";"datetime";"NO";"";"1000-01-01 00:00:00";"";"" +"content";"lastmodified";"datetime";"NO";"";"1000-01-01 00:00:00";"";"" "data";"iddata";"int(10)";"NO";"PRI";"0";"";"1" "data";"idclient";"int(10)";"YES";"";"";"";"" "data";"abs_path";"varchar(255)";"YES";"";"";"";"" @@ -167,16 +167,16 @@ "dbfs";"mimetype";"varchar(64)";"NO";"";"";"";"" "dbfs";"size";"int(10)";"NO";"";"0";"";"" "dbfs";"content";"longblob";"NO";"";"";"";"" -"dbfs";"created";"datetime";"NO";"";"1970-01-01 00:00:01";"";"" +"dbfs";"created";"datetime";"NO";"";"1000-01-01 00:00:00";"";"" "dbfs";"author";"varchar(32)";"NO";"";"";"";"" -"dbfs";"modified";"datetime";"NO";"";"1970-01-01 00:00:01";"";"" +"dbfs";"modified";"datetime";"NO";"";"1000-01-01 00:00:00";"";"" "dbfs";"modifiedby";"varchar(32)";"NO";"";"";"";"" "file_information";"idsfi";"int(11)";"NO";"PRI";"";"";"1" "file_information";"idclient";"int(11)";"NO";"";"";"";"" "file_information";"type";"varchar(32)";"NO";"";"";"";"" "file_information";"filename";"varchar(255)";"NO";"";"";"";"" -"file_information";"created";"datetime";"NO";"";"1970-01-01 00:00:01";"";"" -"file_information";"lastmodified";"datetime";"NO";"";"1970-01-01 00:00:01";"";"" +"file_information";"created";"datetime";"NO";"";"1000-01-01 00:00:00";"";"" +"file_information";"lastmodified";"datetime";"NO";"";"1000-01-01 00:00:00";"";"" "file_information";"author";"varchar(32)";"NO";"";"";"";"" "file_information";"modifiedby";"varchar(32)";"NO";"";"";"";"" "file_information";"description";"text";"NO";"";"";"";"" @@ -207,11 +207,11 @@ "frontendusers";"password";"varchar(32)";"NO";"";"";"";"" "frontendusers";"active";"tinyint(1)";"NO";"";"0";"";"" "frontendusers";"author";"varchar(32)";"NO";"";"";"";"" -"frontendusers";"created";"datetime";"NO";"";"1970-01-01 00:00:01";"";"" -"frontendusers";"modified";"datetime";"NO";"";"1970-01-01 00:00:01";"";"" +"frontendusers";"created";"datetime";"NO";"";"1000-01-01 00:00:00";"";"" +"frontendusers";"modified";"datetime";"NO";"";"1000-01-01 00:00:00";"";"" "frontendusers";"modifiedby";"varchar(32)";"NO";"";"";"";"" -"frontendusers";"valid_from";"datetime";"NO";"";"1970-01-01 00:00:01";"";"" -"frontendusers";"valid_to";"datetime";"NO";"";"1970-01-01 00:00:01";"";"" +"frontendusers";"valid_from";"datetime";"NO";"";"1000-01-01 00:00:00";"";"" +"frontendusers";"valid_to";"datetime";"NO";"";"1000-01-01 00:00:00";"";"" "group_prop";"idgroupprop";"int(10)";"NO";"PRI";"0";"";"1" "group_prop";"group_id";"varchar(32)";"YES";"";"";"";"" "group_prop";"type";"varchar(96)";"YES";"";"";"";"" @@ -226,10 +226,10 @@ "groups";"perms";"mediumtext";"YES";"";"";"";"" "groups";"description";"varchar(255)";"YES";"";"";"";"" "inuse";"idinuse";"int(10)";"NO";"PRI";"0";"";"1" -"inuse";"type";"varchar(32)";"YES";"";"";"";"" -"inuse";"objectid";"varchar(32)";"YES";"";"";"";"" -"inuse";"session";"varchar(32)";"YES";"";"";"";"" -"inuse";"userid";"varchar(32)";"YES";"";"";"";"" +"inuse";"type";"varchar(32)";"NO";"";"";"";"" +"inuse";"objectid";"varchar(32)";"NO";"";"";"";"" +"inuse";"session";"varchar(32)";"NO";"";"";"";"" +"inuse";"userid";"varchar(32)";"NO";"";"";"";"" "keywords";"idkeyword";"int(10)";"NO";"PRI";"0";"";"1" "keywords";"keyword";"varchar(50)";"NO";"";"";"";"" "keywords";"exp";"text";"NO";"";"";"";"" @@ -240,8 +240,8 @@ "lang";"name";"varchar(255)";"NO";"";"";"";"" "lang";"active";"tinyint(1)";"NO";"";"0";"";"" "lang";"author";"varchar(32)";"NO";"";"";"";"" -"lang";"created";"datetime";"NO";"";"1970-01-01 00:00:01";"";"" -"lang";"lastmodified";"datetime";"NO";"";"1970-01-01 00:00:01";"";"" +"lang";"created";"datetime";"NO";"";"1000-01-01 00:00:00";"";"" +"lang";"lastmodified";"datetime";"NO";"";"1000-01-01 00:00:00";"";"" "lang";"encoding";"varchar(32)";"NO";"";"";"";"" "lang";"direction";"char(3)";"NO";"";"ltr";"";"" "lay";"idlay";"int(10)";"NO";"PRI";"0";"";"1" @@ -251,8 +251,8 @@ "lay";"deletable";"tinyint(1)";"YES";"";"";"";"" "lay";"code";"text";"NO";"";"";"";"" "lay";"author";"varchar(32)";"NO";"";"";"";"" -"lay";"created";"datetime";"NO";"";"1970-01-01 00:00:01";"";"" -"lay";"lastmodified";"datetime";"NO";"";"1970-01-01 00:00:01";"";"" +"lay";"created";"datetime";"NO";"";"1000-01-01 00:00:00";"";"" +"lay";"lastmodified";"datetime";"NO";"";"1000-01-01 00:00:00";"";"" "link";"idlink";"int(6)";"NO";"PRI";"0";"";"1" "link";"idartlang";"int(10)";"YES";"";"";"";"" "link";"idcat";"int(10)";"YES";"";"";"";"" @@ -275,7 +275,7 @@ "mod";"type";"varchar(32)";"NO";"";"";"";"" "mod";"error";"varchar(32)";"NO";"";"none";"";"" "mod";"description";"text";"YES";"";"";"";"" -"mod";"deletable";"tinyint(1)";"NO";"";"0";"";"" +"mod";"deletable";"tinyint(1)";"YES";"";"";"";"" "mod";"input";"longtext";"NO";"";"";"";"" "mod";"output";"longtext";"NO";"";"";"";"" "mod";"template";"text";"NO";"";"";"";"" @@ -283,16 +283,16 @@ "mod";"package_guid";"varchar(64)";"YES";"";"";"";"" "mod";"package_data";"text";"YES";"";"";"";"" "mod";"author";"varchar(32)";"NO";"";"";"";"" -"mod";"created";"datetime";"NO";"";"1970-01-01 00:00:01";"";"" -"mod";"lastmodified";"datetime";"NO";"";"1970-01-01 00:00:01";"";"" +"mod";"created";"datetime";"NO";"";"1000-01-01 00:00:00";"";"" +"mod";"lastmodified";"datetime";"NO";"";"1000-01-01 00:00:00";"";"" "mod_translations";"idmodtranslation";"int(10)";"NO";"PRI";"0";"";"1" "mod_translations";"idmod";"int(10)";"NO";"";"0";"";"" "mod_translations";"idlang";"int(10)";"NO";"";"0";"";"" "mod_translations";"original";"text";"NO";"";"";"";"" "mod_translations";"translation";"text";"NO";"";"";"";"" "nav_main";"idnavm";"int(10)";"NO";"PRI";"0";"";"1" -"nav_main";"location";"varchar(255)";"NO";"";"";"";"" "nav_main";"name";"varchar(255)";"NO";"";"";"";"" +"nav_main";"location";"varchar(255)";"NO";"";"";"";"" "nav_sub";"idnavs";"int(10)";"NO";"PRI";"0";"";"1" "nav_sub";"idnavm";"int(10)";"NO";"";"0";"";"" "nav_sub";"idarea";"int(10)";"NO";"";"0";"";"" @@ -300,7 +300,7 @@ "nav_sub";"location";"varchar(255)";"NO";"";"";"";"" "nav_sub";"online";"tinyint(1)";"NO";"";"0";"";"" "online_user";"user_id";"varchar(32)";"NO";"PRI";"";"";"1" -"online_user";"lastaccessed";"datetime";"NO";"";"1970-01-01 00:00:01";"";"" +"online_user";"lastaccessed";"datetime";"NO";"";"1000-01-01 00:00:00";"";"" "phplib_active_sessions";"sid";"varchar(32)";"NO";"PRI";"";"";"1" "phplib_active_sessions";"name";"varchar(32)";"NO";"";"";"";"" "phplib_active_sessions";"val";"longblob";"YES";"";"";"";"" @@ -317,9 +317,9 @@ "phplib_auth_user_md5";"address_city";"varchar(255)";"YES";"";"";"";"" "phplib_auth_user_md5";"address_country";"varchar(255)";"YES";"";"";"";"" "phplib_auth_user_md5";"wysi";"tinyint(2)";"YES";"";"";"";"" -"phplib_auth_user_md5";"valid_from";"date";"NO";"";"1970-01-01";"";"" -"phplib_auth_user_md5";"valid_to";"date";"NO";"";"1970-01-01";"";"" -"phplib_auth_user_md5";"last_pw_request";"datetime";"NO";"";"1970-01-01 00:00:01";"";"" +"phplib_auth_user_md5";"valid_from";"date";"NO";"";"1000-01-01";"";"" +"phplib_auth_user_md5";"valid_to";"date";"NO";"";"1000-01-01";"";"" +"phplib_auth_user_md5";"last_pw_request";"datetime";"NO";"";"1000-01-01 00:00:00";"";"" "phplib_auth_user_md5";"tmp_pw_request";"varchar(32)";"YES";"";"";"";"" "phplib_auth_user_md5";"using_pw_request";"tinyint(1)";"NO";"";"0";"";"" "plugins";"idplugin";"int(10)";"NO";"PRI";"0";"";"1" @@ -334,7 +334,7 @@ "plugins";"folder";"varchar(255)";"NO";"";"";"";"" "plugins";"uuid";"varchar(255)";"NO";"";"";"";"" "plugins";"executionorder";"int(11)";"NO";"";"0";"";"" -"plugins";"installed";"datetime";"NO";"";"1970-01-01 00:00:01";"";"" +"plugins";"installed";"datetime";"NO";"";"1000-01-01 00:00:00";"";"" "plugins";"active";"tinyint(1)";"YES";"";"";"";"" "plugins";"path";"varchar(255)";"NO";"";"";"";"" "plugins_rel";"idpluginrelation";"int(11)";"NO";"PRI";"";"";"1" @@ -349,8 +349,8 @@ "properties";"name";"varchar(96)";"NO";"";"";"";"" "properties";"value";"text";"NO";"";"";"";"" "properties";"author";"varchar(32)";"NO";"";"";"";"" -"properties";"created";"datetime";"NO";"";"1970-01-01 00:00:01";"";"" -"properties";"modified";"datetime";"NO";"";"1970-01-01 00:00:01";"";"" +"properties";"created";"datetime";"NO";"";"1000-01-01 00:00:00";"";"" +"properties";"modified";"datetime";"NO";"";"1000-01-01 00:00:00";"";"" "properties";"modifiedby";"varchar(32)";"NO";"";"";"";"" "rights";"idright";"int(10)";"NO";"PRI";"0";"";"1" "rights";"user_id";"varchar(32)";"NO";"";"";"";"" @@ -374,12 +374,12 @@ "stat_archive";"idlang";"int(10)";"NO";"";"0";"";"" "stat_archive";"idclient";"int(10)";"NO";"";"0";"";"" "stat_archive";"visited";"int(6)";"NO";"";"0";"";"" -"stat_archive";"visitdate";"datetime";"NO";"";"1000-01-01 00:00:00";"";"" +"stat_archive";"visitdate";"varchar(14)";"YES";"";"";"";"" "status";"idstatus";"int(10)";"NO";"PRI";"0";"";"1" "status";"description";"varchar(255)";"NO";"";"";"";"" "status";"author";"varchar(32)";"NO";"";"";"";"" -"status";"created";"datetime";"NO";"";"1970-01-01 00:00:01";"";"" -"status";"lastmodified";"datetime";"NO";"";"1970-01-01 00:00:01";"";"" +"status";"created";"datetime";"NO";"";"1000-01-01 00:00:00";"";"" +"status";"lastmodified";"datetime";"NO";"";"1000-01-01 00:00:00";"";"" "system_prop";"idsystemprop";"int(10)";"NO";"PRI";"0";"";"1" "system_prop";"type";"varchar(96)";"YES";"";"";"";"" "system_prop";"name";"varchar(96)";"YES";"";"";"";"" @@ -390,26 +390,26 @@ "template";"idtplcfg";"int(10)";"YES";"";"";"";"" "template";"name";"varchar(255)";"YES";"";"";"";"" "template";"description";"varchar(255)";"YES";"";"";"";"" -"template";"deletable";"tinyint(1)";"NO";"";"0";"";"" -"template";"status";"int(10)";"NO";"";"0";"";"" +"template";"deletable";"tinyint(1)";"YES";"";"";"";"" +"template";"status";"int(10)";"YES";"";"";"";"" "template";"defaulttemplate";"tinyint(1)";"NO";"";"0";"";"" "template";"author";"varchar(32)";"YES";"";"";"";"" -"template";"created";"datetime";"NO";"";"1970-01-01 00:00:01";"";"" -"template";"lastmodified";"datetime";"NO";"";"1970-01-01 00:00:01";"";"" +"template";"created";"datetime";"NO";"";"1000-01-01 00:00:00";"";"" +"template";"lastmodified";"datetime";"NO";"";"1000-01-01 00:00:00";"";"" "template_conf";"idtplcfg";"int(10)";"NO";"PRI";"0";"";"1" -"template_conf";"idtpl";"int(10)";"NO";"";"0";"";"" -"template_conf";"status";"int(10)";"NO";"";"0";"";"" +"template_conf";"idtpl";"int(10)";"YES";"";"";"";"" +"template_conf";"status";"int(10)";"YES";"";"";"";"" "template_conf";"author";"varchar(255)";"YES";"";"";"";"" "template_conf";"created";"varchar(14)";"YES";"";"";"";"" -"template_conf";"lastmodified";"datetime";"NO";"";"1970-01-01 00:00:01";"";"" +"template_conf";"lastmodified";"datetime";"NO";"";"1000-01-01 00:00:00";"";"" "type";"idtype";"int(6)";"NO";"PRI";"0";"";"1" "type";"type";"varchar(255)";"NO";"";"";"";"" "type";"code";"text";"NO";"";"";"";"" "type";"description";"varchar(255)";"NO";"";"";"";"" "type";"status";"int(11)";"NO";"";"0";"";"" "type";"author";"varchar(32)";"NO";"";"";"";"" -"type";"created";"datetime";"NO";"";"1970-01-01 00:00:01";"";"" -"type";"lastmodified";"datetime";"NO";"";"1970-01-01 00:00:01";"";"" +"type";"created";"datetime";"NO";"";"1000-01-01 00:00:00";"";"" +"type";"lastmodified";"datetime";"NO";"";"1000-01-01 00:00:00";"";"" "upl";"idupl";"int(10)";"NO";"PRI";"0";"";"1" "upl";"idclient";"int(10)";"NO";"";"0";"";"" "upl";"filename";"varchar(255)";"NO";"";"";"";"" @@ -419,8 +419,8 @@ "upl";"description";"text";"NO";"";"";"";"" "upl";"status";"int(11)";"NO";"";"0";"";"" "upl";"author";"varchar(32)";"NO";"";"";"";"" -"upl";"created";"datetime";"NO";"";"1970-01-01 00:00:01";"";"" -"upl";"lastmodified";"datetime";"NO";"";"1970-01-01 00:00:01";"";"" +"upl";"created";"datetime";"NO";"";"1000-01-01 00:00:00";"";"" +"upl";"lastmodified";"datetime";"NO";"";"1000-01-01 00:00:00";"";"" "upl";"modifiedby";"varchar(32)";"NO";"";"";"";"" "upl_meta";"id_uplmeta";"int(10)";"NO";"PRI";"";"";"1" "upl_meta";"idupl";"int(10)";"NO";"";"";"";""