Mise à jour des styles de phpBB 3.3.11 à 3.3.12 Facile

Mise à jour des styles de phpBB 3.3.11 à 3.3.12

Détail des modifications des styles de phpBB 3.3.11 à 3.3.12


Détail des modifications prosilver

Liste des fichiers à modifier :
  • template/ajax.js
  • template/index_body.html
  • template/login_body.html
  • template/mcp_topic.html
  • template/notification_dropdown.html
  • template/overall_footer.html
  • template/posting_editor.html
  • template/simple_footer.html
  • template/ucp_footer.html
  • template/ucp_header.html
  • template/ucp_login_link.html
  • template/ucp_notifications.html
  • template/ucp_register.html
  • template/viewforum_body.html
  • template/viewtopic_body.html
  • template/viewtopic_print.html
  • theme/content.css
  • theme/stylesheet.css
  • style.cfg


template/ajax.js

  1. Trouver (vers ligne 337) :
    Code: Tout sélectionner
    	}
    });
    
    
    /**
     * This simply appends #preview to the action of the

    Remplacer par :
    Code: Tout sélectionner
    	}
    });
    
    // Prevent accidental double submission of form
    $('[data-prevent-flood] input[type=submit]').click(function(event) {
    	const $submitButton = $(this); // Store the button element
    	const $form = $submitButton.closest('form');
    
    	// Always add the disabled class for visual feedback
    	$submitButton.addClass('disabled');
    
    	// Submit form if it hasn't been submitted yet
    	if (!$form.prop('data-form-submitted')) {
    		$form.prop('data-form-submitted', true);
    
    		return;
    	}
    
    	// Prevent default submission for subsequent clicks within 5 seconds
    	event.preventDefault();
    
    	setTimeout(() => {
    		$form.prop('removeProp', 'data-form-submitted');
    		$submitButton.removeClass('disabled'); // Re-enable after 5 seconds
    	}, 5000);
    });
    
    /**
     * This simply appends #preview to the action of the

template/index_body.html

  1. Trouver (vers ligne 21) :
    Code: Tout sélectionner
    		<fieldset class="quick-login">
    			<label for="username"><span>{L_USERNAME}{L_COLON}</span> <input type="text" tabindex="1" name="username" id="username" size="10" class="inputbox" title="{L_USERNAME}" /></label>
    			<label for="password"><span>{L_PASSWORD}{L_COLON}</span> <input type="password" tabindex="2" name="password" id="password" size="10" class="inputbox" title="{L_PASSWORD}" autocomplete="off" /></label>
    			<!-- IF U_SEND_PASSWORD -->
    				<a href="{U_SEND_PASSWORD}">{L_FORGOT_PASS}</a>
    			<!-- ENDIF -->

    Remplacer par :
    Code: Tout sélectionner
    		<fieldset class="quick-login">
    			<label for="username"><span>{L_USERNAME}{L_COLON}</span> <input type="text" tabindex="1" name="username" id="username" size="10" class="inputbox" title="{L_USERNAME}" autocomplete="username" /></label>
    			<label for="password"><span>{L_PASSWORD}{L_COLON}</span> <input type="password" tabindex="2" name="password" id="password" size="10" class="inputbox" title="{L_PASSWORD}" autocomplete="current-password" /></label>
    			<!-- IF U_SEND_PASSWORD -->
    				<a href="{U_SEND_PASSWORD}">{L_FORGOT_PASS}</a>
    			<!-- ENDIF -->

template/login_body.html

  1. Trouver (vers ligne 11) :
    Code: Tout sélectionner
    		<!-- IF LOGIN_ERROR --><div class="error">{LOGIN_ERROR}</div><!-- ENDIF -->
    		<dl>
    			<dt><label for="{USERNAME_CREDENTIAL}">{L_USERNAME}{L_COLON}</label></dt>
    			<dd><input type="text" tabindex="1" name="{USERNAME_CREDENTIAL}" id="{USERNAME_CREDENTIAL}" size="25" value="{USERNAME}" class="inputbox autowidth" /></dd>
    		</dl>
    		<dl>
    			<dt><label for="{PASSWORD_CREDENTIAL}">{L_PASSWORD}{L_COLON}</label></dt>
    			<dd><input type="password" tabindex="2" id="{PASSWORD_CREDENTIAL}" name="{PASSWORD_CREDENTIAL}" size="25" class="inputbox autowidth" autocomplete="off" /></dd>
    			<!-- IF S_DISPLAY_FULL_LOGIN and (U_SEND_PASSWORD or U_RESEND_ACTIVATION) -->

    Remplacer par :
    Code: Tout sélectionner
    		<!-- IF LOGIN_ERROR --><div class="error">{LOGIN_ERROR}</div><!-- ENDIF -->
    		<dl>
    			<dt><label for="{USERNAME_CREDENTIAL}">{L_USERNAME}{L_COLON}</label></dt>
    			<dd><input type="text" tabindex="1" name="{USERNAME_CREDENTIAL}" id="{USERNAME_CREDENTIAL}" size="25" value="{USERNAME}" class="inputbox autowidth" autocomplete="username" /></dd>
    		</dl>
    		<dl>
    			<dt><label for="{PASSWORD_CREDENTIAL}">{L_PASSWORD}{L_COLON}</label></dt>
    			<dd><input type="password" tabindex="2" id="{PASSWORD_CREDENTIAL}" name="{PASSWORD_CREDENTIAL}" size="25" class="inputbox autowidth" autocomplete="current-password" /></dd>
    			<!-- IF S_DISPLAY_FULL_LOGIN and (U_SEND_PASSWORD or U_RESEND_ACTIVATION) -->

template/mcp_topic.html

  1. Trouver (vers ligne 95) :
    Code: Tout sélectionner
    	<div id="topicreview" class="topicreview">
    		<!-- BEGIN postrow -->
    		<!-- EVENT mcp_topic_postrow_post_before -->
    		<div class="post <!-- IF postrow.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
    			<div class="inner">

    Remplacer par :
    Code: Tout sélectionner
    	<div id="topicreview" class="topicreview">
    		<!-- BEGIN postrow -->
    		<!-- EVENT mcp_topic_postrow_post_before -->
    		<!-- IF postrow.S_FIRST_UNREAD -->
    			<a id="unread" class="anchor"<!-- IF S_UNREAD_VIEW --> data-url="{postrow.U_MINI_POST}"<!-- ENDIF -->></a>
    		<!-- ENDIF -->
    		<div class="post <!-- IF postrow.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
    			<div class="inner">

template/notification_dropdown.html

  1. Trouver (vers ligne 41) :
    Code: Tout sélectionner
    		</ul>
    
    		<div class="footer">
    			<a href="{U_VIEW_ALL_NOTIFICATIONS}"><span>{L_SEE_ALL}</span></a>
    		</div>

    Remplacer par :
    Code: Tout sélectionner
     		</ul>
     
    		{% EVENT notification_dropdown_footer_before %}
     		<div class="footer">
     			<a href="{U_VIEW_ALL_NOTIFICATIONS}"><span>{L_SEE_ALL}</span></a>
     		</div>
    		{% EVENT notification_dropdown_footer_after %}

template/overall_footer.html

  1. Trouver (vers ligne 66) :
    Code: Tout sélectionner
    <script src="{T_JQUERY_LINK}"></script>
    <!-- IF S_ALLOW_CDN --><script>window.jQuery || document.write('\x3Cscript src="{T_ASSETS_PATH}/javascript/jquery-3.6.0.min.js?assets_version={T_ASSETS_VERSION}">\x3C/script>');</script><!-- ENDIF -->

    Remplacer par :
    Code: Tout sélectionner
    <script src="{T_JQUERY_LINK}"></script>
    <!-- IF S_ALLOW_CDN --><script>window.jQuery || document.write('\x3Cscript src="{T_ASSETS_PATH}/javascript/jquery-3.7.1.min.js?assets_version={T_ASSETS_VERSION}">\x3C/script>');</script><!-- ENDIF -->

template/posting_editor.html

  1. Trouver (vers ligne 101) :
    Code: Tout sélectionner
    	<div class="panel bg2">
    		<div class="inner">
    		<fieldset class="submit-buttons">
    			{S_HIDDEN_ADDRESS_FIELD}
    			{S_HIDDEN_FIELDS}
    			<!-- EVENT posting_editor_submit_buttons -->

    Remplacer par :
    Code: Tout sélectionner
    	<div class="panel bg2">
    		<div class="inner">
    		<fieldset class="submit-buttons" data-prevent-flood>
    			{S_HIDDEN_ADDRESS_FIELD}
    			{S_HIDDEN_FIELDS}
    			<!-- EVENT posting_editor_submit_buttons -->

template/simple_footer.html

  1. Trouver (vers ligne 38) :
    Code: Tout sélectionner
    <script src="{T_JQUERY_LINK}"></script>
    <!-- IF S_ALLOW_CDN --><script>window.jQuery || document.write('\x3Cscript src="{T_ASSETS_PATH}/javascript/jquery-3.6.0.min.js?assets_version={T_ASSETS_VERSION}">\x3C/script>');</script><!-- ENDIF -->

    Remplacer par :
    Code: Tout sélectionner
    <script src="{T_JQUERY_LINK}"></script>
    <!-- IF S_ALLOW_CDN --><script>window.jQuery || document.write('\x3Cscript src="{T_ASSETS_PATH}/javascript/jquery-3.7.1.min.js?assets_version={T_ASSETS_VERSION}">\x3C/script>');</script><!-- ENDIF -->

template/ucp_footer.html

  1. Trouver (vers ligne 2) :
    Code: Tout sélectionner
    		</div>
    
    	</div>
    	</div>

    Remplacer par :
    Code: Tout sélectionner
    		</div>
    		{% EVENT ucp_footer_content_after %}
    	</div>
    	</div>

template/ucp_header.html

  1. Trouver (vers ligne 99) :
    Code: Tout sélectionner
    	</div>
    
    	<div id="cp-main" class="cp-main ucp-main panel-container">

    Remplacer par :
    Code: Tout sélectionner
    	</div>
    
    	{% EVENT ucp_header_content_before %}
    
    	<div id="cp-main" class="cp-main ucp-main panel-container">

template/ucp_login_link.html

  1. Trouver (vers ligne 32) :
    Code: Tout sélectionner
    				<!-- IF LOGIN_ERROR --><div class="error">{LOGIN_ERROR}</div><!-- ENDIF -->
    				<dl>
    					<dt><label for="{USERNAME_CREDENTIAL}">{L_USERNAME}{L_COLON}</label></dt>
    					<dd><input type="text" tabindex="2" name="{USERNAME_CREDENTIAL}" id="{USERNAME_CREDENTIAL}" size="25" value="{LOGIN_USERNAME}" class="inputbox autowidth" /></dd>
    				</dl>
    				<dl>
    					<dt><label for="{PASSWORD_CREDENTIAL}">{L_PASSWORD}{L_COLON}</label></dt>
    					<dd><input type="password" tabindex="3" id="{PASSWORD_CREDENTIAL}" name="{PASSWORD_CREDENTIAL}" size="25" class="inputbox autowidth" autocomplete="off" /></dd>
    				</dl>
    				<!-- IF CAPTCHA_TEMPLATE and S_CONFIRM_CODE -->

    Remplacer par :
    Code: Tout sélectionner
    				<!-- IF LOGIN_ERROR --><div class="error">{LOGIN_ERROR}</div><!-- ENDIF -->
    				<dl>
    					<dt><label for="{USERNAME_CREDENTIAL}">{L_USERNAME}{L_COLON}</label></dt>
    					<dd><input type="text" tabindex="2" name="{USERNAME_CREDENTIAL}" id="{USERNAME_CREDENTIAL}" size="25" value="{LOGIN_USERNAME}" class="inputbox autowidth" autocomplete="username" /></dd>
    				</dl>
    				<dl>
    					<dt><label for="{PASSWORD_CREDENTIAL}">{L_PASSWORD}{L_COLON}</label></dt>
    					<dd><input type="password" tabindex="3" id="{PASSWORD_CREDENTIAL}" name="{PASSWORD_CREDENTIAL}" size="25" class="inputbox autowidth" autocomplete="current-password" /></dd>
    				</dl>
    				<!-- IF CAPTCHA_TEMPLATE and S_CONFIRM_CODE -->

template/ucp_notifications.html

  1. Trouver (vers ligne 1) :
    Code: Tout sélectionner
    <!-- INCLUDE ucp_header.html -->
    
    <form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}>
    
    <h2>{TITLE}</h2>
    <div class="panel">
    	<div class="inner">

    Remplacer par :
    Code: Tout sélectionner
    <!-- INCLUDE ucp_header.html -->
    
    {% EVENT ucp_notifications_form_before %}
    
    <form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}>
    
    <h2>{TITLE}</h2>
    
    {% EVENT ucp_notifications_content_before %}
    
    <h2>{TITLE}</h2>
    <div class="panel">
    	<div class="inner">

  2. Trouver (vers ligne 105) :
    Code: Tout sélectionner
    	</div>
    </div>
    
    <!-- IF .notification_types or .notification_list -->

    Remplacer par :
    Code: Tout sélectionner
    	</div>
    </div>
    
    {% EVENT ucp_notifications_content_after %}
    
    <!-- IF .notification_types or .notification_list -->

  3. Trouver (vers ligne 118) :
    Code: Tout sélectionner
    </form>
    
    <!-- INCLUDE ucp_footer.html -->

    Remplacer par :
    Code: Tout sélectionner
    </form>
    
    {% EVENT ucp_notifications_form_after %}
    
    <!-- INCLUDE ucp_footer.html -->

template/ucp_register.html

  1. Trouver (vers ligne 38) :
    Code: Tout sélectionner
    	<!-- EVENT ucp_register_credentials_before -->
    	<dl>
    		<dt><label for="username">{L_USERNAME}{L_COLON}</label><br /><span>{L_USERNAME_EXPLAIN}</span></dt>
    		<dd><input type="text" tabindex="1" name="username" id="username" size="25" value="{USERNAME}" class="inputbox autowidth" title="{L_USERNAME}" /></dd>
    	</dl>

    Remplacer par :
    Code: Tout sélectionner
    	<!-- EVENT ucp_register_credentials_before -->
    	<dl>
    		<dt><label for="username">{L_USERNAME}{L_COLON}</label><br /><span>{L_USERNAME_EXPLAIN}</span></dt>
    		<dd><input type="text" tabindex="1" name="username" id="username" size="25" value="{USERNAME}" class="inputbox autowidth" title="{L_USERNAME}" autocomplete="off" /></dd>
    	</dl>

template/viewforum_body.html

  1. Trouver (vers ligne 101) :
    Code: Tout sélectionner
    				<fieldset class="fields1">
    				<dl>
    					<dt><label for="username">{L_USERNAME}{L_COLON}</label></dt>
    					<dd><input type="text" tabindex="1" name="username" id="username" size="25" value="{USERNAME}" class="inputbox autowidth" /></dd>
    				</dl>
    				<dl>
    					<dt><label for="password">{L_PASSWORD}{L_COLON}</label></dt>
    					<dd><input type="password" tabindex="2" id="password" name="password" size="25" class="inputbox autowidth" autocomplete="off" /></dd>
    					<!-- IF S_AUTOLOGIN_ENABLED --><dd><label for="autologin"><input type="checkbox" name="autologin" id="autologin" tabindex="3" /> {L_LOG_ME_IN}</label></dd><!-- ENDIF -->
    					<dd><label for="viewonline"><input type="checkbox" name="viewonline" id="viewonline" tabindex="4" /> {L_HIDE_ME}</label></dd>
    				</dl>

    Remplacer par :
    Code: Tout sélectionner
    				<fieldset class="fields1">
    				<dl>
    					<dt><label for="username">{L_USERNAME}{L_COLON}</label></dt>
    					<dd><input type="text" tabindex="1" name="username" id="username" size="25" value="{USERNAME}" class="inputbox autowidth" autocomplete="username" /></dd>
    				</dl>
    				<dl>
    					<dt><label for="password">{L_PASSWORD}{L_COLON}</label></dt>
    					<dd><input type="password" tabindex="2" id="password" name="password" size="25" class="inputbox autowidth" autocomplete="current-password" /></dd>
    					<!-- IF S_AUTOLOGIN_ENABLED --><dd><label for="autologin"><input type="checkbox" name="autologin" id="autologin" tabindex="3" /> {L_LOG_ME_IN}</label></dd><!-- ENDIF -->
    					<dd><label for="viewonline"><input type="checkbox" name="viewonline" id="viewonline" tabindex="4" /> {L_HIDE_ME}</label></dd>
    				</dl>

template/viewtopic_body.html

  1. Trouver (vers ligne 467) :
    Code: Tout sélectionner
    	</div>
    <!-- ENDIF -->
    
    <!-- INCLUDE overall_footer.html -->

    Remplacer par :
    Code: Tout sélectionner
    	</div>
    <!-- ENDIF -->
    
    {% EVENT viewtopic_body_online_list_after %}
    
    <!-- INCLUDE overall_footer.html -->

template/viewtopic_print.html

  1. Trouver (vers ligne 8) :
    Code: Tout sélectionner
    <title>{SITENAME} &bull; {PAGE_TITLE}</title>
    
    <link href="{T_THEME_PATH}/print.css" rel="stylesheet">
    <link href="{T_THEME_PATH}/bidi.css" rel="stylesheet">
    <!-- EVENT viewtopic_print_head_append -->

    Remplacer par :
    Code: Tout sélectionner
    <title>{SITENAME} &bull; {PAGE_TITLE}</title>
    
    <link href="{T_THEME_PATH}/print.css" rel="stylesheet">
    {% if S_CONTENT_DIRECTION eq 'rtl' %}
    	<link href="{T_THEME_PATH}/bidi.css" rel="stylesheet">
    {% endif %}
    <!-- EVENT viewtopic_print_head_append -->

theme/content.css

  1. Trouver (vers ligne 881) :
    Code: Tout sélectionner
    .group-description ul {
    	list-style-position: inside;
    }

    Remplacer par :
    Code: Tout sélectionner
    .group-description ol, .group-description ul {
    	list-style-position: inside;
    }

theme/stylesheet.css

  1. Trouver (vers ligne 10) :
    Code: Tout sélectionner
    @import url("normalize.css?hash=48eb3f89");
    @import url("base.css?hash=7c5543be");
    @import url("utilities.css?hash=d8f72c42");
    @import url("common.css?hash=a9741ba1");
    @import url("links.css?hash=18286e16");
    @import url("content.css?hash=be57a41d");
    @import url("buttons.css?hash=56f0d25f");
    @import url("cp.css?hash=50d868ab");
    @import url("forms.css?hash=b64464fb");
    @import url("icons.css?hash=64da33ce");
    @import url("colours.css?hash=fcb2f289");
    @import url("responsive.css?hash=87b53e08");

    Remplacer par :
    Code: Tout sélectionner
    @import url("normalize.css?hash=48eb3f89");
    @import url("base.css?hash=7c5543be");
    @import url("utilities.css?hash=d8f72c42");
    @import url("common.css?hash=a9741ba1");
    @import url("links.css?hash=18286e16");
    @import url("content.css?hash=d0e24377");
    @import url("buttons.css?hash=56f0d25f");
    @import url("cp.css?hash=50d868ab");
    @import url("forms.css?hash=9016b55c");
    @import url("icons.css?hash=64da33ce");
    @import url("colours.css?hash=fcb2f289");
    @import url("responsive.css?hash=91525545");

style.cfg

  1. Trouver (vers ligne 21) :
    Code: Tout sélectionner
    # General Information about this style
    name = prosilver
    copyright = © phpBB Limited, 2007
    style_version = 3.3.11
    phpbb_version = 3.3.11

    Remplacer par :
    Code: Tout sélectionner
    # General Information about this style
    name = prosilver
    copyright = © phpBB Limited, 2007
    style_version = 3.3.12
    phpbb_version = 3.3.12
Avatar de l’utilisateur
Mazeltof
Resp. des graphistes
Resp. des graphistes
 
Rédigé le: 01 Juin 2024 à 20:43
Articles: 25
Noter cet article: 123456 Votants: Aucun

Retourner vers Mise à jour


cron