Bumped version to 0.8

master v0.8
Thomas Hooge 2 years ago
parent 37f4bd4185
commit c500face92
  1. 4
      config.php-sample
  2. 20
      install/install.txt
  3. 6
      lang/de.php
  4. 6
      lang/en.php
  5. 6
      lib.php
  6. 8
      tpl/about.tpl

@ -7,9 +7,6 @@ Copyright (C) 2011-2023 Thomas Hooge
SPDX-License-Identifier: GPL-3.0-or-later SPDX-License-Identifier: GPL-3.0-or-later
*****************************************************************************/ *****************************************************************************/
// version
$config_version = 'v0.7';
// db connection // db connection
$config_mysql_host = 'localhost'; $config_mysql_host = 'localhost';
$config_mysql_username = 'ipreg'; $config_mysql_username = 'ipreg';
@ -22,7 +19,6 @@ $config_color_unused = 'ffffff';
$config_color_dynamic = 'e0e0e0'; $config_color_dynamic = 'e0e0e0';
// language // language
$config_lang = array('de', 'en');
$config_lang_default = 'en'; $config_lang_default = 'en';
?> ?>

@ -2,8 +2,8 @@ IP Reg Installation
1. Install requirements 1. Install requirements
IP Reg version 0.6 and up depends on smarty template engine. IP Reg version 0.6 and up depends on smarty template engine.
In Debian install ist with: "apt-get install smarty3". In Debian install it with: "apt-get install smarty3".
The GHP-GD module is also required: "apt-get install php-gd". The PHP-GD module is also required: "apt-get install php-gd".
2. Create database 2. Create database
@ -28,17 +28,21 @@ Optional import some sample data
mysql ipreg < mysql_sample.sql mysql ipreg < mysql_sample.sql
4. Edit config file 4. Upload files
Open config.php in a text editor and fill in your database details. Upload all files and directories (except the install directory) to your
webserver.
5. Upload files 5. Create and edit config file
Upload all files and directory's (except the install directory) to your Rename sample configfile config.php-sample:
webserver. mv config.php-sample config.php
Open config.php in a text editor and fill in your database details.
6. Check file access rights for security 6. Check file access rights for security
Only directory tpl_c should be writeble by webserver Only directory tpl_c should be writeble by webserver.
Configfile should be readable by webserver but not writeable.
chmod 640 config.php chmod 640 config.php
chgrp www-data config.php chgrp www-data config.php

@ -207,12 +207,14 @@ $lang = array(
'lang_about_license_ext' => 'Copyright (C) 2007-2009 Wietse Warendorff (up to v0.5)<br>Copyright (C) 2011-2023 Thomas Hooge<p>This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.<p>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.<p> You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.', 'lang_about_license_ext' => 'Copyright (C) 2007-2009 Wietse Warendorff (up to v0.5)<br>Copyright (C) 2011-2023 Thomas Hooge<p>This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.<p>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.<p> You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.',
'lang_about_changelog' => 'Changelog (major changes only)', 'lang_about_changelog' => 'Changelog (major changes only)',
'lang_about_changelog_v08' => 'v0.8 (feb 2023)',
'lang_about_changelog_v08_ext' => '- Some small improvements and bugfixing<br>- Code simplification as preparation for big refactoring',
'lang_about_changelog_v07' => 'v0.7 (oct 2018)', 'lang_about_changelog_v07' => 'v0.7 (oct 2018)',
'lang_about_changelog_v07_ext' => '- Added support for PHP7, switched to mysqli', 'lang_about_changelog_v07_ext' => '- Added support for PHP7, switched to mysqli',
'lang_about_changelog_v06' => 'v0.6 (may 2011)', 'lang_about_changelog_v06' => 'v0.6 (may 2011)',
'lang_about_changelog_v06_ext' => '- Moved towards smarty template engine<br />- language support finalized<br />- added german language<br />- some small bug fixes', 'lang_about_changelog_v06_ext' => '- Moved towards smarty template engine<br />- language support finalized<br>- added german language<br>- some small bug fixes',
'lang_about_changelog_v05' => 'v0.5 (dec 2009)', 'lang_about_changelog_v05' => 'v0.5 (dec 2009)',
'lang_about_changelog_v05_ext' => '- Complete code rewrite<br>- Input sanitation<br>- Background image<br>- Added multiple counters<br>- HTML is now 100% W3C valid<br>More user options', 'lang_about_changelog_v05_ext' => '- Complete code rewrite<br>- Input sanitation<br>- Background image<br>- Added multiple counters<br>- HTML is now 100% W3C valid<br>- More user options',
'lang_about_changelog_v04' => 'v0.4 (jun 2008)', 'lang_about_changelog_v04' => 'v0.4 (jun 2008)',
'lang_about_changelog_v04_ext' => '- SQL vulnerability fixed<br>- PHP-generated images in subnet overview', 'lang_about_changelog_v04_ext' => '- SQL vulnerability fixed<br>- PHP-generated images in subnet overview',
'lang_about_changelog_v03' => 'v0.3 (dec 2007)', 'lang_about_changelog_v03' => 'v0.3 (dec 2007)',

@ -207,12 +207,14 @@ $lang = array(
'lang_about_license_ext' => 'Copyright (C) 2007-2009 Wietse Warendorff (up to v0.5)<br>Copyright (C) 2011-2023 Thomas Hooge<p>This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.<p>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.<p> You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.', 'lang_about_license_ext' => 'Copyright (C) 2007-2009 Wietse Warendorff (up to v0.5)<br>Copyright (C) 2011-2023 Thomas Hooge<p>This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.<p>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.<p> You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.',
'lang_about_changelog' => 'Changelog (major changes only)', 'lang_about_changelog' => 'Changelog (major changes only)',
'lang_about_changelog_v08' => 'v0.8 (feb 2023)',
'lang_about_changelog_v08_ext' => '- Some small improvements and bugfixing<br>- Code simplification as preparation for big refactoring',
'lang_about_changelog_v07' => 'v0.7 (oct 2018)', 'lang_about_changelog_v07' => 'v0.7 (oct 2018)',
'lang_about_changelog_v07_ext' => '- Added support for PHP7, switched to mysqli', 'lang_about_changelog_v07_ext' => '- Added support for PHP7, switched to mysqli',
'lang_about_changelog_v06' => 'v0.6 (may 2011)', 'lang_about_changelog_v06' => 'v0.6 (may 2011)',
'lang_about_changelog_v06_ext' => '- Moved towards smarty template engine<br />- language support finalized<br />- added german language<br />- some small bug fixes', 'lang_about_changelog_v06_ext' => '- Moved towards smarty template engine<br />- language support finalized<br>- added german language<br>- some small bug fixes',
'lang_about_changelog_v05' => 'v0.5 (dec 2009)', 'lang_about_changelog_v05' => 'v0.5 (dec 2009)',
'lang_about_changelog_v05_ext' => '- Complete code rewrite<br>- Input sanitation<br>- Background image<br>- Added multiple counters<br>- HTML is now 100% W3C valid<br>More user options', 'lang_about_changelog_v05_ext' => '- Complete code rewrite<br>- Input sanitation<br>- Background image<br>- Added multiple counters<br>- HTML is now 100% W3C valid<br>- More user options',
'lang_about_changelog_v04' => 'v0.4 (jun 2008)', 'lang_about_changelog_v04' => 'v0.4 (jun 2008)',
'lang_about_changelog_v04_ext' => '- SQL vulnerability fixed<br>- PHP-generated images in subnet overview', 'lang_about_changelog_v04_ext' => '- SQL vulnerability fixed<br>- PHP-generated images in subnet overview',
'lang_about_changelog_v03' => 'v0.3 (dec 2007)', 'lang_about_changelog_v03' => 'v0.3 (dec 2007)',

@ -7,6 +7,12 @@ Copyright (C) 2011-2023 Thomas Hooge
SPDX-License-Identifier: GPL-3.0-or-later SPDX-License-Identifier: GPL-3.0-or-later
*****************************************************************************/ *****************************************************************************/
// global version string
$config_version = 'v0.8';
// available languages
$config_lang = array('de', 'en');
include("lib/functions.php"); include("lib/functions.php");
require("lib/db.class.php"); require("lib/db.class.php");

@ -83,6 +83,14 @@
&nbsp; &nbsp;
</td> </td>
</tr> </tr>
<tr>
<td class="label">
{$lang_about_changelog_v08}
</td>
<td class="value">
{$lang_about_changelog_v08_ext}
</td>
</tr>
<tr> <tr>
<td class="label"> <td class="label">
{$lang_about_changelog_v07} {$lang_about_changelog_v07}