Difference between revisions of "PsyCrit:Add Response"
(target article drop-down now working; saving work, but not done) |
(proper headers, var names, template) |
||
Line 12: | Line 12: | ||
| align=right | Target article: | | align=right | Target article: | ||
|<call xmltag contents="SELECT NAME=target" /> | |<call xmltag contents="SELECT NAME=target" /> | ||
<let name=including val=1 /> | |||
<for table="qryW3_Titles_Catgs" where="(cl_to='Data/target') AND (page_namespace=0)" sort="page_title DESC" name=pg hide> | <for table="qryW3_Titles_Catgs" where="(cl_to='Data/target') AND (page_namespace=0)" sort="page_title DESC" name=pg hide> | ||
<let name=pg_title val="@row.pg.page_title" /> | <let name=pg_title val="@row.pg.page_title" /> | ||
Line 19: | Line 20: | ||
<call xmltag contents="/SELECT" /> | <call xmltag contents="/SELECT" /> | ||
|- | |- | ||
| align=right | | | align=right | PDF page name: || <echo raw now><input name=respUpload size=60></echo> | ||
|- | |- | ||
| align=right | | | align=right | Title: || <echo raw now><input name=respTitle size=40></echo> | ||
|- | |- | ||
| align=right | | | align=right | Authors: || <echo raw now><input name=resoAuth size=80></echo> | ||
|- | |- | ||
| align=right | | | align=right | Date: || <echo raw now><input name=respDate size=10></echo> | ||
|- | |- | ||
| align=right | | | align=right | Short name: || <echo raw now><input name=respRef size=20></echo> (for references - usually ''name year'') | ||
* usually <u>AuthorLastName year</u> | |||
* this is used for referencing the article; readers will see it | |||
|- | |- | ||
| colspan=2 | Snippet: <echo raw now><textarea name=respSnip rows=4></textarea></echo> | |||
| colspan=2 | |||
|} | |} | ||
<echo raw now> | <echo raw now> | ||
<input type=hidden name=title value=Special:CreatePage> | <input type=hidden name=title value=Special:CreatePage> | ||
<input type=hidden name=!TPLTPAGE value= | <input type=hidden name=!TPLTPAGE value="project:templates/response"> | ||
<input type=hidden name=!TITLETPLT value="<<date>> <<pagetitle>>"> | <input type=hidden name=!TITLETPLT value="<<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 00:55, 15 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="OPTION" />ERROR: there is no variable named [keyname]. - ERROR: there is no variable named [title].<call xmltag contents="/OPTION" /> </for> <call xmltag contents="/SELECT" /> |
PDF page name: | |
Title: | |
Authors: | |
Date: | |
Short name: | (for references - usually name year)
|
Snippet: |