Plugin Directory

Changeset 3214470


Ignore:
Timestamp:
12/29/2024 03:28:59 PM (2 months ago)
Author:
sosidee
Message:

Fixed a bug in logs page

Location:
dynamic-qr-code/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • dynamic-qr-code/trunk/admin/logs.php

    r3213836 r3214470  
    11<?php
    2 defined( 'SOSIDEE_PROLICMAN' ) or die( 'you were not supposed to be here' );
     2defined( 'SOSIDEE_DYNAMIC_QRCODE' ) or die( 'you were not supposed to be here' );
    33
    44$plugin = \SOSIDEE_DYNAMIC_QRCODE\SosPlugin::instance();
     
    1515$mfa_enabled = $plugin->config->mfaEnabled->value;
    1616
     17$asterisk = $plugin->isPro ? '' : '*';
     18
    1719echo $plugin->help('scan-logs');
    1820
     
    3941            </td>
    4042            <td class="topped" rowspan="2">
    41                 <span class="bolded" style="margin-bottom: 4px; display:block;">Display</span>
     43                <span class="bolded" style="margin-bottom: 4px; display:block;">Display <?php echo $asterisk; ?></span>
    4244                <?php $form->htmlShowGeo(); ?>
    4345                <br>
     
    197199    </p>
    198200
     201    <?php if ( !$plugin->isPro ) {
     202        echo '<hr style="margin-left:0;width:50%;">';
     203        echo '<p> <b>*</b> PRO version only ';
     204        echo $plugin->pro();
     205        echo '</p>';
     206    } ?>
     207
    199208</div>
  • dynamic-qr-code/trunk/admin/qrcode.php

    r3213836 r3214470  
    313313    $form->htmlClose();
    314314
     315    /*
    315316    if ( !$plugin->hasDuplicate() ) {
    316317        echo '<hr style="margin-left:0;width:50%;">';
    317318        echo $plugin->pro() . ' available in the PRO version';
    318319    }
     320    */
    319321
    320322?>
  • dynamic-qr-code/trunk/dynamic-qr-code.php

    r3213836 r3214470  
    22/*
    33Plugin Name: Dynamic QR Code
    4 Version: 1.0.0
     4Version: 1.0.1
    55Description: Allows you to create DYNAMIC QR CODES: you can modify what happens when scanning your QR code without actually modifying (and reprinting) the QR code.
    66Requires at least: 5.9
  • dynamic-qr-code/trunk/readme.txt

    r3213840 r3214470  
    188188
    189189== Upgrade Notice ==
    190 This is a major upgrade. Please ensure you back up your site before updating.
     190Please ensure you back up your site before updating.
    191191
    192192== Changelog ==
     193
     194= 1.0.1 =
     195* Fixed a bug in the logs page (admin dashboard).
    193196
    194197= 1.0.0 =
  • dynamic-qr-code/trunk/src/form/logsearch.php

    r3213836 r3214470  
    229229                        $list = implode(', ', $allButLast) . ' and ' .  $features[$count - 1];
    230230                    }
    231                     $msg = $this->getProMsg($list . ' logs are available on');
     231                    $msg = $this->getProMsg($list . ' logs are available only on the PRO version');
    232232                    self::msgWarn($msg);
    233233                }
Note: See TracChangeset for help on using the changeset viewer.