Started integrating external systems

This commit is contained in:
2026-07-23 14:48:30 +02:00
parent 8e218fd4ba
commit 4abb94b88c
21 changed files with 485 additions and 33 deletions
+9 -1
View File
@@ -20,7 +20,7 @@
{$lang_about_projectpage}
</td>
<td class="value">
<a href="https://git.piratenpartei-sh.de/thooge/ipreg">https://git.piratenpartei-sh.de/thooge/ipreg</a>
<a href="https://git.hoogi.de/thooge/ipreg">https://git.hoogi.de/thooge/ipreg</a>
</td>
</tr>
<tr>
@@ -83,6 +83,14 @@
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{$lang_about_changelog_v10}
</td>
<td class="value">
{$lang_about_changelog_v10_ext}
</td>
</tr>
<tr>
<td class="label">
{$lang_about_changelog_v09}
+32
View File
@@ -119,3 +119,35 @@
</td>
</tr>
</table>
{if $extlink}
<table class="info">
<tr>
<td class="header">
External Links
</td>
</tr>
<tr>
<td>In development</td>
</tr>
</table>
{/if}
{if $refid}
<table class="info">
<tr>
<td class="header">
Externe Daten
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">Zabbix</td>
<td class="value">HostID = {$refid}, {$zbx_hostname}
</td>
</tr>
</table>
{/if}
+35
View File
@@ -0,0 +1,35 @@
<table class="title">
<tr>
<td class="header">
<img class="icon" src="images/settings.png" alt="" />
Import
</td>
<td align="right">
&nbsp;
</td>
</tr>
</table>
<table class="info">
<tr>
<td class="header">
IP Reg import module
</td>
</tr>
</table>
<table class="info">
<tr>
<td class="label">
Import pfsense NAT settings
</td>
<td>
<form enctype="multipart/form-data" action="import.php" method="post">
<input type="hidden" name="MAX_FILE_SIZE" value="1000000" />
pfSense Konfigurationsdatei: <input name="xmlfile" type="file" />
<input type="submit" name="submit[pfsense]" value="Upload" />
</form>
</td>
</tr>
</table>
+55
View File
@@ -0,0 +1,55 @@
<table class="title">
<tr>
<td class="header">
<img class="icon" src="images/settings.png" alt="" />
Import
</td>
<td align="right">
&nbsp;
</td>
</tr>
</table>
<table class="info">
<tr>
<td class="header">
IP Reg import module
</td>
</tr>
</table>
<form method="post" action="import.php">
<table class="info">
<tr>
<td class="label">
Configuration file
</td>
<td>
{$xmlfile} of type {$xmlfiletype} ({$xmltmp})
</td>
</tr>
<tr>
<td class="label">
Data
</td>
<td><table>
<tr>
<th><input type="checkbox" onclick="toggle(this)"></th>
<th>From</th><th>To</th><th>Description</th>
</tr>
{foreach item=nat from=$natlist}
<tr>
<td><input type="checkbox" name="rule" value="{$nat.id}"></td>
<td>{$nat.ext|long2ip}:{$nat.ext_port}</td>
<td>{$nat.int|long2ip}:{$nat.int_port}</td>
<td>{$nat.description}</td>
<td>{$nat.dupe}</td>
</tr>
{/foreach}
</table>
<input type="submit" name="submit[exec-pfsense]" value="Import">
</td>
</tr>
</table>
</form>