Difference between revisions of "PsyCrit:Add Reply"

(first draft. must protect in order to test.)
 
(revised for reply to response)
 
(One intermediate revision by the same user not shown)
Line 14: Line 14:
| align=right | Target article:
| align=right | Target article:
|<call xmltag contents="SELECT NAME=target" />
|<call xmltag contents="SELECT NAME=target" />
<call xmltag contents="option value" />Select a target...<call xmltag contents="/option" />
<call xmltag contents="option value" />Select a response...<call xmltag contents="/option" />
<let name=including val=1 />
<for table="qryW3_Titles_Catgs" where="(cl_to='Data/response') AND (page_title LIKE 'Targets/%')" sort="page_title DESC" name=pg hide>
<for table="qryW3_Titles_Catgs" where="(cl_to='Data/response') AND (page_title LIKE 'Targets/%')" 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" />
  <let name=including val=1 />
   <load page=$pg_title />
   <load page=$pg_title />
  <let name=opt_tag>option value="</let>


   <let name=opt_tag append copy=target />
   <let name=opt_name copy=target />
   <let name=opt_tag append> &ldarr; </let>
  <let name=opt_name append>/</let>
   <let name=opt_tag append copy=respRef />
  <let name=opt_name append copy=respDate />
   <let name=opt_tag append> </let>
  <let name=opt_name append>_</let>
   <let name=opt_tag append copy=respDate />
  <let name=opt_name append copy=respRef />
 
  <let name=opt_descr copy=target />
   <let name=opt_descr append> <- </let>
   <let name=opt_descr append copy=respRef />
   <let name=opt_descr append> </let>
   <let name=opt_descr append copy=respDate />
  <let name=opt_descr append> - </let>
  <let name=opt_descr append copy=respTitle />


  <let name=opt_tag>option value="</let>
  <let name=opt_tag append copy=opt_name />
   <let name=opt_tag append>"</let>
   <let name=opt_tag append>"</let>
   <if comp=$keyname with=$targReq>
   <if comp=$keyname with=$targReq>
     <let name=opt_tag append> selected</let>
     <let name=opt_tag append> selected</let>
   </if>
   </if>
   <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=opt_descr /><call xmltag contents="/OPTION" /></echo>
</for>
</for>
<call xmltag contents="/SELECT" /> [<small>[{{fullurl:{{FULLPAGENAME}}|action=purge}} refresh]</small>]
<call xmltag contents="/SELECT" /> [<small>[{{fullurl:{{FULLPAGENAME}}|action=purge}} refresh]</small>]

Latest revision as of 23:04, 21 September 2008

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

<call xmltag contents="option value" />Select a response...<call xmltag contents="/option" /> <for table="qryW3_Titles_Catgs" where="(cl_to='Data/response') AND (page_title LIKE 'Targets/%')" sort="page_title DESC" name=pg hide>


 <load page=$pg_title />










 <call xmltag contents=$opt_tag /> <-   - <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
Headline:
Snippet: