Mise à jour des styles de phpBB 3.3.1 à 3.3.2 Facile

Mise à jour des styles de phpBB 3.3.1 à 3.3.2

Détail des modifications des styles de phpBB 3.3.1 à 3.3.2


Détail des modifications prosilver

Liste des fichiers à modifier :
  • template/bbcode.html
  • template/forum_fn.js
  • template/posting_attach_body.html
  • template/ucp_agreement.html
  • template/ucp_profile_autologin_keys.html
  • template/ucp_reset_password.html
  • template/viewforum_body.html
  • theme/content.css
  • theme/responsive.css
  • style.cfg


template/bbcode.html

  1. Trouver (vers ligne 80) :
    Code: Tout sélectionner
    <!-- BEGIN email --><a href="mailto:{EMAIL}">{DESCRIPTION}</a><!-- END email -->

    Remplacer par :
    Code: Tout sélectionner
    <!-- BEGIN email -->
    <a>
    	<xsl:attribute name="href">
    		<xsl:text>mailto:</xsl:text>
    		<xsl:value-of select="@email"/>
    		<xsl:if test="@subject or @body">
    			<xsl:text>?</xsl:text>
    			<xsl:if test="@subject">subject=<xsl:value-of select="@subject"/></xsl:if>
    			<xsl:if test="@body"><xsl:if test="@subject">&amp;</xsl:if>body=<xsl:value-of select="@body"/></xsl:if>
    		</xsl:if>
    	</xsl:attribute>
    	<xsl:apply-templates/>
    </a>
    <!-- END email -->

template/forum_fn.js

  1. Trouver (vers ligne 462) :
    Code: Tout sélectionner
    			html = '<li class="responsive-menu hidden"><a href="javascript:void(0);" class="js-responsive-menu-link responsive-menu-link"><i class="icon fa-bars fa-fw" aria-hidden="true"></i></a><div class="dropdown"><div class="pointer"><div class="pointer-inner" /></div><ul class="dropdown-contents" /></div></li>',

    Remplacer par :
    Code: Tout sélectionner
    			html = '<li class="responsive-menu hidden"><a href="javascript:void(0);" class="js-responsive-menu-link responsive-menu-link"><i class="icon fa-bars fa-fw" aria-hidden="true"></i></a><div class="dropdown"><div class="pointer"><div class="pointer-inner"></div></div><ul class="dropdown-contents" /></div></li>',
  2. Trouver (vers ligne 816) :
    Code: Tout sélectionner
    			$item = $ul.append('<li class="tab responsive-tab" style="display:none;"><a href="javascript:void(0);" class="responsive-tab-link">&nbsp;</a><div class="dropdown tab-dropdown" style="display: none;"><div class="pointer"><div class="pointer-inner" /></div><ul class="dropdown-contents" /></div></li>').find('li.responsive-tab'),

    Remplacer par :
    Code: Tout sélectionner
    			$item = $ul.append('<li class="tab responsive-tab" style="display:none;"><a href="javascript:void(0);" class="responsive-tab-link">&nbsp;</a><div class="dropdown tab-dropdown" style="display: none;"><div class="pointer"><div class="pointer-inner"></div></div><ul class="dropdown-contents" /></div></li>').find('li.responsive-tab'),

template/posting_attach_body.html

  1. Trouver (vers ligne 4) :
    Code: Tout sélectionner
    	<p>{L_ADD_ATTACHMENT_EXPLAIN} <span class="hidden" id="drag-n-drop-message">{L_PLUPLOAD_DRAG_TEXTAREA}</span></p>

    Remplacer par :
    Code: Tout sélectionner
    	<p>{L_ADD_ATTACHMENT_EXPLAIN} <span class="hidden" id="drag-n-drop-message">{L_PLUPLOAD_DRAG_TEXTAREA}</span></p>
    
     	
    	{% if MAX_ATTACHMENT_FILESIZE is not empty %}<p>{{ MAX_ATTACHMENT_FILESIZE }}</p>{% endif %}

template/ucp_agreement.html

  1. Trouver (vers ligne 34) :
    Code: Tout sélectionner
    			<h2 class="sitename-title">{SITENAME} - {L_REGISTRATION}</h2>
    			<!-- EVENT ucp_agreement_terms_before -->
    			<p><!-- IF S_SHOW_COPPA -->{L_COPPA_BIRTHDAY}<!-- ELSE -->{L_TERMS_OF_USE}<!-- ENDIF --></p>

    Remplacer par :
    Code: Tout sélectionner
    			<h2 class="sitename-title">{{ SITENAME }} - {{ lang('REGISTRATION') }}</h2>
    			<!-- EVENT ucp_agreement_terms_before -->
    			<div class="agreement">{% if S_SHOW_COPPA %}<p class="agreement-text">{{ lang('COPPA_BIRTHDAY') }}</p>{% else %}{{ lang('TERMS_OF_USE') }}{% endif %}</div>
  2. Trouver (vers ligne 64) :
    Code: Tout sélectionner
    			<h2 class="sitename-title">{SITENAME} - {AGREEMENT_TITLE}</h2>
    			<p>{AGREEMENT_TEXT}</p>

    Remplacer par :
    Code: Tout sélectionner
    			<h2 class="sitename-title">{{ SITENAME }} - {{ AGREEMENT_TITLE }}</h2>
    			<div class="agreement">{{ AGREEMENT_TEXT }}</div>

template/ucp_profile_autologin_keys.html

  1. Trouver (vers ligne 10) :
    Code: Tout sélectionner
    		<table class="table1">

    Remplacer par :
    Code: Tout sélectionner
    		{% DEFINE COLSPAN = 4 %}
    		<table class="table1">
  2. Trouver (vers ligne 14) :
    Code: Tout sélectionner
    					<th class="name">{L_LOGIN_KEY}</th>

    Remplacer par :
    Code: Tout sélectionner
    					{% EVENT ucp_profile_autologin_keys_thead_key_before %}
    					<th class="name">{L_LOGIN_KEY}</th>
    					{% EVENT ucp_profile_autologin_keys_thead_key_after %}
  3. Trouver (vers ligne 18) :
    Code: Tout sélectionner
    					<th class="center mark">{L_MARK}</th>

    Remplacer par :
    Code: Tout sélectionner
    					{% EVENT ucp_profile_autologin_keys_thead_mark_before %}
    					<th class="center mark">{L_MARK}</th>
    					{% EVENT ucp_profile_autologin_keys_thead_mark_after %}
  4. Trouver (vers ligne 26) :
    Code: Tout sélectionner
    					<td><label for="{sessions.KEY}">{sessions.KEY}</label></td>

    Remplacer par :
    Code: Tout sélectionner
    					{% EVENT ucp_profile_autologin_keys_tbody_key_before %}
    					<td><label for="{sessions.KEY}">{sessions.KEY}</label></td>
    					{% EVENT ucp_profile_autologin_keys_tbody_key_after %}
  5. Trouver (vers ligne 31) :
    Code: Tout sélectionner
    					<td class="center mark"><input type="checkbox" name="keys[]" value="{sessions.KEY}" id="{sessions.KEY}" /></td>

    Remplacer par :
    Code: Tout sélectionner
    					{% EVENT ucp_profile_autologin_keys_tbody_mark_before %}
    					<td class="center mark"><input type="checkbox" name="keys[]" value="{sessions.KEY}" id="{sessions.KEY}" /></td>
    					{% EVENT ucp_profile_autologin_keys_tbody_mark_after %}
  6. Trouver (vers ligne 36) :
    Code: Tout sélectionner
    				<tr><td colspan="4" class="bg1" style="text-align: center">{L_PROFILE_NO_AUTOLOGIN_KEYS}</td></tr>

    Remplacer par :
    Code: Tout sélectionner
    				<tr><td colspan="{{ definition.COLSPAN }}" class="bg1" style="text-align: center">{L_PROFILE_NO_AUTOLOGIN_KEYS}</td></tr>

template/ucp_reset_password.html

  1. Trouver (vers ligne 15) :
    Code: Tout sélectionner
    				<dt><label for="new_password">{{ lang('NEW_PASSWORD') ~ lang('COLON') }}</label></dt>

    Remplacer par :
    Code: Tout sélectionner
    				<dt><label for="new_password">{{ lang('NEW_PASSWORD') ~ lang('COLON') }}</label><br /><span>{{ lang('CHANGE_PASSWORD_EXPLAIN') }}</span></dt>

template/viewforum_body.html

  1. Trouver (vers ligne 253) :
    Code: Tout sélectionner
    		<strong>{L_NO_TOPICS}</strong>

    Remplacer par :
    Code: Tout sélectionner
    		<strong>{{ lang(S_SORT_DAYS ? 'NO_TOPICS_TIME_FRAME' : 'NO_TOPICS') }}</strong>

theme/content.css

  1. Trouver (vers ligne 364) :
    Code: Tout sélectionner
    dl.faq {

    Remplacer par :
    Code: Tout sélectionner
    .agreement {
    	font-size: 12px;
    	line-height: 17px;
    	margin-bottom: 10px;
    }
    
    .agreement-text {
    	line-height: 17px;
    	margin-bottom: 10px;
    }
    
    dl.faq {

theme/responsive.css

  1. Trouver (vers ligne 555) :
    Code: Tout sélectionner
    @media (min-width: 701px) {
    	.postbody {
    		/** deduct postprofile width (including border width, margin and padding) and postbody margin and padding */
    		width: calc(100% - 200px - 1px - 16px);
    		margin-right: 16px;
    	}

    Remplacer par :
    Code: Tout sélectionner
    @media (min-width: 701px) {
    	.postbody {
    		width: calc(100% - 200px - 1px - 16px);
    	}

style.cfg

  1. Trouver (vers ligne 24) :
    Code: Tout sélectionner
    style_version = 3.3.1
    phpbb_version = 3.3.1

    Remplacer par :
    Code: Tout sélectionner
    style_version = 3.3.2
    phpbb_version = 3.3.2
Avatar de l’utilisateur
Steph
Administrateur
Administrateur
 
Rédigé le: 10 Nov 2020 à 14:47
Articles: 8
Noter cet article: 123456 Votants: 1

Retourner vers Mise à jour


cron