Mise à jour des styles : de phpBB 3.0.7-PL1 à 3.0.8 Facile

Mise à jour des styles : de phpBB 3.0.7-PL1 à 3.0.8

Détail des modifications des styles de phpBB 3.0.7-PL1 à 3.0.8


Modifications des styles de phpBB 3.0.7-PL1 à phpBB 3.0.8

Retour à la documentation : mettre à jour son forum phpBB3

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

1 » Détail des modifications Prosilver

Liste des fichiers à modifier :
  • style.cfg
  • imageset/imageset.cfg
  • template/captcha_recaptcha.html
  • template/editor.js
  • template/forum_fn.js
  • template/index_body.html
  • template/login_body.html
  • template/mcp_post.html
  • template/mcp_reports.html
  • template/overall_header.html
  • template/posting_buttons.html
  • template/posting_editor.html
  • template/posting_topic_review.html
  • template/quickreply_editor.html
  • template/search_body.html
  • template/template.cfg
  • template/ucp_pm_history.html
  • template/ucp_pm_viewfolder.html
  • template/ucp_profile_signature.html
  • template/viewforum_body.html
  • theme/bidi.css
  • theme/content.css
  • theme/forms.css
  • theme/print.css
  • theme/theme.cfg


Vous pouvez reporter directement les fichiers sur lesquels vous n'avez effectué aucune modification. Ce sont pour la plupart des templates car si vous avez modifié votre style, il y a de fortes chances que vous ayez touché au moins à colours.css et common.css...
Pour les fichiers suivants, il faudra parfois adapter le code à vos précédentes modifications.
N.B. Si certaines modifications vous semblent identiques au code d'origine, c'est parce qu'elles ne concernent que des espaces en trop - en fin de ligne - qui ont été retirés ;).


style.cfg
  1. Cherchez (dernière ligne)
    Code: Tout sélectionner
    version = 3.0.7

    Remplacez par
    Code: Tout sélectionner
    version = 3.0.8

imageset/imageset.cfg
  1. Cherchez (environs de la ligne 22)
    Code: Tout sélectionner
    version = 3.0.7

    Remplacez par
    Code: Tout sélectionner
    version = 3.0.8

template/captcha_recaptcha.html
  1. Cherchez (ligne 15)
    Code: Tout sélectionner
    		<script type="text/javascript">
    		// <![CDATA[
    		var RecaptchaOptions = {
    			lang : '{LA_RECAPTCHA_LANG}',

    juste après, ajoutez;
    Code: Tout sélectionner
    			theme : 'clean',

template/editor.js
  1. Cherchez (ligne 160)
    Code: Tout sélectionner
    		mozWrap(textarea, text, '')

    remplacez par ;
    Code: Tout sélectionner
    		mozWrap(textarea, text, '');

  2. Cherchez (ligne 197)
    Code: Tout sélectionner
    function addquote(post_id, username)
    {
    	var message_name = 'message_' + post_id;
    	var theSelection = '';
    	var divarea = false;
    

    remplacez par ;
    Code: Tout sélectionner
    function addquote(post_id, username, l_wrote)
    {
    	var message_name = 'message_' + post_id;
    	var theSelection = '';
    	var divarea = false;
    
    	if (l_wrote === undefined)
    	{
    		// Backwards compatibility
    		l_wrote = 'wrote';
    	}
    
  3. Cherchez (ligne 259)
    Code: Tout sélectionner
    			var lines = split_lines(theSelection);
    			for (i = 0; i < lines.length; i++)
    			{
    				insert_text('> ' + lines[i] + '\n')
    

    remplacez par ;
    Code: Tout sélectionner
    			insert_text(username + ' ' + l_wrote + ':' + '\n');
    			var lines = split_lines(theSelection);
    			for (i = 0; i < lines.length; i++)
    			{
    				insert_text('> ' + lines[i] + '\n');
    

  4. Cherchez (ligne 292)
    Code: Tout sélectionner
    					j++
    				}
    				else
    				{
    					splitLines[j] = line.substring(0, splitAt);
    					line = line.substring(splitAt);
    					j++;
    				}
    			}
    			while(splitAt != -1)
    

    remplacez par ;
    Code: Tout sélectionner
    					j++;
    				}
    				else
    				{
    					splitLines[j] = line.substring(0, splitAt);
    					line = line.substring(splitAt);
    					j++;
    				}
    			}
    			while(splitAt != -1);
    

  5. Cherchez (ligne 322)
    Code: Tout sélectionner
    	var s2 = (txtarea.value).substring(selStart, selEnd)
    

    remplacez par ;
    Code: Tout sélectionner
    	var s2 = (txtarea.value).substring(selStart, selEnd);
    

template/forum_fn.js
  1. Cherchez (ligne 98)
    Code: Tout sélectionner
    /**
    * Set display of page element
    * s[-1,0,1] = hide,toggle display,show
    */
    function dE(n, s)
    {
    	var e = document.getElementById(n);
    
    	if (!s)
    	{
    		s = (e.style.display == '' || e.style.display == 'block') ? -1 : 1;
    	}
    	e.style.display = (s == 1) ? 'block' : 'none';
    }

    Remplacez par
    Code: Tout sélectionner
    /**
    * Set display of page element
    * s[-1,0,1] = hide,toggle display,show
    * type = string: inline, block, inline-block or other CSS "display" type
    */
    function dE(n, s, type)
    {
    	if (!type)
    	{
    		type = 'block';
    	}
    
    	var e = document.getElementById(n);
    	if (!s)
    	{
    		s = (e.style.display == '' || e.style.display == type) ? -1 : 1;
    	}
    	e.style.display = (s == 1) ? type : 'none';
    }

template/index_body.html
  1. Cherchez (ligne 9)
    Code: Tout sélectionner
    		<li><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a><!-- IF S_USER_LOGGED_IN --> &bull; <a href="{U_SEARCH_UNREAD}">{L_SEARCH_UNREAD}</a> &bull; <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><!-- ENDIF --> &bull; <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></li>
    

    Remplacez par
    Code: Tout sélectionner
    		<li><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a><!-- IF S_LOAD_UNREADS --> &bull; <a href="{U_SEARCH_UNREAD}">{L_SEARCH_UNREAD}</a><!-- ENDIF --><!-- IF S_USER_LOGGED_IN --> &bull; <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><!-- ENDIF --> &bull; <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></li>
    

template/login_body.html
  1. Cherchez
    Code: Tout sélectionner
    <!-- INCLUDE overall_header.html -->	

    juste après, ajoutez
    Code: Tout sélectionner
    <script type="text/javascript">
    // <![CDATA[
    	onload_functions.push('document.getElementById("{USERNAME_CREDENTIAL}").focus();');
    // ]]>
    </script>
    
    

  2. Cherchez (autour de la ligne 33)
    Code: Tout sélectionner
    <!-- ENDIF -->
    
    		<dl>
    			<dt>&nbsp;</dt>
    			<dd>{S_HIDDEN_FIELDS}<input type="submit" name="login" tabindex="6" value="{L_LOGIN}" class="button1" /></dd>
    		</dl>
    		{S_LOGIN_REDIRECT}
    	

    remplacez par
    Code: Tout sélectionner
    		<!-- ENDIF -->
    
    		{S_LOGIN_REDIRECT}
    		<dl>
    			<dt>&nbsp;</dt>
    			<dd>{S_HIDDEN_FIELDS}<input type="submit" name="login" tabindex="6" value="{L_LOGIN}" class="button1" /></dd>
    		</dl>
    

template/mcp_post.html
  1. Cherchez ( ligne 57)
    Code: Tout sélectionner
    		<h3><a href="{U_VIEW_POST}">{POST_SUBJECT}</a></h3>
    

    Juste avant, ajoutez
    Code: Tout sélectionner
    		<span class="right-box" id="expand"><a href="#post_details" onclick="viewableArea(getElementById('post_details'), true); var rev_text = getElementById('expand').getElementsByTagName('a').item(0).firstChild; if (rev_text.data == '{LA_EXPAND_VIEW}'){rev_text.data = '{LA_COLLAPSE_VIEW}'; } else if (rev_text.data == '{LA_COLLAPSE_VIEW}'){rev_text.data = '{LA_EXPAND_VIEW}'}; return false;">{L_EXPAND_VIEW}</a></span>
    
  2. Cherchez ( ligne 87)
    Code: Tout sélectionner
    				<div class="content">

    Remplacez par
    Code: Tout sélectionner
    		<div class="content" id="post_details">
    

template/mcp_reports.html
  1. Cherchez (ligne 57)
    Code: Tout sélectionner
    						{L_FORUM}: <a href="{postrow.U_VIEWFORUM}">{postrow.FORUM_NAME}</a></span>
    

    Remplacez par
    Code: Tout sélectionner
    						<!-- IF postrow.U_VIEWFORUM -->{L_FORUM}: <a href="{postrow.U_VIEWFORUM}">{postrow.FORUM_NAME}</a><!-- ELSE -->{postrow.FORUM_NAME}<!-- ENDIF --></span>
    

template/overall_header.html
  1. Cherchez (autour de la ligne 14)
    Code: Tout sélectionner
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    

    Remplacez par
    Code: Tout sélectionner
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9" />
    

template/posting_buttons.html
  1. Cherchez (ligne 82)
    Code: Tout sélectionner
    	<input type="button" class="button2" accesskey="t" name="addlitsitem" value="[*]" style="width: 40px" onclick="bbstyle(-1)" title="{L_BBCODE_LISTITEM_HELP}" />
    

    Remplacez par
    Code: Tout sélectionner
    	<input type="button" class="button2" accesskey="y" name="addlitsitem" value="[*]" style="width: 40px" onclick="bbstyle(-1)" title="{L_BBCODE_LISTITEM_HELP}" />
    

template/posting_editor.html
  1. Cherchez (lignes 190/191)
    Code: Tout sélectionner
    			<!-- IF S_HAS_DRAFTS --><input type="submit" accesskey="d" tabindex="8" name="load" value="{L_LOAD}" class="button2" onclick="load_draft = true;" />&nbsp; <!-- ENDIF -->
    			<!-- IF S_SAVE_ALLOWED --><input type="submit" accesskey="k" tabindex="7" name="save" value="{L_SAVE}" class="button2" />&nbsp; <!-- ENDIF -->
    
    

    Remplacez par
    Code: Tout sélectionner
    			<!-- IF S_HAS_DRAFTS --><input type="submit" accesskey="d" tabindex="8" name="load" value="{L_LOAD_DRAFT}" class="button2" onclick="load_draft = true;" />&nbsp; <!-- ENDIF -->
    			<!-- IF S_SAVE_ALLOWED --><input type="submit" accesskey="k" tabindex="7" name="save" value="{L_SAVE_DRAFT}" class="button2" />&nbsp; <!-- ENDIF -->
    
    

template/posting_topic_review.html
  1. Cherchez (ligne 27)
    Code: Tout sélectionner
    				<li class="quote-icon"><a href="#postingbox" onclick="addquote({topic_review_row.POST_ID}, '{topic_review_row.POSTER_QUOTE}');" title="{L_QUOTE} {topic_review_row.POST_AUTHOR}"><span>{L_QUOTE} {topic_review_row.POST_AUTHOR}</span></a></li>

    Remplacez par
    Code: Tout sélectionner
    				<li class="quote-icon"><a href="#postingbox" onclick="addquote({topic_review_row.POST_ID}, '{topic_review_row.POSTER_QUOTE}', '{LA_WROTE}');" title="{L_QUOTE} {topic_review_row.POST_AUTHOR}"><span>{L_QUOTE} {topic_review_row.POST_AUTHOR}</span></a></li>

template/quickreply_editor.html
  1. Cherchez (ligne 64)
    Code: Tout sélectionner
    					<input type="submit" accesskey="f" tabindex="6" name="full_editor" value="{L_FULL_EDITOR}" class="button2" />&nbsp;
    

    Remplacez par
    Code: Tout sélectionner
    					<input type="submit" accesskey="f" tabindex="7" name="full_editor" value="{L_FULL_EDITOR}" class="button2" />&nbsp;
    

template/search_body.html
  1. Cherchez
    Code: Tout sélectionner
    <!-- INCLUDE overall_header.html -->

    juste après, ajoutez
    Code: Tout sélectionner
    <script type="text/javascript">
    // <![CDATA[
    	onload_functions.push('document.getElementById("keywords").focus();');
    // ]]>
    </script>
    
    
  2. Cherchez
    Code: Tout sélectionner
    <!-- INCLUDE overall_footer.html -->

    remplacez par
    Code: Tout sélectionner
    <!-- INCLUDE overall_footer.html -->
    
    

template/template.cfg
  1. Cherchez (ligne 22)
    Code: Tout sélectionner
    version = 3.0.7

    Remplacez par
    Code: Tout sélectionner
    version = 3.0.8

template/ucp_pm_history.html
  1. Cherchez (ligne 4)
    Code: Tout sélectionner
    	{L_MESSAGE_HISTORY}: {HISTORY_TITLE}
    

    remplacez par
    Code: Tout sélectionner
    	{L_MESSAGE_HISTORY}:
    
  2. Cherchez (ligne 7)
    Code: Tout sélectionner
    <div id="topicreview">
    

    juste après, ajoutez
    Code: Tout sélectionner
    	<script type="text/javascript">
    	// <![CDATA[
    		bbcodeEnabled = {S_BBCODE_ALLOWED};
    	// ]]>
    	</script>
    
  3. Cherchez (ligne 15)
    Code: Tout sélectionner
    				<li class="quote-icon"><a <!-- IF history_row.U_QUOTE -->href="{history_row.U_QUOTE}"<!-- ELSE -->href="#postingbox" onclick="addquote({history_row.MSG_ID}, '{history_row.MESSAGE_AUTHOR_QUOTE}');"<!-- ENDIF --> title="{L_QUOTE} {history_row.MESSAGE_AUTHOR}"><span>{L_QUOTE} {history_row.MESSAGE_AUTHOR}</span></a></li>
    
    

    remplacez par
    Code: Tout sélectionner
    				<li class="quote-icon"><a <!-- IF history_row.U_QUOTE -->href="{history_row.U_QUOTE}"<!-- ELSE -->href="#postingbox" onclick="addquote({history_row.MSG_ID}, '{history_row.MESSAGE_AUTHOR_QUOTE}', '{LA_WROTE}');"<!-- ENDIF --> title="{L_QUOTE} {history_row.MESSAGE_AUTHOR}"><span>{L_QUOTE} {history_row.MESSAGE_AUTHOR}</span></a></li>
    
    

template/ucp_pm_viewfolder.html
  1. Cherchez (ligne 74)
    Code: Tout sélectionner
    						<!-- IF messagerow.S_TOPIC_REPORTED --><a href="{messagerow.U_MCP_REPORT}">{REPORTED_IMG}</a><!-- ENDIF --> {messagerow.ATTACH_ICON_IMG}<br />
    

    Remplacez par
    Code: Tout sélectionner
    						<!-- IF messagerow.S_PM_REPORTED --><a href="{messagerow.U_MCP_REPORT}">{REPORTED_IMG}</a><!-- ENDIF --> {messagerow.ATTACH_ICON_IMG}<br />
    

template/ucp_profile_signature.html
  1. Cherchez (ligne 7)
    Code: Tout sélectionner
    <!-- IF SIGNATURE_PREVIEW -->
    

    Remplacez par
    Code: Tout sélectionner
    <!-- IF SIGNATURE_PREVIEW != '' -->
    

template/viewforum_body.html
  1. Cherchez (ligne 42)
    Code: Tout sélectionner
    			<div class="<!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->post-icon<!-- ENDIF -->"><a href="{U_POST_NEW_TOPIC}" title="<!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF -->"><span></span><!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF --></a></div>
    

    Remplacez par
    Code: Tout sélectionner
    			<div class="<!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->post-icon<!-- ENDIF -->" title="<!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF -->"><a href="{U_POST_NEW_TOPIC}"><span></span><!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF --></a></div>
    
  2. Cherchez (ligne 125)
    Code: Tout sélectionner
    		<div class="forumbg<!-- IF topicrow.S_TOPIC_TYPE_SWITCH --> announcement<!-- ENDIF -->">
    

    Remplacez par
    Code: Tout sélectionner
    		<div class="forumbg<!-- IF topicrow.S_TOPIC_TYPE_SWITCH and (topicrow.S_POST_ANNOUNCE or topicrow.S_POST_GLOBAL) --> announcement<!-- ENDIF -->">
    
  3. Cherchez (ligne 130)
    Code: Tout sélectionner
    					<dt><!-- IF S_DISPLAY_ACTIVE -->{L_ACTIVE_TOPICS}<!-- ELSEIF topicrow.S_TOPIC_TYPE_SWITCH and topicrow.S_TOPIC_TYPE gt 1 -->{L_ANNOUNCEMENTS}<!-- ELSE -->{L_TOPICS}<!-- ENDIF --></dt>
    

    Remplacez par
    Code: Tout sélectionner
    					<dt><!-- IF S_DISPLAY_ACTIVE -->{L_ACTIVE_TOPICS}<!-- ELSEIF topicrow.S_TOPIC_TYPE_SWITCH and (topicrow.S_POST_ANNOUNCE or topicrow.S_POST_GLOBAL) -->{L_ANNOUNCEMENTS}<!-- ELSE -->{L_TOPICS}<!-- ENDIF --></dt>
    
  4. Cherchez (ligne 140)
    Code: Tout sélectionner
    		<li class="row<!-- IF topicrow.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF --><!-- IF topicrow.S_POST_ANNOUNCE --> announce<!-- ENDIF --><!-- IF topicrow.S_POST_STICKY --> sticky<!-- ENDIF --><!-- IF topicrow.S_TOPIC_REPORTED --> reported<!-- ENDIF -->">
    

    Remplacez par
    Code: Tout sélectionner
    		<li class="row<!-- IF topicrow.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF --><!-- IF topicrow.S_POST_GLOBAL --> global-announce<!-- ENDIF --><!-- IF topicrow.S_POST_ANNOUNCE --> announce<!-- ENDIF --><!-- IF topicrow.S_POST_STICKY --> sticky<!-- ENDIF --><!-- IF topicrow.S_TOPIC_REPORTED --> reported<!-- ENDIF -->">
    

theme/bidi.css
  1. Cherchez (aux environs de la ligne 238)
    Code: Tout sélectionner
    .rtl a.top2 {
    	padding-left: 0;
    	padding-right: 15px;
    }

    remplacez par
    Code: Tout sélectionner
    .rtl a.top2 {
    	background-position: 100% 50%;
    	padding-left: 0;
    	padding-right: 15px;
    }

theme/content.css
  1. Cherchez
    Code: Tout sélectionner
    .post-ignore .postbody {
    	display: none;
    }
    

    Après, ajoutez
    Code: Tout sélectionner
    /* MCP Post details
    ----------------------------------------*/
    #post_details
    {
    	/* This will only work in IE7+, plus the others */
    	overflow: auto;
    	max-height: 300px;
    }
    
    #expand
    {
    	clear: both;
    }
    
    

theme/forms.css
  1. Cherchez
    Code: Tout sélectionner
    fieldset.fields1 div {
    	margin-bottom: 3px;
    }

    Après, ajoutez
    Code: Tout sélectionner
    /* Set it back to 0px for the reCaptcha divs: PHPBB3-9587 */
    fieldset.fields1 #recaptcha_widget_div div {
    	margin-bottom: 0;
    }
    
    

theme/print.css
  1. Cherchez
    Code: Tout sélectionner
    /* Accessibility tweaks: Mozilla.org */
    .skip_link { display: none; }
    

    Après, ajoutez
    Code: Tout sélectionner
    dl.codebox dt { display: none; }

theme/theme.cfg
  1. Cherchez
    Code: Tout sélectionner
    version = 3.0.7

    Remplacez par
    Code: Tout sélectionner
    version = 3.0.8

Sauvegardez tous les fichiers, écrasez ceux présents sur votre ftp et n'oubliez pas de rafraichir le dossier "template" et "theme" de votre style dans l'onglet "styles" du panneau d'administration.

Retour à la documentation : mettre à jour son forum phpBB3


Modifications des styles de phpBB 3.0.7-PL1 à phpBB 3.0.8

2 » Détail des modifications subsilver2

Liste des fichiers à modifier :
  • imageset/imageset.cfg
  • style.cfg
  • template/attachment.html
  • template/captcha_default.html
  • template/captcha_recaptcha.html
  • template/editor.js
  • template/index_body.html
  • template/login_body.html
  • template/overall_header.html
  • template/posting_body.html
  • template/posting_buttons.html
  • template/posting_topic_review.html
  • template/search_body.html
  • template/template.cfg
  • template/ucp_pm_history.html
  • template/ucp_pm_message_footer.html
  • template/ucp_pm_viewfolder.html
  • template/ucp_profile_signature.html
  • template/viewforum_body.html
  • template/viewtopic_body.html
  • theme/theme.cfg



styles/subsilver2/imageset/imageset.cfg

[ TROUVER ]
Autour de la ligne 22
Code: Tout sélectionner
version = 3.0.7


[ REMPLACER PAR ]
Code: Tout sélectionner
version = 3.0.8


styles/subsilver2/style.cfg

[ TROUVER ]
Autour de la ligne 22
Code: Tout sélectionner
version = 3.0.7


[ REMPLACER PAR ]
Code: Tout sélectionner
version = 3.0.8


styles/subsilver2/template/attachment.html

[ TROUVER ]
Autour de la ligne 56
Code: Tout sélectionner
				<param name="movie" value="{_file.U_DOWNLOAD_LINK}" />
				<param name="play" value="true" />
				<param name="loop" value="true" />
				<param name="quality" value="high" />
				<param name="allowScriptAccess" value="never" />
				<param name="allowNetworking" value="internal" />
				<embed src="{_file.U_DOWNLOAD_LINK}" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" width="{_file.WIDTH}" height="{_file.HEIGHT}" play="true" loop="true" quality="high" allowscriptaccess="never" allownetworking="internal"></embed>


[ REMPLACER PAR ]
Code: Tout sélectionner
				<param name="movie" value="{_file.U_VIEW_LINK}" />
				<param name="play" value="true" />
				<param name="loop" value="true" />
				<param name="quality" value="high" />
				<param name="allowScriptAccess" value="never" />
				<param name="allowNetworking" value="internal" />
				<embed src="{_file.U_VIEW_LINK}" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" width="{_file.WIDTH}" height="{_file.HEIGHT}" play="true" loop="true" quality="high" allowscriptaccess="never" allownetworking="internal"></embed>


styles/subsilver2/template/captcha_default.html

[ TROUVER ]
Autour de la ligne 1
Code: Tout sélectionner
	<tr>
		<th colspan="2" valign="middle">{L_CONFIRM_CODE}</th>
	</tr>


[ Rajouter après ]
Code: Tout sélectionner
	<!-- IF S_TYPE == 1 -->


[ TROUVER ]
Autour de la ligne 1
Code: Tout sélectionner
	<tr>
		<td class="row3" colspan="2"><span class="gensmall">{L_CONFIRM_EXPLAIN}</span></td>
	</tr>


[ Rajouter après ]
Code: Tout sélectionner
<!-- ENDIF -->


styles/subsilver2/template/captcha_recaptcha.html

[ TROUVER ]
Autour de la ligne 7
Code: Tout sélectionner
		<td class="row2">
		<script type="text/javascript">
		// <![CDATA[
		var RecaptchaOptions = {
			lang : '{LA_RECAPTCHA_LANG}',


[ Rajouter après ]
Code: Tout sélectionner
theme : 'clean',


styles/subsilver2/template/editor.js

[ TROUVER ]
Autour de la ligne 4
Code: Tout sélectionner
*/

// Startup variables
var imageTag = false;
var theSelection = false;


[ Rajouter après ]
Code: Tout sélectionner
var bbcodeEnabled = true;



[ TROUVER ]
Autour de la ligne 160
Code: Tout sélectionner
mozWrap(textarea, text, '')


[ REMPLACER PAR ]
Code: Tout sélectionner
mozWrap(textarea, text, '');


[ TROUVER ]
Autour de la ligne 194
Code: Tout sélectionner
function addquote(post_id, username)
{
	var message_name = 'message_' + post_id;
	var theSelection = '';
	var divarea = false;


[ REMPLACER PAR ]
Code: Tout sélectionner
function addquote(post_id, username, l_wrote)
{
	var message_name = 'message_' + post_id;
	var theSelection = '';
	var divarea = false;

	if (l_wrote === undefined)
	{
		// Backwards compatibility
		l_wrote = 'wrote';
	}


[ TROUVER ]
Autour de la ligne 238
Code: Tout sélectionner
theSelection = divarea.innerHTML.replace(/<br>/ig, '\n');
			theSelection = theSelection.replace(/<br\/>/ig, '\n');
			theSelection = theSelection.replace(/&lt\;/ig, '<');
			theSelection = theSelection.replace(/&gt\;/ig, '>');
			theSelection = theSelection.replace(/&amp\;/ig, '&');


[ Rajouter après ]
Code: Tout sélectionner
theSelection = theSelection.replace(/&nbsp\;/ig, ' ');


[ TROUVER ]
Autour de la ligne 256
Code: Tout sélectionner
insert_text('[quote="' + username + '"]' + theSelection + '[/quote]');
	}

	return;


[ REMPLACER PAR ]
Code: Tout sélectionner
if (bbcodeEnabled)
		{
			insert_text('[quote="' + username + '"]' + theSelection + '[/quote]');
		}
		else
		{
			insert_text(username + ' ' + l_wrote + ':' + '\n');
			var lines = split_lines(theSelection);
			for (i = 0; i < lines.length; i++)
			{
				insert_text('> ' + lines[i] + '\n');
			}
		}
	}

	return;
}


function split_lines(text)
{
	var lines = text.split('\n');
	var splitLines = new Array();
	var j = 0;
	for(i = 0; i < lines.length; i++)
	{
		if (lines[i].length <= 80)
		{
			splitLines[j] = lines[i];
			j++;
		}
		else
		{
			var line = lines[i];
			do
			{
				var splitAt = line.indexOf(' ', 80);
				
				if (splitAt == -1)
				{
					splitLines[j] = line;
					j++;
				}
				else
				{
					splitLines[j] = line.substring(0, splitAt);
					line = line.substring(splitAt);
					j++;
				}
			}
			while(splitAt != -1);
		}
	}
	return splitLines;


[ TROUVER ]
Autour de la ligne 328
Code: Tout sélectionner
var s2 = (txtarea.value).substring(selStart, selEnd)


[ REMPLACER PAR ]
Code: Tout sélectionner
var s2 = (txtarea.value).substring(selStart, selEnd);


[ TROUVER ]
Autour de la ligne 386
Code: Tout sélectionner
document.write('<td bgcolor="#' + color + '">');
				document.write('<a href="#" onclick="bbfontstyle(\'[color=#' + color + ']\', \'[/color]\'); return false;" onmouseover="helpline(\'s\');"  onmouseout="helpline(\'tip\');"><img src="images/spacer.gif" width="' + width + '" height="' + height + '" alt="#' + color + '" title="#' + color + '" /></a>');


[ REMPLACER PAR ]
Code: Tout sélectionner
document.write('<td bgcolor="#' + color + '" style="width: ' + width + 'px; height: ' + height + 'px;">');
				document.write('<a href="#" onclick="bbfontstyle(\'[color=#' + color + ']\', \'[/color]\'); return false;"><img src="images/spacer.gif" width="' + width + '" height="' + height + '" alt="#' + color + '" title="#' + color + '" /></a>');



styles/subsilver2/template/index_body.html

[ TROUVER ]
Autour de la ligne 87
Code: Tout sélectionner
<td width="20" align="center">{FORUM_NEW_IMG}</td>
	<td><span class="gensmall">{L_NEW_POSTS}</span></td>
	<td>&nbsp;&nbsp;</td>
	<td width="20" align="center">{FORUM_IMG}</td>
	<td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>


[ REMPLACER PAR ]
Code: Tout sélectionner
<td width="20" align="center">{FORUM_UNREAD_IMG}</td>
	<td><span class="gensmall">{L_UNREAD_POSTS}</span></td>
	<td>&nbsp;&nbsp;</td>
	<td width="20" align="center">{FORUM_IMG}</td>
	<td><span class="gensmall">{L_NO_UNREAD_POSTS}</span></td>


styles/subsilver2/template/login_body.html

[ TROUVER ]
Autour de la ligne 70
Code: Tout sélectionner
<table class="tablebg" width="100%" cellspacing="1">
		
	<!-- INCLUDE {CAPTCHA_TEMPLATE} -->
<!-- ENDIF -->



[ Rajouter après ]
Code: Tout sélectionner
{S_LOGIN_REDIRECT}


[ TROUVER ]
Autour de la ligne 70
Code: Tout sélectionner
<tr>
	<td class="cat" <!-- IF not S_ADMIN_AUTH or S_CONFIRM_CODE -->colspan="2"<!-- ENDIF --> align="center">{S_HIDDEN_FIELDS}<input type="submit" name="login" class="btnmain" value="{L_LOGIN}" tabindex="5" /></td>
</tr>
</table>
{S_FORM_TOKEN}
{S_LOGIN_REDIRECT}


[ REMPLACER PAR ]
Code: Tout sélectionner
<tr>
	<td class="cat" <!-- IF not S_ADMIN_AUTH or S_CONFIRM_CODE -->colspan="2"<!-- ENDIF --> align="center">{S_HIDDEN_FIELDS}<input type="submit" name="login" class="btnmain" value="{L_LOGIN}" tabindex="5" /></td>
</tr>
</table>
{S_FORM_TOKEN}


[ TROUVER ]
Autour de la ligne 90

Code: Tout sélectionner
<!-- INCLUDE overall_footer.html -->

[ REMPLACER PAR ]

Code: Tout sélectionner
<script type="text/javascript">
// <![CDATA[
	(function()
	{
		var elements = document.getElementsByName("{USERNAME_CREDENTIAL}");
		for (var i = 0; i < elements.length; ++i)
		{
			if (elements[i].tagName.toLowerCase() == 'input')
			{
				elements[i].focus();
				break;
			}
		}
	})();
// ]]>
</script>

<!-- INCLUDE overall_footer.html -->


styles/subsilver2/template/overall_header.html

[ TROUVER ]
Autour de la ligne 9
Code: Tout sélectionner
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />


[ REMPLACER PAR ]
Code: Tout sélectionner
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9" />


[ TROUVER ]
Autour de la ligne 199
Code: Tout sélectionner
<!-- IF S_USER_LOGGED_IN -->
		<span style="float: {S_CONTENT_FLOW_END};"><a href="{U_SEARCH_UNREAD}">{L_SEARCH_UNREAD}</a> | <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> | <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></span>


[ REMPLACER PAR ]
Code: Tout sélectionner
<!-- IF S_USER_LOGGED_IN or S_LOAD_UNREADS -->
		<span style="float: {S_CONTENT_FLOW_END};"><!-- IF S_LOAD_UNREADS --><a href="{U_SEARCH_UNREAD}">{L_SEARCH_UNREAD}</a><!-- IF S_USER_LOGGED_IN --> | <!-- ENDIF --><!-- ENDIF --><!-- IF S_USER_LOGGED_IN --><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> | <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a><!-- ENDIF --></span>


styles/subsilver2/template/posting_body.html

[ TROUVER ]
Autour de la ligne 340
Code: Tout sélectionner
<!-- IF S_SAVE_ALLOWED -->&nbsp; <input class="btnlite" type="submit" accesskey="k" tabindex="7" name="save" value="{L_SAVE}" /><!-- ENDIF -->
			<!-- IF S_HAS_DRAFTS -->&nbsp; <input class="btnlite" type="submit" accesskey="d" tabindex="8" name="load" value="{L_LOAD}" /><!-- ENDIF -->


[ REMPLACER PAR ]
Code: Tout sélectionner
<!-- IF S_SAVE_ALLOWED -->&nbsp; <input class="btnlite" type="submit" accesskey="k" tabindex="7" name="save" value="{L_SAVE_DRAFT}" /><!-- ENDIF -->
			<!-- IF S_HAS_DRAFTS -->&nbsp; <input class="btnlite" type="submit" accesskey="d" tabindex="8" name="load" value="{L_LOAD_DRAFT}" /><!-- ENDIF -->


[ TROUVER ]
Autour de la ligne 363
Code: Tout sélectionner
<!-- IF S_SAVE_ALLOWED -->&nbsp; <input class="btnlite" type="submit" accesskey="k" tabindex="12" name="save" value="{L_SAVE}" /><!-- ENDIF -->
			<!-- IF S_HAS_DRAFTS -->&nbsp; <input class="btnlite" type="submit" accesskey="d" tabindex="13" name="load" value="{L_LOAD}" /><!-- ENDIF -->

[ REMPLACER PAR ]
Code: Tout sélectionner
<!-- IF S_SAVE_ALLOWED -->&nbsp; <input class="btnlite" type="submit" accesskey="k" tabindex="12" name="save" value="{L_SAVE_DRAFT}" /><!-- ENDIF -->
			<!-- IF S_HAS_DRAFTS -->&nbsp; <input class="btnlite" type="submit" accesskey="d" tabindex="13" name="load" value="{L_LOAD_DRAFT}" /><!-- ENDIF -->


styles/subsilver2/template/posting_buttons.html

[ TROUVER ]
Autour de la ligne 17
Code: Tout sélectionner
c: '{LA_BBCODE_C_HELP}',
			l: '{LA_BBCODE_L_HELP}',
			o: '{LA_BBCODE_O_HELP}',
			p: '{LA_BBCODE_P_HELP}',
			w: '{LA_BBCODE_W_HELP}',


[ Rajouter après ]
Code: Tout sélectionner
a: '{LA_BBCODE_A_HELP}',


[ TROUVER ]
Autour de la ligne 43
Code: Tout sélectionner
<input type="button" class="btnbbcode" accesskey="t" name="addlitsitem" value="[*]" style="width: 40px" onclick="bbstyle(-1)" onmouseover="helpline('e')" onmouseout="helpline('tip')" />


[ REMPLACER PAR ]
Code: Tout sélectionner
<input type="button" class="btnbbcode" accesskey="y" name="addlitsitem" value="[*]" style="width: 40px" onclick="bbstyle(-1)" onmouseover="helpline('e')" onmouseout="helpline('tip')" />


styles/subsilver2/template/posting_topic_review.html

[ TROUVER ]
Autour de la ligne 1

Code: Tout sélectionner
<table class="tablebg" width="100%" cellspacing="1">
<tr>
	<th align="center">{L_TOPIC_REVIEW} - {TOPIC_TITLE}</th>
</tr>


[ Rajouter après ]
Code: Tout sélectionner
<script type="text/javascript">
// <![CDATA[
	bbcodeEnabled = {S_BBCODE_ALLOWED};
// ]]>
</script>


[ TROUVER ]
Autour de la ligne 34
Code: Tout sélectionner
<td valign="top" nowrap="nowrap">&nbsp;<!-- IF topic_review_row.POSTER_QUOTE and topic_review_row.DECODED_MESSAGE --><a href="#" onclick="addquote({topic_review_row.POST_ID},'{topic_review_row.POSTER_QUOTE}'); return false;">{QUOTE_IMG}</a><!-- ENDIF --></td>


[ REMPLACER PAR ]
Code: Tout sélectionner
<td valign="top" nowrap="nowrap">&nbsp;<!-- IF topic_review_row.POSTER_QUOTE and topic_review_row.DECODED_MESSAGE --><a href="#" onclick="addquote({topic_review_row.POST_ID},'{topic_review_row.POSTER_QUOTE}', '{LA_WROTE}'); return false;">{QUOTE_IMG}</a><!-- ENDIF --></td>


styles/subsilver2/template/search_body.html

[ TROUVER ]
Autour de la ligne 78
Code: Tout sélectionner
<!-- INCLUDE overall_footer.html -->


[ REMPLACER PAR ]
Code: Tout sélectionner
<script type="text/javascript">
// <![CDATA[
	(function()
	{
		var elements = document.getElementsByName("keywords");
		for (var i = 0; i < elements.length; ++i)
		{
			if (elements[i].tagName.toLowerCase() == 'input')
			{
				elements[i].focus();
				break;
			}
		}
	})();
// ]]>
</script>

<!-- INCLUDE overall_footer.html -->


styles/subsilver2/template/template.cfg

[ TROUVER ]
Autour de la ligne 22
Code: Tout sélectionner
version = 3.0.7


[ REMPLACER PAR ]
Code: Tout sélectionner
version = 3.0.8


styles/subsilver2/template/ucp_pm_history.html

[ TROUVER ]
Autour de la ligne 1

Code: Tout sélectionner
<table class="tablebg" width="100%" cellspacing="1">
<tr>
	<th align="center">{L_MESSAGE_HISTORY} - {HISTORY_TITLE}</th>


[ REMPLACER PAR ]
Code: Tout sélectionner
<script type="text/javascript">
// <![CDATA[
	bbcodeEnabled = {S_BBCODE_ALLOWED};
// ]]>
</script>

<table class="tablebg" width="100%" cellspacing="1">
<tr>
	<th align="center">{L_MESSAGE_HISTORY}</th>


[ TROUVER ]
Autour de la ligne 57
Code: Tout sélectionner
<td><div class="gensmall" style="float: {S_CONTENT_FLOW_BEGIN};">&nbsp;<!-- IF history_row.U_PROFILE --><a href="{history_row.U_PROFILE}">{PROFILE_IMG}</a> <!-- ENDIF --> <!-- IF history_row.U_EMAIL --><a href="{history_row.U_EMAIL}">{EMAIL_IMG}</a> <!-- ENDIF -->&nbsp;</div> <div class="gensmall" style="float: {S_CONTENT_FLOW_END};"><!-- IF history_row.U_QUOTE or history_row.MESSAGE_AUTHOR_QUOTE --><a <!-- IF history_row.U_QUOTE -->href="{history_row.U_QUOTE}"<!-- ELSE -->href="#" onclick="addquote({history_row.MSG_ID}, '{history_row.MESSAGE_AUTHOR_QUOTE}'); return false;"<!-- ENDIF -->>{QUOTE_IMG}</a> <!-- ENDIF --> <!-- IF history_row.U_POST_REPLY_PM --><a href="{history_row.U_POST_REPLY_PM}">{REPLY_IMG}</a><!-- ENDIF -->&nbsp;</div></td>


[ REMPLACER PAR ]
Code: Tout sélectionner
<td><div class="gensmall" style="float: {S_CONTENT_FLOW_BEGIN};">&nbsp;<!-- IF history_row.U_PROFILE --><a href="{history_row.U_PROFILE}">{PROFILE_IMG}</a> <!-- ENDIF --> <!-- IF history_row.U_EMAIL --><a href="{history_row.U_EMAIL}">{EMAIL_IMG}</a> <!-- ENDIF -->&nbsp;</div> <div class="gensmall" style="float: {S_CONTENT_FLOW_END};"><!-- IF history_row.U_QUOTE or history_row.MESSAGE_AUTHOR_QUOTE --><a <!-- IF history_row.U_QUOTE -->href="{history_row.U_QUOTE}"<!-- ELSE -->href="#" onclick="addquote({history_row.MSG_ID}, '{history_row.MESSAGE_AUTHOR_QUOTE}', '{LA_WROTE}'); return false;"<!-- ENDIF -->>{QUOTE_IMG}</a> <!-- ENDIF --> <!-- IF history_row.U_POST_REPLY_PM --><a href="{history_row.U_POST_REPLY_PM}">{REPLY_IMG}</a><!-- ENDIF -->&nbsp;</div></td>


styles/subsilver2/template/ucp_pm_message_footer.html

[ TROUVER ]
Autour de la ligne 12
Code: Tout sélectionner
<td align="{S_CONTENT_FLOW_BEGIN}"><!-- INCLUDE pagination.html -->
				<!-- IF S_VIEW_MESSAGE -->
					<span class="gensmall">
						<!-- IF U_PRINT_PM --><a href="{U_PRINT_PM}" title="{L_PRINT_PM}">{L_PRINT_PM}</a><!-- IF U_FORWARD_PM --> | <!-- ENDIF --><!-- ENDIF -->
						<!-- IF U_FORWARD_PM --><a href="{U_FORWARD_PM}" title="{L_FORWARD_PM}">{L_FORWARD_PM}</a><!-- ENDIF -->


[ Rajouter après ]
Code: Tout sélectionner
<!-- IF U_POST_REPLY_PM and S_PM_RECIPIENTS gt 1 --><!-- IF U_PRINT_PM or U_FORWARD_PM --> | <!-- ENDIF --><a title="{L_REPLY_TO_ALL}" href="{U_POST_REPLY_ALL}">{L_REPLY_TO_ALL}</a><!-- ENDIF -->


styles/subsilver2/template/ucp_pm_viewfolder.html

[ TROUVER ]
Autour de la ligne 78
Code: Tout sélectionner
<!-- IF messagerow.S_PM_DELETED -->
					{L_MESSAGE_REMOVED_FROM_OUTBOX}<br />
					<a href="{messagerow.U_REMOVE_PM}" style="float: {S_CONTENT_FLOW_END};">{L_DELETE_MESSAGE}</a>
				<!-- ELSE -->
					<a href="{messagerow.U_VIEW_PM}">{messagerow.SUBJECT}</a>


[ Rajouter après ]
Code: Tout sélectionner
<!-- ENDIF -->
				<!-- IF messagerow.S_PM_REPORTED -->
					<a href="{messagerow.U_MCP_REPORT}">{REPORTED_IMG}</a>&nbsp;


styles/subsilver2/template/ucp_profile_signature.html


[ TROUVER ]
Autour de la ligne 96
Code: Tout sélectionner
<!-- IF SIGNATURE_PREVIEW -->


[ REMPLACER PAR ]
Code: Tout sélectionner
<!-- IF SIGNATURE_PREVIEW != '' -->


styles/subsilver2/template/viewforum_body.html

[ TROUVER ]
Autour de la ligne 279
Code: Tout sélectionner
<td width="20" style="text-align: center;">{FOLDER_NEW_IMG}</td>
				<td class="gensmall">{L_NEW_POSTS}</td>
				<td>&nbsp;&nbsp;</td>
				<td width="20" style="text-align: center;">{FOLDER_IMG}</td>
				<td class="gensmall">{L_NO_NEW_POSTS}</td>
				<td>&nbsp;&nbsp;</td>
				<td width="20" style="text-align: center;">{FOLDER_ANNOUNCE_IMG}</td>
				<td class="gensmall">{L_ICON_ANNOUNCEMENT}</td>
			</tr>
			<tr>
				<td style="text-align: center;">{FOLDER_HOT_NEW_IMG}</td>
				<td class="gensmall">{L_NEW_POSTS_HOT}</td>
				<td>&nbsp;&nbsp;</td>
				<td style="text-align: center;">{FOLDER_HOT_IMG}</td>
				<td class="gensmall">{L_NO_NEW_POSTS_HOT}</td>
				<td>&nbsp;&nbsp;</td>
				<td style="text-align: center;">{FOLDER_STICKY_IMG}</td>
				<td class="gensmall">{L_ICON_STICKY}</td>
			</tr>
			<tr>
				<td style="text-align: center;">{FOLDER_LOCKED_NEW_IMG}</td>
				<td class="gensmall">{L_NEW_POSTS_LOCKED}</td>
				<td>&nbsp;&nbsp;</td>
				<td style="text-align: center;">{FOLDER_LOCKED_IMG}</td>
				<td class="gensmall">{L_NO_NEW_POSTS_LOCKED}</td>


[ REMPLACER PAR ]
Code: Tout sélectionner
<td width="20" style="text-align: center;">{FOLDER_UNREAD_IMG}</td>
				<td class="gensmall">{L_UNREAD_POSTS}</td>
				<td>&nbsp;&nbsp;</td>
				<td width="20" style="text-align: center;">{FOLDER_IMG}</td>
				<td class="gensmall">{L_NO_UNREAD_POSTS}</td>
				<td>&nbsp;&nbsp;</td>
				<td width="20" style="text-align: center;">{FOLDER_ANNOUNCE_IMG}</td>
				<td class="gensmall">{L_ICON_ANNOUNCEMENT}</td>
			</tr>
			<tr>
				<td style="text-align: center;">{FOLDER_HOT_UNREAD_IMG}</td>
				<td class="gensmall">{L_UNREAD_POSTS_HOT}</td>
				<td>&nbsp;&nbsp;</td>
				<td style="text-align: center;">{FOLDER_HOT_IMG}</td>
				<td class="gensmall">{L_NO_UNREAD_POSTS_HOT}</td>
				<td>&nbsp;&nbsp;</td>
				<td style="text-align: center;">{FOLDER_STICKY_IMG}</td>
				<td class="gensmall">{L_ICON_STICKY}</td>
			</tr>
			<tr>
				<td style="text-align: center;">{FOLDER_LOCKED_UNREAD_IMG}</td>
				<td class="gensmall">{L_UNREAD_POSTS_LOCKED}</td>
				<td>&nbsp;&nbsp;</td>
				<td style="text-align: center;">{FOLDER_LOCKED_IMG}</td>
				<td class="gensmall">{L_NO_UNREAD_POSTS_LOCKED}</td>


styles/subsilver2/template/viewtopic_body.html

[ TROUVER ]
Autour de la ligne 236
Code: Tout sélectionner
<span class="postbody"><br />_________________<br />{postrow.SIGNATURE}</span>


[ REMPLACER PAR ]
Code: Tout sélectionner
<div class="postbody"><br />_________________<br />{postrow.SIGNATURE}</div>


styles/subsilver2/theme/theme.cfg

[ TROUVER ]
Autour de la ligne 24
Code: Tout sélectionner
version = 3.0.7


[ REMPLACER PAR ]
Code: Tout sélectionner
version = 3.0.8


Sauvegardez tous les fichiers, écrasez ceux présents sur votre ftp et n'oubliez pas de rafraichir le dossier "template" et "theme" de votre style dans l'onglet "styles" du panneau d'administration.

Retour à la documentation : mettre à jour son forum phpBB3
Avatar de l’utilisateur
Kewee
Graphiste
Graphiste
 
Rédigé le: 21 Nov 2010 à 01:19
Articles: 15
Contributeurs:
Noter cet article: 123456 Votants: Aucun
Mots-clés: Mise, à, jour, des, styles, de, phpBB, 3.0.7-PL1, à, phpBB, 3.0.8, 30x

Retourner vers Mise à jour


cron