Changeset 544448
- Timestamp:
- 05/15/2012 12:40:41 PM (14 years ago)
- Location:
- ad-manager-for-wp
- Files:
-
- 9 added
- 4 edited
-
tags/0.9.3 (added)
-
tags/0.9.3/ad-manager.css (added)
-
tags/0.9.3/ad-manager.js (added)
-
tags/0.9.3/ad-manager.php (added)
-
tags/0.9.3/ad-types.php (added)
-
tags/0.9.3/lang (added)
-
tags/0.9.3/lang/ad-manager.pot (added)
-
tags/0.9.3/readme.txt (added)
-
tags/0.9.3/screenshot-1.png (added)
-
trunk/ad-manager.php (modified) (2 diffs)
-
trunk/ad-types.php (modified) (2 diffs)
-
trunk/lang/ad-manager.pot (modified) (2 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ad-manager-for-wp/trunk/ad-manager.php
r544093 r544448 2 2 /* 3 3 Plugin Name: Ad Manager 4 Version: 0.9. 24 Version: 0.9.3 5 5 Plugin URI: http://digitalnature.eu/forum/plugins/ad-manager/ 6 6 Description: Manage ads on your website trough the WP dashboard … … 34 34 35 35 const 36 VERSION = '0.9. 2', // plugin version36 VERSION = '0.9.3', // plugin version 37 37 ID = 'ad_manager', // internally used, mostly for text domain 38 38 PROJECT_URI = 'http://digitalnature.eu/forum/plugins/ad-manager/'; // plugin project page -
ad-manager-for-wp/trunk/ad-types.php
r541912 r544448 56 56 public function getDefaults(){ 57 57 return array( 58 'html' => '<div class="ad">'."\n ".__('Add your HTML code here...', self::ID)."\n".'</div>',58 'html' => '<div class="ad">'."\n ".__('Add your HTML code here...', self::ID)."\n".'</div>', 59 59 ); 60 60 } … … 62 62 public function generateFormFields($id, $properties){ 63 63 ?> 64 <textarea class="widefat ad-html code" name="html" id="ad-html-<?php echo $id; ?>" class="code" rows="1"><?php echo $properties['html']; ?></textarea> 64 <textarea class="widefat ad-html code" name="html" id="ad-html-<?php echo $id; ?>" class="code" rows="1"><?php echo esc_textarea($properties['html']); ?></textarea> 65 <?php if(!current_user_can('unfiltered_html')): ?> 66 <p class="notice"> 67 <?php _e('Some HTML tags are disallowed for security reasons (only super-administrators can post unfiltered code)'); ?> 68 </p> 69 <?php endif; ?> 65 70 <?php 66 71 } -
ad-manager-for-wp/trunk/lang/ad-manager.pot
r544093 r544448 3 3 "Project-Id-Version: Ad Manager\n" 4 4 "Report-Msgid-Bugs-To: \n" 5 "POT-Creation-Date: 2012-05-1 4 17:02+0200\n"5 "POT-Creation-Date: 2012-05-15 15:39+0200\n" 6 6 "PO-Revision-Date: \n" 7 7 "Last-Translator: xs\n" … … 309 309 msgstr "" 310 310 311 #: c:\wamp\www\wpmu\wp-content\plugins\ad-manager/ad-types.php:88 311 #: c:\wamp\www\wpmu\wp-content\plugins\ad-manager/ad-types.php:67 312 msgid "Some HTML tags are disallowed for security reasons (only super-administrators can post unfiltered code)" 313 msgstr "" 314 315 #: c:\wamp\www\wpmu\wp-content\plugins\ad-manager/ad-types.php:93 312 316 msgid "Image w/ link" 313 317 msgstr "" 314 318 315 #: c:\wamp\www\wpmu\wp-content\plugins\ad-manager/ad-types.php:9 4319 #: c:\wamp\www\wpmu\wp-content\plugins\ad-manager/ad-types.php:99 316 320 msgid "Advertisment" 317 321 msgstr "" 318 322 319 #: c:\wamp\www\wpmu\wp-content\plugins\ad-manager/ad-types.php:1 06323 #: c:\wamp\www\wpmu\wp-content\plugins\ad-manager/ad-types.php:111 320 324 msgid "Link URI" 321 325 msgstr "" 322 326 323 #: c:\wamp\www\wpmu\wp-content\plugins\ad-manager/ad-types.php:11 0327 #: c:\wamp\www\wpmu\wp-content\plugins\ad-manager/ad-types.php:115 324 328 msgid "Title" 325 329 msgstr "" 326 330 327 #: c:\wamp\www\wpmu\wp-content\plugins\ad-manager/ad-types.php:11 4331 #: c:\wamp\www\wpmu\wp-content\plugins\ad-manager/ad-types.php:119 328 332 msgid "Image URI" 329 333 msgstr "" 330 334 331 #: c:\wamp\www\wpmu\wp-content\plugins\ad-manager/ad-types.php:12 1335 #: c:\wamp\www\wpmu\wp-content\plugins\ad-manager/ad-types.php:126 332 336 msgid "Track click count" 333 337 msgstr "" 334 338 335 #: c:\wamp\www\wpmu\wp-content\plugins\ad-manager/ad-types.php:1 28339 #: c:\wamp\www\wpmu\wp-content\plugins\ad-manager/ad-types.php:133 336 340 #, php-format 337 341 msgid "and auto-disable after %s clicks (0 = no limit)" 338 342 msgstr "" 339 343 340 #: c:\wamp\www\wpmu\wp-content\plugins\ad-manager/ad-types.php:1 59344 #: c:\wamp\www\wpmu\wp-content\plugins\ad-manager/ad-types.php:164 341 345 msgid "You must provide a valid link URI" 342 346 msgstr "" -
ad-manager-for-wp/trunk/readme.txt
r544093 r544448 64 64 == Changelog == 65 65 66 = 0.9.3 = 67 * Code inside the textarea is now escaped for display 68 66 69 = 0.9.2 = 67 70 * Fixed an issue where the HTML code would get escaped
Note: See TracChangeset
for help on using the changeset viewer.