1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-18 12:21:45 +02:00

Added button to enter current IP while whitelisting.

This commit is contained in:
Cameron
2015-04-13 00:55:50 -07:00
parent 0df60a4bf1
commit 1708e535a6
2 changed files with 30 additions and 4 deletions

View File

@@ -3692,7 +3692,7 @@ class e_form
break;
case 'ip':
$ret = $this->text($key, e107::getIPHandler()->ipDecode($value), 32, $parms);
$ret = vartrue($parms['pre']).$this->text($key, e107::getIPHandler()->ipDecode($value), 32, $parms).vartrue($parms['post']);
break;
case 'email':
@@ -4435,12 +4435,17 @@ class e_form
}
else
{
$leftCellClass = (!empty($writeParms['leftCellClass'])) ? " class='".$writeParms['leftCellClass']."'" : "";
$rightCellClass = (!empty($writeParms['rightCellClass'])) ? " class='".$writeParms['rightCellClass']."'" : "";
$text .= "
<tr>
<td>
<td{$leftCellClass}>
".$leftCell."
</td>
<td>
<td{$rightCellClass}>
".$rightCell."
</td>
</tr>