Verzeichnisstruktur phpBB-3.3.16


Veröffentlicht
27.04.2026

So funktioniert es


Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück

Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis.
Auf den Verzeichnisnamen klicken, dies zeigt nur das Verzeichnis mit Inhalt an

      (Beispiel Datei-Icons)

Auf das Icon klicken um den Quellcode anzuzeigen

RenameLivePreviewEvent.php

Zuletzt modifiziert: 01.05.2026, 11:28 - Dateigröße: 1.02 KiB


 01  <?php
 02   
 03  /**
 04  * @package   s9e\TextFormatter
 05  * @copyright Copyright (c) 2010-2022 The s9e authors
 06  * @license   http://www.opensource.org/licenses/mit-license.php The MIT License
 07  */
 08  namespace s9e\TextFormatter\Configurator\TemplateNormalizations;
 09   
 10  use DOMAttr;
 11  use DOMElement;
 12   
 13  /**
 14  * Rename deprecated data-s9e-livepreview-postprocess attributes to data-s9e-livepreview-onrender
 15  */
 16  class RenameLivePreviewEvent extends AbstractNormalization
 17  {
 18      /**
 19      * {@inheritdoc}
 20      */
 21      protected $queries = [
 22          '//*[@data-s9e-livepreview-postprocess]',
 23          '//xsl:attribute/@name[. = "data-s9e-livepreview-postprocess"]'
 24      ];
 25   
 26      /**
 27      * {@inheritdoc}
 28      */
 29      protected function normalizeAttribute(DOMAttr $attribute)
 30      {
 31          $attribute->value = 'data-s9e-livepreview-onrender';
 32      }
 33   
 34      /**
 35      * {@inheritdoc}
 36      */
 37      protected function normalizeElement(DOMElement $element)
 38      {
 39          $value = $element->getAttribute('data-s9e-livepreview-postprocess');
 40          $element->setAttribute('data-s9e-livepreview-onrender', $value);
 41          $element->removeAttribute('data-s9e-livepreview-postprocess');
 42      }
 43  }