From 62bf762ce80775bb94c066628650df254b2a2efb Mon Sep 17 00:00:00 2001 From: hahn <axel.hahn@iml.unibe.ch> Date: Thu, 31 Aug 2017 08:47:39 +0200 Subject: [PATCH] ci server - valuestore: fix dbcreate --- public_html/valuestore/browse.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public_html/valuestore/browse.php b/public_html/valuestore/browse.php index 4871058a..997d685b 100644 --- a/public_html/valuestore/browse.php +++ b/public_html/valuestore/browse.php @@ -116,14 +116,14 @@ if(is_array($aData) && count($aData)){ // echo '<pre>' . print_r($aData, 1); foreach ($aData as $aRow){ $sItemUrl='index.php?project='.$aRow['project'].'&package='.$aRow['package'].'&phase='.$aRow['phase'].'&host='.$aRow['host'].'&variable='.$aRow['variable'].''; - // $sTable.='<tr onclick="location.href=\''.$sUrl.'\'">'; - $sTable.='<tr>'; + $sTable.='<tr onclick="location.href=\''.$sUrl.'\'">'; + // $sTable.='<tr>'; foreach ($aRow as $sKey=>$sValue){ // $sTable.='<td class="'.$sKey.'"><a href="'.$sUrl.'">'.$sValue.'</a></td>'; $sTable.='<td class="'.$sKey.'">'.htmlentities($sValue).'</td>'; } $sTable.='<td>' - . '<button onclick="location.href=\''.$sItemUrl.'&action=get\'">View</button>' + // . '<button onclick="location.href=\''.$sItemUrl.'&action=get\'">View</button>' . '<form method="POST" action="'.$sItemUrl.'">' . '<input type="hidden" name="action" value="delete">' . '<button>Delete</button>' -- GitLab