??
phpmyadmin das weis ich das dieses was anderes ist als das acp vom forum lol
nach dem modeinbau so verstehe ich das hast du oben eine neuen link stehen der heisst admin panel von da aus kommst du ins acp genauso als wenn du unten im footerbereich Administrations-Bereich drückst
so habe ich das irgendwie verstanden
MOD Description: Adds a image and link to the administration panel in the header, only when the admin is logged in.
## (optional) adds image to the link in the footer, only when the admin is logged in.
## This Version is Tested with phpBB 2.0.1 and phpBB 2.0.2
da ich der englischen net mächtig bin, ist jetzt das phpmyadmin oder das acp vom forum gemeint ?
hier mal der code:
#
#-----[ OPEN ]------------------------------------------
#
includes/page_header.php
#
#-----[ FIND ]------------------------------------------
#
//
// Parse and show the overall header.
//
$template->set_filenames(array(
'overall_header' => ( empty($gen_simple_header) ) ? 'overall_header.tpl' : 'simple_header.tpl')
);
#
#-----[ AFTER, ADD ]------------------------------------------
#
//
// admin panel link mod
//
$admin_link = ( $userdata['user_level'] == ADMIN ) ? '<a href="' . append_sid("admin/index.$phpEx") . '" class="mainmenu"><img src="templates/subSilver/images/icon_mini_admin.gif" width="12" height="13" border="0" alt="Admin Panel" hspace="3" />Admin Panel</a> ' : '';
//
// admin panel link mod
//
#
#-----[ FIND ]------------------------------------------
#
$template->assign_vars(array(
'SITENAME' => $board_config['sitename'],
'SITE_DESCRIPTION' => $board_config['site_desc'],
'PAGE_TITLE' => $page_title,
#
#-----[ AFTER, ADD ]------------------------------------------
#
'ADMIN_LINK' => $admin_link,
#
#-----[ OPEN ]------------------------------------------
#
templates\subSilver\overall_header.tpl
#
#-----[ IN-LINE FIND ]------------------------------------------
#
alt="{L_LOGIN_LOGOUT}" hspace="3" />{L_LOGIN_LOGOUT}</a>
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
{ADMIN_LINK}
#
#-----[ COPY/UPLOAD ]------------------------------------------
#
icon_mini_admin.gif to templates/subSilver/images
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
#
#-------------------------------------------------------------
# Optional install of tiny image beside link in footer
#-------------------------------------------------------------
#
#
#-----[ OPEN ]------------------------------------------
#
includes/page_tail.php
#
#-----[ FIND ]------------------------------------------
#
$admin_link = ( $userdata['user_level'] == ADMIN ) ? '<a href="' . append_sid("admin/index.$phpEx") . '">' . $lang['Admin_panel'] . '</a><br /><br />' : '';
#
#-----[ REPLACE WITH ]------------------------------------------
#
$admin_link = ( $userdata['user_level'] == ADMIN ) ? '<a href="' . append_sid("admin/index.$phpEx") . '"><img src="templates/subSilver/images/icon_mini_admin.gif" width="12" height="13" border="0" hspace="3">' . $lang['Admin_panel'] . '</a><br /><br />' : '';
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM