Compare commits

..

No commits in common. '0b2da1f00fd9800b3cfc202bc1a5ab17126d1603' and 'db26ffa61178dcd895df8fc77041d9f76b3a94a6' have entirely different histories.

  1. 4
      cable.php
  2. BIN
      images/asset.png
  3. BIN
      images/brick.png
  4. BIN
      images/bricks.png
  5. BIN
      images/disconnect.png
  6. BIN
      images/tag-blue.png
  7. 4
      lang/de.php
  8. 4
      lang/en.php
  9. 2
      lib.php
  10. 8
      tpl/about.tpl
  11. 1
      tpl/asset.tpl
  12. 1
      tpl/assetclass.tpl
  13. 1
      tpl/assetclassgroup.tpl
  14. 1
      tpl/assetclassgroupview.tpl
  15. 1
      tpl/assetclassview.tpl
  16. 1
      tpl/assetview.tpl
  17. 1
      tpl/cable.tpl
  18. 5
      tpl/cableview.tpl
  19. 2
      tpl/login.tpl
  20. 1
      tpl/subnetview.tpl
  21. 1
      tpl/vlan.tpl
  22. 1
      tpl/vlanview.tpl

@ -150,12 +150,12 @@ $smarty->assign('description', $sth->fetchColumn());
$smarty->display('cabledel.tpl');
else:
// ========== ERROR UNKNOWN VARIANT ===========================================
// ========== UNBEKANNTE VARIANTE =============================================
echo "<p>Unknown function call: Please report to system development!</p>\n";
endif; // $action == ...
// ========== END OF VARIANTS =================================================
$smarty->display('footer.tpl');
include("footer.php");
?>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 574 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 696 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 884 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 883 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 665 B

@ -228,14 +228,12 @@ $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_changelog' => 'Changelog (major changes only)',
'lang_about_changelog_v09' => 'v0.9 (mar 2023)',
'lang_about_changelog_v09_ext' => '- Changed database interface to PDO / prepared statements<br>- LDAP authentication<br>- User rights<br>- Improved internal menu system',
'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_ext' => '- Added support for PHP7, switched to mysqli',
'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_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)',

@ -228,14 +228,12 @@ $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_changelog' => 'Changelog (major changes only)',
'lang_about_changelog_v09' => 'v0.9 (mar 2023)',
'lang_about_changelog_v09_ext' => '- Changed database interface to PDO / prepared statements<br>- LDAP authentication<br>- User rights<br>- Improved internal menu system',
'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_ext' => '- Added support for PHP7, switched to mysqli',
'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_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)',

@ -28,7 +28,7 @@ define ('ACT_VIEW_LIST', 13);
// ========== GLOBAL PAGE START CODE ==========================================
// global version string
$config_version = 'v0.9';
$config_version = 'v0.8';
// available languages
$config_lang = array('de', 'en');

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

@ -1,7 +1,6 @@
<table class="title">
<tr>
<td class="header">
<img class="icon" src="images/asset.png" alt="" />
{$lang_assets} ({$assets|@count} / {$assetcount})
</td>
<td align="right">

@ -1,7 +1,6 @@
<table class="title">
<tr>
<td class="header">
<img class="icon" src="images/brick.png" alt="" />
{$lang_assetclasses} ({$assetclasses|@count})
</td>
<td align="right">

@ -1,7 +1,6 @@
<table class="title">
<tr>
<td class="header">
<img class="icon" src="images/bricks.png" alt="" />
{$lang_assetclassgroups} ({$assetclassgroups|@count})
</td>
<td align="right">

@ -1,7 +1,6 @@
<table class="title">
<tr>
<td class="header">
<img class="icon" src="images/bricks.png" alt="" />
{$assetclassgroup->name}
</td>
<td align="right">

@ -1,7 +1,6 @@
<table class="title">
<tr>
<td class="header">
<img class="icon" src="images/brick.png" alt="" />
{$assetclass->assetclass_name}
</td>
<td align="right">

@ -1,7 +1,6 @@
<table class="title">
<tr>
<td class="header">
<img class="icon" src="images/asset.png" alt="" />
{$asset->asset_name}
</td>
<td align="right">

@ -1,7 +1,6 @@
<table class="title">
<tr>
<td class="header">
<img class="icon" src="images/disconnect.png" alt="" />
{$lang_cable} ({$cables|@count})
</td>
<td align="right">

@ -1,8 +1,7 @@
<table class="title">
<tr>
<td class="header">
<img class="icon" src="images/disconnect.png" alt="" />
{$cable->description}
{$vlan_name}
</td>
<td align="right">
<a href="cable.php?f=edit&id={$cable->id}"><img src="image.php?icon=edit" alt="{$lang_cable_edit}"></a>
@ -30,7 +29,7 @@
</tr>
<tr>
<td class="label">
{$lang_cable_type}
{$lang_cable_type} XXX
</td>
<td class="value">
{$cable->cable_type}

@ -33,7 +33,7 @@
{$lang_ipreg}&nbsp;{$config_version}
</td>
<td align="right">
<input type="image" src="images/control_fastforward_blue.png" alt="{$lang_login}" title="{$lang_login}">
<input type="image" src="images/control_fastforward_blue.png" alt="{$lang_login}">
</td>
</tr>
</table>

@ -1,7 +1,6 @@
<table class="title">
<tr>
<td class="header">
<img class="icon" src="images/plugin.png" alt="" />
{$subnet->address}/{$subnet->mask}
</td>
<td align="right">

@ -1,7 +1,6 @@
<table class="title">
<tr>
<td class="header">
<img class="icon" src="images/tag-blue.png" alt="" />
{$lang_vlans} ({$vlans|@count})
</td>
<td align="right">

@ -1,7 +1,6 @@
<table class="title">
<tr>
<td class="header">
<img class="icon" src="images/tag-blue.png" alt="" />
{$vlan->name}
</td>
<td align="right">