Changeset 7530
- Timestamp:
- 01/24/07 07:49:03 (1 year ago)
- Files:
-
- wp-polls/i18n/wp-polls-de_DE.mo (modified) (previous)
- wp-polls/i18n/wp-polls-de_DE.po (modified) (1 diff)
- wp-polls/i18n/wp-polls-fr_FR.mo (modified) (previous)
- wp-polls/i18n/wp-polls-fr_FR.po (modified) (1 diff)
- wp-polls/i18n/wp-polls-nl_NL.mo (modified) (previous)
- wp-polls/i18n/wp-polls-nl_NL.po (modified) (1 diff)
- wp-polls/trunk/polls/polls-css.css (modified) (1 diff)
- wp-polls/trunk/polls/polls-options.php (modified) (1 diff)
- wp-polls/trunk/polls/polls.php (modified) (2 diffs)
- wp-polls/trunk/polls/wp-polls.pot (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
wp-polls/i18n/wp-polls-de_DE.po
r7513 r7530 3 3 "Project-Id-Version: WP-Polls 2.14\n" 4 4 "POT-Creation-Date: \n" 5 "PO-Revision-Date: 2007-01-2 3 20:39+0800\n"5 "PO-Revision-Date: 2007-01-24 15:48+0800\n" 6 6 "Last-Translator: Lester 'GaMerZ' Chan <gamerz84@hotmail.com>\n" 7 7 "Language-Team: Nicolas Keller <linux@nkeller.de>\n" wp-polls/i18n/wp-polls-fr_FR.po
r7513 r7530 6 6 "Project-Id-Version: WP-Polls 2.14\n" 7 7 "POT-Creation-Date: \n" 8 "PO-Revision-Date: 2007-01-2 3 20:39+0800\n"8 "PO-Revision-Date: 2007-01-24 15:48+0800\n" 9 9 "Last-Translator: Lester 'GaMerZ' Chan <gamerz84@hotmail.com>\n" 10 10 "Language-Team: <fr@li.org>\n" wp-polls/i18n/wp-polls-nl_NL.po
r7513 r7530 3 3 "Project-Id-Version: WP-Polls 2.14\n" 4 4 "POT-Creation-Date: \n" 5 "PO-Revision-Date: 2007-01-2 3 20:39+0800\n"5 "PO-Revision-Date: 2007-01-24 15:48+0800\n" 6 6 "Last-Translator: Lester 'GaMerZ' Chan <gamerz84@hotmail.com>\n" 7 7 "Language-Team: Ravan <ravanhagen@gmail.com>\n" wp-polls/trunk/polls/polls-css.css
r7431 r7530 29 29 } 30 30 .wp-polls IMG, .wp-polls LABEL , .wp-polls INPUT, .wp-polls-loading IMG, .wp-polls-image IMG { 31 display: inline; 31 32 border: 0px; 32 33 padding: 0px; wp-polls/trunk/polls/polls-options.php
r7513 r7530 130 130 break; 131 131 case "votebody": 132 default_template = "<li>< label for=\"poll-answer-%POLL_ANSWER_ID%\"><input type=\"radio\" id=\"poll-answer-%POLL_ANSWER_ID%\" name=\"poll_%POLL_ID%\" value=\"%POLL_ANSWER_ID%\" />%POLL_ANSWER%</label></li>";132 default_template = "<li><input type=\"radio\" id=\"poll-answer-%POLL_ANSWER_ID%\" name=\"poll_%POLL_ID%\" value=\"%POLL_ANSWER_ID%\" /> <label for=\"poll-answer-%POLL_ANSWER_ID%\">%POLL_ANSWER%</label></li>"; 133 133 break; 134 134 case "votefooter": wp-polls/trunk/polls/polls.php
r7513 r7530 1022 1022 $vote_cookie = setcookie("voted_".$poll_id, $poll_aid, time() + 30000000, COOKIEPATH); 1023 1023 } 1024 // Log Ratings No Matter What1025 $vote_ip = $wpdb->query("INSERT INTO $wpdb->pollsip VALUES (0, $poll_id, $poll_aid, '$pollip_ip', '$pollip_host', '$pollip_timestamp', '$pollip_user', $pollip_userid)");1026 1024 $vote_a = $wpdb->query("UPDATE $wpdb->pollsa SET polla_votes = (polla_votes+1) WHERE polla_qid = $poll_id AND polla_aid = $poll_aid"); 1027 1025 if($vote_a) { 1028 1026 $vote_q = $wpdb->query("UPDATE $wpdb->pollsq SET pollq_totalvotes = (pollq_totalvotes+1) WHERE pollq_id = $poll_id"); 1029 1027 if($vote_q) { 1028 // Log Ratings When Success 1029 $vote_ip = $wpdb->query("INSERT INTO $wpdb->pollsip VALUES (0, $poll_id, $poll_aid, '$pollip_ip', '$pollip_host', '$pollip_timestamp', '$pollip_user', $pollip_userid)"); 1030 1030 echo "<ul class=\"wp-polls-ul\">\n".display_pollresult($poll_id,$poll_aid, 1); 1031 1031 exit(); … … 1111 1111 '<div id="polls-%POLL_ID%-ans" class="wp-polls-ans">'. 1112 1112 '<ul class="wp-polls-ul">', 'Template For Poll\'s Question'); 1113 add_option('poll_template_votebody', '<li>< label for="poll-answer-%POLL_ANSWER_ID%"><input type="radio" id="poll-answer-%POLL_ANSWER_ID%" name="poll_%POLL_ID%" value="%POLL_ANSWER_ID%" />%POLL_ANSWER%</label></li>', 'Template For Poll\'s Answers');1113 add_option('poll_template_votebody', '<li><input type="radio" id="poll-answer-%POLL_ANSWER_ID%" name="poll_%POLL_ID%" value="%POLL_ANSWER_ID%" /> <label for="poll-answer-%POLL_ANSWER_ID%">%POLL_ANSWER%</label></li>', 'Template For Poll\'s Answers'); 1114 1114 add_option('poll_template_votefooter', '</ul>'. 1115 1115 '<p style="text-align: center;"><input type="button" name="vote" value=" '.__('Vote', 'wp-polls').' " class="Buttons" onclick="poll_vote(%POLL_ID%);" onkeypress="poll_result(%POLL_ID%);" /></p>'. wp-polls/trunk/polls/wp-polls.pot
r7513 r7530 3 3 "Project-Id-Version: WP-Polls 2.14\n" 4 4 "POT-Creation-Date: \n" 5 "PO-Revision-Date: 2007-01-2 3 20:39+0800\n"5 "PO-Revision-Date: 2007-01-24 15:48+0800\n" 6 6 "Last-Translator: Lester 'GaMerZ' Chan <gamerz84@hotmail.com>\n" 7 7 "Language-Team: Ravan <ravanhagen@gmail.com>\n"
