mirror of
https://github.com/rsyslog/loganalyzer.git
synced 2025-09-26 03:09:21 +02:00
removed obselete stuff in index template
This commit is contained in:
parent
ce342097d8
commit
20e1a13824
@ -544,7 +544,7 @@ if ( isset($content['Sources'][$currentSourceID]) )
|
||||
$content['syslogmessages'][$counter]['values'][$mycolkey]['popupcaptionjs'] = EscapeQuotesFromString($content['syslogmessages'][$counter]['values'][$mycolkey]['popupcaption']);
|
||||
$content['syslogmessages'][$counter]['values'][$mycolkey]['hasdetails'] = "true";
|
||||
$content['syslogmessages'][$counter]['values'][$mycolkey]['detailimagealign'] = "left"; // Other alignment needed!
|
||||
|
||||
/* DetailPopup Code not needed anymore
|
||||
foreach($content['syslogmessages'][$counter]['values'] as $mykey => $myfield)
|
||||
{
|
||||
// Set Caption!
|
||||
@ -578,6 +578,7 @@ if ( isset($content['Sources'][$currentSourceID]) )
|
||||
else // Just set field value
|
||||
$content['syslogmessages'][$counter]['values'][$mycolkey]['messagesdetails'][$myIndex]['detailfieldvalue'] = isset($myfield['rawfieldvalue']) ? GetStringWithHTMLCodes($myfield['rawfieldvalue']) : GetStringWithHTMLCodes($myfield['fieldvalue']);
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
if ( strlen($content['searchstr']) > 0 )
|
||||
|
@ -121,7 +121,6 @@ $content['LN_MENU_NORMALVIEW'] = "Standard Anzeige";
|
||||
$content['LN_MENU_STATISTICS'] = "Statistiken";
|
||||
$content['LN_MENU_CLICKTOEXPANDMENU'] = "Klicken Sie das Icon um das Menü anzuzeigen";
|
||||
|
||||
|
||||
// Index Site
|
||||
$content['LN_ERROR_INSTALLFILEREMINDER'] = "Warnung! Sie haben das Installationsskript 'install.php' noch nicht aus dem LogAnalyzer Hauptordner entfernt!";
|
||||
$content['LN_TOP_NUM'] = "No.";
|
||||
@ -140,7 +139,7 @@ $content['LN_VIEW_FILTERFOR'] = "Filtere Meldungen nach ";
|
||||
$content['LN_VIEW_SEARCHFOR'] = "Suche online nach ";
|
||||
$content['LN_VIEW_SEARCHFORGOOGLE'] = "Durchsuche Google nach ";
|
||||
$content['LN_GEN_MESSAGEDETAILS'] = "Meldungsdetails";
|
||||
$content['LN_VIEW_ADDTOFILTER'] = "Fü '%1' zur Filterliste hinzu";
|
||||
$content['LN_VIEW_ADDTOFILTER'] = "Füge '%1' zur Filterliste hinzu";
|
||||
$content['LN_VIEW_EXCLUDEFILTER'] = "Entferne '%1' von der Filterliste";
|
||||
$content['LN_VIEW_FILTERFORONLY'] = "Filtere nur nach '%1'";
|
||||
$content['LN_VIEW_SHOWALLBUT'] = "Anzeige aller Meldungen, ausgenommen '%1'";
|
||||
|
@ -23,25 +23,6 @@
|
||||
<!-- END Search -->
|
||||
</ul>
|
||||
<script> CreateMenuFunction( "#openmenu_searches", "#menu_searches", true );</script>
|
||||
|
||||
<!-- BEGIN DISABLED -->
|
||||
<div id="menu">
|
||||
<ul>
|
||||
<li><img src="{MENU_NAV_CLOSE}" align="left" width="16" height="16" title="{LN_GEN_PREDEFINEDSEARCHES}" class="SelectSavedFilter" OnClick="ToggleDisplayTypeById('menu_presearches');">
|
||||
<ul class="with_border" id="menu_presearches">
|
||||
<li class="cellmenu1">
|
||||
<h2>{LN_GEN_PREDEFINEDSEARCHES}</h2>
|
||||
<!-- BEGIN Search -->
|
||||
<li class="topmenu3" OnMouseMove="ToggleDisplayEnhanceTimeOut('menu_presearches');">
|
||||
<a href="?{SearchQuery}{additional_url_sourceonly}" target="_top">{DisplayName}</a>
|
||||
</li>
|
||||
<!-- END Search -->
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- END DISABLED -->
|
||||
|
||||
</td>
|
||||
<!-- ENDIF EnablePredefinedSearches="true" -->
|
||||
<td align="center" nowrap valign="top">
|
||||
@ -55,39 +36,31 @@
|
||||
<button id="buttonlucky"><span class="ui-icon ui-icon-star" title="{LN_SEARCH}" style="float:left;"></span><span class="ui-button-text">{SearchCustomButtonCaption}</span></button>
|
||||
<button id="buttonreset"><span class="ui-icon ui-icon-power" title="{LN_SEARCH}" style="float:left;"></span><span class="ui-button-text">{LN_SEARCH_RESET}</span></button>
|
||||
<button id="buttonhighlight"><span class="ui-button-text">{LN_HIGHLIGHT}</span></button>
|
||||
<script>
|
||||
CreateLinkFunction( "#buttonlucky", "?search={LN_SEARCH}&filter={SearchCustomButtonSearch}{additional_url_sourceonly}");
|
||||
// Custom Buttons
|
||||
$("#buttonsearch").button()
|
||||
.click(function() {
|
||||
// Perform Button Click now!
|
||||
window.location.href = $(ui.item).find('form').submit();
|
||||
// Make sure to return false here or the click registration above gets invoked.
|
||||
return false;
|
||||
})
|
||||
$("#buttonreset").button()
|
||||
.click(function() {
|
||||
// Reset search form
|
||||
ResetFormValues('searchform');
|
||||
// Make sure to return false here or the click registration above gets invoked.
|
||||
return false;
|
||||
})
|
||||
$("#buttonhighlight").button()
|
||||
.click(function() {
|
||||
// Toggle highlight visibility
|
||||
togglevisibility('HightLightArea');
|
||||
// Make sure to return false here or the click registration above gets invoked.
|
||||
return false;
|
||||
})
|
||||
</script>
|
||||
<!-- BEGIN DISABLED -->
|
||||
</a>
|
||||
<input id="buttonsearch" name="search" type="submit" value="{LN_SEARCH}" class="SearchFormControl">
|
||||
<input name="search" type="submit" value="{LN_SEARCH}" class="SearchFormControl">
|
||||
<a href="?search={LN_SEARCH}&filter={SearchCustomButtonSearch}{additional_url_sourceonly}" target="_top"><input name="lucky" type="button" value="{SearchCustomButtonCaption}" class="SearchFormControl"></a>
|
||||
<input type="button" value="{LN_SEARCH_RESET}" class="SearchFormControl" OnClick="ResetFormValues('searchform');">
|
||||
<input type="button" value="{LN_HIGHLIGHT}" class="SearchFormControl" OnClick="togglevisibility('HightLightArea');">
|
||||
<!-- END DISABLED -->
|
||||
<script>
|
||||
CreateLinkFunction( "#buttonlucky", "?search={LN_SEARCH}&filter={SearchCustomButtonSearch}{additional_url_sourceonly}");
|
||||
// Custom Buttons
|
||||
$("#buttonsearch").button()
|
||||
.click(function() {
|
||||
// Perform Button Click now!
|
||||
window.location.href = $(ui.item).find('form').submit();
|
||||
// Make sure to return false here or the click registration above gets invoked.
|
||||
return false;
|
||||
})
|
||||
$("#buttonreset").button()
|
||||
.click(function() {
|
||||
// Reset search form
|
||||
ResetFormValues('searchform');
|
||||
// Make sure to return false here or the click registration above gets invoked.
|
||||
return false;
|
||||
})
|
||||
$("#buttonhighlight").button()
|
||||
.click(function() {
|
||||
// Toggle highlight visibility
|
||||
togglevisibility('HightLightArea');
|
||||
// Make sure to return false here or the click registration above gets invoked.
|
||||
return false;
|
||||
})
|
||||
</script>
|
||||
<br>
|
||||
</td>
|
||||
<td nowrap align="left" nowrap valign="top">
|
||||
@ -308,14 +281,8 @@
|
||||
<td align="{FieldAlign}" class="{fieldcssclass} gridline" {fieldbgcolor} valign="top" {isnowrap}>
|
||||
|
||||
<!-- IF hasbuttons="true" -->
|
||||
|
||||
<!-- IF hasdropdownbutton="true" -->
|
||||
<button id="button_menu_{FieldColumn}_{uid}"><span class="ui-icon ui-icon-circle-triangle-s" title="{LN_GEN_AVAILABLESEARCHES}"></span></button>
|
||||
<!-- BEGIN DISABLED -->
|
||||
<div style="position: relative;">
|
||||
<img class="inlinebutton" src="{MENU_NAV_CLOSE}" width="16" height="16" title="{LN_GEN_AVAILABLESEARCHES}" OnClick="ToggleDisplayTypeById('menu_{FieldColumn}_{uid}');">
|
||||
</div>
|
||||
<!-- END DISABLED -->
|
||||
<!-- ENDIF hasdropdownbutton="true" -->
|
||||
|
||||
<ul id="menu_{FieldColumn}_{uid}" style="position:absolute;z-index:99">
|
||||
@ -328,43 +295,11 @@
|
||||
<!-- END buttons -->
|
||||
</ul>
|
||||
<script> CreateMenuFunction( "#button_menu_{FieldColumn}_{uid}", "#menu_{FieldColumn}_{uid}", true );</script>
|
||||
|
||||
<!-- BEGIN DISABLED -->
|
||||
<div id="menu" style="position: absolute;">
|
||||
<ul>
|
||||
<li>
|
||||
<ul class="with_border" id="menu_{FieldColumn}_{uid}">
|
||||
<li class="cellmenu1" OnMouseMove="ToggleDisplayEnhanceTimeOut('menu_{FieldColumn}_{uid}');">
|
||||
<h2>{LN_GEN_AVAILABLESEARCHES}</h2>
|
||||
<!-- BEGIN buttons -->
|
||||
<li class="topmenu3" OnMouseMove="ToggleDisplayEnhanceTimeOut('menu_{FieldColumn}_{uid}');">
|
||||
<img align="left" src="{IconSource}" width="16" height="16" vspace="2"><a href="{ButtonUrl}<!-- IF ButtonAppendUrl="true" -->{additional_url_sourceonly}<!-- ENDIF ButtonAppendUrl="true" -->" target="{ButtonTarget}" OnClick="ToggleDisplayOffTypeById('menu_{FieldColumn}_{uid}');">{DisplayName}</a>
|
||||
</li>
|
||||
<!-- END buttons -->
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- END DISABLED -->
|
||||
|
||||
<!-- BEGIN DISABLED -->
|
||||
<!-- IF searchonline="true" -->
|
||||
<button id="onlinesearch_{FieldColumn}_{uid}"><img style="position:relative; top:0px; left:0px;" src="{MENU_EARTH_FIND}" width="16" height="16"></button>
|
||||
<script> CreateLinkFunction( "#onlinesearch_{FieldColumn}_{uid}", "{SearchOnlineUrl}" );</script>
|
||||
<!-- BEGIN DISABLED2 -->
|
||||
<a href="{SearchOnlineUrl}" target="_blank"><img style="position:relative; top:0px; left:0px;" src="{MENU_EARTH_FIND}" width="16" height="16" vspace="0" hspace="0"></a>
|
||||
<!-- END DISABLED2 -->
|
||||
<!-- ENDIF searchonline="true" -->
|
||||
<!-- END DISABLED -->
|
||||
|
||||
<!-- ENDIF hasbuttons="true" -->
|
||||
|
||||
<!-- IF ismessagefield="true" -->
|
||||
<button id="detaillink_{FieldColumn}_{uid}"><img style="position:relative; top:0px; left:0px;" src="{MENU_LINK_VIEW}" width="16" height="16" title="{LN_GEN_MESSAGEDETAILS}"></button>
|
||||
<script> CreateLinkFunction( "#detaillink_{FieldColumn}_{uid}", "{detaillink}{additional_url_sourceonly}{additional_url}" );</script>
|
||||
<!-- BEGIN DISABLED -->
|
||||
<a href="{detaillink}{additional_url_sourceonly}{additional_url}"><img align="{detailimagealign}" vspace="0" hspace="2" src="{MENU_LINK_VIEW}" width="16" height="16" border="0" title="{LN_GEN_MESSAGEDETAILS}"></a>
|
||||
<!-- END DISABLED -->
|
||||
<!-- ENDIF ismessagefield="true" -->
|
||||
|
||||
<!-- IF hasdetails="false" -->
|
||||
@ -372,9 +307,6 @@
|
||||
<!-- IF hasbuttons="true" -->
|
||||
<button id="button_menu_{FieldColumn}_{uid}">{fieldvalue}</button>
|
||||
<script> CreateMenuFunction( "#button_menu_{FieldColumn}_{uid}", "#menu_{FieldColumn}_{uid}", true );</script>
|
||||
<!-- BEGIN DISABLED -->
|
||||
<a href="#search" OnClick="ToggleDisplayTypeById('menu_{FieldColumn}_{uid}');" class="{fieldcssclass}">{fieldvalue}</a>
|
||||
<!-- END DISABLED -->
|
||||
<!-- ENDIF hasbuttons="true" -->
|
||||
|
||||
<!-- IF hasbuttons!="true" -->
|
||||
@ -398,23 +330,6 @@
|
||||
$( "#dialog" ).focus();
|
||||
event.preventDefault(); });
|
||||
</script>
|
||||
|
||||
<!-- BEGIN DISABLED -->
|
||||
<div OnClick="GoToPopupTarget('{detaillink}{additional_url_sourceonly}',this);" style="cursor:pointer" class="syslogdetails" OnMouseMove="movePopupWindow(event,'details_{FieldColumn}_{uid}',500, this);" OnMouseOver="initPopupWindow(this);" OnMouseOut="FinishPopupWindow(this);">{fieldvalue}<br />-->
|
||||
<span id="details_{FieldColumn}_{uid}" OnMouseOver="HoveringPopup(event,this);" OnMouseOut="FinishHoveringPopup(event,this);">
|
||||
<table cellpadding="0" cellspacing="1" border="0" width="500" align="left" class="with_border_alternate" OnMouseMove="disableEventPropagation();">
|
||||
<tr><td colspan="2" class="cellmenu1" align="center"><B>{popupcaption}</B></td></tr>
|
||||
<!-- BEGIN messagesdetails -->
|
||||
<tr>
|
||||
<td width="150" nowrap class="cellmenu2_naked">{detailfieldtitle}</td>
|
||||
<td width="100%" class="{detailscssclass}">{detailfieldvalue}</td>
|
||||
</tr>
|
||||
<!-- END messagesdetails -->
|
||||
</table>
|
||||
</span>
|
||||
</div>
|
||||
<!-- END DISABLED -->
|
||||
|
||||
<!-- ENDIF hasdetails="true" -->
|
||||
|
||||
</td>
|
||||
|
Loading…
x
Reference in New Issue
Block a user