Added icons into header menu and added menu entries into language system

Done minor other adjustments in the default css of the dark and default style
This commit is contained in:
Andre Lorbach 2008-07-14 11:30:09 +02:00
parent 3ad9adb820
commit 48a6ef124e
8 changed files with 59 additions and 12 deletions

View File

@ -472,7 +472,8 @@ function InitFrontEndVariables()
$content['MENU_SELECTION_ENABLED'] = $content['BASEPATH'] . "images/icons/selection_delete.png";
$content['MENU_TEXT_FIND'] = $content['BASEPATH'] . "images/icons/text_find.png";
$content['MENU_NETWORK'] = $content['BASEPATH'] . "images/icons/earth_network.png";
$content['MENU_HELP'] = $content['BASEPATH'] . "images/icons/help.png";
$content['MENU_KB'] = $content['BASEPATH'] . "images/icons/books.png";
$content['MENU_PAGER_BEGIN'] = $content['BASEPATH'] . "images/icons/media_beginning.png";
$content['MENU_PAGER_PREVIOUS'] = $content['BASEPATH'] . "images/icons/media_rewind.png";

View File

@ -57,6 +57,16 @@ $content['LN_GEN_SOURCE_DB'] = "Datenbank";
$content['LN_GEN_DB_SQLITE'] = "SQLite 2";
$content['LN_GEN_SELECTVIEW'] = "Select View";
// Topmenu Entries
$content['LN_MENU_SEARCH'] = "Suchen";
$content['LN_MENU_SHOWEVENTS'] = "Show Events";
$content['LN_MENU_HELP'] = "Hilfe";
$content['LN_MENU_SEARCHINKB'] = "Search in Knowledge Base";
$content['LN_MENU_LOGIN'] = "Login";
$content['LN_MENU_ADMINCENTER'] = "Admin Center";
$content['LN_MENU_LOGOFF'] = "Logoff";
$content['LN_MENU_LOGGEDINAS'] = "Logged in as";
// Index Site
$content['LN_ERROR_INSTALLFILEREMINDER'] = "Warnung! Du hast das Installationsscript 'install.php' noch nicht aus dem phpLogCon Hauptordner entfernt!";
$content['LN_TOP_NUM'] = "No.";

View File

@ -58,6 +58,15 @@ $content['LN_GEN_DB_INFORMIX'] = "IBM Informix Dynamic Server";
$content['LN_GEN_DB_SQLITE'] = "SQLite 2";
$content['LN_GEN_SELECTVIEW'] = "Select View";
// Topmenu Entries
$content['LN_MENU_SEARCH'] = "Search";
$content['LN_MENU_SHOWEVENTS'] = "Show Events";
$content['LN_MENU_HELP'] = "Help";
$content['LN_MENU_SEARCHINKB'] = "Search in Knowledge Base";
$content['LN_MENU_LOGIN'] = "Login";
$content['LN_MENU_ADMINCENTER'] = "Admin Center";
$content['LN_MENU_LOGOFF'] = "Logoff";
$content['LN_MENU_LOGGEDINAS'] = "Logged in as";
// Main Index Site
$content['LN_ERROR_INSTALLFILEREMINDER'] = "Warning! You still have NOT removed the 'install.php' from your phpLogCon main directory!";

View File

@ -61,6 +61,16 @@ $content['LN_GEN_DB_INFORMIX'] = "IBM Informix Dynamic Server";
$content['LN_GEN_DB_SQLITE'] = "SQLite 2";
$content['LN_GEN_SELECTVIEW'] = "Visão";
// Topmenu Entries
$content['LN_MENU_SEARCH'] = "Search";
$content['LN_MENU_SHOWEVENTS'] = "Show Events";
$content['LN_MENU_HELP'] = "Help";
$content['LN_MENU_SEARCHINKB'] = "Search in Knowledge Base";
$content['LN_MENU_LOGIN'] = "Login";
$content['LN_MENU_ADMINCENTER'] = "Admin Center";
$content['LN_MENU_LOGOFF'] = "Logoff";
$content['LN_MENU_LOGGEDINAS'] = "Logged in as";
// Main Index Site
$content['LN_ERROR_INSTALLFILEREMINDER'] = "Atenção! Você ainda NÃO removeu o arquivo 'install.php' do diretório de seu phpLogCon!";
$content['LN_TOP_NUM'] = "Não.";
@ -157,4 +167,13 @@ $content['LN_DETAILS_FORSYSLOGMSG'] = "Detalhes para a mensagem com id";
$content['LN_DETAILS_DETAILSFORMSG'] = "Detalhes para a mensagem com id";
$content['LN_DETAIL_BACKTOLIST'] = "Voltar para a lista";
?>
// Login Site
$content['LN_LOGIN_DESCRIPTION'] = "Use this form to login into phpLogCon. ";
$content['LN_LOGIN_TITLE'] = "Login";
$content['LN_LOGIN_USERNAME'] = "Username";
$content['LN_LOGIN_PASSWORD'] = "Password";
$content['LN_LOGIN_SAVEASCOOKIE'] = "Stay logged on";
$content['LN_LOGIN_ERRWRONGPASSWORD'] = "Wrong username or password!";
$content['LN_LOGIN_USERPASSMISSING'] = "Username or password not given";
?>

View File

@ -2,7 +2,7 @@
<table width="100%" border="0" cellspacing="1" cellpadding="0" class="mainfooter">
<tr>
<td align="center" class="line0">Created 2008 - By <a href="http://www.adiscon.com" target="_blank">Adiscon GmbH</a></td>
<td align="center" class="line0">Made by <a href="http://www.adiscon.com" target="_blank">Adiscon GmbH</a> (2008)</td>
<td align="center" class="line1">
&nbsp;<a href="http://www.phplogcon.org" target="_blank">phpLogCon</A> Version {BUILDNUMBER}
</td>
@ -10,12 +10,12 @@
&nbsp;<B>Partners:</B>
</td>
<td align="center" class="line1">
&nbsp;<a href="http://www.rsyslog.com" target="_blank">rsyslog</a> |
&nbsp;<a href="http://www.rsyslog.com" target="_blank">Rsyslog</a> |
&nbsp;<a href="http://www.winsyslog.com" target="_blank">WinSyslog</a>
</td>
<!-- IF ShowPageRenderStats="true" -->
<td align="center" class="line2">
Page rendered in <B>{PAGERENDERTIME}</B> seconds
Page rendered: <B>{PAGERENDERTIME}</B> seconds
&nbsp;|&nbsp;DB queries: <B>{TOTALQUERIES}</B>
&nbsp;|&nbsp;GZIP enabled: <B>{GzipCompressionEnmabled}</B>
</td>

View File

@ -1,22 +1,26 @@
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td class="topmenu1" nowrap align="center" width="100"><a class="topmenu1_link" href="search.php" target="_top">Search</a></td>
<td class="topmenu1" nowrap align="center" width="100"><a class="topmenu1_link" href="index.php?{additional_url}" target="_top">Show Events</a></td>
<td class="topmenu1" nowrap align="center" width="100"><a class="topmenu1_link" href="search.php" target="_top"><img align="left" src="{MENU_SEARCH}" width="16" height="16" vspace="0">{LN_MENU_SEARCH}</a></td>
<td class="topmenu1" nowrap align="center" width="100"><a class="topmenu1_link" href="index.php?{additional_url}" target="_top"><img align="left" src="{MENU_HOMEPAGE}" width="16" height="16" vspace="0">{LN_MENU_SHOWEVENTS}</a></td>
<!-- <td class="topmenu1" nowrap align="center" width="125"><a class="topmenu1_link" href="" target="_top">Show SysLogTags</a></td>-->
<!-- <td class="topmenu1" nowrap align="center" width="100"><a class="topmenu1_link" href="" target="_top">User Options</a></td>-->
<!-- <td class="topmenu1" nowrap align="center" width="125"><a class="topmenu1_link" href="" target="_top">Database Options</a></td>-->
<!-- <td class="topmenu1" nowrap align="center" width="100"><a class="topmenu1_link" href="?" target="_top">Refresh</a></td>-->
<td class="topmenu1" nowrap align="center" width="100"><a class="topmenu1_link" href="http://wiki.rsyslog.com/index.php/PhpLogCon" target="phplogcon_help">Help</a></td>
<td class="topmenu1" nowrap align="center" width="200"><a class="topmenu1_link" href="http://kb.monitorware.com/search.php" target="_blank">Search in Knowledge Base</a></td>
<td class="topmenu1" nowrap align="center" width="75"><a class="topmenu1_link" href="http://wiki.rsyslog.com/index.php/PhpLogCon" target="phplogcon_help"><img align="left" src="{MENU_HELP}" width="16" height="16" vspace="0">{LN_MENU_HELP}</a></td>
<td class="topmenu1" nowrap align="center" width="200"><a class="topmenu1_link" href="http://kb.monitorware.com/search.php" target="_blank"><img align="left" src="{MENU_KB}" width="16" height="16" vspace="0">{LN_MENU_SEARCHINKB}</a></td>
<!-- IF UserDBEnabled="true" -->
<!-- IF SESSION_LOGGEDIN!="true" -->
<td class="topmenu1" nowrap align="center" width="100"><a class="topmenu1_link" href="login.php" target="_top">Login</a></td>
<td class="topmenu1" nowrap align="center" width="100"><a class="topmenu1_link" href="login.php" target="_top"><img align="left" src="{MENU_ADMINLOGOFF}" width="16" height="16" vspace="0">{LN_MENU_LOGIN}</a></td>
<td class="topmenuend" nowrap align="center" width="max">&nbsp;</td>
<!-- ENDIF SESSION_LOGGEDIN!="true" -->
<!-- IF SESSION_LOGGEDIN="true" -->
<td class="topmenu1" nowrap align="center" width="100"><a class="topmenu1_link" href="admin/index.php" target="_top">Admin Center</a></td>
<td class="topmenu1" nowrap align="center" width="100"><a class="topmenu1_link" href="login.php?op=logoff" target="_top">Logoff</a></td>
<td class="topmenu1" nowrap align="center" width="110"><a class="topmenu1_link" href="admin/index.php" target="_top"><img align="left" src="{MENU_ADMINENTRY}" width="16" height="16" vspace="0">{LN_MENU_ADMINCENTER}</a></td>
<td class="topmenu1" nowrap align="center" width="100"><a class="topmenu1_link" href="login.php?op=logoff" target="_top"><img align="left" src="{MENU_ADMINLOGOFF}" width="16" height="16" vspace="0">{LN_MENU_LOGOFF}</a></td>
<td class="topmenuend" nowrap align="center" width="max">{LN_MENU_LOGGEDINAS} "{SESSION_USERNAME}"</td>
<!-- ENDIF SESSION_LOGGEDIN="true" -->
<!-- ENDIF UserDBEnabled="true" -->
<!-- IF UserDBEnabled!="true" -->
<td class="topmenuend" nowrap align="center" width="max">&nbsp;</td>
<!-- ENDIF UserDBEnabled!="true" -->
</tr>
</table>

View File

@ -196,6 +196,8 @@ font
height: 20px;
border:1px ridge;
border-color: #D79993 #290604 #290604 #D79993;
padding: 2px 2px 0px 2px;
vertical-align: middle;
font: 10px Verdana, Arial, Helvetica, sans-serif;
color: #FFFFFF;

View File

@ -199,6 +199,8 @@ font
height: 20px;
border:1px ridge;
border-color: #79AABE #09506C #79AABE #79AABE;
padding: 2px 2px 0px 2px;
vertical-align: middle;
font: 10px Verdana, Arial, Helvetica, sans-serif;
color: #FFFFFF;