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:
@@ -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>
|
||||
|
Reference in New Issue
Block a user