Changeset 847292
- Timestamp:
- 01/28/2014 10:32:41 PM (11 years ago)
- Location:
- custom-ribbon-maker/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
custom-ribbon-maker/trunk/customribbonmaker.php
r720442 r847292 3 3 Plugin Name: Custom Ribbon Maker 4 4 Plugin URI: http://www.symposiac.com 5 Description: Add a custom ribbon to your site, set your own position, colours, text, link, etc5 Description: Add a custom ribbon to your site, set your own position, colours, text, link, etc 6 6 Author: Simon Goodchild 7 Version: 1. 07 Version: 1. 8 8 Author URI: http://www.symposiac.com 9 9 */ -
custom-ribbon-maker/trunk/customribbonmaker_admin.php
r720443 r847292 11 11 if (isset($_POST['rm_start_color'])) { 12 12 update_option('rm_text', $_POST['rm_text']); 13 update_option('rm_target', isset($_POST['rm_target']) ? $_POST['rm_target'] : '');14 13 update_option('rm_url', $_POST['rm_url']); 15 14 update_option('rm_font', $_POST['rm_font']); … … 54 53 update_option('rm_shadow', $_POST['rm_shadow']); 55 54 update_option('rm_shadow_str', $_POST['rm_shadow_str']); 55 56 57 58 59 60 56 61 } 57 62 … … 59 64 update_option('rm_shadow', ($x = get_option('rm_shadow')) ? $x : 'rgba(255,255,255,0.5) 0px 1px 0px'); 60 65 update_option('rm_shadow_str', ($x = get_option('rm_shadow_str')) ? $x : '1.0'); 61 update_option('rm_target', ($x = get_option('rm_target')) ? $x : '_self');62 66 update_option('rm_url', ($x = get_option('rm_url')) ? $x : '/'); 63 67 update_option('rm_font', ($x = get_option('rm_font')) ? $x : 'bold 15px Sans-Serif'); … … 73 77 update_option('rm_padding', ($x = get_option('rm_padding')) ? $x : '17'); 74 78 update_option('rm_width', ($x = get_option('rm_width')) ? $x : '320'); 79 80 75 81 76 82 echo '<form action="#" method="POST">'; … … 81 87 echo '<tr style="height:30px"><td style="width:150px">'.__('Hyperlink', TEXT_DOMAIN).'</td>'; 82 88 echo '<td><input type="text" name="rm_url" style="width:250px" value="'.get_option('rm_url').'" /></td></tr>'; 89 90 83 91 echo '<tr style="height:30px"><td style="width:150px">'.__('Font', TEXT_DOMAIN).'</td>'; 84 92 echo '<td><input type="text" name="rm_font" style="width:250px" value="'.get_option('rm_font').'" /></td></tr>'; … … 115 123 echo '<tr style="height:30px"><td style="width:150px">'.__('Padding', TEXT_DOMAIN).'</td>'; 116 124 echo '<td><input type="text" name="rm_padding" style="width:50px" value="'.get_option('rm_padding').'" /> pixels</td></tr>'; 125 126 127 128 129 130 131 132 133 117 134 118 135 echo '<tr><td colspan="2" style="padding-top:40px"><input type="submit" class="button-primary" value="'.__('Save', TEXT_DOMAIN).'" /></td></tr>'; -
custom-ribbon-maker/trunk/readme.txt
r723280 r847292 6 6 Tags: ribbon, banner, custom, maker, diy 7 7 Requires at least: 3.0 8 Tested up to: 3. 59 Stable tag: 1. 08 Tested up to: 3. 9 Stable tag: 1. 10 10 License: GPLv2 or later 11 11 12 Add a ribbon to your site, with your own text, link, position and style!12 Add a ribbon to your site, with your own text, link, position and style! 13 13 14 14 == Description == … … 26 26 * Fixed or scrolls with page 27 27 * Fine tune the width, length and position to allow for any amount of text 28 28 29 29 30 == Installation ==
Note: See TracChangeset
for help on using the changeset viewer.