diff --git a/src/include/db_template.txt b/src/include/db_template.txt index 7d18128..baa6273 100644 --- a/src/include/db_template.txt +++ b/src/include/db_template.txt @@ -98,7 +98,7 @@ CREATE TABLE IF NOT EXISTS `logcon_users` ( `password` varchar(32) NOT NULL, `is_admin` tinyint(1) NOT NULL default '0', `is_readonly` tinyint(1) NOT NULL DEFAULT '0', - `last_login` int(4) NOT NULL, + `last_login` int(4) NOT NULL DEFAULT '0', PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Table for the phplogcon users' AUTO_INCREMENT=1 ; @@ -170,6 +170,8 @@ CREATE TABLE `logcon_dbmappings` ( -- -- Table structure for table `logcon_savedreports` -- + +DROP TABLE IF EXISTS `logcon_savedreports`; CREATE TABLE `logcon_savedreports` ( `ID` int(11) NOT NULL auto_increment, `reportid` varchar(255) NOT NULL, diff --git a/src/lang/de/admin.php b/src/lang/de/admin.php index 816610b..bb08a92 100644 --- a/src/lang/de/admin.php +++ b/src/lang/de/admin.php @@ -229,6 +229,7 @@ $content['LN_DBMP_NAME'] = "Database Mappingname"; $content['LN_DBMP_DBMAPPINGS'] = "Database Mappings"; $content['LN_DBMP_ADD'] = "Add new Database Mapping"; $content['LN_DBMP_EDIT'] = "Edit Database Mapping"; +$content['LN_DBMP_DELETE'] = "Delete Database Mapping"; $content['LN_DBMP_ERROR_IDNOTFOUND'] = "A Database Mapping with ID '%1' could not be found."; $content['LN_DBMP_ERROR_INVALIDID'] = "The Database Mapping with ID '%1' is not a valid Database Mapping."; $content['LN_DBMP_WARNDELETEMAPPING'] = "Are you sure that you want to delete the Database Mapping '%1'? This cannot be undone!"; @@ -476,4 +477,4 @@ $content['LN_REPORTS_ADDSAVEDREPORTANDRETURN'] = "Add Savedreport and return to $content['LN_REPORTS_EDITSAVEDREPORTANDRETURN'] = "Save changes and return to reportlist"; $content['LN_REPORTS_'] = ""; -?> \ No newline at end of file +?> diff --git a/src/lang/en/admin.php b/src/lang/en/admin.php index cd4421a..ef55fd8 100644 --- a/src/lang/en/admin.php +++ b/src/lang/en/admin.php @@ -232,6 +232,7 @@ $content['LN_DBMP_NAME'] = "Database Mappingname"; $content['LN_DBMP_DBMAPPINGS'] = "Database Mappings"; $content['LN_DBMP_ADD'] = "Add new Database Mapping"; $content['LN_DBMP_EDIT'] = "Edit Database Mapping"; +$content['LN_DBMP_DELETE'] = "Delete Database Mapping"; $content['LN_DBMP_ERROR_IDNOTFOUND'] = "A Database Mapping with ID '%1' could not be found."; $content['LN_DBMP_ERROR_INVALIDID'] = "The Database Mapping with ID '%1' is not a valid Database Mapping."; $content['LN_DBMP_WARNDELETEMAPPING'] = "Are you sure that you want to delete the Database Mapping '%1'? This cannot be undone!"; @@ -491,4 +492,4 @@ $content['LN_REPORTS_ERROR_FAILED_SOURCE_CHECK'] = "Failed to check the datasour $content['LN_REPORTS_'] = ""; -?> \ No newline at end of file +?>