Page 1 sur 1

phpBB 3.3.14 to 3.3.15-RC1 et 3.3.15-RC1 to 3.3.15 modification de prosilver

Posté : 02 mars 2025, 20:11
par Admin
Mise à jour phpBB 3.3.14 à phpBB 3.3.15-RC1
Pour mettre à jour vos styles enfants hérités de prosilver.



►Modification CSS

Aucune


► Modification composer.json

Pour le fichier composer.json remplacer la section comme ci

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




►Modification template

Ouvrir ./styles/prosilver/template/forumlist_body.html

►Trouver

Code : Tout sélectionner

							<a class="feed-icon-forum" title="{L_FEED} - {forumrow.FORUM_NAME}" href="{U_FEED}?f={forumrow.FORUM_ID}">
  • Remplacer par

    Code : Tout sélectionner

    							<a class="feed-icon-forum" title="{L_FEED} - {forumrow.FORUM_NAME}" href="{{ path('phpbb_feed_forum', { forum_id : forumrow.FORUM_ID } ) }}">

Ouvrir ./styles/prosilver/template/search_results.html

►Trouver

Code : Tout sélectionner

	<!-- IF .searchresults and (S_SELECT_SORT_DAYS or S_SELECT_SORT_KEY) -->
  • Remplacer par

    Code : Tout sélectionner

    	<!-- IF S_SELECT_SORT_DAYS or S_SELECT_SORT_KEY -->

Source : https://gist.github.com/marc1706/804925 ... edec36b0b1

Re: phpBB 3.3.14 to 3.3.15-RC1 modification de prosilver

Posté : 10 mars 2025, 09:53
par Admin
Archive à télécharger des modifications faites au dossier styles de phpBB 3.3.15-RC1

format-zip
styles.zip
5.42 Kio - Téléchargé 9 fois

phpBB 3.3.15-RC1 to 3.3.15 modification de prosilver

Posté : 03 avr. 2025, 14:56
par Admin
►Modification template

Ouvrir ./styles/prosilver/template/forum_fn.js

►Trouver

Code : Tout sélectionner

			$block.append((first ? '' : '<br />') + html);

►Trouver

Code : Tout sélectionner

			headers.push($(this).text());
  • Remplacer par

    Code : Tout sélectionner

    			headers.push($("<div>").text($(this).text()).html());

►Trouver

Code : Tout sélectionner

				$block.append((first ? '' : '<br />') + html);

►Trouver

Code : Tout sélectionner

					cell.prepend('<dfn style="display: none;">' + headers[column] + '</dfn>');
  • Remplacer par

    Code : Tout sélectionner

    					if (headers[column].length) {
    						cell.prepend($("<dfn>").css('display', 'none').text(headers[column]));
    					}