[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.141.46.108: ~ $
<?php

namespace MailPoet\Newsletter\Editor;

if (!defined('ABSPATH')) exit;


class LayoutHelper {
  public static function row($blocks, $styles = []) {
    if (empty($styles['backgroundColor'])) {
      $styles['backgroundColor'] = 'transparent';
    }
    return [
      'type' => 'container',
      'orientation' => 'horizontal',
      'styles' => ['block' => $styles],
      'blocks' => $blocks,
    ];
  }

  public static function col($blocks, $styles = []) {
    if (empty($styles['backgroundColor'])) {
      $styles['backgroundColor'] = 'transparent';
    }
    return [
      'type' => 'container',
      'orientation' => 'vertical',
      'styles' => ['block' => $styles],
      'blocks' => $blocks,
    ];
  }
}

Filemanager

Name Type Size Permission Actions
LayoutHelper.php File 725 B 0644
MetaInformationManager.php File 2.13 KB 0644
PostContentManager.php File 4.54 KB 0644
PostListTransformer.php File 678 B 0644
PostTransformer.php File 5.04 KB 0644
PostTransformerContentsExtractor.php File 6.49 KB 0644
StructureTransformer.php File 3.8 KB 0644
TitleListTransformer.php File 1.16 KB 0644
Transformer.php File 531 B 0644
index.php File 0 B 0644