summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/includes/HTMLCTEMULSELECT.php
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2018-02-27 10:55:06 +0000
committerramon <ramongomez@us.es>2018-02-27 10:55:06 +0000
commit9f1274ec297d6ea74b55e2207f19348cd35235ec (patch)
tree2595b29c14586c4777b18154021d044148bec417 /admin/WebConsole/includes/HTMLCTEMULSELECT.php
parent9eaa464c22e4dac4416d5d1aa0a6674b8b4e525f (diff)
#804: Sustituir funciones para compatibilidad con PHP 7 ({{{split}}} por {{{explode}}} y {{{ereg...}}} por {{{preg_...}}}).
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5619 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/includes/HTMLCTEMULSELECT.php')
-rw-r--r--admin/WebConsole/includes/HTMLCTEMULSELECT.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/admin/WebConsole/includes/HTMLCTEMULSELECT.php b/admin/WebConsole/includes/HTMLCTEMULSELECT.php
index f7f24630..3de38882 100644
--- a/admin/WebConsole/includes/HTMLCTEMULSELECT.php
+++ b/admin/WebConsole/includes/HTMLCTEMULSELECT.php
@@ -20,10 +20,10 @@ function HTMLCTEMULSELECT($parametros,$nombreid,$tbvalor,$clase,$eventochg,$anch
if (!empty($eventochg)) $eventochg='onchange="'.$eventochg.'(this);"';
if (empty($clase)) $clase='formulariodatos';
$x=0;
- $opciones=split(chr(13),$parametros);
+ $opciones=explode(chr(13),$parametros);
$SelectHtml= '<SELECT '.$eventochg.' class="'.$clase.'" name="'.$nombreid.'" multiple size='.$alto.' style="WIDTH: '.$ancho.'">';
for($i=0;$i<sizeof($opciones);$i++){
- $item=split("=",$opciones[$i]);
+ $item=explode("=",$opciones[$i]);
$SelectHtml.= '<OPTION value="'.$item[0].'"';
if (isset($tbvalor[$x])){
if($tbvalor[$x]==$item[0]) {
@@ -34,4 +34,4 @@ function HTMLCTEMULSELECT($parametros,$nombreid,$tbvalor,$clase,$eventochg,$anch
$SelectHtml.= '>'.$item[1].'</OPTION>';
}
return($SelectHtml);
-} \ No newline at end of file
+}