Skip to content
Snippets Groups Projects
Commit e94c006f authored by hahn's avatar hahn
Browse files

update valuestore browser

parent f53ec457
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