Changeset 1187302
- Timestamp:
- 06/25/2015 05:46:50 AM (11 years ago)
- Location:
- wpdudes-survey/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (1 diff)
-
wpdudes_survey.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wpdudes-survey/trunk/readme.txt
r1071580 r1187302 4 4 Tags: feedback, poll, wpdudes, wordpress, dudes, techydudes, harshit, rishi, survey, rating, anonymous survey, vote, voting 5 5 Requires at least: 3.0.1 6 Tested up to: 4. 17 Stable tag: 4. 36 Tested up to: 4.2.2 7 Stable tag: 4.2.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
wpdudes-survey/trunk/wpdudes_survey.php
r1186998 r1187302 4 4 * Plugin URI: http://www.wpdudes.com/plugins/wpdudes-survey 5 5 * Description: A voting tool for the members or employees of a group, club, community or organisation (eg. HR) to provide internal feedback anonymously. 6 * Version: 1.0. 26 * Version: 1.0.3 7 7 * Author: WPDudes 8 8 * Author URI: http://www.wpdudes.com/ … … 70 70 } 71 71 if(($wpdudes_survey_percentage_result > 100) OR ($wpdudes_survey_percentage_result < 0)) { 72 $error = "Percentage cannot be greaterthan 100 or less than 0";72 $error = "Percentage cannot be more than 100 or less than 0"; 73 73 } 74 74 $wpdudes_survey_desc = addslashes($_POST['wpdudes_survey_desc']); … … 247 247 $_POST = array(); 248 248 return; 249 } 249 } else { 250 echo "<div class='error'>". $error ."</div>"; 251 } 250 252 } 251 253 ?> 252 <?php if($error!="") { ?> <div class="error"><?php echo $error; ?></div> <?php } ?>253 254 <?php 254 255 //This code will create the create survey page … … 551 552 552 553 // Draw the pie chart 553 $Test->setFontProperties($contentdir."/plugins/wpdudes _survey/Fonts/tahoma.ttf",8);554 $Test->setFontProperties($contentdir."/plugins/wpdudes-survey/Fonts/tahoma.ttf",8); 554 555 $Test->drawPieGraph($DataSet->GetData(),$DataSet->GetDataDescription(),150,90,110,PIE_PERCENTAGE,TRUE,50,20,5); 555 556 $Test->drawPieLegend(400,15,$DataSet->GetData(),$DataSet->GetDataDescription(),250,250,250); … … 634 635 635 636 // Draw the pie chart 636 $Test->setFontProperties($contentdir."/plugins/wpdudes _survey/Fonts/tahoma.ttf",8);637 $Test->setFontProperties($contentdir."/plugins/wpdudes-survey/Fonts/tahoma.ttf",8); 637 638 $Test->drawPieGraph($DataSet->GetData(),$DataSet->GetDataDescription(),150,90,110,PIE_PERCENTAGE,TRUE,50,20,5); 638 639 $Test->drawPieLegend(400,15,$DataSet->GetData(),$DataSet->GetDataDescription(),250,250,250);
Note: See TracChangeset
for help on using the changeset viewer.