Rev 1055 | Rev 1086 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1055 | Rev 1058 | ||
---|---|---|---|
Line 957... | Line 957... | ||
957 | $res2 = OIDplus::db()->query("select name from ###iri where oid = ? order by lfd", array($row->id)); |
957 | $res2 = OIDplus::db()->query("select name from ###iri where oid = ? order by lfd", array($row->id)); |
958 | while ($row2 = $res2->fetch_array()) { |
958 | while ($row2 = $res2->fetch_array()) { |
959 | $iris[] = $row2['name']; |
959 | $iris[] = $row2['name']; |
960 | } |
960 | } |
961 | 961 | ||
962 | $date_created = explode(' ', $row->created)[0] == '0000-00-00' ? '' : explode(' ', $row->created)[0]; |
962 | $date_created = is_null($row->created) || (explode(' ', $row->created)[0] == '0000-00-00') ? '' : explode(' ', $row->created)[0]; |
963 | $date_updated = explode(' ', $row->updated)[0] == '0000-00-00' ? '' : explode(' ', $row->updated)[0]; |
963 | $date_updated = is_null($row->updated) || (explode(' ', $row->updated)[0] == '0000-00-00') ? '' : explode(' ', $row->updated)[0]; |
964 | 964 | ||
965 | $output .= '<tr>'; |
965 | $output .= '<tr>'; |
966 | $output .= ' <td><a href="?goto='.urlencode($row->id).'" onclick="openAndSelectNode('.js_escape($row->id).', '.js_escape($parent).'); return false;">'.htmlentities($show_id).'</a>'; |
966 | $output .= ' <td><a href="?goto='.urlencode($row->id).'" onclick="openAndSelectNode('.js_escape($row->id).', '.js_escape($parent).'); return false;">'.htmlentities($show_id).'</a>'; |
967 | if ($enable_weid_presentation && ($parentNS == 'oid') && $objParent->isRoot()) { |
967 | if ($enable_weid_presentation && ($parentNS == 'oid') && $objParent->isRoot()) { |
968 | // To save space horizontal space, the WEIDs were written below the OIDs |
968 | // To save space horizontal space, the WEIDs were written below the OIDs |