Skip to content
Snippets Groups Projects
Commit e349ef42 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

Merge branch 'update-valuestore-bowser' into 'master'

Update valuestore bowser

See merge request !96
parents 6b794f56 e94c006f
No related branches found
No related tags found
No related merge requests found
...@@ -120,11 +120,11 @@ if(is_array($aData) && count($aData)){ ...@@ -120,11 +120,11 @@ if(is_array($aData) && count($aData)){
// $sTable.='<tr>'; // $sTable.='<tr>';
foreach ($aRow as $sKey=>$sValue){ foreach ($aRow as $sKey=>$sValue){
// $sTable.='<td class="'.$sKey.'"><a href="'.$sUrl.'">'.$sValue.'</a></td>'; // $sTable.='<td class="'.$sKey.'"><a href="'.$sUrl.'">'.$sValue.'</a></td>';
$sOnclick=strstr($sValue, '"') $sLabel=strstr($sValue, '"')
? '' ? htmlentities($sValue)
: 'onclick="$(\'#eFilter\').val(\''.$sValue.'\');filterTable();" title="click to filter by ['.$sValue.']"' : '<a href="#" onclick="$(\'#eFilter\').val(\''.$sValue.'\');filterTable();" title="click to filter by ['.$sValue.']">'.htmlentities($sValue).'</a>'
; ;
$sTable.='<td class="'.$sKey.'" '.$sOnclick.'>'.htmlentities($sValue).'</td>'."\n"; $sTable.='<td class="'.$sKey.'" '.$sOnclick.'>'.$sLabel.'</td>'."\n";
} }
$sTable.='<td>' $sTable.='<td>'
// . '<button onclick="location.href=\''.$sItemUrl.'&action=get\'">View</button>' // . '<button onclick="location.href=\''.$sItemUrl.'&action=get\'">View</button>'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment