[llvm-commits] CVS: llvm-www/poll/attendance.php content1.php content2.php content3.php index.html interest.php month.php paper.php provide.php thanks.html venue.php vote.details.php voting.tpl.html

Reid Spencer reid at x10sys.com
Wed Nov 29 11:29:24 PST 2006



Changes in directory llvm-www/poll:

attendance.php added (r1.1)
content1.php added (r1.1)
content2.php added (r1.1)
content3.php added (r1.1)
index.html added (r1.1)
interest.php added (r1.1)
month.php added (r1.1)
paper.php added (r1.1)
provide.php added (r1.1)
thanks.html added (r1.1)
venue.php added (r1.1)
vote.details.php added (r1.1)
voting.tpl.html added (r1.1)
---
Log message:

LLVM Conference Poll.


---
Diffs of the changes:  (+320 -0)

 attendance.php   |   15 ++++++++++++
 content1.php     |   22 ++++++++++++++++++
 content2.php     |   22 ++++++++++++++++++
 content3.php     |   22 ++++++++++++++++++
 index.html       |   28 +++++++++++++++++++++++
 interest.php     |   17 ++++++++++++++
 month.php        |   20 ++++++++++++++++
 paper.php        |   16 +++++++++++++
 provide.php      |   22 ++++++++++++++++++
 thanks.html      |   13 ++++++++++
 venue.php        |   21 +++++++++++++++++
 vote.details.php |   36 ++++++++++++++++++++++++++++++
 voting.tpl.html  |   66 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 13 files changed, 320 insertions(+)


Index: llvm-www/poll/attendance.php
diff -c /dev/null llvm-www/poll/attendance.php:1.1
*** /dev/null	Wed Nov 29 13:29:17 2006
--- llvm-www/poll/attendance.php	Wed Nov 29 13:29:07 2006
***************
*** 0 ****
--- 1,15 ----
+ <?php
+   /*****************************************************
+   ** Script configuration - for the documentation of
+   ** following variables please take a look at the
+   ** documentation file in folder 'docu'.
+   *****************************************************/
+   $vote_title       = 'Attendance';
+   $vote_text        = 'Are you likely to attend a 2007 LLVM Conference?';
+   $vote_option[]    = 'Yes';
+   $vote_option[]    = 'No';
+   $intern_vote_name = 'attendance';
+   $next_page        = 'venue.php';
+   $next_question    = 'Venue';
+   include('./vote.details.php');
+ ?>


Index: llvm-www/poll/content1.php
diff -c /dev/null llvm-www/poll/content1.php:1.1
*** /dev/null	Wed Nov 29 13:29:24 2006
--- llvm-www/poll/content1.php	Wed Nov 29 13:29:07 2006
***************
*** 0 ****
--- 1,22 ----
+ <?php
+   /*****************************************************
+   ** Script configuration - for the documentation of
+   ** following variables please take a look at the
+   ** documentation file in folder 'docu'.
+   *****************************************************/
+   $vote_title       = 'First Content Choice';
+   $vote_text        = 'What would be you first choice for conference content?';
+   $vote_option[]    = 'Paper/presentation on LLVM';
+   $vote_option[]    = 'Paper/presentation on compiler technology';
+   $vote_option[]    = 'Paper/Presentation on using LLVM';
+   $vote_option[]    = 'Tutorial on using LLVM';
+   $vote_option[]    = 'Tutorial on developing LLVM (extension or maintenance)';
+   $vote_option[]    = 'Tutorial on compiler optimization';
+   $vote_option[]    = 'LLVM help session';
+   $vote_option[]    = 'LLVM workshop (plan LLVM future)';
+   $vote_option[]    = 'LLVM workshop (resolve current issues)';
+   $intern_vote_name = 'content1';
+   $next_page        = 'content2.php';
+   $next_question    = 'Second Content Choice';
+   include('./vote.details.php');
+ ?>


Index: llvm-www/poll/content2.php
diff -c /dev/null llvm-www/poll/content2.php:1.1
*** /dev/null	Wed Nov 29 13:29:24 2006
--- llvm-www/poll/content2.php	Wed Nov 29 13:29:07 2006
***************
*** 0 ****
--- 1,22 ----
+ <?php
+   /*****************************************************
+   ** Script configuration - for the documentation of
+   ** following variables please take a look at the
+   ** documentation file in folder 'docu'.
+   *****************************************************/
+   $vote_title       = 'Second Content Choice';
+   $vote_text        = 'What would be you second choice for conference content?';
+   $vote_option[]    = 'Paper/presentation on LLVM';
+   $vote_option[]    = 'Paper/presentation on compiler technology';
+   $vote_option[]    = 'Paper/Presentation on using LLVM';
+   $vote_option[]    = 'Tutorial on using LLVM';
+   $vote_option[]    = 'Tutorial on developing LLVM (extension or maintenance)';
+   $vote_option[]    = 'Tutorial on compiler optimization';
+   $vote_option[]    = 'LLVM help session';
+   $vote_option[]    = 'LLVM workshop (plan LLVM future)';
+   $vote_option[]    = 'LLVM workshop (resolve current issues)';
+   $intern_vote_name = 'content2';
+   $next_page        = 'content3.php';
+   $next_question    = 'Third Content Choice';
+   include('./vote.details.php');
+ ?>


Index: llvm-www/poll/content3.php
diff -c /dev/null llvm-www/poll/content3.php:1.1
*** /dev/null	Wed Nov 29 13:29:24 2006
--- llvm-www/poll/content3.php	Wed Nov 29 13:29:07 2006
***************
*** 0 ****
--- 1,22 ----
+ <?php
+   /*****************************************************
+   ** Script configuration - for the documentation of
+   ** following variables please take a look at the
+   ** documentation file in folder 'docu'.
+   *****************************************************/
+   $vote_title       = 'Third Content Choice';
+   $vote_text        = 'What would be you third choice for conference content?';
+   $vote_option[]    = 'Paper/presentation on LLVM';
+   $vote_option[]    = 'Paper/presentation on compiler technology';
+   $vote_option[]    = 'Paper/Presentation on using LLVM';
+   $vote_option[]    = 'Tutorial on using LLVM';
+   $vote_option[]    = 'Tutorial on developing LLVM (extension or maintenance)';
+   $vote_option[]    = 'Tutorial on compiler optimization';
+   $vote_option[]    = 'LLVM help session';
+   $vote_option[]    = 'LLVM workshop (plan LLVM future)';
+   $vote_option[]    = 'LLVM workshop (resolve current issues)';
+   $intern_vote_name = 'content3';
+   $next_page        = 'provide.php';
+   $next_question    = 'Providing Content';
+   include('./vote.details.php');
+ ?>


Index: llvm-www/poll/index.html
diff -c /dev/null llvm-www/poll/index.html:1.1
*** /dev/null	Wed Nov 29 13:29:24 2006
--- llvm-www/poll/index.html	Wed Nov 29 13:29:07 2006
***************
*** 0 ****
--- 1,28 ----
+ <!--#include virtual="../header.incl" -->
+ 
+ <div class="www_sectiontitle">LLVM Conference Poll</div>
+ <div class="www_text">
+ <p>The LLVM Oversight team is considering organizing an LLVM Conference in 
+ 2007. We would like to make this a useful meeting for LLVM Developers and 
+ Users. In order for the participants to get the most out of it, we need to get
+ your feedback on various items. Please use the poll pages below to provide your
+ feedback.<p>
+ </div>
+ <div class="www_subsectiontitle">LLVM Conference Poll Questions</div>
+ <div class="www_text">
+   <p>Here are links to the questions. We would appreciate it if you would answer
+   all of them. You may only vote once. Return to the links below for updates
+   on poll results.</p>
+ <ol>
+   <li><a href="interest.php">Interest Level</a></li>
+   <li><a href="attendance.php">Attendance</a></li>
+   <li><a href="venue.php">Venue</a></li>
+   <li><a href="month.php">Month</a></li>
+   <li><a href="content1.php">First Content Choice</a></li>
+   <li><a href="content2.php">Second Content Choice</a></li>
+   <li><a href="content3.php">Third Content Choice</a></li>
+   <li><a href="provide.php">Providing COntent</a></li>
+ </ol>
+ </div>
+ 
+ <!--#include virtual="../footer.incl" -->


Index: llvm-www/poll/interest.php
diff -c /dev/null llvm-www/poll/interest.php:1.1
*** /dev/null	Wed Nov 29 13:29:24 2006
--- llvm-www/poll/interest.php	Wed Nov 29 13:29:07 2006
***************
*** 0 ****
--- 1,17 ----
+ <?php
+   /*****************************************************
+   ** Script configuration - for the documentation of
+   ** following variables please take a look at the
+   ** documentation file in folder 'docu'.
+   *****************************************************/
+   $vote_title       = 'Interest Level';
+   $vote_text        = 'How interested are you in a 2007 LLVM Conference?';
+   $vote_option[]    = 'I Have My Ticket';
+   $vote_option[]    = 'Very Interested';
+   $vote_option[]    = 'Somewhat Interested';
+   $vote_option[]    = 'Not Interested';
+   $intern_vote_name = 'interest';
+   $next_page        = 'attendance.php';
+   $next_question    = 'Attendance';
+   include('./vote.details.php');
+ ?>


Index: llvm-www/poll/month.php
diff -c /dev/null llvm-www/poll/month.php:1.1
*** /dev/null	Wed Nov 29 13:29:24 2006
--- llvm-www/poll/month.php	Wed Nov 29 13:29:07 2006
***************
*** 0 ****
--- 1,20 ----
+ <?php
+   /*****************************************************
+   ** Script configuration - for the documentation of
+   ** following variables please take a look at the
+   ** documentation file in folder 'docu'.
+   *****************************************************/
+   $vote_title       = 'Month';
+   $vote_text        = 'Which month would you prefer for the conference?';
+   $vote_option[]    = 'April 2007';
+   $vote_option[]    = 'May 2007';
+   $vote_option[]    = 'June 2007';
+   $vote_option[]    = 'July 2007';
+   $vote_option[]    = 'August 2007';
+   $vote_option[]    = 'September 2007';
+   $vote_option[]    = 'Other';
+   $intern_vote_name = 'month';
+   $next_page        = 'content1.php';
+   $next_question    = 'First Content Choice';
+   include('./vote.details.php');
+ ?>


Index: llvm-www/poll/paper.php
diff -c /dev/null llvm-www/poll/paper.php:1.1
*** /dev/null	Wed Nov 29 13:29:24 2006
--- llvm-www/poll/paper.php	Wed Nov 29 13:29:07 2006
***************
*** 0 ****
--- 1,16 ----
+ <?php
+   /*****************************************************
+   ** Script configuration - for the documentation of
+   ** following variables please take a look at the
+   ** documentation file in folder 'docu'.
+   *****************************************************/
+   $vote_title       = 'Present Paper';
+   $vote_text        = 'Would you be able and willing to present a paper?';
+   $vote_option[]    = 'Yes';
+   $vote_option[]    = 'Maybe';
+   $vote_option[]    = 'No';
+   $intern_vote_name = 'paper';
+   $next_page        = 'q5.php';
+   $next_question    = 'Month';
+   include('./vote.details.php');
+ ?>


Index: llvm-www/poll/provide.php
diff -c /dev/null llvm-www/poll/provide.php:1.1
*** /dev/null	Wed Nov 29 13:29:24 2006
--- llvm-www/poll/provide.php	Wed Nov 29 13:29:07 2006
***************
*** 0 ****
--- 1,22 ----
+ <?php
+   /*****************************************************
+   ** Script configuration - for the documentation of
+   ** following variables please take a look at the
+   ** documentation file in folder 'docu'.
+   *****************************************************/
+   $vote_title       = 'Providing Content';
+   $vote_text        = 'Which of the following could you provide??';
+   $vote_option[]    = 'Paper/presentation on LLVM';
+   $vote_option[]    = 'Paper/presentation on compiler technology';
+   $vote_option[]    = 'Paper/Presentation on using LLVM';
+   $vote_option[]    = 'Tutorial on using LLVM';
+   $vote_option[]    = 'Tutorial on developing LLVM (extension or maintenance)';
+   $vote_option[]    = 'Tutorial on compiler optimization';
+   $vote_option[]    = 'LLVM help session';
+   $vote_option[]    = 'LLVM workshop (plan LLVM future)';
+   $vote_option[]    = 'LLVM workshop (resolve current issues)';
+   $intern_vote_name = 'provide';
+   $next_page        = 'thanks.html';
+   $next_question    = 'Finished';
+   include('./vote.details.php');
+ ?>


Index: llvm-www/poll/thanks.html
diff -c /dev/null llvm-www/poll/thanks.html:1.1
*** /dev/null	Wed Nov 29 13:29:24 2006
--- llvm-www/poll/thanks.html	Wed Nov 29 13:29:07 2006
***************
*** 0 ****
--- 1,13 ----
+ <!--#include virtual="../header.incl" -->
+ 
+ <div class="www_sectiontitle">Thanks For Taking The LLVM Conference Poll</div>
+ <div class="www_text">
+   <p>You have completed the LLVM Conference Poll. Thanks for your answers.</p>
+   <p>You can now go to:</p>
+   <ol>
+     <li><a href="/">Main LLVM Page</a></li>
+     <li><a href="/poll">Conference Poll Index</a></li>
+   </ol>
+ </div>
+ 
+ <!--#include virtual="../footer.incl" -->


Index: llvm-www/poll/venue.php
diff -c /dev/null llvm-www/poll/venue.php:1.1
*** /dev/null	Wed Nov 29 13:29:24 2006
--- llvm-www/poll/venue.php	Wed Nov 29 13:29:07 2006
***************
*** 0 ****
--- 1,21 ----
+ <?php
+   /*****************************************************
+   ** Script configuration - for the documentation of
+   ** following variables please take a look at the
+   ** documentation file in folder 'docu'.
+   *****************************************************/
+   $vote_title       = 'Venue';
+   $vote_text        = 'Which venue would you prefer for the conference?';
+   $vote_option[]    = 'Vancouver BC';
+   $vote_option[]    = 'Seattle WA';
+   $vote_option[]    = 'Portland OR';
+   $vote_option[]    = 'San Jose CA';
+   $vote_option[]    = 'San Francisco CA';
+   $vote_option[]    = 'East Coast USA';
+   $vote_option[]    = 'Europe';
+   $vote_option[]    = 'Other';
+   $intern_vote_name = 'venue';
+   $next_page        = 'month.php';
+   $next_question    = 'Month';
+   include('./vote.details.php');
+ ?>


Index: llvm-www/poll/vote.details.php
diff -c /dev/null llvm-www/poll/vote.details.php:1.1
*** /dev/null	Wed Nov 29 13:29:24 2006
--- llvm-www/poll/vote.details.php	Wed Nov 29 13:29:07 2006
***************
*** 0 ****
--- 1,36 ----
+ <?
+   $form_field_type        = 'radio';    // (radio, select, readio_image)
+   $bar_image_name         = 'blue.gif';
+   $max_bar_width          = '300';      // (pixel)
+   $check_ip_address       = 'yes';       // (yes/no)
+   $check_cookie           = 'yes';
+   $language               = 'en';       // See folder "languages"
+   $path['templates']      = './';
+   $path['logfiles']       = './logs/';
+   $tmpl['layout']         = 'voting.tpl.html';
+   $log['logfile']         = "$intern_vote_name.txt";
+   $show_error_messages    = 'yes';
+ 
+   /*****************************************************
+   ** Add here further words, text, variables and stuff
+   ** that you want to appear in the template.
+   *****************************************************/
+   $add_text = array(
+     'txt_additional'    => 'Additional',  //  {txt_additional}
+     'txt_more'          => 'More',        //  {txt_more}
+     'txt_script_name'   => 'Voting Script',
+     'txt_next_page'     => "$next_page",
+     'txt_next_question' => "$next_question"
+   );
+ 
+   /*****************************************************
+   ** Send safety signal to included files
+   *****************************************************/
+   define('IN_SCRIPT', 'true');                            
+ 
+   /*****************************************************
+   ** Include script code
+   *****************************************************/
+   $script_root = './';
+   include($script_root . 'inc/core.inc.php');
+ ?>


Index: llvm-www/poll/voting.tpl.html
diff -c /dev/null llvm-www/poll/voting.tpl.html:1.1
*** /dev/null	Wed Nov 29 13:29:24 2006
--- llvm-www/poll/voting.tpl.html	Wed Nov 29 13:29:07 2006
***************
*** 0 ****
--- 1,66 ----
+ <!doctype html public "-//W3C//DTD XHTML 1.0 Transitional//EN"
+     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+ <html xmlns="http://www.w3.org/1999/xhtml">
+   <head>
+     <title>{vote_title} - {txt_script_name} {txt_script_version}</title>
+     <meta http-equiv="Content-Type" content="text/html; charset={txt_charset}" />
+     <style type="text/css">
+     <!--
+ 
+       h3, p, body, td {
+           font-family:Arial, Helvetica, Sans-serif;
+       }
+ 
+       #poweredby {
+           text-align:center;
+       }
+ 
+     -->
+     </style>
+   </head>
+ 
+   <body>
+ 
+     <h3>{vote_title}</h3>
+ 
+     <p>
+       {vote_text}
+ 
+       <IF NAME="display_link">
+         (<a href="{document_self}">{txt_display_form}</a>)
+       </IF NAME="display_link">
+     </p>
+ 
+ 
+     <IF NAME="display_results">
+       <table border="0" cellspacing="3" cellpadding="1">
+         <LOOP NAME="vote_result">
+           <tr>
+             <td>{vote_option}</td>
+             <td><img src="./templates/images_voting/{bar_image_name}" height="15" width="{bar_width}" alt="" border="0"></td>
+             <td>   {vote_number}</td>
+             <td>   {relation} %</td>
+           </tr>
+         </LOOP NAME="vote_result">
+       </table>
+ 
+       <p>{txt_total_votes}: {total_votes}</p>
+ 
+     </IF NAME="display_results">
+     <p>
+       <LOOP NAME="message">
+         <strong>{message}</strong><br />
+       </LOOP NAME="message">
+     </p>
+ 
+ 
+     <IF NAME="display_form">
+       <form name="vote" action="{script_self}" method="post">
+         {vote_form_fields}
+         <p><input type="submit" name="send" value="{txt_submit}">   (<a href="{document_self}?result=true">{txt_display_results}</a>)</p>
+       </form>
+     </IF NAME="display_form">
+ 
+     <p>Next Question: <a href="{txt_next_page}">{txt_next_question}</a></p>
+  </body>
+ </html>






More information about the llvm-commits mailing list