Plugin Directory

Changeset 3358260


Ignore:
Timestamp:
09/09/2025 03:44:15 AM (5 months ago)
Author:
Webilia
Message:

Released Listdom Ads 1.8.0

Location:
listdom-ads
Files:
77 added
5 edited

Legend:

Unmodified
Added
Removed
  • listdom-ads/trunk/init.php

    r3353621 r3358260  
    1010     * @var string
    1111     */
    12     public $version = '1.7.0';
     12    public $version = '1.8.0';
    1313
    1414    /**
  • listdom-ads/trunk/listdom-ads.php

    r3353621 r3358260  
    44 * Plugin URI: https://listdom.net
    55 * Description: Display ads on single listing pages
    6  * Version: 1.7.0
     6 * Version: 1.8.0
    77 * Author: Webilia
    88 * Author URI: https://webilia.com/
  • listdom-ads/trunk/readme.txt

    r3353621 r3358260  
    66Tested up to: 6.8
    77Requires PHP: 7.2
    8 Stable tag: 1.7.0
     8Stable tag: 1.8.0
    99Requires Plugins: listdom
    1010License: GPLv2 or later
  • listdom-ads/trunk/vendor/webilia/listdom-p-ads/app/Addon.php

    r3353621 r3358260  
    44class Addon extends Base
    55{
    6     public function form()
     6    public function form($default)
    77    {
    8         $this->include_html_file('form.php');
     8        $subtab = isset($_GET['subtab']) ? sanitize_text_field($_GET['subtab']) : $default;
     9        $this->include_html_file('form.php', ['parameters' => compact('subtab')]);
    910    }
    1011
  • listdom-ads/trunk/vendor/webilia/listdom-p-ads/html/form.php

    r3353621 r3358260  
    22// no direct access
    33defined('ABSPATH') || die();
     4/** @var string $subtab */
    45
    56$ads = LSD_Options::addons('ads');
    67?>
    7 <div id="lsd_panel_addons_ads" class="lsd-tab-content">
     8<div id="lsd_panel_addons_ads" class="lsd-tab-content<?php echo $subtab === 'ads' ? ' lsd-tab-content-active' : ''; ?>"<?php echo $subtab === 'ads' ? '' : ' hidden'; ?>>
    89    <h3 class="lsd-mt-0 lsd-admin-title"><?php esc_html_e('Ads Addon', 'listdom-ads'); ?></h3>
    910    <div class="lsd-settings-group-wrapper">
     
    2223                'rows' => 10,
    2324            ]); ?>
    24             <p class="description lsd-mb-0"><?php esc_html_e('Set a global ad for all listings. Override it per listing if needed.', 'listdom-ads'); ?></p>
     25            <p class="lsd-admin-description-tiny lsd-mb-0"><?php esc_html_e('Set a global ad for all listings. Override it per listing if needed.', 'listdom-ads'); ?></p>
    2526        </div>
    2627    </div>
Note: See TracChangeset for help on using the changeset viewer.