Added Admin Index and Menu, and made necessary changes to the other templates
Added Icons, also into the menu
125
src/admin/index.php
Normal file
@ -0,0 +1,125 @@
|
||||
<?php
|
||||
/*
|
||||
*********************************************************************
|
||||
* phpLogCon - http://www.phplogcon.org
|
||||
* -----------------------------------------------------------------
|
||||
* Admin Index File
|
||||
*
|
||||
* -> Shows ...
|
||||
*
|
||||
* All directives are explained within this file
|
||||
*
|
||||
* Copyright (C) 2008 Adiscon GmbH.
|
||||
*
|
||||
* This file is part of phpLogCon.
|
||||
*
|
||||
* PhpLogCon is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* PhpLogCon is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with phpLogCon. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* A copy of the GPL can be found in the file "COPYING" in this
|
||||
* distribution
|
||||
*********************************************************************
|
||||
*/
|
||||
|
||||
// *** Default includes and procedures *** //
|
||||
define('IN_PHPLOGCON', true);
|
||||
$gl_root_path = './../';
|
||||
|
||||
// Now include necessary include files!
|
||||
include($gl_root_path . 'include/functions_common.php');
|
||||
include($gl_root_path . 'include/functions_frontendhelpers.php');
|
||||
include($gl_root_path . 'include/functions_filters.php');
|
||||
|
||||
// Include LogStream facility
|
||||
// include($gl_root_path . 'classes/logstream.class.php');
|
||||
|
||||
// Set PAGE to be ADMINPAGE!
|
||||
define('IS_ADMINPAGE', true);
|
||||
$content['IS_ADMINPAGE'] = true;
|
||||
|
||||
InitPhpLogCon();
|
||||
InitSourceConfigs();
|
||||
InitFrontEndDefaults(); // Only in WebFrontEnd
|
||||
InitFilterHelpers(); // Helpers for frontend filtering!
|
||||
|
||||
// Init admin langauge file now!
|
||||
IncludeLanguageFile( $gl_root_path . '/lang/' . $LANG . '/admin.php' );
|
||||
|
||||
// --- Define Extra Stylesheet!
|
||||
//$content['EXTRA_STYLESHEET'] = '<link rel="stylesheet" href="css/highlight.css" type="text/css">' . "\r\n";
|
||||
//$content['EXTRA_STYLESHEET'] .= '<link rel="stylesheet" href="css/menu.css" type="text/css">';
|
||||
// ---
|
||||
|
||||
// --- CONTENT Vars
|
||||
/*
|
||||
if ( isset($_GET['uid']) )
|
||||
$content['uid_current'] = intval($_GET['uid']);
|
||||
else
|
||||
$content['uid_current'] = UID_UNKNOWN;
|
||||
|
||||
// Copy UID for later use ...
|
||||
$content['uid_fromgetrequest'] = $content['uid_current'];
|
||||
|
||||
// Init Pager variables
|
||||
$content['uid_first'] = UID_UNKNOWN;
|
||||
$content['uid_last'] = UID_UNKNOWN;
|
||||
$content['main_pagerenabled'] = false;
|
||||
$content['main_pager_first_found'] = false;
|
||||
$content['main_pager_previous_found'] = false;
|
||||
$content['main_pager_next_found'] = false;
|
||||
$content['main_pager_last_found'] = false;
|
||||
|
||||
// Set Default reading direction
|
||||
$content['read_direction'] = EnumReadDirection::Backward;
|
||||
|
||||
// If set read direction property!
|
||||
if ( isset($_GET['direction']) )
|
||||
{
|
||||
if ( $_GET['direction'] == "next" )
|
||||
{
|
||||
$content['skiprecords'] = 1;
|
||||
$content['read_direction'] = EnumReadDirection::Backward;
|
||||
}
|
||||
else if ( $_GET['direction'] == "previous" )
|
||||
{
|
||||
$content['skiprecords'] = 1;
|
||||
$content['read_direction'] = EnumReadDirection::Forward;
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
/*
|
||||
// --- BEGIN CREATE TITLE
|
||||
$content['TITLE'] = InitPageTitle();
|
||||
|
||||
if ( $content['messageenabled'] == "true" )
|
||||
{
|
||||
// Append custom title part!
|
||||
$content['TITLE'] .= " :: Details for '" . $content['uid_current'] . "'";
|
||||
}
|
||||
else
|
||||
{
|
||||
// APpend to title Page title
|
||||
$content['TITLE'] .= " :: Unknown uid";
|
||||
}
|
||||
// --- END CREATE TITLE
|
||||
*/
|
||||
|
||||
// --- Parsen and Output
|
||||
InitTemplateParser();
|
||||
$page -> parser($content, "admin/admin_index.html");
|
||||
$page -> output();
|
||||
// ---
|
||||
|
||||
|
||||
?>
|
BIN
src/images/icons/books.png
Normal file
After Width: | Height: | Size: 1005 B |
BIN
src/images/icons/businessman.png
Normal file
After Width: | Height: | Size: 824 B |
Before Width: | Height: | Size: 875 B After Width: | Height: | Size: 875 B |
BIN
src/images/icons/data_edit.png
Normal file
After Width: | Height: | Size: 928 B |
BIN
src/images/icons/document_view.png
Normal file
After Width: | Height: | Size: 759 B |
BIN
src/images/icons/googleicon.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
src/images/icons/help.png
Normal file
After Width: | Height: | Size: 1013 B |
@ -466,7 +466,8 @@ function InitFrontEndVariables()
|
||||
$content['MENU_PREFERENCES'] = $content['BASEPATH'] . "images/icons/preferences.png";
|
||||
$content['MENU_ADMINENTRY'] = $content['BASEPATH'] . "images/icons/star_blue.png";
|
||||
$content['MENU_ADMINLOGOFF'] = $content['BASEPATH'] . "images/icons/exit.png";
|
||||
$content['MENU_ADMINUSERS'] = $content['BASEPATH'] . "images/icons/businessmen.png";
|
||||
$content['MENU_ADMINUSERS'] = $content['BASEPATH'] . "images/icons/businessman.png";
|
||||
$content['MENU_ADMINGROUPS'] = $content['BASEPATH'] . "images/icons/businessmen.png";
|
||||
$content['MENU_SEARCH'] = $content['BASEPATH'] . "images/icons/view.png";
|
||||
$content['MENU_SELECTION_DISABLED'] = $content['BASEPATH'] . "images/icons/selection.png";
|
||||
$content['MENU_SELECTION_ENABLED'] = $content['BASEPATH'] . "images/icons/selection_delete.png";
|
||||
@ -474,6 +475,8 @@ function InitFrontEndVariables()
|
||||
$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_DOCUMENTVIEW'] = $content['BASEPATH'] . "images/icons/document_view.png";
|
||||
$content['MENU_DATAEDIT'] = $content['BASEPATH'] . "images/icons/data_edit.png";
|
||||
|
||||
$content['MENU_PAGER_BEGIN'] = $content['BASEPATH'] . "images/icons/media_beginning.png";
|
||||
$content['MENU_PAGER_PREVIOUS'] = $content['BASEPATH'] . "images/icons/media_rewind.png";
|
||||
|
@ -62,6 +62,7 @@ function InitUserSession()
|
||||
{
|
||||
$content['SESSION_LOGGEDIN'] = true;
|
||||
$content['SESSION_USERNAME'] = $_SESSION['SESSION_USERNAME'];
|
||||
$content['SESSION_ISADMIN'] = $_SESSION['SESSION_ISADMIN'];
|
||||
|
||||
// Successfully logged in
|
||||
return true;
|
||||
|
11
src/templates/admin/admin_index.html
Normal file
@ -0,0 +1,11 @@
|
||||
<!-- INCLUDE include_header.html -->
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center" class="with_border">
|
||||
<tr>
|
||||
<td colspan="3" class="title" nowrap><B>{LN_DETAILS_FORSYSLOGMSG}</B></td>
|
||||
</tr>
|
||||
|
||||
|
||||
</table>
|
||||
|
||||
<!-- INCLUDE include_footer.html -->
|
18
src/templates/admin/admin_menu.html
Normal file
@ -0,0 +1,18 @@
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2">
|
||||
<tr>
|
||||
<td class="topmenu1" nowrap align="center" width="150"><a class="topmenu1_link" href="{BASEPATH}index.php?{additional_url}" target="_top"><img align="left" src="{MENU_HOMEPAGE}" width="16" height="16" vspace="0">{LN_ADMINMENU_HOMEPAGE}</a></td>
|
||||
<td class="topmenu1" nowrap align="center" width="125"><a class="topmenu1_link" href="{BASEPATH}admin/index.php?{additional_url}" target="_top"><img align="left" src="{MENU_PREFERENCES}" width="16" height="16" vspace="0">{LN_ADMINMENU_GENOPT}</a></td>
|
||||
<td class="topmenu1" nowrap align="center" width="125"><a class="topmenu1_link" href="{BASEPATH}admin/sources.php?{additional_url}" target="_top"><img align="left" src="{MENU_DATAEDIT}" width="16" height="16" vspace="0">{LN_ADMINMENU_SOURCEOPT}</a></td>
|
||||
<td class="topmenu1" nowrap align="center" width="110"><a class="topmenu1_link" href="{BASEPATH}admin/views.php?{additional_url}" target="_top"><img align="left" src="{MENU_DOCUMENTVIEW}" width="16" height="16" vspace="0">{LN_ADMINMENU_VIEWSOPT}</a></td>
|
||||
<td class="topmenu1" nowrap align="center" width="125"><a class="topmenu1_link" href="{BASEPATH}admin/searches.php?{additional_url}" target="_top"><img align="left" src="{MENU_TEXT_FIND}" width="16" height="16" vspace="0">{LN_ADMINMENU_SEARCHOPT}</a></td>
|
||||
|
||||
<!-- IF SESSION_ISADMIN="1" -->
|
||||
<td class="topmenu1" nowrap align="center" width="110"><a class="topmenu1_link" href="{BASEPATH}admin/users.php?{additional_url}" target="_top"><img align="left" src="{MENU_ADMINUSERS}" width="16" height="16" vspace="0">{LN_ADMINMENU_USEROPT}</a></td>
|
||||
<td class="topmenu1" nowrap align="center" width="110"><a class="topmenu1_link" href="{BASEPATH}admin/groups.php?{additional_url}" target="_top"><img align="left" src="{MENU_ADMINGROUPS}" width="16" height="16" vspace="0">{LN_ADMINMENU_GROUPOPT}</a></td>
|
||||
<!-- ENDIF SESSION_ISADMIN="1" -->
|
||||
|
||||
<!-- <td class="topmenu1" nowrap align="center" width="100"><a class="topmenu1_link" href="?" target="_top">Refresh</a></td>-->
|
||||
|
||||
<td class="topmenuend" nowrap align="center" width="max"> </td>
|
||||
</tr>
|
||||
</table>
|
@ -29,7 +29,7 @@
|
||||
|
||||
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td colspan="2" background="themes/{user_theme}/images/bg_bottom.gif" height="16"><img src="themes/{user_theme}/images/bg_bottom.gif" height="16"></td>
|
||||
<td colspan="2" background="{BASEPATH}themes/{user_theme}/images/bg_bottom.gif" height="16"><img src="{BASEPATH}themes/{user_theme}/images/bg_bottom.gif" height="16"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
@ -3,8 +3,8 @@
|
||||
<head>
|
||||
<title>{TITLE}</title>
|
||||
{EXTRA_METATAGS}
|
||||
<link rel="stylesheet" href="css/defaults.css" type="text/css">
|
||||
<link rel="stylesheet" href="themes/{user_theme}/main.css" type="text/css">
|
||||
<link rel="stylesheet" href="{BASEPATH}css/defaults.css" type="text/css">
|
||||
<link rel="stylesheet" href="{BASEPATH}themes/{user_theme}/main.css" type="text/css">
|
||||
{EXTRA_STYLESHEET}
|
||||
<script type='text/javascript' src='{BASEPATH}js/common.js'></script>
|
||||
{EXTRA_JAVASCRIPT}
|
||||
@ -13,32 +13,30 @@
|
||||
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="mainheader">
|
||||
<tr>
|
||||
<td rowspan="4" width="500" align="left" valign="top"><a href="index.php"><img src="{BASEPATH}images/main/Header-Logo.png" width="500" height="79" name="HeaderLogo"></a></td>
|
||||
<td rowspan="4" width="500" align="left" valign="top"><a href="{BASEPATH}index.php"><img src="{BASEPATH}images/main/Header-Logo.png" width="500" height="79" name="HeaderLogo"></a></td>
|
||||
<td rowspan="4" width="100%" align="center" nowrap>
|
||||
<b>Satisfied with phpLogCon?</b><br>
|
||||
<form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_s-xclick"> <input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but11.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"> <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"> <input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHRwYJKoZIhvcNAQcEoIIHODCCBzQCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYD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xFgQU9f1GF15NkDG1Ho0vti4HYPnEP4QwDQYJKoZIhvcNAQEBBQAEgYA5lXqasbhAdzl3ctrhfE7UWN7BexXLJHkGoXpIraSH67Lxq7IjFLpmTsz/o6xS5kG7N8hgabWMKKOoObrPU+NSRZEkFsuU1a6X8V3H6E+UZOGb7ctxL6LsnRYDNtRZ5EXNT++U9qliwYOguzPJMbhRvwukcHAlNr+4/63XL3KOWw==-----END PKCS7----- "> </form>
|
||||
Donate and help keep the project alive!
|
||||
</td>
|
||||
|
||||
|
||||
<td width="350" align="center" valign="top" height="20">
|
||||
|
||||
<!-- IF IS_LOGINPAGE!="true" -->
|
||||
<form action="userchange.php" method="get" name="styleidform">
|
||||
<table width="350" border="0" cellspacing="0" cellpadding="0" class="with_border" align="right">
|
||||
<tr>
|
||||
<td class="cellmenu1" width="150" nowrap><B> {LN_MAIN_SELECTSTYLE} </B></td>
|
||||
<td align="right">
|
||||
<input type="hidden" name="op" value="changestyle">
|
||||
<select name="stylename" size="1" OnChange="document.styleidform.submit();" STYLE="width: 190px">
|
||||
<!-- BEGIN USERSTYLES -->
|
||||
<option {is_selected} value="{StyleName}">{StyleName}</option>
|
||||
<!-- END USERSTYLES -->
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<form action="userchange.php" method="get" name="langidform">
|
||||
<table width="350" border="0" cellspacing="0" cellpadding="0" class="with_border" align="right">
|
||||
<tr>
|
||||
<td class="cellmenu1" width="150" nowrap><B> {LN_GEN_LANGUAGE} </B></td>
|
||||
<td align="right">
|
||||
<input type="hidden" name="op" value="changelang">
|
||||
<select name="langcode" size="1" OnChange="document.langidform.submit();" STYLE="width: 190px">
|
||||
<!-- BEGIN USERLANG -->
|
||||
<option {is_selected} value="{langcode}">{DisplayName}</option>
|
||||
<!-- END USERLANG -->
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<!-- ENDIF IS_LOGINPAGE!="true" -->
|
||||
|
||||
</td>
|
||||
@ -48,43 +46,48 @@
|
||||
<td width="100%" align="center" valign="top" height="20">
|
||||
|
||||
<!-- IF IS_LOGINPAGE!="true" -->
|
||||
<form action="userchange.php" method="get" name="langidform">
|
||||
<table width="350" border="0" cellspacing="0" cellpadding="0" class="with_border" align="right">
|
||||
<tr>
|
||||
<td class="cellmenu1" width="150" nowrap><B> {LN_GEN_LANGUAGE} </B></td>
|
||||
<td align="right">
|
||||
<input type="hidden" name="op" value="changelang">
|
||||
<select name="langcode" size="1" OnChange="document.langidform.submit();" STYLE="width: 190px">
|
||||
<!-- BEGIN USERLANG -->
|
||||
<option {is_selected} value="{langcode}">{DisplayName}</option>
|
||||
<!-- END USERLANG -->
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<!-- IF IS_ADMINPAGE!="true" -->
|
||||
<form action="userchange.php" method="get" name="styleidform">
|
||||
<table width="350" border="0" cellspacing="0" cellpadding="0" class="with_border" align="right">
|
||||
<tr>
|
||||
<td class="cellmenu1" width="150" nowrap><B> {LN_MAIN_SELECTSTYLE} </B></td>
|
||||
<td align="right">
|
||||
<input type="hidden" name="op" value="changestyle">
|
||||
<select name="stylename" size="1" OnChange="document.styleidform.submit();" STYLE="width: 190px">
|
||||
<!-- BEGIN USERSTYLES -->
|
||||
<option {is_selected} value="{StyleName}">{StyleName}</option>
|
||||
<!-- END USERSTYLES -->
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<!-- ENDIF IS_ADMINPAGE!="true" -->
|
||||
<!-- ENDIF IS_LOGINPAGE!="true" -->
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width="100%" align="center" valign="top" height="20">
|
||||
|
||||
<!-- IF IS_LOGINPAGE!="true" -->
|
||||
<form action="{CURRENTURL}" method="get" name="sourceidform">
|
||||
<table width="350" border="0" cellspacing="0" cellpadding="0" class="with_border" align="right">
|
||||
<tr>
|
||||
<td class="cellmenu1" width="150" nowrap><B> {LN_GEN_SELECTSOURCE} </B></td>
|
||||
<td align="right">
|
||||
<select name="sourceid" size="1" OnChange="document.sourceidform.submit();" STYLE="width: 190px">
|
||||
<!-- BEGIN Sources -->
|
||||
<option {selected} value="{ID}">{Name}</option>
|
||||
<!-- END Sources -->
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<!-- IF IS_ADMINPAGE!="true" -->
|
||||
<form action="{CURRENTURL}" method="get" name="sourceidform">
|
||||
<table width="350" border="0" cellspacing="0" cellpadding="0" class="with_border" align="right">
|
||||
<tr>
|
||||
<td class="cellmenu1" width="150" nowrap><B> {LN_GEN_SELECTSOURCE} </B></td>
|
||||
<td align="right">
|
||||
<select name="sourceid" size="1" OnChange="document.sourceidform.submit();" STYLE="width: 190px">
|
||||
<!-- BEGIN Sources -->
|
||||
<option {selected} value="{ID}">{Name}</option>
|
||||
<!-- END Sources -->
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<!-- ENDIF IS_ADMINPAGE!="true" -->
|
||||
<!-- ENDIF IS_LOGINPAGE!="true" -->
|
||||
|
||||
</td>
|
||||
@ -93,21 +96,23 @@
|
||||
<td width="100%" align="center" valign="top" height="100%">
|
||||
|
||||
<!-- IF IS_LOGINPAGE!="true" -->
|
||||
<form action="userchange.php" method="get" name="viewidform">
|
||||
<table width="350" border="0" cellspacing="0" cellpadding="0" class="with_border" align="right">
|
||||
<tr>
|
||||
<td class="cellmenu1" width="150" nowrap><B> {LN_GEN_SELECTVIEW} </B></td>
|
||||
<td align="right">
|
||||
<input type="hidden" name="op" value="changeview">
|
||||
<select name="viewid" size="1" OnChange="document.viewidform.submit();" STYLE="width: 190px">
|
||||
<!-- BEGIN Views -->
|
||||
<option {selected} value="{ID}">{DisplayName}</option>
|
||||
<!-- END Views -->
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<!-- IF IS_ADMINPAGE!="true" -->
|
||||
<form action="userchange.php" method="get" name="viewidform">
|
||||
<table width="350" border="0" cellspacing="0" cellpadding="0" class="with_border" align="right">
|
||||
<tr>
|
||||
<td class="cellmenu1" width="150" nowrap><B> {LN_GEN_SELECTVIEW} </B></td>
|
||||
<td align="right">
|
||||
<input type="hidden" name="op" value="changeview">
|
||||
<select name="viewid" size="1" OnChange="document.viewidform.submit();" STYLE="width: 190px">
|
||||
<!-- BEGIN Views -->
|
||||
<option {selected} value="{ID}">{DisplayName}</option>
|
||||
<!-- END Views -->
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<!-- ENDIF IS_ADMINPAGE!="true" -->
|
||||
<!-- ENDIF IS_LOGINPAGE!="true" -->
|
||||
|
||||
</td>
|
||||
@ -117,7 +122,14 @@
|
||||
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_with_border">
|
||||
<tr>
|
||||
<td><!-- INCLUDE include_menu.html --></td>
|
||||
<td>
|
||||
<!-- IF IS_ADMINPAGE!="true" -->
|
||||
<!-- INCLUDE include_menu.html -->
|
||||
<!-- ENDIF IS_ADMINPAGE!="true" -->
|
||||
<!-- IF IS_ADMINPAGE="true" -->
|
||||
<!-- INCLUDE admin/admin_menu.html -->
|
||||
<!-- ENDIF IS_ADMINPAGE="true" -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|