Plugin Directory

Changeset 559822


Ignore:
Timestamp:
06/18/2012 10:14:25 AM (14 years ago)
Author:
QRtool
Message:

Updated plugin version to 0.1.4 and included options for localization and better description of shortcode

Location:
wpqr-qr-code/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wpqr-qr-code/trunk/readme.txt

    r558683 r559822  
    55Requires at least: 2.6
    66Tested up to: 3.4.0
    7 Stable tag: 0.1.3
     7Stable tag: 0.1.4
    88
    99QR-Code widget and shortcode in one QR-Code gernerator plugin. Use the QR-Code widget in your sidebars or generate QR-Codes in pages and articles by inserting [qr-code] right where you want your QR-Code to be displayed.
  • wpqr-qr-code/trunk/wpqr_qr-code-generator.php

    r558945 r559822  
    55Description: QR-Code widget and shortcode in one QR-Code gernerator plugin. Use the QR-Code widget in your sidebars or generate QR-Codes in pages and articles by inserting [qr-code] right where you want your QR-Code to be displayed.
    66Author: QRtool
    7 Version: 0.1.3
     7Version: 0.1.4
    88Author URI: http://qrtool.de
    99License: CC+
     
    1919function wpqr_qr_code_generator_admin(){
    2020
    21     print '<h3>WPQR QR-Code Generator</h3>';
    22     print '<p>Insert <b>[qr-code]</b> anywhere in WordPress to display a QR-Code that leads to the page/article being displayed</p>';
    23     print '<p>You can customize your QR-Code by using the shortcode with the folling attributes <b>[qr-code align="left|standard|center|right" class="my-qr-code" color="#000000" post_id="0"]</b> </p>';
     21    print '<h3>'._e('WPQR QR-Code Generator').'</h3>';
     22    print '<p>'._e('Insert <b>[qr-code]</b> anywhere in WordPress to display a QR-Code that leads to the page/article being displayed').'</p>';
     23    print '<p>'._e('You can customize your QR-Code by using the shortcode with the folling attributes <b>[qr-code align="left" class="my-qr-code" color="#000000" background_color="#FFFFFF" size="4" margin="4" level="M" post_id="0"]</b> ').</p>'';
     24    print '<h4>'._e('Attributes available').':</h4>';
     25    print '<ul>';
     26    print '<li><b>align</b> : left|standard|center|right</li>';
     27    print '<li><b>class</b> : '._e('any valid CSS class name').'</li>';
     28    print '<li><b>color</b> : '._e('forground color of QR-Code in hex i.e. #000000 for black').'</li>';
     29    print '<li><b>background_color</b> : '._e('background color of QR-Code in hex i.e. #FFFFFF for white').'</li>';
     30    print '<li><b>post_id</b> : '._e('If specified and greater than 0, the QR-Code will lead to the url of the post id. Otherwise the QR-Code will lead to the page currently beeing displayed.').'</li>';
     31    print '<li><b>size</b> : '._e('The size of the QR-Code. It can range from 1=smallest to 10=largest.').'</li>';
     32    print '<li><b>margin</b> : '._e('The margin around the QR-Code. It can range from 0=smallest to 10=largest.').'</li>';
     33    print '<li><b>level</b> : '._e('Possible values L|M|Q|H which stand for the error correction level of the QR-Code. L=7%,M=15%,Q=25%,H=30%').'</li>';
     34    print '</ul>';
    2435   
    2536}
Note: See TracChangeset for help on using the changeset viewer.