Changeset 14411
- Timestamp:
- 06/23/07 08:48:39 (1 year ago)
- Files:
-
- wp-polls/trunk/polls/polls-add.php (modified) (1 diff)
- wp-polls/trunk/polls/polls-admin-ajax.php (modified) (1 diff)
- wp-polls/trunk/polls/polls-admin-js.php (modified) (1 diff)
- wp-polls/trunk/polls/polls-css.css (modified) (1 diff)
- wp-polls/trunk/polls/polls-js.php (modified) (1 diff)
- wp-polls/trunk/polls/polls-logs.php (modified) (1 diff)
- wp-polls/trunk/polls/polls-manager.php (modified) (1 diff)
- wp-polls/trunk/polls/polls-options.php (modified) (1 diff)
- wp-polls/trunk/polls/polls-templates.php (modified) (1 diff)
- wp-polls/trunk/polls/polls-uninstall.php (modified) (3 diffs)
- wp-polls/trunk/polls/polls-usage.php (modified) (1 diff)
- wp-polls/trunk/polls/polls-widget.php (modified) (4 diffs)
- wp-polls/trunk/polls/polls.php (modified) (2 diffs)
- wp-polls/trunk/polls/wp-polls.mo (modified) (previous)
- wp-polls/trunk/polls/wp-polls.pot (modified) (3 diffs)
- wp-polls/trunk/readme.html (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
wp-polls/trunk/polls/polls-add.php
r10838 r14411 3 3 +----------------------------------------------------------------+ 4 4 | | 5 | WordPress 2.1 Plugin: WP-Polls 2.2 0|5 | WordPress 2.1 Plugin: WP-Polls 2.21 | 6 6 | Copyright (c) 2007 Lester "GaMerZ" Chan | 7 7 | | wp-polls/trunk/polls/polls-admin-ajax.php
r8038 r14411 3 3 +----------------------------------------------------------------+ 4 4 | | 5 | WordPress 2.1 Plugin: WP-Polls 2.2 0|5 | WordPress 2.1 Plugin: WP-Polls 2.21 | 6 6 | Copyright (c) 2007 Lester "GaMerZ" Chan | 7 7 | | wp-polls/trunk/polls/polls-admin-js.php
r7967 r14411 3 3 +----------------------------------------------------------------+ 4 4 | | 5 | WordPress 2.1 Plugin: WP-Polls 2.2 0|5 | WordPress 2.1 Plugin: WP-Polls 2.21 | 6 6 | Copyright (c) 2007 Lester "GaMerZ" Chan | 7 7 | | wp-polls/trunk/polls/polls-css.css
r11588 r14411 2 2 +----------------------------------------------------------------+ 3 3 | | 4 | WordPress 2.0 Plugin: WP-Polls 2.2 0|4 | WordPress 2.0 Plugin: WP-Polls 2.21 | 5 5 | Copyright (c) 2007 Lester "GaMerZ" Chan | 6 6 | | wp-polls/trunk/polls/polls-js.php
r10838 r14411 3 3 +----------------------------------------------------------------+ 4 4 | | 5 | WordPress 2.1 Plugin: WP-Polls 2.2 0|5 | WordPress 2.1 Plugin: WP-Polls 2.21 | 6 6 | Copyright (c) 2007 Lester "GaMerZ" Chan | 7 7 | | wp-polls/trunk/polls/polls-logs.php
r13476 r14411 3 3 +----------------------------------------------------------------+ 4 4 | | 5 | WordPress 2.1 Plugin: WP-Polls 2.2 0|5 | WordPress 2.1 Plugin: WP-Polls 2.21 | 6 6 | Copyright (c) 2007 Lester "GaMerZ" Chan | 7 7 | | wp-polls/trunk/polls/polls-manager.php
r12943 r14411 3 3 +----------------------------------------------------------------+ 4 4 | | 5 | WordPress 2.1 Plugin: WP-Polls 2.2 0|5 | WordPress 2.1 Plugin: WP-Polls 2.21 | 6 6 | Copyright (c) 2007 Lester "GaMerZ" Chan | 7 7 | | wp-polls/trunk/polls/polls-options.php
r10942 r14411 3 3 +----------------------------------------------------------------+ 4 4 | | 5 | WordPress 2.1 Plugin: WP-Polls 2.2 0|5 | WordPress 2.1 Plugin: WP-Polls 2.21 | 6 6 | Copyright (c) 2007 Lester "GaMerZ" Chan | 7 7 | | wp-polls/trunk/polls/polls-templates.php
r13545 r14411 3 3 +----------------------------------------------------------------+ 4 4 | | 5 | WordPress 2.1 Plugin: WP-Polls 2.2 0|5 | WordPress 2.1 Plugin: WP-Polls 2.21 | 6 6 | Copyright (c) 2007 Lester "GaMerZ" Chan | 7 7 | | wp-polls/trunk/polls/polls-uninstall.php
r10942 r14411 3 3 +----------------------------------------------------------------+ 4 4 | | 5 | WordPress 2.1 Plugin: WP-Polls 2.2 0|5 | WordPress 2.1 Plugin: WP-Polls 2.21 | 6 6 | Copyright (c) 2007 Lester "GaMerZ" Chan | 7 7 | | … … 29 29 $mode = trim($_GET['mode']); 30 30 $polls_tables = array($wpdb->pollsq, $wpdb->pollsa, $wpdb->pollsip); 31 $polls_settings = array('poll_template_voteheader', 'poll_template_votebody', 'poll_template_votefooter', 'poll_template_resultheader', 32 'poll_template_resultbody', 'poll_template_resultbody2', 'poll_template_resultfooter', 'poll_template_resultfooter2', 33 'poll_template_disable', 'poll_template_error', 'poll_currentpoll', 'poll_latestpoll', 34 'poll_archive_perpage', 'poll_ans_sortby', 'poll_ans_sortorder', 'poll_ans_result_sortby', 35 'poll_ans_result_sortorder', 'poll_logging_method', 'poll_allowtovote', 'poll_archive_show', 36 'poll_archive_url', 'poll_bar', 'poll_close', 'poll_ajax_style', 'poll_template_pollarchivelink', 'widget_polls', 'poll_archive_displaypoll', 'poll_archive_pollarchiveheader', 'poll_archive_pollarchivefooter'); 31 $polls_settings = array('poll_template_voteheader', 'poll_template_votebody', 'poll_template_votefooter', 'poll_template_resultheader', 'poll_template_resultbody', 'poll_template_resultbody2', 'poll_template_resultfooter', 'poll_template_resultfooter2', 'poll_template_disable', 'poll_template_error', 'poll_currentpoll', 'poll_latestpoll', 'poll_archive_perpage', 'poll_ans_sortby', 'poll_ans_sortorder', 'poll_ans_result_sortby', 'poll_ans_result_sortorder', 'poll_logging_method', 'poll_allowtovote', 'poll_archive_show', 'poll_archive_url', 'poll_bar', 'poll_close', 'poll_ajax_style', 'poll_template_pollarchivelink', 'widget_polls', 'poll_archive_displaypoll', 'poll_template_pollarchiveheader', 'poll_template_pollarchivefooter'); 32 37 33 38 34 ### Form Processing … … 78 74 // Deactivating WP-Polls (By: Philippe Corbes) 79 75 case 'end-UNINSTALL': 80 $deactivate_url = "plugins.php?action=deactivate&plugin=polls/polls.php";76 $deactivate_url = 'plugins.php?action=deactivate&plugin=polls/polls.php'; 81 77 if(function_exists('wp_nonce_url')) { 82 78 $deactivate_url = wp_nonce_url($deactivate_url, 'deactivate-plugin_polls/polls.php'); wp-polls/trunk/polls/polls-usage.php
r10838 r14411 3 3 +----------------------------------------------------------------+ 4 4 | | 5 | WordPress 2.1 Plugin: WP-Polls 2.2 0|5 | WordPress 2.1 Plugin: WP-Polls 2.21 | 6 6 | Copyright (c) 2007 Lester "GaMerZ" Chan | 7 7 | | wp-polls/trunk/polls/polls-widget.php
r13476 r14411 4 4 Plugin URI: http://www.lesterchan.net/portfolio/programming.php 5 5 Description: Adds a Poll Widget to display single or multiple polls from WP-Polls Plugin. You will need to activate WP-Polls first. 6 Version: 2.2 06 Version: 2.21 7 7 Author: Lester 'GaMerZ' Chan 8 8 Author URI: http://www.lesterchan.net … … 67 67 $poll_currentpoll = intval($_POST['poll_currentpoll']); 68 68 $poll_archive_show = intval($_POST['poll_archive_show']); 69 $options['title'] = strip_tags( stripslashes($_POST['polls-title']));69 $options['title'] = strip_tags(addslashes($_POST['polls-title'])); 70 70 if(is_array($_POST['poll_multiplepolls'])) { 71 71 $options['multiple_polls'] = implode(',', $_POST['poll_multiplepolls']); … … 94 94 <?php 95 95 echo '<p style="text-align: left;"><label for="polls-title">'; 96 _e('Title' );97 echo ': </label><input type="text" id="polls-title" name="polls-title" value="'.htmlspecialchars( $options['title']).'" />'."\n";96 _e('Title', 'wp-polls'); 97 echo ': </label><input type="text" id="polls-title" name="polls-title" value="'.htmlspecialchars(stripslashes($options['title'])).'" /></p>'."\n"; 98 98 echo '<p style="text-align: left;"><label for="polls-displayarchive">'; 99 99 _e('Display Polls Archive Link Below Poll?', 'wp-polls'); … … 103 103 selected('0', get_option('poll_archive_show')); 104 104 echo '>'; 105 _e('No' );105 _e('No', 'wp-polls'); 106 106 echo '</option>'."\n"; 107 107 echo '<option value="1"'; 108 108 selected('1', get_option('poll_archive_show')); 109 109 echo '>'; 110 _e('Yes' );110 _e('Yes', 'wp-polls'); 111 111 echo '</option>'."\n"; 112 112 echo '</select></p>'."\n"; wp-polls/trunk/polls/polls.php
r13770 r14411 4 4 Plugin URI: http://www.lesterchan.net/portfolio/programming.php 5 5 Description: Adds an AJAX poll system to your WordPress blog. You can easily include a poll into your WordPress's blog post/page. WP-Polls is extremely customizable via templates and css styles and there are tons of options for you to choose to ensure that WP-Polls runs the way you wanted. It now supports multiple selection of answers. 6 Version: 2.2 06 Version: 2.21 7 7 Author: Lester 'GaMerZ' Chan 8 8 Author URI: http://www.lesterchan.net … … 1086 1086 function vote_poll() { 1087 1087 global $wpdb, $user_identity, $user_ID; 1088 header('Content-Type: text/html; charset='.get_option('blog_charset').'');1089 1088 if(!empty($_POST['vote'])) { 1089 header('Content-Type: text/html; charset='.get_option('blog_charset').''); 1090 1090 $poll_id = intval($_POST['poll_id']); 1091 1091 $poll_aid = $_POST["poll_$poll_id"]; wp-polls/trunk/polls/wp-polls.pot
r13770 r14411 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: WP-Polls 2.2 0\n"3 "Project-Id-Version: WP-Polls 2.21\n" 4 4 "POT-Creation-Date: \n" 5 "PO-Revision-Date: 2007-06- 10 23:28+0800\n"5 "PO-Revision-Date: 2007-06-23 15:56+0800\n" 6 6 "Last-Translator: Lester 'GaMerZ' Chan <gamerz84@hotmail.com>\n" 7 7 "Language-Team: Ravan <ravanhagen@gmail.com>\n" … … 105 105 #: polls-options.php:214 106 106 #: polls-options.php:325 107 #: polls-uninstall.php:13 4107 #: polls-uninstall.php:130 108 108 #: polls-widget.php:110 109 109 msgid "Yes" … … 1270 1270 msgstr "" 1271 1271 1272 #: polls-uninstall.php: 431273 #: polls-uninstall.php:13 51272 #: polls-uninstall.php:39 1273 #: polls-uninstall.php:131 1274 1274 msgid "UNINSTALL WP-Polls" 1275 1275 msgstr "" 1276 1276 1277 #: polls-uninstall.php: 501277 #: polls-uninstall.php:46 1278 1278 #, php-format 1279 1279 msgid "Table '%s' has been deleted." 1280 1280 msgstr "" 1281 1281 1282 #: polls-uninstall.php:55 1283 #, php-format 1284 msgid "Setting Key '%s' has been deleted." 1285 msgstr "" 1286 1282 1287 #: polls-uninstall.php:59 1283 1288 #, php-format 1284 msgid "Setting Key '%s' has been deleted."1285 msgstr ""1286 1287 #: polls-uninstall.php:631288 #, php-format1289 1289 msgid "Error deleting Setting Key '%s'." 1290 1290 msgstr "" 1291 1291 1292 #: polls-uninstall.php:8 51293 #: polls-uninstall.php:9 51292 #: polls-uninstall.php:81 1293 #: polls-uninstall.php:91 1294 1294 #: polls.php:59 1295 1295 msgid "Uninstall WP-Polls" 1296 1296 msgstr "" 1297 1297 1298 #: polls-uninstall.php:8 61298 #: polls-uninstall.php:82 1299 1299 #, php-format 1300 1300 msgid "<a href=\"%s\">Click Here</a> To Finish The Uninstallation And WP-Polls Will Be Deactivated Automatically." 1301 1301 msgstr "" 1302 1302 1303 #: polls-uninstall.php:93 1304 msgid "Deactivating WP-Polls plugin does not remove any data that may have been created, such as the poll data and the poll's voting logs. To completely remove this plugin, you can uninstall it here." 1305 msgstr "" 1306 1307 #: polls-uninstall.php:96 1308 msgid "WARNING:" 1309 msgstr "" 1310 1303 1311 #: polls-uninstall.php:97 1304 msgid " Deactivating WP-Polls plugin does not remove any data that may have been created, such as the poll data and the poll's voting logs. To completely remove this plugin, you can uninstall it here."1312 msgid "Once uninstalled, this cannot be undone. You should use a Database Backup plugin of WordPress to back up all the data first." 1305 1313 msgstr "" 1306 1314 1307 1315 #: polls-uninstall.php:100 1308 msgid "WARNING:" 1309 msgstr "" 1310 1311 #: polls-uninstall.php:101 1312 msgid "Once uninstalled, this cannot be undone. You should use a Database Backup plugin of WordPress to back up all the data first." 1316 msgid "The following WordPress Options/Tables will be DELETED:" 1313 1317 msgstr "" 1314 1318 1315 1319 #: polls-uninstall.php:104 1316 msgid "The following WordPress Options/Tables will be DELETED:"1317 msgstr ""1318 1319 #: polls-uninstall.php:1081320 1320 msgid "WordPress Options" 1321 1321 msgstr "" 1322 1322 1323 #: polls-uninstall.php:10 91323 #: polls-uninstall.php:105 1324 1324 msgid "WordPress Tables" 1325 1325 msgstr "" 1326 1326 1327 #: polls-uninstall.php:13 51327 #: polls-uninstall.php:131 1328 1328 msgid "" 1329 1329 "You Are About To Uninstall WP-Polls From WordPress.\\n" wp-polls/trunk/readme.html
r13476 r14411 3 3 <head> 4 4 <meta http-equiv="content-type" content="text/html; charset=utf-8" /> 5 <title>WP-Polls 2.2 0Readme</title>5 <title>WP-Polls 2.21 Readme</title> 6 6 <style type="text/css" media="screen"> 7 7 /* Default Style */ … … 205 205 <div id="Container"> 206 206 <!-- Title --> 207 <div id="Title">WP-Polls 2.2 0 <span style="color: #aaaaaa;">Readme</span></div>207 <div id="Title">WP-Polls 2.21 <span style="color: #aaaaaa;">Readme</span></div> 208 208 209 209 <!-- Tabs --> … … 228 228 <script type="text/javascript"> 229 229 /* <![CDATA[*/ 230 document.write(' <a href="mailto:gamerz84@hotmail.com?Subject=WP-Polls%202.2 0%20Support" title="EMail To gamerz84@hotmail.com">gamerz84@hotmail.com</a>');230 document.write(' <a href="mailto:gamerz84@hotmail.com?Subject=WP-Polls%202.21%20Support" title="EMail To gamerz84@hotmail.com">gamerz84@hotmail.com</a>'); 231 231 /* ]]> */ 232 232 </script> … … 242 242 <p> 243 243 <strong>Download:</strong><br /> 244 <strong>»</strong> <a href="http://www.lesterchan.net/others/downloads.php?id=10" title="http://www.lesterchan.net/others/downloads.php?id=10">WP-Polls 2.2 0For WordPress 2.1.x And Above</a><br />244 <strong>»</strong> <a href="http://www.lesterchan.net/others/downloads.php?id=10" title="http://www.lesterchan.net/others/downloads.php?id=10">WP-Polls 2.21 For WordPress 2.1.x And Above</a><br /> 245 245 <strong>»</strong> <a href="http://www.lesterchan.net/others/downloads/wp-polls213.zip" title="http://www.lesterchan.net/others/downloads/wp-polls213.zip">WP-Polls 2.13 For WordPress 2.0.x</a><br /> 246 246 <strong>»</strong> <a href="http://www.lesterchan.net/others/downloads/wp-polls202a.zip" title="http://www.lesterchan.net/others/downloads/wp-polls202a.zip">WP-Polls 2.02a For WordPress 1.5.2</a> … … 269 269 <p> 270 270 <strong>Updated:</strong><br /> 271 <strong>»</strong> 1st June2007271 <strong>»</strong> 1st October 2007 272 272 </p> 273 273 <p> … … 292 292 <div class="SubTitle">» Changelog</div> 293 293 <ul> 294 <li> 295 <strong>Version 2.21 (01-10-2007)</strong> 296 <ul> 297 <li>FIXED: Some Text Not Translated In Polls Widget</li> 298 <li>FIXED: 2 Wrong Options Name In Polls Uninstall</li> 299 </ul> 300 </li> 294 301 <li> 295 302 <strong>Version 2.20 (01-06-2007)</strong> … … 489 496 <div id="Upgrade" style="display: none;"> 490 497 <div class="SubTitle">» Upgrade Instructions</div> 491 <div class="SubSubTitle">From v2.xx To v2.2 0</div>498 <div class="SubSubTitle">From v2.xx To v2.21</div> 492 499 <ol> 493 500 <li> … … 669 676 </div> 670 677 </div> 671 <p id="Copyright">WP-Polls 2.2 0<br />Copyright © 2007 Lester 'GaMerZ' Chan. All Rights Reserved.</p>678 <p id="Copyright">WP-Polls 2.21<br />Copyright © 2007 Lester 'GaMerZ' Chan. All Rights Reserved.</p> 672 679 </body> 673 680 </html>
