Mise à jour des styles de phpBB 3.3.14 à 3.3.15 Facile

Mise à jour des styles de phpBB 3.3.14 à 3.3.15

Détail des modifications des styles de phpBB 3.3.14 à 3.3.15


Détail des modifications prosilver

Liste des fichiers à modifier :

  • template/forum_fn.js
  • template/forumlist_body.html
  • template/search_results.html
  • style.cfg


template/forum_fn.js

  1. Trouver (vers ligne 650) :
    Code: Tout sélectionner
    				html = $children.html();
    			}
    
    			$block.append((first ? '' : '<br />') + html);
    
    			first = false;
    		});

    Remplacer par :
    Code: Tout sélectionner
    				html = $children.html();
    			}
    
    			$block.append((first ? '' : '<br>') + html);
    
    			first = false;
    		});

  2. Trouver (vers ligne 670) :
    Code: Tout sélectionner
    		// Find all headers, get contents
    		$list.prev('.topiclist').find('li.header dd').not('.mark').each(function() {
    			headers.push($(this).text());
    			headersLength++;
    		});

    Remplacer par :
    Code: Tout sélectionner
    		// Find all headers, get contents
    		$list.prev('.topiclist').find('li.header dd').not('.mark').each(function() {
    			headers.push($("<div>").text($(this).text()).html());
    			headersLength++;
    		});

  3. Trouver (vers ligne 707) :
    Code: Tout sélectionner
    					html = headers[i] + ': <strong>' + html + '</strong>';
    				}
    
    				$block.append((first ? '' : '<br />') + html);
    
    				first = false;
    			});

    Remplacer par :
    Code: Tout sélectionner
    					html = headers[i] + ': <strong>' + html + '</strong>';
    				}
    
    				$block.append((first ? '' : '<br>') + html);
    
    				first = false;
    			});

  4. Trouver (vers ligne 773) :
    Code: Tout sélectionner
    				}
    
    				if ((text.length && text !== '-') || cell.children().length) {
    								  
    					cell.prepend('<dfn style="display: none;">' + headers[column] + '</dfn>');
    	  
    				} else {
    					cell.addClass('empty');
    				}

    Remplacer par :
    Code: Tout sélectionner
    				}
    
    				if ((text.length && text !== '-') || cell.children().length) {
    					if (headers[column].length) {
    						cell.prepend($("<dfn>").css('display', 'none').text(headers[column]));
    					}
    				} else {
    					cell.addClass('empty');
    				}

template/forumlist_body.html

  1. Trouver (vers ligne 37) :
    Code: Tout sélectionner
    					<div class="list-inner">
    						<!-- IF S_ENABLE_FEEDS and forumrow.S_FEED_ENABLED -->
    							<!--
    								<a class="feed-icon-forum" title="{L_FEED} - {forumrow.FORUM_NAME}" href="{U_FEED}?f={forumrow.FORUM_ID}">
    									<i class="icon fa-rss-square fa-fw icon-orange" aria-hidden="true"></i><span class="sr-only">{L_FEED} - {forumrow.FORUM_NAME}</span>
    								</a>
    							-->

    Remplacer par :
    Code: Tout sélectionner
    					<div class="list-inner">
    						<!-- IF S_ENABLE_FEEDS and forumrow.S_FEED_ENABLED -->
    							<!--
    								<a class="feed-icon-forum" title="{L_FEED} - {forumrow.FORUM_NAME}" href="{{ path('phpbb_feed_forum', { forum_id : forumrow.FORUM_ID } ) }}">
    									<i class="icon fa-rss-square fa-fw icon-orange" aria-hidden="true"></i><span class="sr-only">{L_FEED} - {forumrow.FORUM_NAME}</span>
    								</a>
    							-->

template/search_results.html

  1. Trouver (vers ligne 226) :
    Code: Tout sélectionner
    <!-- ENDIF -->
    
    <div class="action-bar bottom">
    	<!-- IF .searchresults and (S_SELECT_SORT_DAYS or S_SELECT_SORT_KEY) -->
    	<form method="post" action="{S_SEARCH_ACTION}">
    		<!-- INCLUDE display_options.html -->
    	</form>

    Remplacer par :
    Code: Tout sélectionner
    <!-- ENDIF -->
    
    <div class="action-bar bottom">
    	<!-- IF S_SELECT_SORT_DAYS or S_SELECT_SORT_KEY -->
    	<form method="post" action="{S_SEARCH_ACTION}">
    		<!-- INCLUDE display_options.html -->
    	</form>

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.14
    phpbb_version = 3.3.14

    Remplacer par :
    Code: Tout sélectionner
    # General Information about this style
    name = prosilver
    copyright = © phpBB Limited, 2007
    style_version = 3.3.15
    phpbb_version = 3.3.15
Avatar de l’utilisateur
Mazeltof
Resp. des graphistes
Resp. des graphistes
 
Rédigé le: 05 Avr 2025 à 13:33
Articles: 25
Noter cet article: 123456 Votants: 2

Retourner vers Mise à jour


cron