Changeset 39852

Show
Ignore:
Timestamp:
04/11/08 20:05:10 (3 months ago)
Author:
GamerZ
Message:

Fixed Content-Type

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • wp-polls/trunk/readme.html

    r36798 r39852  
    303303                                    <li>FIXED: Unable To Schedule Future Poll If The Year Is Different From Current Year</li> 
    304304                                    <li>FIXED: TinyMCE Tool Tip For Insert Poll Not Translated</li> 
     305                                    <li>FIXED: Content-Type Not Being Sent Back When AJAX Return Results</li> 
    305306                              </ul> 
    306307                        </li> 
     
    579580                  <ol> 
    580581                        <li> 
    581                               <strong>Activate</strong> WP-Polls Widget Plugin 
    582                         </li> 
    583                         <li> 
    584                               Go to '<strong>WP-Admin -> Presentation -> Widgets</strong>' 
    585                         </li> 
    586                         <li> 
    587                               <strong>Drag</strong> the Polls Widget to your sidebar 
    588                         </li> 
    589                         <li> 
    590                               You can <strong>configure</strong> the Polls Widget by clicking on the configure icon 
    591                         </li> 
    592                         <li> 
    593                               Click 'Save changes' 
     582                              <strong>Activate</strong> WP-Polls Widget Plugin. 
     583                        </li> 
     584                        <li> 
     585                              Go to '<strong>WP-Admin -> Design -> Widgets</strong>'. 
     586                        </li> 
     587                        <li> 
     588                              You can <strong>add</strong> the Polls Widget by clicking on the 'Add' link besides it. 
     589                        </li> 
     590                        <li> 
     591                              After adding, you can <strong>configure</strong> the Polls Widget by clicking on the 'Edit' link besides it. 
     592                        </li> 
     593                        <li> 
     594                              Click 'Save Changes'. 
    594595                        </li> 
    595596                        <li> 
     
    600601                  <ol> 
    601602                        <li> 
    602                               Go to '<strong>WP-Admin -> Write -> Write Page</strong>' 
    603                         </li> 
    604                         <li> 
    605                               Type any title you like in the post's title area 
    606                         </li> 
    607                         <li> 
    608                               Type '<strong>[page_polls]</strong>' in the post's content area (without the quotes) 
    609                         </li> 
    610                         <li> 
    611                               Type '<strong>pollsarchive</strong>' in the post's slug area (without the quotes) 
    612                         </li> 
    613                         <li> 
    614                               Click 'Publish' 
     603                              Go to '<strong>WP-Admin -> Write -> Page</strong>'. 
     604                        </li> 
     605                        <li> 
     606                              Type any title you like in the post's title area. 
     607                        </li> 
     608                        <li> 
     609                              After typing the title, WordPress will generate the permalink to the page. You will see an 'Edit' link just beside the permalink. 
     610                        </li> 
     611                        <li> 
     612                              Click 'Edit' and type in '<strong>pollsarchive</strong>' in the text field (without the quotes) and click 'Save'. 
     613                        </li> 
     614                        <li> 
     615                              Type '<strong>[page_polls]</strong>' in the post's content area (without the quotes). 
     616                        </li> 
     617                        <li> 
     618                              Click 'Publish'. 
    615619                        </li> 
    616620                        <li> 
  • wp-polls/trunk/wp-polls.php

    r38498 r39852  
    12451245            } // End if($poll_id > 0 && $poll_aid > 0) 
    12461246      } elseif (intval($_GET['pollresult']) > 0) { 
     1247            header('Content-Type: text/html; charset='.get_option('blog_charset').''); 
    12471248            $poll_id = intval($_GET['pollresult']); 
    12481249            echo "<ul class=\"wp-polls-ul\">\n".display_pollresult($poll_id, 0, true); 
    12491250            exit(); 
    12501251      } elseif (intval($_GET['pollbooth']) > 0) { 
     1252            header('Content-Type: text/html; charset='.get_option('blog_charset').''); 
    12511253            $poll_id = intval($_GET['pollbooth']); 
    12521254            echo "<ul class=\"wp-polls-ul\">\n".display_pollvote($poll_id, true); 
  • wp-polls/trunk/wp-polls.pot

    r38498 r39852  
    22msgstr "" 
    33"Project-Id-Version: WP-Polls 2.30\n" 
    4 "POT-Creation-Date: \n" 
    5 "PO-Revision-Date: 2008-04-06 03:22+0800\n" 
    6 "Last-Translator: Lester 'GaMerZ' Chan <gamerz84@hotmail.com>\n" 
     4"Report-Msgid-Bugs-To: \n" 
     5"POT-Creation-Date: 2008-04-12 04:04+0800\n" 
     6"PO-Revision-Date: 2008-04-12 04:04+0800\n" 
     7"Last-Translator: Lester Chan <lesterchan@gmail.com>\n" 
    78"Language-Team: Lester Chan <lesterchan@gmail.com>\n" 
    89"MIME-Version: 1.0\n" 
    9 "Content-Type: text/plain; charset=utf-8\n" 
     10"Content-Type: text/plain; charset=UTF-8\n" 
    1011"Content-Transfer-Encoding: 8bit\n" 
    1112"X-Poedit-Country: SINGAPORE\n" 
     
    536537#: polls-templates.php:116 
    537538#: polls-templates.php:119 
    538 #: wp-polls.php:1364 
    539 #: wp-polls.php:1367 
     539#: wp-polls.php:1366 
     540#: wp-polls.php:1369 
    540541msgid "Total Voters" 
    541542msgstr "" 
     
    786787#: polls-templates.php:110 
    787788#: polls-templates.php:113 
    788 #: wp-polls.php:1361 
    789 #: wp-polls.php:1362 
     789#: wp-polls.php:1363 
     790#: wp-polls.php:1364 
    790791msgid "Votes" 
    791792msgstr "" 
     
    993994#: polls-templates.php:104 
    994995#: polls-templates.php:119 
    995 #: wp-polls.php:1355 
    996 #: wp-polls.php:1368 
     996#: wp-polls.php:1357 
     997#: wp-polls.php:1370 
    997998msgid "Vote" 
    998999msgstr "" 
    9991000 
    10001001#: polls-templates.php:104 
    1001 #: wp-polls.php:1356 
     1002#: wp-polls.php:1358 
    10021003msgid "View Results Of This Poll" 
    10031004msgstr "" 
    10041005 
    10051006#: polls-templates.php:104 
    1006 #: wp-polls.php:1356 
     1007#: wp-polls.php:1358 
    10071008msgid "View Results" 
    10081009msgstr "" 
    10091010 
    10101011#: polls-templates.php:113 
    1011 #: wp-polls.php:1362 
     1012#: wp-polls.php:1364 
    10121013msgid "You Have Voted For This Choice" 
    10131014msgstr "" 
    10141015 
    10151016#: polls-templates.php:119 
    1016 #: wp-polls.php:1368 
     1017#: wp-polls.php:1370 
    10171018msgid "Vote For This Poll" 
    10181019msgstr "" 
    10191020 
    10201021#: polls-templates.php:122 
    1021 #: wp-polls.php:1395 
     1022#: wp-polls.php:1397 
    10221023msgid "Polls Archive" 
    10231024msgstr "" 
     
    10321033 
    10331034#: polls-templates.php:131 
    1034 #: wp-polls.php:1370 
     1035#: wp-polls.php:1372 
    10351036msgid "Sorry, there are no polls available at the moment." 
    10361037msgstr "" 
    10371038 
    10381039#: polls-templates.php:134 
    1039 #: wp-polls.php:1371 
     1040#: wp-polls.php:1373 
    10401041msgid "An error has occurred when processing your poll." 
    10411042msgstr "" 
     
    14581459msgstr "" 
    14591460 
    1460 #: wp-polls.php:1269 
    14611461#: wp-polls.php:1271 
    1462 #: wp-polls.php:1281 
     1462#: wp-polls.php:1273 
     1463#: wp-polls.php:1283 
    14631464msgid "WP-Polls" 
    14641465msgstr "" 
    14651466 
    1466 #: wp-polls.php:1283 
     1467#: wp-polls.php:1285 
    14671468msgid "polls were created." 
    14681469msgstr "" 
    14691470 
    1470 #: wp-polls.php:1284 
     1471#: wp-polls.php:1286 
    14711472msgid "polls' answers were given." 
    14721473msgstr "" 
    14731474 
    1474 #: wp-polls.php:1285 
     1475#: wp-polls.php:1287 
    14751476msgid "votes were casted." 
    14761477msgstr "" 
    14771478 
    1478 #: wp-polls.php:1339 
     1479#: wp-polls.php:1341 
    14791480msgid "How Is My Site?" 
    14801481msgstr "" 
    14811482 
    1482 #: wp-polls.php:1342 
     1483#: wp-polls.php:1344 
    14831484msgid "Good" 
    14841485msgstr "" 
    14851486 
    1486 #: wp-polls.php:1343 
     1487#: wp-polls.php:1345 
    14871488msgid "Excellent" 
    14881489msgstr "" 
    14891490 
    1490 #: wp-polls.php:1344 
     1491#: wp-polls.php:1346 
    14911492msgid "Bad" 
    14921493msgstr "" 
    14931494 
    1494 #: wp-polls.php:1345 
     1495#: wp-polls.php:1347 
    14951496msgid "Can Be Improved" 
    14961497msgstr "" 
    14971498 
    1498 #: wp-polls.php:1346 
     1499#: wp-polls.php:1348 
    14991500msgid "No Comments" 
    15001501msgstr ""