Mise à jour des styles : de phpBB 3.0.12 à 3.0.13/3.0.13-PL1 Facile

Mise à jour des styles : de phpBB 3.0.12 à 3.0.13/3.0.13-PL1

Détail des modifications des styles de phpBB 3.0.12 à phpBB 3.0.13


Modifications des styles de phpBB 3.0.12 à phpBB 3.0.13/3.0.13-PL1

Retour à la documentation : mettre à jour son forum phpBB3

Note : aucune modification n'a été apportée dans les fichiers de style lors de la mise à jour 3.0.13 vers 3.0.13-PL1, les numéros de version n'ont donc pas été incrémentés.

1 » Détail des modifications prosilver
2 » Détail des modifications subsilver2

1 » Détail des modifications prosilver

Liste des fichiers à modifier :
  • imageset/imageset.cfg
  • template/editor.js
  • template/forum_fn.js
  • template/forumlist_body.html
  • template/mcp_post.html
  • template/overall_footer.html
  • template/posting_smilies.html
  • template/template.cfg
  • template/ucp_groups_manage.html
  • template/ucp_pm_viewmessage_print.html
  • template/ucp_profile_profile_info.html
  • template/ucp_profile_reg_details.html
  • template/viewtopic_print.html
  • theme/colours.css
  • theme/forms.css
  • theme/theme.cfg
  • style.cfg

imageset/imageset.cfg

  1. Trouver (vers ligne 22) :
    Code: Tout sélectionner
    version = 3.0.12

    Remplacer par :
    Code: Tout sélectionner
    version = 3.0.13

template/editor.js

  1. Trouver (vers ligne 350) :
    Code: Tout sélectionner
    	if (textEl.createTextRange)

    Remplacer par :
    Code: Tout sélectionner
    	if (textEl.createTextRange && document.selection)

template/forum_fn.js

  1. Trouver (vers ligne 406) :
    Code: Tout sélectionner
    		jQuery('form input[type=text], form input[type=password]').live('keypress', function (e)

    Remplacer par :
    Code: Tout sélectionner
    		jQuery('form input[type=text], form input[type=password]').on('keypress', function (e)

template/forumlist_body.html

  1. Trouver (vers ligne 42) :
    Code: Tout sélectionner
    				<!-- ELSEIF not forumrow.S_IS_LINK -->
    					<dd class="topics">{forumrow.TOPICS} <dfn>{L_TOPICS}</dfn></dd>
    					<dd class="posts">{forumrow.POSTS} <dfn>{L_POSTS}</dfn></dd>
    					<dd class="lastpost"><span>
    						<!-- IF forumrow.U_UNAPPROVED_TOPICS --><a href="{forumrow.U_UNAPPROVED_TOPICS}">{UNAPPROVED_IMG}</a><!-- ENDIF -->
    						<!-- IF forumrow.LAST_POST_TIME --><dfn>{L_LAST_POST}</dfn> {L_POST_BY_AUTHOR} {forumrow.LAST_POSTER_FULL}
    						<!-- IF not S_IS_BOT --><a href="{forumrow.U_LAST_POST}">{LAST_POST_IMG}</a> <!-- ENDIF --><br />{forumrow.LAST_POST_TIME}<!-- ELSE -->{L_NO_POSTS}<br />&nbsp;<!-- ENDIF --></span>
    					</dd>

    Ajouter après :
    Code: Tout sélectionner
    				<!-- ELSE -->
    					<dd>&nbsp;</dd>

template/mcp_post.html

  1. Trouver (vers ligne 16) :
    Code: Tout sélectionner
    		<!-- IF not S_POST_REPORTED -->

    Remplacer par :
    Code: Tout sélectionner
    		<!-- IF S_REPORT_CLOSED -->

  2. Trouver (vers ligne 34) :
    Code: Tout sélectionner
    		<!-- IF S_POST_REPORTED -->

    Remplacer par :
    Code: Tout sélectionner
    		<!-- IF not S_REPORT_CLOSED -->

template/overall_footer.html

  1. Trouver (vers ligne 9) :
    Code: Tout sélectionner
    			<li class="icon-home"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a></li>

    Dans la ligne, supprimer :
    Code: Tout sélectionner
     accesskey="h"

template/posting_smilies.html

  1. Trouver (vers ligne 5) :
    Code: Tout sélectionner
    	var form_name = 'postform';
    	var text_name = 'message';

    Remplacer par :
    Code: Tout sélectionner
    	var form_name = opener.form_name;
    	var text_name = opener.text_name;

template/template.cfg

  1. Trouver (vers ligne 22) :
    Code: Tout sélectionner
    version = 3.0.12

    Remplacer par :
    Code: Tout sélectionner
    version = 3.0.13

template/ucp_groups_manage.html

  1. Trouver (vers ligne 57) :
    Code: Tout sélectionner
    		<dd><input name="group_colour" type="text" id="group_colour" value="{GROUP_COLOUR}" size="6" maxlength="6" class="inputbox narrow" /> <span style="background-color: {GROUP_COLOUR};">&nbsp;&nbsp;&nbsp;</span> [ <a href="{U_SWATCH}" onclick="popup(this.href, 636, 150, '_swatch'); return false;">{L_COLOUR_SWATCH}</a> ]</dd>

    Dans la ligne, trouver :
    Code: Tout sélectionner
    <span style="background-color: {GROUP_COLOUR};">

    Remplacer par :
    Code: Tout sélectionner
    <span style="background-color: #{GROUP_COLOUR};">

template/ucp_pm_viewmessage_print.html

  1. Supprimer (vers ligne 11) :
    Code: Tout sélectionner
    <meta name="keywords" content="" />
    <meta name="description" content="" />

template/ucp_profile_profile_info.html

  1. Trouver (vers ligne 53) :
    Code: Tout sélectionner
    				<label for="bday_day">{L_DAY}: <select name="bday_day" id="bday_day" style="width: 4em;">{S_BIRTHDAY_DAY_OPTIONS}</select></label>

    Dans la ligne, supprimer :
    Code: Tout sélectionner
     style="width: 4em;"

  2. Trouver (vers ligne 54) :
    Code: Tout sélectionner
    				<label for="bday_month">{L_MONTH}: <select name="bday_month" id="bday_month" style="width: 4em;">{S_BIRTHDAY_MONTH_OPTIONS}</select></label>

    Dans la ligne, supprimer :
    Code: Tout sélectionner
     style="width: 4em;"

  3. Trouver (vers ligne 55) :
    Code: Tout sélectionner
    				<label for="bday_year">{L_YEAR}: <select name="bday_year" id="bday_year" style="width: 6em;">{S_BIRTHDAY_YEAR_OPTIONS}</select></label>

    Dans la ligne, supprimer :
    Code: Tout sélectionner
     style="width: 6em;"

template/ucp_profile_reg_details.html

  1. Trouver (vers ligne 10) :
    Code: Tout sélectionner
    		<p>{L_FORCE_PASSWORD_EXPLAIN}</p>

    Remplacer par :
    Code: Tout sélectionner
    		<p class="error">{L_FORCE_PASSWORD_EXPLAIN}</p>

  2. Trouver (vers ligne 63) :
    Code: Tout sélectionner
    <!-- INCLUDE ucp_footer.html -->

    Remplacer par :
    Code: Tout sélectionner
    <!-- INCLUDE ucp_footer.html -->
    

template/viewtopic_print.html

  1. Supprimer (vers ligne 11) :
    Code: Tout sélectionner
    <meta name="keywords" content="" />
    <meta name="description" content="" />

theme/colours.css
Les modifications dans ce fichier concernent essentiellement des suppressions d'espaces et n'ont aucune incidence sur l'affichage.
Seuls les points 6, 7, 8 et 9 peuvent s'avérer utiles à corriger.

  1. Trouver (vers ligne 1) :
    Code: Tout sélectionner
    /*  	

    Remplacer par :
    Code: Tout sélectionner
    /*

  2. Trouver (vers ligne 84) :
    Code: Tout sélectionner
    .bg2	{ background-color: #e1ebf2;  }

    Remplacer par :
    Code: Tout sélectionner
    .bg2	{ background-color: #e1ebf2; }

  3. Trouver (vers ligne 237) :
    Code: Tout sélectionner
    /*  	

    Remplacer par :
    Code: Tout sélectionner
    /*

  4. Trouver (vers ligne 330) :
    Code: Tout sélectionner
    /* Profile searchresults */	

    Remplacer par :
    Code: Tout sélectionner
    /* Profile searchresults */

  5. Trouver (vers ligne 349) :
    Code: Tout sélectionner
    a.up		{ background-image: url("{T_THEME_PATH}/images/arrow_up.gif") }

    Remplacer par :
    Code: Tout sélectionner
    a.up		{ background-image: url("{T_THEME_PATH}/images/arrow_up.gif"); }

  6. Trouver (vers ligne 350) :
    Code: Tout sélectionner
    a.down		{ background-image: url("{T_THEME_PATH}/images/arrow_down.gif") }

    Remplacer par :
    Code: Tout sélectionner
    a.down		{ background-image: url("{T_THEME_PATH}/images/arrow_down.gif"); }

  7. Trouver (vers ligne 351) :
    Code: Tout sélectionner
    a.left		{ background-image: url("{T_THEME_PATH}/images/arrow_left.gif") }

    Remplacer par :
    Code: Tout sélectionner
    a.left		{ background-image: url("{T_THEME_PATH}/images/arrow_left.gif"); }

  8. Trouver (vers ligne 352) :
    Code: Tout sélectionner
    a.right		{ background-image: url("{T_THEME_PATH}/images/arrow_right.gif") }

    Remplacer par :
    Code: Tout sélectionner
    a.right		{ background-image: url("{T_THEME_PATH}/images/arrow_right.gif"); }

  9. Trouver (vers ligne 367) :
    Code: Tout sélectionner
    /*  	

    Remplacer par :
    Code: Tout sélectionner
    /*

  10. Trouver (vers ligne 658) :
    Code: Tout sélectionner
    /*  	

    Remplacer par :
    Code: Tout sélectionner
    /*

  11. Trouver (vers ligne 667) :
    Code: Tout sélectionner
    .pmreply-icon span	{ background-image: url("{IMG_BUTTON_PM_REPLY_SRC}") ;}

    Remplacer par :
    Code: Tout sélectionner
    .pmreply-icon span	{ background-image: url("{IMG_BUTTON_PM_REPLY_SRC}"); }

  12. Trouver (vers ligne 668) :
    Code: Tout sélectionner
    .newpm-icon span 	{ background-image: url("{IMG_BUTTON_PM_NEW_SRC}") ;}

    Remplacer par :
    Code: Tout sélectionner
    .newpm-icon span	{ background-image: url("{IMG_BUTTON_PM_NEW_SRC}"); }

  13. Trouver (vers ligne 669) :
    Code: Tout sélectionner
    .forwardpm-icon span	{ background-image: url("{IMG_BUTTON_PM_FORWARD_SRC}") ;}

    Remplacer par :
    Code: Tout sélectionner
    .forwardpm-icon span	{ background-image: url("{IMG_BUTTON_PM_FORWARD_SRC}"); }

  14. Trouver (vers ligne 717) :
    Code: Tout sélectionner
    /*  	

    Remplacer par :
    Code: Tout sélectionner
    /*

  15. Trouver (vers ligne 919) :
    Code: Tout sélectionner
    /*  	

    Remplacer par :
    Code: Tout sélectionner
    /*

  16. Trouver (vers ligne 970) :
    Code: Tout sélectionner
    	background-color: #FFFFFF; 

    Remplacer par :
    Code: Tout sélectionner
    	background-color: #FFFFFF;

theme/forms.css

  1. Trouver (vers ligne 21) :
    Code: Tout sélectionner
    select {
    	font-family: Verdana, Helvetica, Arial, sans-serif;
    	font-weight: normal;
    	cursor: pointer;
    	vertical-align: middle;
    	border: 1px solid #666666;
    	padding: 1px;
    	background-color: #FAFAFA;
    	font-size: 1em;
    }

    Ajouter après :
    Code: Tout sélectionner
    select:focus {
    	outline-style: none;
    }
    

  2. Trouver (vers ligne 302) :
    Code: Tout sélectionner
    .inputbox:focus {
    	border: 1px solid #eaeaea;
    	color: #4b4b4b;
    }

    Remplacer par :
    Code: Tout sélectionner
    .inputbox:focus {
    	border: 1px solid #eaeaea;
    	color: #4b4b4b;
    	outline-style: none;
    }

  3. Trouver (vers ligne 371) :
    Code: Tout sélectionner
    input.disabled {
    	font-weight: normal;
    	color: #666666;
    }

    Ajouter après :
    Code: Tout sélectionner
    /* Focus states */
    input.button1:focus, input.button2:focus, input.button3:focus {
    	outline-style: none;
    }
    

theme/theme.cfg

  1. Trouver (vers ligne 24) :
    Code: Tout sélectionner
    version = 3.0.12

    Remplacer par :
    Code: Tout sélectionner
    version = 3.0.13

style.cfg

  1. Convertir le fichier en UTF-8 sans BOM

  2. Trouver (vers ligne 21) :
    Code: Tout sélectionner
    copyright = &copy; phpBB Group, 2007

    Remplacez par :
    Code: Tout sélectionner
    copyright = © phpBB Group, 2007

  3. Trouver (vers ligne 22) :
    Code: Tout sélectionner
    version = 3.0.12

    Remplacez par :
    Code: Tout sélectionner
    version = 3.0.13

Retour à la documentation : mettre à jour son forum phpBB3


2 » Détail des modifications subsilver2

Liste des fichiers à modifier :
  • imageset/imageset.cfg
  • template/editor.js
  • template/mcp_post.html
  • template/memberlist_view.html
  • template/overall_header.html
  • template/posting_smilies.html
  • template/template.cfg
  • template/ucp_header.html
  • template/ucp_pm_history.html
  • template/ucp_pm_viewmessage_print.html
  • template/ucp_profile_reg_details.html
  • template/ucp_profile_signature.html
  • template/viewtopic_print.html
  • theme/stylesheet.css
  • theme/theme.cfg
  • style.cfg

imageset/imageset.cfg

  1. Trouver (vers ligne 22) :
    Code: Tout sélectionner
    version = 3.0.12

    Remplacer par :
    Code: Tout sélectionner
    version = 3.0.12

template/editor.js

  1. Trouver (vers ligne 354) :
    Code: Tout sélectionner
    	if (textEl.createTextRange)

    Remplacer par :
    Code: Tout sélectionner
    	if (textEl.createTextRange && document.selection)

template/mcp_post.html

  1. Trouver (vers ligne 31) :
    Code: Tout sélectionner
    		<td class="cat" align="center" colspan="2"><!-- IF S_POST_REPORTED --><input class="btnmain" type="submit" value="{L_CLOSE_REPORT}" name="action[close]" /><!-- ELSE -->{L_REPORT_CLOSED}<!-- ENDIF --> &nbsp; <input class="btnlite" type="submit" value="{L_DELETE_REPORT}" name="action[delete]" /></td>

    Dans la ligne trouver :
    Code: Tout sélectionner
    <!-- IF S_POST_REPORTED -->

    Remplacer par :
    Code: Tout sélectionner
    <!-- IF not S_REPORT_CLOSED -->

template/memberlist_view.html

  1. Trouver (vers ligne 21) :
    Code: Tout sélectionner
    <td align="center" style="color: red;"><b class="gen">{L_USER_IS_INACTIVE}</b><br />{L_INACTIVE_REASON}: {USER_INACTIVE_REASON}<br /><br /></td>

    Dans la ligne, trouver :
    Code: Tout sélectionner
    <td align="center" style="color: red;"><b class="gen">

    Remplacer par :
    Code: Tout sélectionner
    <td align="center"><b class="gen inactive">

template/overall_header.html

  1. Trouver (vers ligne 163) :
    Code: Tout sélectionner
    <!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --> &nbsp;<span style="color: red;">{L_BOARD_DISABLED}</span><!-- ENDIF -->

    Dans la ligne, trouver :
    Code: Tout sélectionner
    <span style="color: red;">

    Remplacer par :
    Code: Tout sélectionner
    <span class="error">

template/posting_smilies.html

  1. Trouver (vers ligne 5) :
    Code: Tout sélectionner
    	var form_name = 'postform';
    	var text_name = 'message';

    Remplacer par :
    Code: Tout sélectionner
    	var form_name = opener.form_name;
    	var text_name = opener.text_name;

template/template.cfg

  1. Trouver (vers ligne 22) :
    Code: Tout sélectionner
    version = 3.0.12

    Remplacer par :
    Code: Tout sélectionner
    version = 3.0.13

template/ucp_header.html

  1. Trouver (vers ligne 126) :
    Code: Tout sélectionner
    <b class="genmed" style="color:green">{L_FRIENDS_ONLINE}</b>

    Dans la ligne, trouver :
    Code: Tout sélectionner
    <b class="genmed" style="color:green">

    Remplacer par :
    Code: Tout sélectionner
    <b class="genmed online">

  2. Trouver (vers ligne 142) :
    Code: Tout sélectionner
    <b class="genmed" style="color:red">{L_FRIENDS_OFFLINE}</b>

    Dans la ligne, trouver :
    Code: Tout sélectionner
    <b class="genmed" style="color:red">

    Remplacer par :
    Code: Tout sélectionner
    <b class="genmed offline">

template/ucp_pm_history.html

  1. Trouver (vers ligne 28) :
    Code: Tout sélectionner
    			<td width="100%"<!-- IF history_row.S_CURRENT_MSG --> style="background-color:lightblue"<!-- ENDIF -->>

    Remplacez par :
    Code: Tout sélectionner
    			<td width="100%"<!-- IF history_row.S_CURRENT_MSG --> class="current"<!-- ENDIF -->>

template/ucp_pm_viewmessage_print.html

  1. Trouver (vers ligne 6) :
    Code: Tout sélectionner
    <meta http-equiv="Content-Language" content="{S_USER_LANG}">

    Ajouter après :
    Code: Tout sélectionner
    <meta name="robots" content="noindex" />

template/ucp_profile_reg_details.html

  1. Trouver (vers ligne 9) :
    Code: Tout sélectionner
    		<td class="row3" colspan="2" align="center"><span class="gensmall">{L_FORCE_PASSWORD_EXPLAIN}</span></td>

    Dans la ligne, trouver :
    Code: Tout sélectionner
    <span class="gensmall">

    Remplacer par :
    Code: Tout sélectionner
    <span class="gensmall error">

  2. Trouver (vers ligne 53) :
    Code: Tout sélectionner
    <!-- INCLUDE ucp_footer.html -->

    Remplacer par :
    Code: Tout sélectionner
    <!-- INCLUDE ucp_footer.html -->
    

template/ucp_profile_signature.html

  1. Trouver (vers ligne 1) :
    Code: Tout sélectionner
    <!-- INCLUDE ucp_header.html -->

    Ajouter après :
    Code: Tout sélectionner
    <script type="text/javascript">
    // <![CDATA[
    	var form_name = 'ucp';
    	var text_name = 'signature';
    // ]]>
    </script>
    

  2. Trouver (vers ligne 15) :
    Code: Tout sélectionner
    <tr>
    	<td colspan="2" class="row1">{L_SIGNATURE_EXPLAIN}</td>
    </tr>

    Remplacer par :
    Code: Tout sélectionner
    <!-- IF not S_SMILIES_ALLOWED -->
    <tr>
    	<td colspan="2" class="row1">{L_SIGNATURE_EXPLAIN}</td>
    </tr>
    <!-- ENDIF -->

  3. Trouver (vers ligne 28) :
    Code: Tout sélectionner
    	<td colspan="2" class="row2">
    		<script type="text/javascript">
    		// <![CDATA[
    			var form_name = 'ucp';
    			var text_name = 'signature';
    		// ]]>
    		</script>

    Remplacer par :
    Code: Tout sélectionner
    	<!-- IF S_SMILIES_ALLOWED -->
    	<td class="row1" width="22%" valign="top">
    		{L_SIGNATURE_EXPLAIN}
    		<table width="100%" cellspacing="5" cellpadding="0" border="0" align="center">
    			<tr>
    				<td class="gensmall" align="center"><b>{L_SMILIES}</b></td>
    			</tr>
    			<tr>
    				<td align="center">
    				<!-- BEGIN smiley -->
    					<a href="#" onclick="insert_text('{smiley.A_SMILEY_CODE}', true); return false;" style="line-height: 20px;"><img src="{smiley.SMILEY_IMG}" width="{smiley.SMILEY_WIDTH}" height="{smiley.SMILEY_HEIGHT}" alt="{smiley.SMILEY_CODE}" title="{smiley.SMILEY_DESC}" hspace="2" vspace="2" /></a>
    				<!-- END smiley -->
    				</td>
    			</tr>
    			<!-- IF S_SHOW_SMILEY_LINK -->
    			<tr>
    				<td align="center"><a class="nav" href="{U_MORE_SMILIES}" onclick="popup(this.href, 300, 350, '_phpbbsmilies'); return false;">{L_MORE_SMILIES}</a></td>
    			</tr>
    			<!-- ENDIF -->
    		</table>
    	</td>
    	<td class="row2">
    	<!-- ELSE -->
    	<td class="row2" colspan="2">
    	<!-- ENDIF -->

template/viewtopic_print.html

  1. Trouver (vers ligne 6) :
    Code: Tout sélectionner
    <meta http-equiv="Content-Language" content="{S_USER_LANG}">

    Ajouter après :
    Code: Tout sélectionner
    <meta name="robots" content="noindex" />

theme/stylesheet.css

  1. Trouver (vers ligne 184) :
    Code: Tout sélectionner
    } 

    Remplacez par :
    Code: Tout sélectionner
    }

  2. Trouver (vers ligne 295) :
    Code: Tout sélectionner
    .error {
    	color: red;
    }

    Remplacez par :
    Code: Tout sélectionner
    .online {
    	color: green;
    }
    
    .offline, .error, .inactive {
    	color: red;
    }

  3. Trouver (vers ligne 363) :
    Code: Tout sélectionner
    .spacer {
    	background-color: #D1D7DC;
    }

    Ajouter après :
    Code: Tout sélectionner
    .current {
    	background-color: lightblue;
    }
    

  4. Trouver (vers ligne 466) :
    Code: Tout sélectionner
    	font-size: 1.3em; 

    Remplacer par :
    Code: Tout sélectionner
    	font-size: 1.3em;

  5. Trouver (vers ligne 541) :
    Code: Tout sélectionner
    .helpline {
    	background-color: #DEE3E7;
    	border-style: none;
    }

    Ajouter après :
    Code: Tout sélectionner
    input:focus, select:focus, textarea:focus {
    	outline-style: none;
    }
    

theme/theme.cfg

  1. Trouver (vers ligne 24) :
    Code: Tout sélectionner
    version = 3.0.12

    Remplacez par :
    Code: Tout sélectionner
    version = 3.0.13

style.cfg

  1. Convertir le fichier en UTF-8 sans BOM

  2. Trouver (vers ligne 21) :
    Code: Tout sélectionner
    copyright = &copy; phpBB Group, 2007

    Remplacez par :
    Code: Tout sélectionner
    copyright = © phpBB Group, 2007

  3. Trouver (vers ligne 22) :
    Code: Tout sélectionner
    version = 3.0.12

    Remplacez par :
    Code: Tout sélectionner
    version = 3.0.13

Retour à la documentation : mettre à jour son forum phpBB3
Avatar de l’utilisateur
cabot
Equipe site
Equipe site
 
Rédigé le: 27 Jan 2015 à 11:54
Articles: 20
Noter cet article: 123456 Votants: 3
Mots-clés: Mise, à, jour, styles, 3.0.13, 30x

Retourner vers Mise à jour


cron