Difference between revisions of "PsyCrit:Add Response"

(drop-down list now includes proper "value" data)
(removing PDF field; fixed HTML form action)
Line 8: Line 8:
</hide>
</hide>
{|
{|
<echo raw now><form target=newpage method=POST></echo>
<echo raw now><form action="/Special:CreatePage" target=newpage method=POST></echo>
|-
|-
| align=right | Target article:
| align=right | Target article:
Line 21: Line 21:
   <echo><call xmltag contents=$opt_tag /><get name=keyname /> - <get name=title /><call xmltag contents="/OPTION" /></echo>
   <echo><call xmltag contents=$opt_tag /><get name=keyname /> - <get name=title /><call xmltag contents="/OPTION" /></echo>
</for>
</for>
<call xmltag contents="/SELECT" /> <small>[{{fullurl:{{PAGENAME}}|action=purge}} refresh]</small>
<call xmltag contents="/SELECT" /> [<small>[{{fullurl:{{PAGENAME}}|action=purge}} refresh]</small>]
|-
| align=right | PDF page name: || <echo raw now><input name=respUpload size=60></echo>
|-
|-
| align=right | Title:  || <echo raw now><input name=respTitle size=40></echo>
| align=right | Title:  || <echo raw now><input name=respTitle size=40></echo>
|-
|-
| align=right | Authors: || <echo raw now><input name=respAuth size=80></echo>
| align=right | Author attribution: || <echo raw now><input name=respAuth size=80></echo>
* usually author's name and institutional affiliation
|-
|-
| align=right | Date: || <echo raw now><input name=respDate size=10></echo>
| align=right | Date: || <echo raw now><input name=respDate size=10></echo>
|-
|-
| align=right valign=top | Short name: || <echo raw now><input name=respRef size=20></echo>
| align=right valign=top | Short name: || <echo raw now><input name=respRef size=20></echo>
* usually <u>AuthorLastName year</u>
* usually author's last name; used for page title =&gt; <u>targetname</u>/<u>date</u> <u>short name</u>
* this is used for referencing the article; readers will see it
* this is used for referencing the article; readers will see it
|-
|-
Line 38: Line 37:
|}
|}
<echo raw now>
<echo raw now>
<input type=hidden name=title value=Special:CreatePage>
<input type=hidden name=!TPLTPAGE value="project:templates/response">
<input type=hidden name=!TPLTPAGE value="project:templates/response">
<input type=hidden name=!TITLETPLT value="<<target>>/<<date>> <<pagetitle>>">
<input type=hidden name=!TITLETPLT value="<<target>>/<<date>> <<pagetitle>>">
<input type=submit value=Preview> <input type=reset value="-clear-">
<input type=submit value=Preview> <input type=reset value="-clear-">
</form></echo>
</form></echo>

Revision as of 15:03, 16 September 2008

Target article: <call xmltag contents="SELECT NAME=target" />

<for table="qryW3_Titles_Catgs" where="(cl_to='Data/target') AND (page_namespace=0)" sort="page_title DESC" name=pg hide>

 <load page=$pg_title />
 
 
 
 <call xmltag contents=$opt_tag />ERROR: there is no variable named [keyname]. - ERROR: there is no variable named [title].<call xmltag contents="/OPTION" />

</for> <call xmltag contents="/SELECT" /> [refresh]

Title:
Author attribution:
  • usually author's name and institutional affiliation
Date:
Short name:
  • usually author's last name; used for page title => targetname/date short name
  • this is used for referencing the article; readers will see it
Snippet: