|
|
 |
modifer le fichier overall_header.php pour Théme |
  |
 |
| Auteur |
Message |
marco101 Jeune posteur

Inscrit le: 30 Juin 2005 Messages: 20
|
Posté le: 07 Aoû 2005 22:00
Sujet du message: modifer le fichier overall_header.php pour Théme |
|
|
Bonsoir à tous voici mon probléme avec le fichier overall_header.php
| Code: | ###############################################
## MOD Title: thanks-goodbye
## MOD Author: bummer < N/A > N/A
## MOD Description: : Quand le membre se déconnecte, il voit une page intermédiaire entre la déconnection et l'index,
## sur laquel se trouve un message le remerciant
## MOD Version: 1.0.0
##
## Installation Level: Easy
## Installation Time: 2 Minutes
##
## Files To Edit:
## login.php
## constants.php
## lang_main.php
## [b][color=red]overall_header.php[/color][/b]
## Included Files:
## goodbye.php
## goodbye.tpl
----------------------------------------------------------------------------
mon probléme c est que je trouve pas dans le fichier [b][color=red]overall_header.php[/color][/b] l les lignes suivantes parce que mon [b][color=blue]théme est différent ce n 'est pas subSilver [/color][/b].
# #-----[ OPEN ]-----------open/ouvrir :-------------------------------- #
templates/[b]subSilver/[/b]overall_header.php
# #-----[ FIND ]--------------- #
/* General text */
# #-----[ AFTER, ADD ]--------------------------- #
# NOTE: Only add this if .genbig is not already addressed in that file or your *.css file.
#
.genbig { font-size : 20px; }
# #-----[ FIND ]----------------- #
.gen,.genmed,.gensmall { color : {T_BODY_TEXT}; }
# #-----[ IN-LINE, FIND ]-------------------------- #
.gen
# #-----[ IN-LINE, BEFORE ADD ]----------------- #
.genbig,
---------------------------------------------------------------
voici le mien le fichier [b][color=red]overall_header.php[/color][/b]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="templates/SithLords/{T_HEAD_STYLESHEET}" type="text/css">
<style type="text/css">
form {
margin: 0px;
padding: 0px;
}
</style>
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
if ( {PRIVATE_MESSAGE_NEW_FLAG} )
{
window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
}
//-->
</script>
<!-- END switch_enable_pm_popup -->
<Script>
<!--
registerup = new Image; registerup.src = "templates/SithLords/images/nav_register.gif";
registerdown = new Image; registerdown.src = "templates/SithLords/images/nav_register_f2.gif";
faqup = new Image; faqup.src = "templates/SithLords/images/nav_faq.gif";
faqdown = new Image; faqdown.src = "templates/SithLords/images/nav_faq_f2.gif";
searchup = new Image; searchup.src = "templates/SithLords/images/nav_search.gif";
searchdown = new Image; searchdown.src = "templates/SithLords/images/nav_search_f2.gif";
memberlistup = new Image; memberlistup.src = "templates/SithLords/images/nav_memberlist.gif";
memberlistdown = new Image; memberlistdown.src = "templates/SithLords/images/nav_memberlist_f2.gif";
usergroupsup = new Image; usergroupsup.src = "templates/SithLords/images/nav_usergroups.gif";
usergroupsdown = new Image; usergroupsdown.src = "templates/SithLords/images/nav_usergroups_f2.gif";
profileup = new Image; profileup.src = "templates/SithLords/images/nav_profile.gif";
profiledown = new Image; profiledown.src = "templates/SithLords/images/nav_profile_f2.gif";
pmup = new Image; pmup.src = "{PRIVMSG_IMG}";
pmdown = new Image; pmdown.src = "templates/SithLords/images/nav_pm_f2.gif";
loginup = new Image; loginup.src = "templates/SithLords/images/nav_login.gif";
logindown = new Image; logindown.src = "templates/SithLords/images/nav_login_f2.gif";
logoutup = new Image; logoutup.src = "templates/SithLords/images/nav_logout.gif";
logoutdown = new Image; logoutdown.src = "templates/SithLords/images/nav_logout_f2.gif";
function MouseOverRoutine(ButtonName)
{
if (ButtonName=="register"){document.register.src = registerdown.src;}
if (ButtonName=="faq"){document.faq.src = faqdown.src;}
if (ButtonName=="search"){document.search.src = searchdown.src;}
if (ButtonName=="memberlist"){document.memberlist.src = memberlistdown.src;}
if (ButtonName=="usergroups"){document.usergroups.src = usergroupsdown.src;}
if (ButtonName=="profile"){document.profile.src = profiledown.src;}
if (ButtonName=="pm"){document.pm.src = pmdown.src;}
if (ButtonName=="login"){document.login.src = logindown.src;}
if (ButtonName=="logout"){document.logout.src = logoutdown.src;}
}
function MouseOutRoutine(ButtonName)
{
if (ButtonName=="register"){document.register.src = registerup.src;}
if (ButtonName=="faq"){document.faq.src = faqup.src;}
if (ButtonName=="search"){document.search.src = searchup.src;}
if (ButtonName=="memberlist"){document.memberlist.src = memberlistup.src;}
if (ButtonName=="usergroups"){document.usergroups.src = usergroupsup.src;}
if (ButtonName=="profile"){document.profile.src = profileup.src;}
if (ButtonName=="pm"){document.pm.src = pmup.src;}
if (ButtonName=="login"){document.login.src = loginup.src;}
if (ButtonName=="logout"){document.logout.src = logoutup.src;}
}
//-->
</script>
</head>
<body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}" leftmargin="0" marginheight="0" marginwidth="0" topmargin="0">
<div align="center">
<a name="top"></a>
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="templates/SithLords/images/stars_back_main.gif">
<td width="5%" align="left" nowrap background="templates/SithLords/images/stars_back.gif"><a href="{U_INDEX}"><img src="templates/SithLords/images/SithLords_logo.jpg" width="287" height="152" border="0"></a></td>
<td width="90%" align="center" nowrap background="templates/images/stars_back.gif"></td>
<td width="5%" align="right" nowrap background="templates/SithLords/images/stars_back_main.gif"><a href="{U_INDEX}"><img src="templates/SithLords/images/logos/index.php" width="287" height="152" border="0"></a></td>
</td>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top" background="templates/SithLords/images/nav.gif">
<!-- BEGIN switch_user_logged_out -->
<a href="{U_REGISTER}" onmouseOver="MouseOverRoutine('register')" onmouseOut="MouseOutRoutine('register')"><img src="templates/SithLords/images/nav_register.gif" name="register" border="0"></a><img src="templates/SithLords/images/nav_colon.gif" name="colon" border="0">
<!-- END switch_user_logged_out -->
<a href="{U_FAQ}" onmouseOver="MouseOverRoutine('faq')" onmouseOut="MouseOutRoutine('faq')"><img src="templates/SithLords/images/nav_faq.gif" name="faq" border="0"></a>
<img src="templates/SithLords/images/nav_colon.gif" name="colon" border="0">
<a href="{U_SEARCH}" onmouseOver="MouseOverRoutine('search')" onmouseOut="MouseOutRoutine('search')"><img src="templates/SithLords/images/nav_search.gif" name="search" border="0"></a>
<img src="templates/SithLords/images/nav_colon.gif" name="colon" border="0">
<a href="{U_MEMBERLIST}" onmouseOver="MouseOverRoutine('memberlist')" onmouseOut="MouseOutRoutine('memberlist')"><img src="templates/SithLords/images/nav_memberlist.gif" name="memberlist" border="0"></a>
<img src="templates/SithLords/images/nav_colon.gif" name="colon" border="0">
<a href="{U_GROUP_CP}" onmouseOver="MouseOverRoutine('usergroups')" onmouseOut="MouseOutRoutine('usergroups')"><img src="templates/SithLords/images/nav_usergroups.gif" name="usergroups" border="0"></a>
<img src="templates/SithLords/images/nav_colon.gif" name="colon" border="0">
<a href="{U_PROFILE}" onmouseOver="MouseOverRoutine('profile')" onmouseOut="MouseOutRoutine('profile')"><img src="templates/SithLords/images/nav_profile.gif" name="profile"border="0"></a>
<img src="templates/SithLords/images/nav_colon.gif" name="colon" border="0">
<a href="{U_PRIVATEMSGS}" onmouseOver="MouseOverRoutine('pm')" onmouseOut="MouseOutRoutine('pm')"><img src="{PRIVMSG_IMG}" name="pm" border="0" alt="{PRIVATE_MESSAGE_INFO}"></a>
<!-- BEGIN switch_user_logged_out -->
<img src="templates/SithLords/images/nav_colon.gif" name="colon" border="0"><a href="{U_LOGIN_LOGOUT}" onmouseOver="MouseOverRoutine('login')" onmouseOut="MouseOutRoutine('login')"><img src="templates/SithLords/images/nav_login.gif" name="login" border="0"></a>
<!-- END switch_user_logged_out -->
<!-- BEGIN switch_user_logged_in -->
<img src="templates/SithLords/images/nav_colon.gif" name="colon" border="0"><a href="{U_LOGIN_LOGOUT}" onmouseOver="MouseOverRoutine('logout')" onmouseOut="MouseOutRoutine('logout')"><img src="templates/SithLords/images/nav_logout.gif" name="logout" border="0"></a>
<!-- END switch_user_logged_in -->
</td>
</tr>
</table>
</tr>
</table> |
------------------------------------------------
Pouvez-vous m 'aider Merci @++
[édité par AideInfo : texte mis en balise Code] |
|
|
 |
|
 |
| Auteur |
Message |
AideInfo Administrateur Expert phpBB

Inscrit le: 11 Juin 2002 Messages: 3919
|
|
|
 |
|
 |
| Auteur |
Message |
marco101 Jeune posteur

Inscrit le: 30 Juin 2005 Messages: 20
|
Posté le: 08 Aoû 2005 18:06
Sujet du message: |
|
|
Bonjour AideInfo | Citation: | | Le fichier s'appelle overall_header.tpl | oui merci erreur de frappe de ma part . j 'ai bien modifier le fichier overall_header.tpl dans templates subSilver/ la sa marche mais le probléme est sur le fichier overall_header.tpl de mon new théme celui qui est ci-dessous ou commencer .
| Code: | Code:
###############################################
## MOD Title: thanks-goodbye
## MOD Author: bummer < N/A > N/A
## MOD Description: : Quand le membre se déconnecte, il voit une page intermédiaire entre la déconnection et l'index,
## sur laquel se trouve un message le remerciant
## MOD Version: 1.0.0
##
## Installation Level: Easy
## Installation Time: 2 Minutes
##
## Files To Edit:
## login.php
## constants.php
## lang_main.php
## overall_header.tpl
## Included Files:
## goodbye.php
## goodbye.tpl
#################################################################
# #-----[ COPY ]--------copy/copier----------------------------------- #
Copy goodbye.php to /
Copy goodbye.tpl to templates/subSilver
# #-----[ OPEN ]-----------open/ouvrir :-------------------------------- #
templates/subSilver/overall_header.tpl
# #-----[ FIND ]-------Find/trouver :------------------------------------ #
/* General text */
# #-----[ AFTER, ADD ]-----After add/ajouter après : --------------------------------- #
# NOTE: Only add this if .genbig is not already addressed in that file or your *.css file.
#
.genbig { font-size : 20px; }
# #-----[ FIND ]--------Find/trouver :----------------------------------- #
.gen,.genmed,.gensmall { color : {T_BODY_TEXT}; }
# #-----[ IN-LINE, FIND ]-------In line find/dans la ligne, trouver :---------------------------- #
.gen
# #-----[ IN-LINE, BEFORE ADD ]-------In line before add/dans la ligne, rajouter avant :---------------------- #
.genbig,
# #-----[ OPEN ]---------open/ouvrir :----------------------------------- #
includes/constants.php |
voici le mien le fichier celui de mon new théme overall_header.tpl
| Code: |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="templates/SithLords/{T_HEAD_STYLESHEET}" type="text/css">
<style type="text/css">
form {
margin: 0px;
padding: 0px;
}
</style>
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
if ( {PRIVATE_MESSAGE_NEW_FLAG} )
{
window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
}
//-->
</script>
<!-- END switch_enable_pm_popup -->
<Script>
<!--
registerup = new Image; registerup.src = "templates/SithLords/images/nav_register.gif";
registerdown = new Image; registerdown.src = "templates/SithLords/images/nav_register_f2.gif";
faqup = new Image; faqup.src = "templates/SithLords/images/nav_faq.gif";
faqdown = new Image; faqdown.src = "templates/SithLords/images/nav_faq_f2.gif";
searchup = new Image; searchup.src = "templates/SithLords/images/nav_search.gif";
searchdown = new Image; searchdown.src = "templates/SithLords/images/nav_search_f2.gif";
memberlistup = new Image; memberlistup.src = "templates/SithLords/images/nav_memberlist.gif";
memberlistdown = new Image; memberlistdown.src = "templates/SithLords/images/nav_memberlist_f2.gif";
usergroupsup = new Image; usergroupsup.src = "templates/SithLords/images/nav_usergroups.gif";
usergroupsdown = new Image; usergroupsdown.src = "templates/SithLords/images/nav_usergroups_f2.gif";
profileup = new Image; profileup.src = "templates/SithLords/images/nav_profile.gif";
profiledown = new Image; profiledown.src = "templates/SithLords/images/nav_profile_f2.gif";
pmup = new Image; pmup.src = "{PRIVMSG_IMG}";
pmdown = new Image; pmdown.src = "templates/SithLords/images/nav_pm_f2.gif";
loginup = new Image; loginup.src = "templates/SithLords/images/nav_login.gif";
logindown = new Image; logindown.src = "templates/SithLords/images/nav_login_f2.gif";
logoutup = new Image; logoutup.src = "templates/SithLords/images/nav_logout.gif";
logoutdown = new Image; logoutdown.src = "templates/SithLords/images/nav_logout_f2.gif";
function MouseOverRoutine(ButtonName)
{
if (ButtonName=="register"){document.register.src = registerdown.src;}
if (ButtonName=="faq"){document.faq.src = faqdown.src;}
if (ButtonName=="search"){document.search.src = searchdown.src;}
if (ButtonName=="memberlist"){document.memberlist.src = memberlistdown.src;}
if (ButtonName=="usergroups"){document.usergroups.src = usergroupsdown.src;}
if (ButtonName=="profile"){document.profile.src = profiledown.src;}
if (ButtonName=="pm"){document.pm.src = pmdown.src;}
if (ButtonName=="login"){document.login.src = logindown.src;}
if (ButtonName=="logout"){document.logout.src = logoutdown.src;}
}
function MouseOutRoutine(ButtonName)
{
if (ButtonName=="register"){document.register.src = registerup.src;}
if (ButtonName=="faq"){document.faq.src = faqup.src;}
if (ButtonName=="search"){document.search.src = searchup.src;}
if (ButtonName=="memberlist"){document.memberlist.src = memberlistup.src;}
if (ButtonName=="usergroups"){document.usergroups.src = usergroupsup.src;}
if (ButtonName=="profile"){document.profile.src = profileup.src;}
if (ButtonName=="pm"){document.pm.src = pmup.src;}
if (ButtonName=="login"){document.login.src = loginup.src;}
if (ButtonName=="logout"){document.logout.src = logoutup.src;}
}
//-->
</script>
</head>
<body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}" leftmargin="0" marginheight="0" marginwidth="0" topmargin="0">
<div align="center">
<a name="top"></a>
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="templates/SithLords/images/stars_back_main.gif">
<td width="5%" align="left" nowrap background="templates/SithLords/images/stars_back.gif"><a href="{U_INDEX}"><img src="templates/SithLords/images/SithLords_logo.jpg" width="287" height="152" border="0"></a></td>
<td width="90%" align="center" nowrap background="templates/images/stars_back.gif"></td>
<td width="5%" align="right" nowrap background="templates/SithLords/images/stars_back_main.gif"><a href="{U_INDEX}"><img src="templates/SithLords/images/logos/index.php" width="287" height="152" border="0"></a></td>
</td>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top" background="templates/SithLords/images/nav.gif">
<!-- BEGIN switch_user_logged_out -->
<a href="{U_REGISTER}" onmouseOver="MouseOverRoutine('register')" onmouseOut="MouseOutRoutine('register')"><img src="templates/SithLords/images/nav_register.gif" name="register" border="0"></a><img src="templates/SithLords/images/nav_colon.gif" name="colon" border="0">
<!-- END switch_user_logged_out -->
<a href="{U_FAQ}" onmouseOver="MouseOverRoutine('faq')" onmouseOut="MouseOutRoutine('faq')"><img src="templates/SithLords/images/nav_faq.gif" name="faq" border="0"></a>
<img src="templates/SithLords/images/nav_colon.gif" name="colon" border="0">
<a href="{U_SEARCH}" onmouseOver="MouseOverRoutine('search')" onmouseOut="MouseOutRoutine('search')"><img src="templates/SithLords/images/nav_search.gif" name="search" border="0"></a>
<img src="templates/SithLords/images/nav_colon.gif" name="colon" border="0">
<a href="{U_MEMBERLIST}" onmouseOver="MouseOverRoutine('memberlist')" onmouseOut="MouseOutRoutine('memberlist')"><img src="templates/SithLords/images/nav_memberlist.gif" name="memberlist" border="0"></a>
<img src="templates/SithLords/images/nav_colon.gif" name="colon" border="0">
<a href="{U_GROUP_CP}" onmouseOver="MouseOverRoutine('usergroups')" onmouseOut="MouseOutRoutine('usergroups')"><img src="templates/SithLords/images/nav_usergroups.gif" name="usergroups" border="0"></a>
<img src="templates/SithLords/images/nav_colon.gif" name="colon" border="0">
<a href="{U_PROFILE}" onmouseOver="MouseOverRoutine('profile')" onmouseOut="MouseOutRoutine('profile')"><img src="templates/SithLords/images/nav_profile.gif" name="profile"border="0"></a>
<img src="templates/SithLords/images/nav_colon.gif" name="colon" border="0">
<a href="{U_PRIVATEMSGS}" onmouseOver="MouseOverRoutine('pm')" onmouseOut="MouseOutRoutine('pm')"><img src="{PRIVMSG_IMG}" name="pm" border="0" alt="{PRIVATE_MESSAGE_INFO}"></a>
<!-- BEGIN switch_user_logged_out -->
<img src="templates/SithLords/images/nav_colon.gif" name="colon" border="0"><a href="{U_LOGIN_LOGOUT}" onmouseOver="MouseOverRoutine('login')" onmouseOut="MouseOutRoutine('login')"><img src="templates/SithLords/images/nav_login.gif" name="login" border="0"></a>
<!-- END switch_user_logged_out -->
<!-- BEGIN switch_user_logged_in -->
<img src="templates/SithLords/images/nav_colon.gif" name="colon" border="0"><a href="{U_LOGIN_LOGOUT}" onmouseOver="MouseOverRoutine('logout')" onmouseOut="MouseOutRoutine('logout')"><img src="templates/SithLords/images/nav_logout.gif" name="logout" border="0"></a>
<!-- END switch_user_logged_in -->
</td>
</tr>
</table>
</tr>
</table> |
Mes Amitiés @+ |
|
|
 |
|
 |
| Auteur |
Message |
AideInfo Administrateur Expert phpBB

Inscrit le: 11 Juin 2002 Messages: 3919
|
|
|
| Auteur |
Message |
marco101 Jeune posteur

Inscrit le: 30 Juin 2005 Messages: 20
|
Posté le: 25 Aoû 2005 23:15
Sujet du message: |
|
|
Bonsoir et merci AideInfo avec du retard mais j 'etais parti en déplacement .
Mes Amitiés |
|
|
 |
Informations |
 |
| Page 1 sur 1 |
|
| Permissions: |
Vous ne pouvez pas poster de nouveaux sujets dans ce forum Vous ne pouvez pas répondre aux sujets dans ce forum Vous ne pouvez pas éditer vos messages dans ce forum Vous ne pouvez pas supprimer vos messages dans ce forum Vous ne pouvez pas voter dans les sondages de ce forum
|
|
|
|