Commit c61bba71 by sn

kleinigkeiten

1 parent 136dc790
Showing with 7 additions and 5 deletions
...@@ -360,22 +360,23 @@ class D { ...@@ -360,22 +360,23 @@ class D {
public static function compareFe($param_firstArray, $param_secondArray, $param_string=null, $param_logdepth=10, $param_ul=array(), $param_keystring='', $param_print=true, $param_force=false) { public static function compareFe($param_firstArray, $param_secondArray, $param_string=null, $param_logdepth=10, $param_ul=array(), $param_keystring='', $param_print=true, $param_force=false) {
if($param_logdepth>=0) { if($param_logdepth>=0) {
if(!is_null($param_string)) { if(!is_null($param_string)) {
$param_string = '<b>'.$param_string.'</b>';
$param_string .= ' countFirstArray('.count($param_firstArray).') countSecondArray('.count($param_secondArray).') loglevel('.$param_logdepth.') || print '.$param_Array; $param_string .= ' countFirstArray('.count($param_firstArray).') countSecondArray('.count($param_secondArray).') loglevel('.$param_logdepth.') || print '.$param_Array;
// $eqal = mcArray::compare($param_firstArray, $param_secondArray); // $eqal = mcArray::compare($param_firstArray, $param_secondArray);
// $param_string .= 'equal('.$eqal.')'; // $param_string .= 'equal('.$eqal.')';
D::li($param_string, $param_print, $param_force); D::li('<b>'.$param_string.'</b>', $param_print, $param_force);
} }
self::new_echo('<table>', $param_print, $param_force); self::new_echo('<table border="1" width="100%">', $param_print, $param_force);
self::new_echo('<tr valign="top">', $param_print, $param_force); self::new_echo('<tr valign="top">', $param_print, $param_force);
self::new_echo('<td valign="top">', $param_print, $param_force); self::new_echo('<td valign="top" width="50%">', $param_print, $param_force);
D::fe($param_firstArray, null, $param_logdepth, $param_ul,'first Param', $param_print, $param_force); D::fe($param_firstArray, null, $param_logdepth, $param_ul,'first Param', $param_print, $param_force);
self::new_echo('</td>', $param_print, $param_force); self::new_echo('</td>', $param_print, $param_force);
self::new_echo('<td valign="top">', $param_print, $param_force); self::new_echo('<td valign="top" width="50%">', $param_print, $param_force);
D::fe($param_secondArray, null, $param_logdepth, $param_ul,'second Param', $param_print, $param_force); D::fe($param_secondArray, null, $param_logdepth, $param_ul,'second Param', $param_print, $param_force);
self::new_echo('</td>', $param_print, $param_force); self::new_echo('</td>', $param_print, $param_force);
...@@ -396,6 +397,7 @@ class D { ...@@ -396,6 +397,7 @@ class D {
// D::ulli(':::::::::::::: '.$param_logdepth.' - '.$param_Array); // D::ulli(':::::::::::::: '.$param_logdepth.' - '.$param_Array);
if($param_logdepth>=0) { if($param_logdepth>=0) {
if(!is_null($param_string)) { if(!is_null($param_string)) {
$param_string = '<b>'.$param_string.'</b>';
$param_string .= ' count('.count($param_Array).') loglevel('.$param_logdepth.') || print '.$param_Array; $param_string .= ' count('.count($param_Array).') loglevel('.$param_logdepth.') || print '.$param_Array;
D::li($param_string, $param_print, $param_force); D::li($param_string, $param_print, $param_force);
} }
...@@ -454,7 +456,7 @@ class D { ...@@ -454,7 +456,7 @@ class D {
} }
</style>', $param_print, $param_force); </style>', $param_print, $param_force);
self::new_echo($param_ul['start'].'<li>'.$param_keystring.' => '.$param_Array.' '.$info_toArray.' self::new_echo($param_ul['start'].'<li>'.$param_keystring.' => '.$param_Array.' '.$info_toArray.' <br/>
<input id="button" type="button" onclick="showText(\''.$divId.'\');" value="Text einblenden" /> </li> '.$param_ul['stop'], $param_print, $param_force); <input id="button" type="button" onclick="showText(\''.$divId.'\');" value="Text einblenden" /> </li> '.$param_ul['stop'], $param_print, $param_force);
self::new_echo('<div id="'.$divId.'">', $param_print, $param_force); self::new_echo('<div id="'.$divId.'">', $param_print, $param_force);
foreach($var_value2Array as $var_key => $var_value) { foreach($var_value2Array as $var_key => $var_value) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!