Commit 601ab566 authored by Frank Bergmann's avatar Frank Bergmann

- Replaced export_form_vars with export_vars -form

- replaces ad_export_vars with export_vars
parent c5fd1cc4
......@@ -6,7 +6,7 @@ Here is how your survey description will appear:
<blockquote><p>
@description@
<form method=post action="<%= [ns_conn url] %>">
<%= [export_form_vars description desc_html survey_id] %>
<%= [export_vars -form {description desc_html survey_id}] %>
<input type=hidden name=checked_p value="t">
<br><center><input type=submit value="Confirm"></center>
</form>
......
......@@ -5,7 +5,7 @@
<blockquote>
Edit and submit to change the description for this survey:
<form method=post action="description-edit-2">
<%= [export_form_vars survey_id] %>
<%= [export_vars -form {survey_id}] %>
<textarea name=description rows=10 cols=65>@description@</textarea>
<br>
The description above is:
......
......@@ -47,7 +47,7 @@ doc_return 200 text/html "[ad_header "Edit Survey Logic"]
<hr>
<form method=post action=\"edit-logic-2\">
[export_form_vars logic_id survey_id]
[export_vars -form {logic_id survey_id}]
Logic:
<blockquote>
<textarea name=logic wrap=off rows=20 cols=65>$logic</textarea>
......
......@@ -72,7 +72,7 @@ doc_return 200 text/html "[ad_header "Modify Responses"]
Question: $question_text
<p>
<form action=\"modify-responses-2\" method=get>
[export_form_vars survey_id question_id choice_id_list variable_id_list]
[export_vars -form {survey_id question_id choice_id_list variable_id_list}]
$table_html
<p>
<center>
......
......@@ -5,7 +5,7 @@
<blockquote>
Edit and submit to change the name for this survey:
<form method=post action="name-edit-2">
<%= [export_form_vars survey_id] %>
<%= [export_vars -form {survey_id}] %>
<INPUT TYPE=text name=name value="@survey_name@" size=80>
<br>
......
......@@ -93,7 +93,7 @@ if { $type == "scored" } {
append response_fields "</table>\n"
set response_type_html "<input type=hidden name=abstract_data_type value=\"choice\">"
set presentation_options_html ""
set form_var_list [export_form_vars survey_id question_id question_text presentation_type after required_p active_p type n_variables variable_id_list]
set form_var_list [export_vars -form {survey_id question_id question_text presentation_type after required_p active_p type n_variables variable_id_list}]
} elseif { $type == "general" } {
......@@ -175,7 +175,7 @@ Type of Response:
}
}
set form_var_list [export_form_vars survey_id question_id question_text presentation_type after required_p active_p type]
set form_var_list [export_vars -form {survey_id question_id question_text presentation_type after required_p active_p type}]
}
......
......@@ -3,7 +3,7 @@
<property name="context">@context;noquote@</property>
<form action="question-add-2" method=post>
<%= [export_form_vars survey_id after] %>
<%= [export_vars -form {survey_id after}] %>
Question:
<blockquote>
......
......@@ -3,7 +3,7 @@
<property name="context">@context;noquote@</property>
<form action="question-modify-text-2" method=GET>
<%= [export_form_vars question_id survey_id] %>
<%= [export_vars -form {question_id survey_id}] %>
Question:
<blockquote>
<textarea name=question_text rows=5 cols=70><%= [ns_quotehtml $question_text] %></textarea>
......
......@@ -9,7 +9,7 @@ Here is how your survey description will appear:
</p>
<form method=post action="<%= [ns_conn url] %>">
<%= [export_form_vars survey_id name description desc_html type variable_names logic] %>
<%= [export_vars -form {survey_id name description desc_html type variable_names logic}] %>
<input type=hidden name=checked_p value="t">
<br><center><input type=submit value="Confirm"></center>
</form>
......
......@@ -5,7 +5,7 @@
<blockquote>
<form method=post action="survey-create-2">
<%= [ad_export_vars -form type] %>
<%= [export_vars -form {type}] %>
<p>
Survey Name: <input type=text name=name value="@name@" size=41 maxlength=40>
......
......@@ -17,7 +17,7 @@
</if>
<form enctype=multipart/form-data method="post" action="@package_url;noquote@/process-response">
<%= [export_form_vars survey_id response_id related_object_id related_context_id task_id return_url] %>
<%= [export_vars -form {survey_id response_id related_object_id related_context_id task_id return_url}] %>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="tabledata">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment