Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
root authored and root committed Sep 21, 2016
1 parent e2f7213 commit a8540ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions FecadminbaseBlock.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public function getSearchBarSelectHtml($name,$data,$null_value){
$alibaba_account_select .= '<option value="">'.$null_value.'</option>';
$selected = $this->_param[$name];
if(is_array($selected) ){
$selected = $selected['?regex'];
$selected = $selected['$regex'];
}
foreach($data as $k=>$v){
//echo "$selected == $k";
Expand Down Expand Up @@ -157,7 +157,7 @@ public function getSearchBarChosenSelectHtml($name,$data,$title,$id=1){
$alibaba_account_select .= '<option value="">'.$title.'</option>';
$selected = $this->_param[$name];
if(is_array($selected) ){
$selected = $selected['?regex'];
$selected = $selected['$regex'];
}
foreach($data as $k=>$v){
//echo "$selected == $k";
Expand Down Expand Up @@ -207,7 +207,7 @@ public function getDbSearchBarHtml($data){
</td>';
}else if($d['type'] == 'inputtext'){
$searchBar .= '<td>
'.$title.':<input type="text" value="'.(is_array($this->_param[$name]) ? $this->_param[$name]['?regex'] : $this->_param[$name]).'" name="'.$name.'" />
'.$title.':<input type="text" value="'.(is_array($this->_param[$name]) ? $this->_param[$name]['$regex'] : $this->_param[$name]).'" name="'.$name.'" />
</td>';
}else if($d['type'] == 'inputdate'){
$searchBar .= '<td>
Expand Down

0 comments on commit a8540ad

Please sign in to comment.