diff --git a/src/admin/inc/inc_catalog_options.php b/src/admin/inc/inc_catalog_options.php index d1262147..f999dfb3 100644 --- a/src/admin/inc/inc_catalog_options.php +++ b/src/admin/inc/inc_catalog_options.php @@ -60,10 +60,10 @@ function GetOptionList($selid = 0, $userCatalog = 0, $channeltype = 0) $sonCats = ''; LogicGetOptionArray($row->id, '─', $channeltype, $dsql, $sonCats); if ($sonCats != '') { - if ($row->ispart == 1) $OptionArrayList .= ""; - else if ($row->ispart == 2) $OptionArrayList .= ""; - else if (empty($channeltype) && $row->ispart != 0) $OptionArrayList .= ""; - else $OptionArrayList .= ""; + if ($row->ispart == 1) $OptionArrayList .= ""; + else if ($row->ispart == 2) $OptionArrayList .= ""; + else if (empty($channeltype) && $row->ispart != 0) $OptionArrayList .= ""; + else $OptionArrayList .= ""; $OptionArrayList .= $sonCats; } else { if ($row->ispart == 0 && (!empty($channeltype) && $row->channeltype == $channeltype)) { diff --git a/src/admin/member_toadmin.php b/src/admin/member_toadmin.php index 705b8221..5b25e705 100644 --- a/src/admin/member_toadmin.php +++ b/src/admin/member_toadmin.php @@ -92,11 +92,11 @@ $typeids = explode(',', $typeid); $dsql->SetQuery("SELECT id,typename FROM `#@__arctype` WHERE reid=0 AND (ispart=0 OR ispart=1)"); $dsql->Execute('op'); while ($nrow = $dsql->GetObject('op')) { - $typeOptions .= "\r\n"; + $typeOptions .= "\r\n"; $dsql->SetQuery("SELECT id,typename FROM `#@__arctype` WHERE reid={$nrow->id} AND (ispart=0 OR ispart=1)"); $dsql->Execute('s'); while ($nrow = $dsql->GetObject('s')) { - $typeOptions .= "\r\n"; + $typeOptions .= "\r\n"; } } $row = $dsql->GetOne("SELECT * FROM `#@__member` WHERE mid='$id'"); diff --git a/src/admin/templets/stepselect_showajax.htm b/src/admin/templets/stepselect_showajax.htm index 2403177b..c096ce03 100644 --- a/src/admin/templets/stepselect_showajax.htm +++ b/src/admin/templets/stepselect_showajax.htm @@ -65,9 +65,9 @@ if ($arr['issign']==0) { if ($row1['evalue']%500==0 || $arr['issign']==1) { - $options .= ""; - } else { $options .= ""; + } else { + $options .= ""; } } ?> diff --git a/src/system/enums.func.php b/src/system/enums.func.php index 50cde1ec..4f9d75ce 100755 --- a/src/system/enums.func.php +++ b/src/system/enums.func.php @@ -91,8 +91,7 @@ function GetEnumsForm($egroup, $evalue = 0, $formid = '', $seltitle = '') $forms .= "\t\r\n"; foreach (${'em_'.$egroup.'s'} as $v => $n) { $prefix = ($v > 500 && $v % 500 != 0) ? '└─ ' : ''; - if (preg_match("#\.#", $v)) $prefix = '   └── '; - + if (preg_match("#\.#", $v)) $prefix = '└─── '; if ($v == $evalue) { $forms .= "\t\r\n"; } else {