Mise à jour des styles : de phpBB 3.0.9 à 3.0.10 Facile

Mise à jour des styles : de phpBB 3.0.9 à 3.0.10

Détail des modifications des styles de phpBB 3.0.9 à phpBB 3.0.10


Mise à jour des styles : de phpBB 3.0.9 à 3.0.10

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/editor.js
  • template/forum_fn.js
  • template/jumpbox.html
  • template/mcp_approve.html
  • template/mcp_front.html
  • template/mcp_notes_user.html
  • template/mcp_post.html
  • template/memberlist_body.html
  • template/memberlist_view.html
  • template/message_body.html
  • template/overall_header.html
  • template/posting_buttons.html
  • template/template.cfg
  • template/ucp_groups_manage.html
  • template/ucp_pm_viewmessage_print.html
  • template/viewtopic_body.html
  • theme/bidi.css
  • theme/buttons.css
  • theme/common.css
  • theme/content.css
  • theme/cp.css
  • theme/forms.css
  • theme/links.css
  • theme/print.css
  • theme/stylesheet.css
  • theme/theme.cfg
  • theme/tweaks.css



style.cfg
  1. Cherchez (vers ligne 22)
    Code: Tout sélectionner
    version = 3.0.9

    Remplacez par
    Code: Tout sélectionner
    version = 3.0.10

imageset/imageset.cfg
  1. Cherchez (vers ligne 22)
    Code: Tout sélectionner
    version = 3.0.9

    Remplacez par
    Code: Tout sélectionner
    version = 3.0.10

template/editor.js
  1. Cherchez (vers ligne 149)
    Code: Tout sélectionner
    	if (spaces) 
    	{
    		text = ' ' + text + ' ';
    	}
    	
    	if (!isNaN(textarea.selectionStart))

    remplacez par
    Code: Tout sélectionner
    	if (spaces) 
    	{
    		text = ' ' + text + ' ';
    	}
    	
    	// Since IE9, IE also has textarea.selectionStart, but it still needs to be treated the old way.
    	// Therefore we simply add a !is_ie here until IE fixes the text-selection completely.
    	if (!isNaN(textarea.selectionStart) && !is_ie)

  2. Cherchez (vers ligne 221)
    Code: Tout sélectionner
    	if (window.getSelection)
    	{
    		theSelection = window.getSelection().toString();
    	}
    	else if (document.getSelection)

    remplacez par
    Code: Tout sélectionner
    	// IE9 must use the document.selection method but has the *.getSelection so we just force no IE
    	if (window.getSelection && !is_ie)
    	{
    		theSelection = window.getSelection().toString();
    	}
    	else if (document.getSelection && !is_ie)

template/forum_fn.js
  1. Cherchez (vers ligne 198)
    Code: Tout sélectionner
    function selectCode(a)
    {
    	// Get ID of code block
    	var e = a.parentNode.parentNode.getElementsByTagName('CODE')[0];
    
    	// Not IE

    remplacez par
    Code: Tout sélectionner
    function selectCode(a)
    {
    	// Get ID of code block
    	var e = a.parentNode.parentNode.getElementsByTagName('CODE')[0];
    
    	// Not IE and IE9+

template/jumpbox.html
  1. Cherchez (vers ligne 13)
    Code: Tout sélectionner
    			<!-- IF S_DISPLAY_JUMPBOX -->
    	<form method="post" id="jumpbox" action="{S_JUMPBOX_ACTION}" onsubmit="if(document.jumpbox.f.value == -1){return false;}">
    

    remplacez par;
    Code: Tout sélectionner
    <!-- IF S_DISPLAY_JUMPBOX -->
    	<form method="post" id="jumpbox" action="{S_JUMPBOX_ACTION}" onsubmit="if(this.f.value == -1){return false;}">
    

template/mcp_approve.html
  1. Cherchez (vers ligne 11)
    Code: Tout sélectionner
    		<!-- IF ADDITIONAL_MSG --><p>{ADDITIONAL_MSG}</p><!-- ENDIF -->
    

    remplacez par ;
    Code: Tout sélectionner
    		<!-- IF ADDITIONAL_MSG --><p class="error">{ADDITIONAL_MSG}</p><!-- ENDIF -->
    

template/mcp_front.html
  1. Cherchez et supprimez(vers ligne 31)
    Code: Tout sélectionner
    							<!-- IF report.PAGINATION --><strong class="pagination"><span>{report.PAGINATION}</span></strong><!-- ENDIF -->
    

template/mcp_notes_user.html
  1. Cherchez (vers ligne 81)
    Code: Tout sélectionner
    		<!-- IF S_CLEAR_ALLOWED --><td width="5%" align="center"><input type="checkbox" name="marknote[]" id="note-{usernotes.ID}" value="{usernotes.ID}" /></td><!-- ENDIF -->
    

    remplacez par ;
    Code: Tout sélectionner
    		<!-- IF S_CLEAR_ALLOWED --><td style="width: 5%; text-align: center;"><input type="checkbox" name="marknote[]" id="note-{usernotes.ID}" value="{usernotes.ID}" /></td><!-- ENDIF -->
    

template/mcp_post.html
  1. Cherchez (vers ligne 74)
    Code: Tout sélectionner
    			<p class="rules">
    				<input class="button2" type="submit" value="{L_DISAPPROVE}" name="action[disapprove]" /> &nbsp;
    				<input class="button1" type="submit" value="{L_APPROVE}" name="action[approve]" />
    

    juste après, ajoutez ;
    Code: Tout sélectionner
    				<!-- IF not S_FIRST_POST --><input type="hidden" name="mode" value="unapproved_posts" /><!-- ENDIF -->
    

template/memberlist_body.html
  1. Cherchez (vers ligne 36)
    Code: Tout sélectionner
    				<!-- IF U_FIND_MEMBER and not S_SEARCH_USER --><a href="{U_FIND_MEMBER}">{L_FIND_USERNAME}</a> &bull; <!-- ELSEIF S_SEARCH_USER and U_HIDE_FIND_MEMBER and not S_IN_SEARCH_POPUP --><a href="{U_HIDE_FIND_MEMBER}">{L_HIDE_MEMBER_SEARCH}</a> &bull; <!-- ENDIF -->
    				<strong style="font-size: 0.95em;"><a href="{S_MODE_ACTION}&amp;first_char=">{L_ALL}</a>&nbsp; 
    				<a href="{S_MODE_ACTION}&amp;first_char=a#memberlist">A</a>&nbsp; 
    				<a href="{S_MODE_ACTION}&amp;first_char=b#memberlist">B</a>&nbsp; 
    				<a href="{S_MODE_ACTION}&amp;first_char=c#memberlist">C</a>&nbsp; 
    				<a href="{S_MODE_ACTION}&amp;first_char=d#memberlist">D</a>&nbsp; 
    				<a href="{S_MODE_ACTION}&amp;first_char=e#memberlist">E</a>&nbsp; 
    				<a href="{S_MODE_ACTION}&amp;first_char=f#memberlist">F</a>&nbsp; 
    				<a href="{S_MODE_ACTION}&amp;first_char=g#memberlist">G</a>&nbsp; 
    				<a href="{S_MODE_ACTION}&amp;first_char=h#memberlist">H</a>&nbsp; 
    				<a href="{S_MODE_ACTION}&amp;first_char=i#memberlist">I</a>&nbsp; 
    				<a href="{S_MODE_ACTION}&amp;first_char=j#memberlist">J</a>&nbsp; 
    				<a href="{S_MODE_ACTION}&amp;first_char=k#memberlist">K</a>&nbsp; 
    				<a href="{S_MODE_ACTION}&amp;first_char=l#memberlist">L</a>&nbsp; 
    				<a href="{S_MODE_ACTION}&amp;first_char=m#memberlist">M</a>&nbsp; 
    				<a href="{S_MODE_ACTION}&amp;first_char=n#memberlist">N</a>&nbsp; 
    				<a href="{S_MODE_ACTION}&amp;first_char=o#memberlist">O</a>&nbsp; 
    				<a href="{S_MODE_ACTION}&amp;first_char=p#memberlist">P</a>&nbsp; 
    				<a href="{S_MODE_ACTION}&amp;first_char=q#memberlist">Q</a>&nbsp; 
    				<a href="{S_MODE_ACTION}&amp;first_char=r#memberlist">R</a>&nbsp; 
    				<a href="{S_MODE_ACTION}&amp;first_char=s#memberlist">S</a>&nbsp; 
    				<a href="{S_MODE_ACTION}&amp;first_char=t#memberlist">T</a>&nbsp; 
    				<a href="{S_MODE_ACTION}&amp;first_char=u#memberlist">U</a>&nbsp; 
    				<a href="{S_MODE_ACTION}&amp;first_char=v#memberlist">V</a>&nbsp; 
    				<a href="{S_MODE_ACTION}&amp;first_char=w#memberlist">W</a>&nbsp; 
    				<a href="{S_MODE_ACTION}&amp;first_char=x#memberlist">X</a>&nbsp; 
    				<a href="{S_MODE_ACTION}&amp;first_char=y#memberlist">Y</a>&nbsp; 
    				<a href="{S_MODE_ACTION}&amp;first_char=z#memberlist">Z</a>&nbsp; 
    				<a href="{S_MODE_ACTION}&amp;first_char=other">#</a></strong>
    

    remplacez par ;
    Code: Tout sélectionner
    				<!-- IF U_FIND_MEMBER and not S_SEARCH_USER --><a href="{U_FIND_MEMBER}">{L_FIND_USERNAME}</a> &bull; <!-- ELSEIF S_SEARCH_USER and U_HIDE_FIND_MEMBER and not S_IN_SEARCH_POPUP --><a href="{U_HIDE_FIND_MEMBER}">{L_HIDE_MEMBER_SEARCH}</a> &bull; <!-- ENDIF -->
    				<strong style="font-size: 0.95em;">
    				<!-- BEGIN first_char -->
    					<a href="{first_char.U_SORT}">{first_char.DESC}</a>&nbsp; 
    				<!-- END first_char -->
    				</strong>
    

template/memberlist_view.html
  1. Cherchez (vers ligne 31)
    Code: Tout sélectionner
    		<!-- IF AGE --><dt>{L_AGE}:</dt> <dd>{AGE}</dd><!-- ENDIF -->
    

    remplacez par ;
    Code: Tout sélectionner
    		<!-- IF AGE !== '' --><dt>{L_AGE}:</dt> <dd>{AGE}</dd><!-- ENDIF -->
    
  2. Cherchez (vers ligne 91)
    Code: Tout sélectionner
    			<!-- IF S_SHOW_ACTIVITY and POSTS -->
    				<dt>{L_ACTIVE_IN_FORUM}:</dt> <dd><!-- IF ACTIVE_FORUM --><strong><a href="{U_ACTIVE_FORUM}">{ACTIVE_FORUM}</a></strong><br />({ACTIVE_FORUM_POSTS} / {ACTIVE_FORUM_PCT})<!-- ELSE --> - <!-- ENDIF --></dd>
    				<dt>{L_ACTIVE_IN_TOPIC}:</dt> <dd><!-- IF ACTIVE_TOPIC --><strong><a href="{U_ACTIVE_TOPIC}">{ACTIVE_TOPIC}</a></strong><br />({ACTIVE_TOPIC_POSTS} / {ACTIVE_TOPIC_PCT})<!-- ELSE --> - <!-- ENDIF --></dd>
    			<!-- ENDIF -->
    
    

    remplacez par ;
    Code: Tout sélectionner
    			<!-- IF S_SHOW_ACTIVITY and POSTS -->
    				<dt>{L_ACTIVE_IN_FORUM}:</dt> <dd><!-- IF ACTIVE_FORUM != '' --><strong><a href="{U_ACTIVE_FORUM}">{ACTIVE_FORUM}</a></strong><br />({ACTIVE_FORUM_POSTS} / {ACTIVE_FORUM_PCT})<!-- ELSE --> - <!-- ENDIF --></dd>
    				<dt>{L_ACTIVE_IN_TOPIC}:</dt> <dd><!-- IF ACTIVE_TOPIC != '' --><strong><a href="{U_ACTIVE_TOPIC}">{ACTIVE_TOPIC}</a></strong><br />({ACTIVE_TOPIC_POSTS} / {ACTIVE_TOPIC_PCT})<!-- ELSE --> - <!-- ENDIF --></dd>
    			<!-- ENDIF -->
    

template/message_body.html
  1. Cherchez (ligne 1)
    Code: Tout sélectionner
    <!-- INCLUDE overall_header.html -->
    

    remplacez par ;
    Code: Tout sélectionner
    <!-- IF S_SIMPLE_MESSAGE -->
    	<!-- INCLUDE simple_header.html -->
    <!-- ELSE -->
    	<!-- INCLUDE overall_header.html -->
    <!-- ENDIF -->
    

  2. Cherchez (autour de la ligne 11)
    Code: Tout sélectionner
    <!-- INCLUDE overall_footer.html -->
    

    remplacez par ;
    Code: Tout sélectionner
    <!-- IF S_SIMPLE_MESSAGE -->
    	<!-- INCLUDE simple_footer.html -->
    <!-- ELSE -->
    	<!-- INCLUDE overall_footer.html -->
    <!-- ENDIF -->
    
    

template/overall_header.html

  1. Cherchez (vers ligne 71)
    Code: Tout sélectionner
    	window.onload = function()
    	{
    		for (var i = 0; i < onload_functions.length; i++)
    		{
    			eval(onload_functions[i]);
    		}
    	}


    remplacez par ;
    Code: Tout sélectionner
    	window.onload = function()
    	{
    		for (var i = 0; i < onload_functions.length; i++)
    		{
    			eval(onload_functions[i]);
    		}
    	};

  2. Cherchez (vers ligne 79),
    Code: Tout sélectionner
    	window.onunload = function()
    	{
    		for (var i = 0; i < onunload_functions.length; i++)
    		{
    			eval(onunload_functions[i]);
    		}
    	}
    
    // ]]>
    </script>

    remplacez par ;
    Code: Tout sélectionner
    	window.onunload = function()
    	{
    		for (var i = 0; i < onunload_functions.length; i++)
    		{
    			eval(onunload_functions[i]);
    		}
    	};
    
    // ]]>
    </script>

template/posting_buttons.html
  1. Cherchez (vers ligne 28)
    Code: Tout sélectionner
    		e: '{LA_BBCODE_E_HELP}',
    

    remplacez par ;
    Code: Tout sélectionner
    		y: '{LA_BBCODE_Y_HELP}',
    

  2. Cherchez (vers ligne 82),
    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}" />
    	<!-- IF S_BBCODE_IMG -->
    

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

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

    remplacez par;
    Code: Tout sélectionner
    version = 3.0.10

template/ucp_groups_manage.html
  1. Cherchez (vers ligne 144),
    Code: Tout sélectionner
    		<!-- ENDIF -->
    	<!-- BEGINELSE -->
    		<tr>
    			<td class="bg1" colspan="5">{L_GROUPS_NO_MEMBERS}</td>
    		</tr>
    	<!-- END member -->
    

    remplacez par;
    Code: Tout sélectionner
    		<!-- ENDIF -->
    	<!-- BEGINELSE -->
    		<table class="table1" cellspacing="1">
    		<thead>
    		<tr>
    			<th class="name">{L_MEMBERS}</th>
    		</tr>
    		</thead>
    		<tbody>
    		<tr>
    			<td class="bg1">{L_GROUPS_NO_MEMBERS}</td>
    		</tr>
    	<!-- END member -->

template/ucp_pm_viewmessage_print.html
N'hésitez pas à remplacer directement le fichier par la nouvelle version, le fichier a été modifié quasiment dans son intégralité
  1. Cherchez (vers ligne 1)
    Code: Tout sélectionner
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
    <head>
    <meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
    <meta http-equiv="content-style-type" content="text/css" />
    <meta http-equiv="content-language" content="{S_USER_LANG}" />
    <title>{SITENAME} :: {PAGE_TITLE}</title>
    

    remplacez par;
    Code: Tout sélectionner
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
    <head>
    
    <meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
    <meta http-equiv="content-style-type" content="text/css" />
    <meta http-equiv="content-language" content="{S_USER_LANG}" />
    <meta http-equiv="imagetoolbar" content="no" />
    <meta name="resource-type" content="document" />
    <meta name="distribution" content="global" />
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <meta name="robots" content="noindex" />
    {META}
    <title>{SITENAME} &bull; {PAGE_TITLE}</title>
    

  2. Cherchez (vers ligne 9),
    Code: Tout sélectionner
    <style type="text/css">
    /* <![CDATA[ */
    body {
    	font-family: Verdana,serif;
    	font-size: 10pt;
    }
    
    td {
    	font-family: Verdana,serif;
    	font-size: 10pt;
    	line-height: 150%;
    }
    
    .code, .quote {
    	font-size: smaller;
    	border: black solid 1px;
    }
    
    .forum {
    	font-family: Arial,Helvetica,sans-serif;
    	font-weight: bold;
    	font-size: 18pt;
    }
    
    .topic {
    	font-family: Arial,Helvetica,sans-serif;
    	font-size: 14pt;
    	font-weight: bold;
    }
    
    .gensmall {
    	font-size: 8pt;
    }
    
    hr {
    	color: #888888;
    	height: 3px;
    	border-style: solid;
    }
    
    hr.sep	{
    	color: #AAAAAA;
    	height: 1px;
    	border-style: dashed;
    }
    /* ]]> */
    </style>
    

    remplacez par;
    Code: Tout sélectionner
    <link href="{T_THEME_PATH}/print.css" rel="stylesheet" type="text/css" />
    

  3. Cherchez (vers ligne 58),
    Code: Tout sélectionner
    <body>
    
    <table width="85%" cellspacing="3" cellpadding="0" border="0" align="center">
    <tr>
    	<td colspan="2" align="center"><span class="forum">{SITENAME}</span><br /><span class="gensmall">{L_PRIVATE_MESSAGING}</a></span></td>
    </tr>
    <tr>
    	<td colspan="2"><br /></td>
    </tr>
    <tr>
    	<td><span class="topic">{SUBJECT}</span><br /></td>
    	<td align="right" valign="bottom"><span class="gensmall">{PAGE_NUMBER}</span></td>
    </tr>
    </table>
    
    <hr width="85%" />
    
    <table width="85%" cellspacing="3" cellpadding="0" border="0" align="center">
    <tr>
    	<td width="10%" nowrap="nowrap">{L_PM_FROM}:&nbsp;</td>
    	<td><strong>{MESSAGE_AUTHOR}</strong> [ {SENT_DATE} ]</td>
    </tr>
    
    <!-- IF S_TO_RECIPIENT -->
    	<tr>
    		<td width="10%" nowrap="nowrap">{L_TO}:</td>
    		<td>
    		<!-- BEGIN to_recipient -->
    			<span<!-- IF to_recipient.IS_GROUP --> class="sep"<!-- ENDIF -->>{to_recipient.NAME}</span>&nbsp;
    		<!-- END to_recipient -->
    		</td>
    	</tr>
    <!-- ENDIF -->
    
    <!-- IF S_BCC_RECIPIENT -->
    	<tr>
    		<td width="10%" nowrap="nowrap">{L_BCC}:</td>
    		<td>
    		<!-- BEGIN bcc_recipient -->
    			<!-- IF bcc_recipient.COLOUR --><span style="color:{bcc_recipient.COLOUR}"><!-- ELSE --><span<!-- IF bcc_recipient.IS_GROUP --> class="sep"<!-- ENDIF -->><!-- ENDIF -->{bcc_recipient.NAME}</span>&nbsp;
    		<!-- END bcc_recipient -->
    		</td>
    	</tr>
    <!-- ENDIF -->
    <tr>
    	<td colspan="2"><hr class="sep" />{MESSAGE}</td>
    </tr>
    </table>
    
    <hr width="85%" />
    
    <table width="85%" cellspacing="3" cellpadding="0" border="0" align="center">
    <tr>
    	<td><span class="gensmall">{PAGE_NUMBER}</span></td>
    	<td align="{S_CONTENT_FLOW_END}"><span class="gensmall">{S_TIMEZONE}</span></td>
    </tr>
    <tr>
    	<td colspan="2" align="center"><span class="gensmall">Powered by phpBB&reg; Forum Software &copy; phpBB Group<br />http://www.phpbb.com/</span></td>
    </tr>
    </table>

    remplacez par;
    Code: Tout sélectionner
    <body id="phpbb">
    <div id="wrap">
    	<a id="top" name="top" accesskey="t"></a>
    
    	<div id="page-header">
    		<h1>{SITENAME}</h1>
    		<p>{SITE_DESCRIPTION}<br /><a href="{U_FORUM}">{U_FORUM}</a></p>
    
    		<h2>{TOPIC_TITLE}</h2>
    		<p><a href="{U_TOPIC}">{U_TOPIC}</a></p>
    	</div>
    
    	<div id="page-body">
    		<div class="page-number">{PAGE_NUMBER}</div>
    			<div class="post">
    				<h3>{SUBJECT}</h3>
    				<div class="date">{L_SENT_AT} <strong>{SENT_DATE}</strong></div>
    				<div class="author">{L_PM_FROM} <strong>{MESSAGE_AUTHOR}</strong></div>
    				<!-- IF S_TO_RECIPIENT -->
    					<div class="author">{L_TO} <strong><!-- BEGIN to_recipient -->{to_recipient.NAME}&nbsp;<!-- END to_recipient --></strong></div>
    				<!-- ENDIF -->
    				<!-- IF S_BCC_RECIPIENT -->
    					<div class="author">{L_BCC} <strong><!-- BEGIN bcc_recipient -->{bcc_recipient.NAME}&nbsp;<!-- END bcc_recipient --></strong></div>
    				<!-- ENDIF -->
    				<hr />
    				<div class="content">{MESSAGE}</div>
    			</div>
    			<hr />
    	</div>
    
    	<div id="page-footer">
    		<div class="page-number">{S_TIMEZONE}<br />{PAGE_NUMBER}</div>
    		<div class="copyright">Powered by phpBB&reg; Forum Software &copy; phpBB Group<br />http://www.phpbb.com/</div>
    	</div>
    </div>

template/viewtopic_body.html
  1. Cherchez (vers ligne 7),
    Code: Tout sélectionner
    	<!-- IF MODERATORS or U_MCP -->
    	<p>
    		<!-- IF MODERATORS -->
    			<strong><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF -->:</strong> {MODERATORS}
    		<!-- ENDIF -->
    
    	</p>
    

    remplacez par;
    Code: Tout sélectionner
    <!-- IF MODERATORS -->
    <p>
    	<strong><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF -->:</strong> {MODERATORS}
    </p>
    

theme/bidi.css
  1. Cherchez (ligne 1),
    Code: Tout sélectionner
    /* proSilver RTL definitions

    remplacez par;
    Code: Tout sélectionner
    /* RTL definitions
    

  2. Cherchez (vers ligne 522),
    Code: Tout sélectionner
    /* proSilver Control Panel Styles
    

    remplacez par;
    Code: Tout sélectionner
    /* Control Panel Styles
    

theme/buttons.css
  1. Cherchez (vers ligne 1),
    Code: Tout sélectionner
    /* proSilver Button Styles
    

    remplacez par;
    Code: Tout sélectionner
    /* Button Styles
    

theme/common.css
  1. Cherchez (ligne 1),
    Code: Tout sélectionner
    /* General proSilver Markup Styles
    

    remplacez par;
    Code: Tout sélectionner
    /* General Markup Styles
    

theme/content.css
  1. Cherchez (ligne 1),
    Code: Tout sélectionner
    /* proSilver Content Styles
    

    remplacez par;
    Code: Tout sélectionner
    /* Content Styles
    

theme/cp.css
  1. Cherchez (ligne 1),
    Code: Tout sélectionner
    /* proSilver Control Panel Styles
    

    remplacez par;
    Code: Tout sélectionner
    /* Control Panel Styles
    

theme/forms.css
  1. Cherchez (ligne 1),
    Code: Tout sélectionner
    /* proSilver Form Styles

    remplacez par;
    Code: Tout sélectionner
    /* Form Styles
  2. Cherchez (autour de la 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;
    

    juste après, ajoutez;
    Code: Tout sélectionner
    	font-size: 1em;

theme/links.css
  1. Cherchez (ligne 1),
    Code: Tout sélectionner
    /* proSilver Link Styles

    remplacez par;
    Code: Tout sélectionner
    /* Link Styles

theme/print.css
  1. Cherchez (ligne 1),
    Code: Tout sélectionner
    /* proSilver Print Style Sheet
    -------------------------------------------------
    	Author: subBlue  ( http://www.subBlue.com/ )
    	Version: 25 August 2004
    
    	Copyright 2004 phpBB Group
    -------------------------------------------------*/
    

    remplacez par;
    Code: Tout sélectionner
    /* Print Style Sheet
    ---------------------------------------- */
    

theme/stylesheet.css
  1. Cherchez (ligne 1),
    Code: Tout sélectionner
    /*  phpBB 3.0 Style Sheet
        --------------------------------------------------------------
    	Style name:		proSilver
    	Based on style:	proSilver (this is the default phpBB 3 style)
    	Original author:	subBlue ( http://www.subBlue.com/ )
    	Modified by:		
    	
    	Copyright 2006 phpBB Group ( http://www.phpbb.com/ )
        --------------------------------------------------------------
    

    remplacez par;
    Code: Tout sélectionner
    /*  phpBB3 Style Sheet
        --------------------------------------------------------------
    	Style name:			prosilver (the default phpBB 3.0.x style)
    	Based on style:		
    	Original author:	Tom Beddard ( http://www.subblue.com/ )
    	Modified by:		phpBB Group ( http://www.phpbb.com/ )
        --------------------------------------------------------------
    

theme/theme.cfg
  1. Cherchez (vers ligne 24),
    Code: Tout sélectionner
    version = 3.0.9

    remplacez par;
    Code: Tout sélectionner
    version = 3.0.10

theme/tweaks.css
  1. Cherchez (ligne 1),
    Code: Tout sélectionner
    /* proSilver Style Sheet Tweaks

    Remplacez par ;
    Code: Tout sélectionner
    /* Style Sheet Tweaks
    

Retour à la documentation : mettre à jour son forum phpBB3



2 » Détail des modifications Subsilver2

Liste des fichiers à modifier :
  • styles/subsilver2/style.cfg
  • styles/subsilver2/imageset/imageset.cfg
  • styles/subsilver2/template/attachment.html
  • styles/subsilver2/template/editor.js
  • styles/subsilver2/template/memberlist_body.html
  • styles/subsilver2/template/memberlist_view.html
  • styles/subsilver2/template/posting_buttons.html
  • styles/subsilver2/template/template.cfg
  • styles/subsilver2/template/ucp_pm_viewmessage_print.html
  • styles/subsilver2/theme/stylesheet.css
  • styles/subsilver2/theme/theme.cfg


style.cfg

  1. Cherchez (vers ligne 22)
    Code: Tout sélectionner
    version = 3.0.9

    Remplacez par
    Code: Tout sélectionner
    version = 3.0.10

imageset/imageset.cfg

  1. Cherchez (vers ligne 22)
    Code: Tout sélectionner
    version = 3.0.9

    Remplacez par
    Code: Tout sélectionner
    version = 3.0.10

template/attachment.html

  1. Cherchez (vers ligne 75)
    Code: Tout sélectionner
    				<embed name="qtstream_{_file.ATTACH_ID}" src="{_file.U_DOWNLOAD_LINK}" pluginspage="http://www.apple.com/quicktime/download/" enablejavascript="true" controller="true" width="320" height="285" type="video/quicktime" autoplay="false">

    remplacez par
    Code: Tout sélectionner
    				<embed name="qtstream_{_file.ATTACH_ID}" src="{_file.U_DOWNLOAD_LINK}" pluginspage="http://www.apple.com/quicktime/download/" enablejavascript="true" controller="true" width="320" height="285" type="video/quicktime" autoplay="false"></embed>

template/editor.js

  1. Cherchez (vers ligne 150)
    Code: Tout sélectionner
    	if (spaces) 
    	{
    		text = ' ' + text + ' ';
    	}
    	
    	if (!isNaN(textarea.selectionStart))

    remplacez par
    Code: Tout sélectionner
    	if (spaces) 
    	{
    		text = ' ' + text + ' ';
    	}
    	
    	// Since IE9, IE also has textarea.selectionStart, but it still needs to be treated the old way.
    	// Therefore we simply add a !is_ie here until IE fixes the text-selection completely.
    	if (!isNaN(textarea.selectionStart) && !is_ie)

  2. Cherchez (vers ligne 223)
    Code: Tout sélectionner
    	if (window.getSelection)
    	{
    		theSelection = window.getSelection().toString();
    	}
    	else if (document.getSelection)

    remplacez par
    Code: Tout sélectionner
    	// IE9 must use the document.selection method but has the *.getSelection so we just force no IE
    	if (window.getSelection && !is_ie)
    	{
    		theSelection = window.getSelection().toString();
    	}
    	else if (document.getSelection && !is_ie)

template/memberlist_body.html

  1. Cherchez (vers ligne 17)
    Code: Tout sélectionner
    			<td align="{S_CONTENT_FLOW_BEGIN}"><span class="genmed">{L_USERNAME_BEGINS_WITH}: </span><select name="first_char" onchange="this.form.submit();">{S_CHAR_OPTIONS}</select>&nbsp;<input type="submit" name="char" value="{L_DISPLAY}" class="btnlite" /></td>

    remplacez par
    Code: Tout sélectionner
    			<td align="{S_CONTENT_FLOW_BEGIN}"><span class="genmed">{L_USERNAME_BEGINS_WITH}: </span>
    				<select name="first_char" onchange="this.form.submit();">
    					<!-- BEGIN first_char -->
    						<option value="{first_char.VALUE}"<!-- IF first_char.S_SELECTED --> selected="selected"<!-- ENDIF -->>{first_char.DESC}</option>
    					<!-- END first_char -->
    				</select>&nbsp;<input type="submit" name="char" value="{L_DISPLAY}" class="btnlite" /></td>

template/memberlist_view.html

  1. Cherchez (vers ligne 92)
    Code: Tout sélectionner
    					<td><!-- IF ACTIVE_FORUM --><b><a class="gen" href="{U_ACTIVE_FORUM}">{ACTIVE_FORUM}</a></b><br /><span class="genmed">[ {ACTIVE_FORUM_POSTS} / {ACTIVE_FORUM_PCT} ]</span><!-- ELSE --><span class="gen">-</span><!-- ENDIF --></td>
    				</tr>
    				<tr>
    					<td class="gen" align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap">{L_ACTIVE_IN_TOPIC}: </td>
    					<td><!-- IF ACTIVE_TOPIC --><b><a class="gen" href="{U_ACTIVE_TOPIC}">{ACTIVE_TOPIC}</a></b><br /><span class="genmed">[ {ACTIVE_TOPIC_POSTS} / {ACTIVE_TOPIC_PCT} ]</span><!-- ELSE --><span class="gen">-</span><!-- ENDIF --></td>

    remplacez par
    Code: Tout sélectionner
    					<td><!-- IF ACTIVE_FORUM != '' --><b><a class="gen" href="{U_ACTIVE_FORUM}">{ACTIVE_FORUM}</a></b><br /><span class="genmed">[ {ACTIVE_FORUM_POSTS} / {ACTIVE_FORUM_PCT} ]</span><!-- ELSE --><span class="gen">-</span><!-- ENDIF --></td>
    				</tr>
    				<tr>
    					<td class="gen" align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap">{L_ACTIVE_IN_TOPIC}: </td>
    					<td><!-- IF ACTIVE_TOPIC != '' --><b><a class="gen" href="{U_ACTIVE_TOPIC}">{ACTIVE_TOPIC}</a></b><br /><span class="genmed">[ {ACTIVE_TOPIC_POSTS} / {ACTIVE_TOPIC_PCT} ]</span><!-- ELSE --><span class="gen">-</span><!-- ENDIF --></td>

  2. Cherchez (vers ligne 151)
    Code: Tout sélectionner
    			<!-- IF AGE -->
    			<tr>
    				<td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{L_AGE}: </td>
    				<td><b class="genmed"><!-- IF AGE -->{AGE}<!-- ELSE --> - <!-- ENDIF --></b></td>

    remplacez par
    Code: Tout sélectionner
    			<!-- IF AGE !== '' -->
    			<tr>
    				<td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{L_AGE}: </td>
    				<td><b class="genmed">{AGE}</b></td>

template/posting_buttons.html

  1. Cherchez (vers ligne 25)
    Code: Tout sélectionner
    			e: '{LA_BBCODE_E_HELP}',
    			d: '{LA_BBCODE_D_HELP}',
    			t: '{LA_BBCODE_T_HELP}',

    remplacez par
    Code: Tout sélectionner
    			y: '{LA_BBCODE_Y_HELP}',
    			d: '{LA_BBCODE_D_HELP}',

  2. Cherchez (vers ligne 47)
    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')" />

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

template/template.cfg

  1. Cherchez (vers ligne 22)
    Code: Tout sélectionner
    version = 3.0.9

    remplacez par
    Code: Tout sélectionner
    version = 3.0.10

template/ucp_pm_viewmessage_print.html

  1. Cherchez (vers ligne 64)
    Code: Tout sélectionner
    	<td colspan="2" align="center"><span class="Forum">{SITENAME}</span><br /><span class="gensmall">{L_PRIVATE_MESSAGING}</a></span></td>

    remplacez par
    Code: Tout sélectionner
    	<td colspan="2" align="center"><span class="Forum">{SITENAME}</span><br /><span class="gensmall">{L_PRIVATE_MESSAGING}</span></td>

theme/stylesheet.css

  1. Cherchez (vers ligne 1)
    Code: Tout sélectionner
    /*  phpBB 3.0 Style Sheet
        --------------------------------------------------------------
    	Style name:		subsilver2
    	Based on style:	subSilver (the default phpBB 2 style)
    	Original author:	subBlue ( http://www.subBlue.com/ )
    	Modified by:		psoTFX and the phpBB team ( http://www.phpbb.com )
    	
    	This is an alternative style for phpBB3 for those wishing to stay with
    	the familiar subSilver style of phpBB version 2.x
    	
    	Copyright 2006 phpBB Group ( http://www.phpbb.com/ )

    remplacez par
    Code: Tout sélectionner
    /*  phpBB3 Style Sheet
        --------------------------------------------------------------
    	Style name:			subsilver2
    	Based on style:		subSilver (the default phpBB 2.0.x style)
    	Original author:	Tom Beddard ( http://www.subblue.com/ )
    	Modified by:		phpBB Group ( http://www.phpbb.com/ )

theme/theme.cfg

  1. Cherchez (vers ligne 24)
    Code: Tout sélectionner
    version = 3.0.9

    remplacez par
    Code: Tout sélectionner
    version = 3.0.10

Retour à la documentation : mettre à jour son forum phpBB3
Avatar de l’utilisateur
Kewee
Graphiste
Graphiste
 
Rédigé le: 03 Jan 2012 à 14:18
Articles: 15
Contributeurs:
Noter cet article: 123456 Votants: Aucun
Mots-clés: Mise, à, jour, des, styles, de, phpBB, 3.0.9, à, 3.0.10, 30x

Retourner vers Mise à jour


cron