From 5b2d503e7e20e2ff1c99ae51a5e9f012e2df3047 Mon Sep 17 00:00:00 2001 From: Andre Lorbach Date: Wed, 16 Jul 2008 17:25:00 +0200 Subject: [PATCH] Started adding main options into the template --- src/include/functions_themes.php | 1 + src/lang/en/admin.php | 23 ++++++ src/templates/admin/admin_index.html | 106 ++++++++++++++++++++++++++- 3 files changed, 127 insertions(+), 3 deletions(-) diff --git a/src/include/functions_themes.php b/src/include/functions_themes.php index 46990fd..c87a107 100644 --- a/src/include/functions_themes.php +++ b/src/include/functions_themes.php @@ -64,6 +64,7 @@ function CreateLanguageList() // Init Language DisplayName $content['USERLANG'][$i]['DisplayName'] = GetLanguageDisplayName( $alldirectories[$i] ); + $content['LANGUAGES'][$i]['DisplayName'] = GetLanguageDisplayName( $alldirectories[$i] ); } } diff --git a/src/lang/en/admin.php b/src/lang/en/admin.php index c4d8de7..300886e 100644 --- a/src/lang/en/admin.php +++ b/src/lang/en/admin.php @@ -41,6 +41,29 @@ $content['LN_ADMIN_ERROR_NOTALLOWED'] = "You are not allowed to access this page $content['LN_DELETEYES'] = "Yes"; $content['LN_DELETENO'] = "No"; $content['LN_GEN_ACTIONS'] = "Available Actions"; +$content['LN_ADMIN_SEND'] = "Send changes"; + +// General Options +$content['LN_ADMIN_MISC'] = "Miscellaneous Options"; +$content['LN_GEN_SHOWDEBUGMSG'] = "Show Debug messages"; +$content['LN_GEN_DEBUGGRIDCOUNTER'] = "Show Debug Gridcounter"; +$content['LN_GEN_SHOWPAGERENDERSTATS'] = "Show Pagerenderstats"; +$content['LN_GEN_ENABLEGZIP'] = "Enable GZIP Compressed Output"; +$content['LN_GEN_DEBUGUSERLOGIN'] = "Debug Userlogin"; +$content['LN_ADMIN_FRONTEND'] = "Frontend Options"; +$content['LN_GEN_WEBSTYLE'] = "Default selected style"; +$content['LN_GEN_SELLANGUAGE'] = "Default selected language"; +$content['LN_GEN_PREPENDTITLE'] = "Prepend this string in title"; +$content['LN_GEN_USETODAY'] = "Use Today and Yesterday in timefields"; +$content['LN_GEN_DETAILPOPUPS'] = "Use Popup to display the full messagedetails"; +$content['LN_GEN_MSGCHARLIMIT'] = "Character limit of the message in main view"; +$content['LN_GEN_ENTRIESPERPAGE'] = "Number of entries per page"; +$content['LN_GEN_AUTORELOADSECONDS'] = "Enable autoreload after seconds"; +$content['LN_GEN_IPADRRESOLVE'] = "Resolve IP Addresses using DNS"; +$content['LN_GEN_CUSTBTNCAPT'] = "Custom search caption"; +$content['LN_GEN_CUSTBTNSRCH'] = "Custom search string"; +$content['LN_GEN_'] = ""; +$content['LN_GEN_'] = ""; // User Center $content['LN_USER_CENTER'] = "User Options"; diff --git a/src/templates/admin/admin_index.html b/src/templates/admin/admin_index.html index 9446a1c..78c9bac 100644 --- a/src/templates/admin/admin_index.html +++ b/src/templates/admin/admin_index.html @@ -2,10 +2,110 @@ - + - -
{LN_DETAILS_FORSYSLOGMSG}{LN_ADMINMENU_GENOPT}
+

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ {LN_ADMIN_FRONTEND}
{LN_GEN_WEBSTYLE} + +
{LN_GEN_SELLANGUAGE} + +
{LN_GEN_PREPENDTITLE}
{LN_GEN_MSGCHARLIMIT}
{LN_GEN_ENTRIESPERPAGE}
{LN_GEN_AUTORELOADSECONDS}
{LN_GEN_CUSTBTNCAPT}
{LN_GEN_CUSTBTNSRCH}
{LN_GEN_USETODAY}
{LN_GEN_DETAILPOPUPS}
{LN_GEN_IPADRRESOLVE}
+ {LN_ADMIN_MISC}
{LN_GEN_SHOWDEBUGMSG}
{LN_GEN_DEBUGGRIDCOUNTER}
{LN_GEN_SHOWPAGERENDERSTATS}
{LN_GEN_ENABLEGZIP}
{LN_GEN_DEBUGUSERLOGIN}
+ + +
+ +
+ +

+ \ No newline at end of file