Plugin Directory

Changeset 226227


Ignore:
Timestamp:
04/07/2010 10:06:26 PM (16 years ago)
Author:
hanok
Message:

Version 0.4 con opcion QR Code

Location:
googl-generator/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • googl-generator/trunk/googl-generator.php

    r198266 r226227  
    44Plugin URI: http://www.dolcebita.com/wordpress/googl-generator/
    55Description: Returns short URL based on Goo.gl using Matthew Flaschen web service.
    6 Version: 0.3
     6Version: 0.4
    77Author: Marcos Esperon
    88Author URI: http://www.dolcebita.com/
    99*/
    1010
    11 /*  Copyright 2009  Marcos Esperon
     11/*  Copyright 2010  Marcos Esperon
    1212
    1313    This program is free software; you can redistribute it and/or modify
     
    5151  } else if (get_option('gg_version') == 'input') {
    5252    $output .= '<input type="text" value="'.$shorturl.'" readonly />';
     53  } else if (get_option('gg_version') == 'qrcode') {
     54    $output .= '<img src="'.$shorturl.'.qr" alt="QRCode" />';
    5355  } else {
    5456    $output .= $shorturl;
     
    173175                        <label for="gg_version_input">Input</label>
    174176                    </p>
     177                    <p>
     178                        <input type="radio" value="qrcode" <?php if (get_option('gg_version') == 'qrcode') echo 'checked="checked"'; ?> name="gg_version" id="gg_version_qrcode" group="gg_version" />
     179                        <label for="gg_version_qrcode">QR Code</label>
     180                    </p>
    175181                </td>
    176182            </tr>
  • googl-generator/trunk/readme.txt

    r198286 r226227  
    44Requires at least: 2.0.0
    55Tested up to: 2.8
    6 Stable tag: 0.3
     6Stable tag: 0.4
    77 
    8 Returns short URL based on Goo.gl using Matthew Flaschen web service.
     8Returns short URL based on Goo.gl using Matthew Flaschen web service. It can return the short URL as text, link, input type or a QR Code.
    99
    1010== Description ==
     
    36362. Settings panel
    3737
     383. QR Code mode
     39
    3840== Changelog == 
     41
     42= 0.4 =
     43* Support for QR Code mode.
    3944
    4045= 0.3 = 
Note: See TracChangeset for help on using the changeset viewer.