Ich weiß nicht, ob das eine neue Erkenntnis ist, aber ich hab mir mal die Dateien auf der Box angeschaut und ich glaube das ist PHP (bitte bestätigen oder dementieren)
Evtl. könnte man ja diese Überprüfung so modifizieren, dass die Regel eintippt werden kann und nicht über FBEditor eingespielt werden muss. Wär wieder ein neues mod.
Außerdem wärs möglich, selbst neue Seiten mit Statusinformationen etc. einzufügen.
Versteht irgendjemand hier, anhand welchen Kriterien eine Regel ausgeblendet wird?
Den Code seht ihr unter
http://fritz.box/html/de/internet/portfw.html
Er sieht wie folgt aus (darf ich den posten? ggf. bitte entfernen oder Bescheid geben)
<? include ../html/$var:lang/internet/portfw.inc ?>
<div id="content">
<div class="pTitel"><? echo $var:Text1 ?></div>
<div class="pDialogo"><? echo $var:Text2 ?></div>
<div class="pDialog">
<p class="b10" style="text-align: center; font-weight: bold;"><? echo $var:Text4 ?></p>
<table id="tPorts">
<tr>
<th class="c1"><? echo $var:Text5 ?></th>
<th class="c2"><? echo $var:Text6 ?></th>
<th class="c3"><? echo $var:Text7 ?></th>
<th class="c4"><? echo $var:Text8 ?></th>
<th class="c5"><? echo $var:Text9 ?></th>
<th class="c6"><? echo $var:Text10 ?></th>
<th class="c7"> </th>
<th class="c8"> </th>
</tr>
<? multiquery forwardrules:settings/rule/list(activated,description,protocol,port,fwip,fwport,endport) `
<tr class=Dialoglist>
<td class="c1">
<input type=checkbox id="uiViewActiv$1" onclick="uiOnChangeActivated('uiViewActiv$1','uiPostActiv$1'); return true;">
</td>
<td class="c2">$3</td>
<td class="c3">$4</td>
<td class="c4"><script type="text/javascript">document.write(PortRange('$5','$8','$5'));</script></td>
<td class="c5">$6</td>
<td class="c6"><script type="text/javascript">document.write(PortRange('$5','$8','$7'));</script></td>
<td class="c7"><button type="button" id="uiViewEdit$1" onClick="uiDoEdit('$1')" value="$var:Text11" title="$var:Text11" style="width: 30px">
<img src="../html/$var:lang/images/bearbeiten.gif" align=bottom width=16 height=16 hspace=4>
</button></td>
<td class="c8"><button type="button" id="uiViewDelete$1" onClick="uiDoDelete('$1')" value="$var:Text12" title="$var:Text12" style="width: 30px">
<img src="../html/$var:lang/images/loeschen.gif" align=bottom width=16 height=16 hspace=4>
</button></td>
</tr>
` ?>
<tr class=Dialoglist id="uiExposed" style="display:none">
<td class="c1"><input type=checkbox id="uiViewUseExposed" onclick="uiOnUseExposed(); return true;"></td>
<td class="c2"><? echo $var:Text15 ?></td>
<td colspan=2 class="ac"><? echo $var:Text16 ?></td>
<td class="c5"><? query forwardrules:settings/exposed_host ?></td>
<td class="c6"></td>
<td class="c7"><button type="button" id="uiViewEditExposed" onClick="uiDoEditExposed()" value="<? echo $var:Text11 ?>" title="<? echo $var:Text11 ?>" style="width: 30px">
<img src="../html/<? echo $var:lang ?>/images/bearbeiten.gif" align=bottom width=16 height=16 hspace=4>
</button></td>
<td class="c8"><button type="button" id="uiViewDelete'rule4'" onClick="uiDoDeleteExposed()" value="<? echo $var:Text12 ?>" title="<? echo $var:Text12 ?>" style="width: 30px">
<img src="../html/<? echo $var:lang ?>/images/loeschen.gif" align=bottom width=16 height=16 hspace=4>
</button></td>
</tr>
<? if eq <? multiquerycount forwardrules:settings/rule/list ?> 0 `
<? if eq `<? query forwardrules:settings/exposed_host ?>` `` `
<tr class="Dialoglist"><td colspan=8 class="ac">$var:Text19</td></tr>
` ?>
` ?>
</table>
<p class="ar mt10"><input type="button" id="uiViewNewButton" onclick="uiDoNew('<? query forwardrules:settings/rule/newid ?>')" value="<? echo $var:Text13 ?>" class="Pushbutton" style="width: 140px;"></p>
<? if neq '<? query forwardrules:settings/exposed_host ?>' '' `
<? if eq '<? query forwardrules:settings/use_exposed_host ?>' '1' `
<p class="achtung mt10">$var:Text17<br>$var:Text18</p>
` ?>
` ?>
<? include ../html/$var:lang/home/error.html ?>
</div>
<? include ../html/$var:lang/home/bb_applycancel.html ?>
</div>