mirror of
https://github.com/rsyslog/loganalyzer.git
synced 2025-09-26 11:19:26 +02:00
Fixed image alignment problem in the main view once and for all!
This commit is contained in:
parent
1f0fe601c6
commit
960e2f62ef
@ -322,6 +322,7 @@ if ( isset($content['Sources'][$currentSourceID]) ) // && $content['Sources'][$c
|
||||
$content['syslogmessages'][$counter]['values'][$mycolkey]['fieldbgcolor'] = "";
|
||||
$content['syslogmessages'][$counter]['values'][$mycolkey]['isnowrap'] = "nowrap";
|
||||
$content['syslogmessages'][$counter]['values'][$mycolkey]['hasdetails'] = "false";
|
||||
$content['syslogmessages'][$counter]['values'][$mycolkey]['detailimagealign'] = "TOP";
|
||||
|
||||
// Set default link
|
||||
$content['syslogmessages'][$counter]['values'][$mycolkey]['detaillink'] = "#";
|
||||
@ -472,7 +473,8 @@ if ( isset($content['Sources'][$currentSourceID]) ) // && $content['Sources'][$c
|
||||
{
|
||||
$content['syslogmessages'][$counter]['values'][$mycolkey]['popupcaption'] = GetAndReplaceLangStr( $content['LN_GRID_POPUPDETAILS'], $logArray[SYSLOG_UID]);
|
||||
$content['syslogmessages'][$counter]['values'][$mycolkey]['hasdetails'] = "true";
|
||||
|
||||
$content['syslogmessages'][$counter]['values'][$mycolkey]['detailimagealign'] = "left"; // Other alignment needed!
|
||||
|
||||
foreach($content['syslogmessages'][$counter]['values'] as $mykey => $myfield)
|
||||
{
|
||||
// Set Caption!
|
||||
|
@ -244,7 +244,7 @@
|
||||
<!-- ENDIF hasbuttons="true" -->
|
||||
|
||||
<!-- IF ismessagefield="true" -->
|
||||
<a href="{detaillink}{additional_url_sourceonly}" class="syslogdetails"><img align="left" vspace="0" hspace="2" src="{MENU_LINK_VIEW}" width="16" height="16" border="0" title="{LN_GEN_MESSAGEDETAILS}"></a>
|
||||
<a href="{detaillink}{additional_url_sourceonly}" class="syslogdetails"><img align="{detailimagealign}" vspace="0" hspace="2" src="{MENU_LINK_VIEW}" width="16" height="16" border="0" title="{LN_GEN_MESSAGEDETAILS}"></a>
|
||||
<!-- ENDIF ismessagefield="true" -->
|
||||
|
||||
<!-- IF hasdetails="false" -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user