Mise à jour des styles de phpBB 3.2.7 à 3.2.8 Facile

Mise à jour des styles de phpBB 3.2.7 à 3.2.8

Détail des modifications des styles de phpBB 3.2.7 à 3.2.8


1 » Détail des modifications prosilver

Liste des fichiers à modifier :
  • template/attachment.html
  • template/mcp_forum.html
  • template/mcp_move.html
  • template/mcp_topic.html
  • template/plupload.html
  • template/posting_attach_body.html
  • template/posting_poll_body.html
  • template/posting_review.html
  • template/posting_topic_review.html
  • template/search_results.html
  • template/ucp_agreement.html
  • template/ucp_attachments.html
  • template/ucp_pm_history.html
  • template/ucp_pm_viewmessage_print.html
  • template/viewforum_body.html
  • template/viewtopic_print.html
  • theme/plupload.css
  • style.cfg


template/attachment.html

  1. Trouver (vers ligne 9) :
    Code: Tout sélectionner
    		<!-- IF _file.S_THUMBNAIL -->
    		<dl class="thumbnail">
    			<dt><a href="{_file.U_DOWNLOAD_LINK}"><img src="{_file.THUMB_IMAGE}" class="postimage" alt="{_file.DOWNLOAD_NAME}" title="{_file.DOWNLOAD_NAME} ({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}" /></a></dt>
    			<!-- IF _file.COMMENT --><dd> {_file.COMMENT}</dd><!-- ENDIF -->
    		</dl>

    Remplacer par :
    Code: Tout sélectionner
    		<!-- IF _file.S_THUMBNAIL -->
    		<dl class="thumbnail">
    			<dt><a href="{_file.U_DOWNLOAD_LINK}"><img src="{_file.THUMB_IMAGE}" class="postimage" alt="{% if _file.COMMENT %}{{ _file.COMMENT|e('html') }}{% else %}{{ _file.DOWNLOAD_NAME }}{% endif %}" title="{_file.DOWNLOAD_NAME} ({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}" /></a></dt>
    			<!-- IF _file.COMMENT --><dd> {_file.COMMENT}</dd><!-- ENDIF -->
    		</dl>
  2. Trouver (vers ligne 16) :
    Code: Tout sélectionner
    		<!-- IF _file.S_IMAGE -->
    		<dl class="file">
    			<dt class="attach-image"><img src="{_file.U_INLINE_LINK}" class="postimage" alt="{_file.DOWNLOAD_NAME}" onclick="viewableArea(this);" /></dt>
    			<!-- IF _file.COMMENT --><dd><em>{_file.COMMENT}</em></dd><!-- ENDIF -->
    			<dd>{_file.DOWNLOAD_NAME} ({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}</dd>
    		</dl>

    Remplacer par :
    Code: Tout sélectionner
    		<!-- IF _file.S_IMAGE -->
    		<dl class="file">
    			<dt class="attach-image"><img src="{_file.U_INLINE_LINK}" class="postimage" alt="{% if _file.COMMENT %}{{ _file.COMMENT|e('html') }}{% else %}{{ _file.DOWNLOAD_NAME }}{% endif %}" onclick="viewableArea(this);" /></dt>
    			<!-- IF _file.COMMENT --><dd><em>{_file.COMMENT}</em></dd><!-- ENDIF -->
    			<dd>{_file.DOWNLOAD_NAME} ({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}</dd>
    		</dl>

template/mcp_forum.html

  1. Trouver (vers ligne 87) :
    Code: Tout sélectionner
    					<div class="responsive-hide">
    						<!-- IF topicrow.ATTACH_ICON_IMG --><i class="icon fa-paperclip fa-fw" aria-hidden="true"></i> <!-- ENDIF -->
    						{L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR_FULL} &raquo; {topicrow.FIRST_POST_TIME}
    					</div>

    Remplacer par :
    Code: Tout sélectionner
    					<div class="responsive-hide">
    						<!-- IF topicrow.ATTACH_ICON_IMG --><i class="icon fa-paperclip fa-fw" aria-hidden="true"></i> <!-- ENDIF -->
    						{% EVENT topiclist_row_topic_by_author_before %}
    						{L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR_FULL} &raquo; {topicrow.FIRST_POST_TIME}
    						{% EVENT topiclist_row_topic_by_author_after %}
    					</div>
    ]

template/mcp_move.html

  1. Trouver (vers ligne 45) :
    Code: Tout sélectionner
    		<fieldset>
    		<dl class="fields2">
    			<dt><label>{L_SELECT_DESTINATION_FORUM}{L_COLON}</label></dt>
    			<dd><select name="to_forum_id">{S_FORUM_SELECT}</select></dd>
    			<!-- IF S_CAN_LEAVE_SHADOW --><dd><label for="move_leave_shadow"><input type="checkbox" name="move_leave_shadow" id="move_leave_shadow" />{L_LEAVE_SHADOW}</label></dd><!-- ENDIF -->
    			<!-- IF S_CAN_LOCK_TOPIC --><dd><label for="move_lock_topics"><input type="checkbox" name="move_lock_topics" id="move_lock_topics" />{L_LOCK_TOPIC}</label></dd><!-- ENDIF -->
    		</dl>
    		<dl class="fields2">

    Remplacer par :
    Code: Tout sélectionner
    		<fieldset>
    		{% EVENT mcp_move_destination_forum_before %}
    		<dl class="fields2">
    			<dt><label>{L_SELECT_DESTINATION_FORUM}{L_COLON}</label></dt>
    			<dd><select name="to_forum_id">{S_FORUM_SELECT}</select></dd>
    			<!-- IF S_CAN_LEAVE_SHADOW --><dd><label for="move_leave_shadow"><input type="checkbox" name="move_leave_shadow" id="move_leave_shadow" />{L_LEAVE_SHADOW}</label></dd><!-- ENDIF -->
    			<!-- IF S_CAN_LOCK_TOPIC --><dd><label for="move_lock_topics"><input type="checkbox" name="move_lock_topics" id="move_lock_topics" />{L_LOCK_TOPIC}</label></dd><!-- ENDIF -->
    		</dl>
    		{% EVENT mcp_move_destination_forum_after %}
    		<dl class="fields2">
    ]

template/mcp_topic.html

  1. Trouver (vers ligne 120) :
    Code: Tout sélectionner
    				<p class="author">
    					<a href="#pr{postrow.POST_ID}" title="{postrow.MINI_POST}">
    						<i class="icon fa-file fa-fw icon-lightgray icon-tiny" aria-hidden="true"></i><span class="sr-only">{postrow.MINI_POST}</span>
    					</a> {L_POSTED} {postrow.POST_DATE} {L_POST_BY_AUTHOR} <strong>{postrow.POST_AUTHOR_FULL}</strong><!-- IF postrow.U_MCP_DETAILS --> [ <a href="{postrow.U_MCP_DETAILS}">{L_POST_DETAILS}</a> ]<!-- ENDIF -->
    				</p>

    Remplacer par :
    Code: Tout sélectionner
    				<p class="author">
    					<a href="#pr{postrow.POST_ID}" title="{postrow.MINI_POST}">
    						<i class="icon fa-file fa-fw icon-lightgray icon-tiny" aria-hidden="true"></i><span class="sr-only">{postrow.MINI_POST}</span>
    					</a> {L_POSTED} {postrow.POST_DATE} {L_POST_BY_AUTHOR} {% EVENT mcp_topic_post_author_full_prepend %}<strong>{postrow.POST_AUTHOR_FULL}</strong>{% EVENT mcp_topic_post_author_full_append %}<!-- IF postrow.U_MCP_DETAILS --> [ <a href="{postrow.U_MCP_DETAILS}">{L_POST_DETAILS}</a> ]<!-- ENDIF -->
    				</p>

template/plupload.html

  1. Trouver (vers ligne 57) :
    Code: Tout sélectionner
    	lang: {
    		ERROR: '{LA_ERROR}',
    		TOO_MANY_ATTACHMENTS: '{LA_TOO_MANY_ATTACHMENTS}',
    	},

    Remplacer par :
    Code: Tout sélectionner
    	lang: {
    		ERROR: '{LA_ERROR}',
    		TOO_MANY_ATTACHMENTS: '{LA_TOO_MANY_ATTACHMENTS}',
    		FORM_INVALID: '{LA_FORM_INVALID}',
    	},


template/posting_attach_body.html

  1. Trouver (vers ligne 35) :
    Code: Tout sélectionner
    				</thead>
    				<tbody class="responsive-skip-empty file-list" id="file-list">
    					<tr class="attach-row" id="attach-row-tpl">
    							<td class="attach-name">
    								<span class="file-name ellipsis-text"></span>
    								<span class="attach-controls">

    Remplacer par :
    Code: Tout sélectionner
    				</thead>
    				<tbody class="responsive-skip-empty file-list" id="file-list">
    					<tr class="attach-row attach-row-tpl" id="attach-row-tpl">
    							<td class="attach-name">
    								<span class="file-name ellipsis-text"></span>
    								<span class="attach-controls">

template/posting_poll_body.html

  1. Trouver (vers ligne 16) :
    Code: Tout sélectionner
    	<!-- IF S_SHOW_POLL_BOX -->
    		<dl>
    			<dt><label for="poll_title">{L_POLL_QUESTION}{L_COLON}</label></dt>
    			<dd><input type="text" name="poll_title" id="poll_title" maxlength="255" value="{POLL_TITLE}" class="inputbox" /></dd>
    		</dl>

    Remplacer par :
    Code: Tout sélectionner
    	<!-- IF S_SHOW_POLL_BOX -->
    		<dl>
    			<dt><label for="poll_title">{{ lang('POLL_QUESTION') ~ lang('COLON') }}</label></dt>
    			<dd><input type="text" name="poll_title" id="poll_title" maxlength="100" value="{{ POLL_TITLE }}" class="inputbox" /></dd>
    		</dl>

template/posting_review.html

  1. Trouver (vers ligne 22) :
    Code: Tout sélectionner
    					<i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">{post_review_row.MINI_POST}</span>
    				</a>
    			<!-- ENDIF -->
    			{L_POST_BY_AUTHOR}<strong>  {post_review_row.POST_AUTHOR_FULL}</strong> &raquo; {post_review_row.POST_DATE}
    		</p>

    Remplacer par :
    Code: Tout sélectionner
    					<i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">{post_review_row.MINI_POST}</span>
    				</a>
    			<!-- ENDIF -->
    			{L_POST_BY_AUTHOR} <!-- EVENT posting_review_row_post_author_username_prepend --><strong>{post_review_row.POST_AUTHOR_FULL}</strong><!-- EVENT posting_review_row_post_author_username_append --> &raquo; {post_review_row.POST_DATE}
    		</p>

template/posting_topic_review.html

  1. Trouver (vers ligne 54) :
    Code: Tout sélectionner
    						<i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">{topic_review_row.MINI_POST}</span>
    					</a>
    				<!-- ENDIF -->
    				{L_POST_BY_AUTHOR} <strong>{topic_review_row.POST_AUTHOR_FULL}</strong> &raquo; {topic_review_row.POST_DATE}
    			</p>

    Remplacer par :
    Code: Tout sélectionner
    						<i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">{topic_review_row.MINI_POST}</span>
    					</a>
    				<!-- ENDIF -->
    				{L_POST_BY_AUTHOR} <!-- EVENT posting_topic_review_row_post_author_username_prepend --><strong>{topic_review_row.POST_AUTHOR_FULL}</strong><!-- EVENT posting_topic_review_row_post_author_username_append --> &raquo; {topic_review_row.POST_DATE}
    			</p>

template/search_results.html

  1. Trouver (vers ligne 117) :
    Code: Tout sélectionner
    							<div class="responsive-hide left-box">
    								<!-- IF searchresults.S_HAS_POLL --><i class="icon fa-bar-chart fa-fw" aria-hidden="true"></i><!-- ENDIF -->
    								<!-- IF searchresults.ATTACH_ICON_IMG --><i class="icon fa-paperclip fa-fw" aria-hidden="true"></i><!-- ENDIF -->
    								{L_POST_BY_AUTHOR} <!-- EVENT search_results_topic_author_username_prepend -->{searchresults.TOPIC_AUTHOR_FULL}<!-- EVENT search_results_topic_author_username_append --> &raquo; {searchresults.FIRST_POST_TIME} &raquo; {L_IN} <a href="{searchresults.U_VIEW_FORUM}">{searchresults.FORUM_TITLE}</a>
    							</div>

    Remplacer par :
    Code: Tout sélectionner
    							<div class="responsive-hide left-box">
    								<!-- IF searchresults.S_HAS_POLL --><i class="icon fa-bar-chart fa-fw" aria-hidden="true"></i><!-- ENDIF -->
    								<!-- IF searchresults.ATTACH_ICON_IMG --><i class="icon fa-paperclip fa-fw" aria-hidden="true"></i><!-- ENDIF -->
    								{% EVENT topiclist_row_topic_by_author_before %}
    								{L_POST_BY_AUTHOR} <!-- EVENT search_results_topic_author_username_prepend -->{searchresults.TOPIC_AUTHOR_FULL}<!-- EVENT search_results_topic_author_username_append --> &raquo; {searchresults.FIRST_POST_TIME} &raquo; {L_IN} <a href="{searchresults.U_VIEW_FORUM}">{searchresults.FORUM_TITLE}</a>
    								{% EVENT topiclist_row_topic_by_author_after %}
    							</div>

template/ucp_agreement.html

  1. Trouver (vers ligne 62) :
    Code: Tout sélectionner
    		<div class="content">
    			<h2 class="sitename-title">{SITENAME} - {AGREEMENT_TITLE}</h2>
    			<p>{AGREEMENT_TEXT}</p>
    			<hr class="dashed" />
    			<p><a href="{U_BACK}" class="button2">{L_BACK}</a></p>
    		</div>
    		</div>

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

template/ucp_attachments.html

  1. Trouver (vers ligne 44) :
    Code: Tout sélectionner
    				</dt>
    				<dd class="extra">{attachrow.DOWNLOAD_COUNT}</dd>
    				<dd class="time"><span>{attachrow.POST_TIME}</span></dd>
    				<dd class="mark"><input type="checkbox" name="attachment[{attachrow.ATTACH_ID}]" value="1" /></dd>
    			</dl>

    Remplacer par :
    Code: Tout sélectionner
    				</dt>
    				<dd class="extra">{attachrow.DOWNLOAD_COUNT}</dd>
    				<dd class="time"><span>{attachrow.POST_TIME}</span></dd>
    				<dd class="mark"><input type="checkbox" name="attachment[{attachrow.ATTACH_ID}]" value="1"{% if attachrow.S_LOCKED %} disabled title="{{ lang('ATTACHMENT_LOCKED') }}"{% endif %} /></dd>
    </dl>
    			</dl>

template/ucp_pm_history.html

  1. Trouver (vers ligne 36) :
    Code: Tout sélectionner
    			<p class="author">
    				<span><i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">{history_row.MINI_POST}</span></span> {L_SENT_AT}{L_COLON} <strong>{history_row.SENT_DATE}</strong>
    				<br />
    				{L_MESSAGE_BY_AUTHOR} {history_row.MESSAGE_AUTHOR_FULL}
    			</p>

    Remplacer par :
    Code: Tout sélectionner
    			<p class="author">
    				<span><i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">{history_row.MINI_POST}</span></span> {L_SENT_AT}{L_COLON} <strong>{history_row.SENT_DATE}</strong>
    				<br />
    				{L_MESSAGE_BY_AUTHOR} <!-- EVENT ucp_pm_history_row_message_author_username_prepend -->{history_row.MESSAGE_AUTHOR_FULL}<!-- EVENT ucp_pm_history_row_message_author_username_append -->
    			</p>

template/ucp_pm_viewmessage_print.html

  1. Trouver (vers ligne 43) :
    Code: Tout sélectionner
    	<div id="page-footer" class="page-footer">
    		<div class="page-number">{S_TIMEZONE}<br />{PAGE_NUMBER}</div>
    		<div class="copyright">Powered by phpBB&reg; Forum Software &copy; phpBB Limited<br />https://www.phpbb.com/</div>
    	</div>
    </div>

    Remplacer par :
    Code: Tout sélectionner
    	<div id="page-footer" class="page-footer">
    		<div class="page-number">{S_TIMEZONE}<br />{PAGE_NUMBER}</div>
    		<div class="copyright">
    			<p>{{ CREDIT_LINE }}
    			</p>
    			{% if TRANSLATION_INFO %}
    			<p>{{ TRANSLATION_INFO }}
    			</p>
    			{% endif %}
    		</div>
    	</div>
    </div>

template/viewforum_body.html

  1. Trouver (vers ligne 157) :
    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 -->">
    			<!-- EVENT viewforum_body_topic_row_prepend -->
    			<dl class="row-item {topicrow.TOPIC_IMG_STYLE}">
    				<dt<!-- IF topicrow.TOPIC_ICON_IMG and S_TOPIC_ICONS --> style="background-image: url({T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF --> title="{topicrow.TOPIC_FOLDER_IMG_ALT}">
    					<!-- IF topicrow.S_UNREAD_TOPIC and not S_IS_BOT --><a href="{topicrow.U_NEWEST_POST}" class="row-item-link"></a><!-- ENDIF -->

    Remplacer 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 -->">
    			<!-- EVENT viewforum_body_topic_row_prepend -->
    			<dl class="row-item {topicrow.TOPIC_IMG_STYLE}">
    				<dt<!-- IF topicrow.TOPIC_ICON_IMG and S_TOPIC_ICONS --> style="background-image: url('{T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}'); background-repeat: no-repeat;"<!-- ENDIF --> title="{topicrow.TOPIC_FOLDER_IMG_ALT}">
    					<!-- IF topicrow.S_UNREAD_TOPIC and not S_IS_BOT --><a href="{topicrow.U_NEWEST_POST}" class="row-item-link"></a><!-- ENDIF -->

  2. Trouver (vers ligne 198) :

    Code: Tout sélectionner
    							{L_POST_BY_AUTHOR} <!-- EVENT viewforum_body_topic_author_username_prepend -->{topicrow.TOPIC_AUTHOR_FULL}<!-- EVENT viewforum_body_topic_author_username_append --> &raquo; {topicrow.FIRST_POST_TIME}


    Remplacer par :

    Code: Tout sélectionner
    							{% EVENT topiclist_row_topic_by_author_before %}
    							{L_POST_BY_AUTHOR} <!-- EVENT viewforum_body_topic_author_username_prepend -->{topicrow.TOPIC_AUTHOR_FULL}<!-- EVENT viewforum_body_topic_author_username_append --> &raquo; {topicrow.FIRST_POST_TIME}	
    							{% EVENT topiclist_row_topic_by_author_after %}

template/viewtopic_print.html

  1. Trouver (vers ligne 39) :
    Code: Tout sélectionner
    	<div id="page-footer" class="page-footer">
    		<div class="page-number">{S_TIMEZONE}<br />{PAGE_NUMBER}</div>
    		<div class="copyright">Powered by phpBB&reg; Forum Software &copy; phpBB Limited<br />https://www.phpbb.com/</div>
    	</div>

    Remplacer par :
    Code: Tout sélectionner
    	<div id="page-footer" class="page-footer">
    		<div class="page-number">{S_TIMEZONE}<br />{PAGE_NUMBER}</div>
    			<div class="copyright">
    				<p>{{ CREDIT_LINE }}
    				</p>
    				{% if TRANSLATION_INFO %}
    				<p>{{ TRANSLATION_INFO }}
    				</p>
    				{% endif %}
    			</div>
    	</div>

theme/plupload.css

  1. Trouver (vers ligne 6) :
    Code: Tout sélectionner
    .file-list td {
    	vertical-align: middle;
    }

    Remplacer par :
    Code: Tout sélectionner
    .attach-row-tpl {
    	display: none;
    }
    
    .file-list td {
    	vertical-align: middle;
    }

style.cfg

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

    Remplacer par :
    Code: Tout sélectionner
    style_version = 3.2.8
    phpbb_version = 3.2.8
Avatar de l’utilisateur
Mazeltof
Resp. des graphistes
Resp. des graphistes
 
Rédigé le: 01 Sep 2019 à 08:51
Articles: 21
Noter cet article: 123456 Votants: 4

Retourner vers Mise à jour


cron