Branch: Tag:

2000-02-10

2000-02-10 04:11:21 by Martin Nilsson <mani@lysator.liu.se>

Moved som unneeded stuff to compat.

Rev: server/modules/tags/rxmltags.pike:1.62

7:   #define _rettext id->misc->defines[" _rettext"]   #define _ok id->misc->defines[" _ok"]    - constant cvs_version="$Id: rxmltags.pike,v 1.61 2000/02/08 21:31:21 nilsson Exp $"; + constant cvs_version="$Id: rxmltags.pike,v 1.62 2000/02/10 04:11:21 nilsson Exp $";   constant thread_safe=1;   constant language = roxen->language;   
589:    return ({ String.implode_nicely(context->list_var(m->scope)) });    }    -  -  //FIXME: Kill these ? -------------------------------- -  if(n = m->other) { -  if(stringp(id->misc[n]) || intp(id->misc[n])) -  return m->quote=="none"?(string)id->misc[n]:({ html_encode_string((string)id->misc[n]) }); -  return rxml_error(tag, "No such other variable ("+n+").", id); -  } -  -  if(n = m->cookies) -  { -  NOCACHE(); -  if(n!="cookies") -  return ({ html_encode_string(Array.map(indices(id->cookies), -  lambda(string s, mapping m) -  { return sprintf("%s=%O\n", s, m[s]); }, -  id->cookies) * "\n") -  }); -  return ({ String.implode_nicely(indices(id->cookies)) }); -  } -  -  if(n=m->cookie) -  { -  NOCACHE(); -  if(id->cookies[n]) -  return m->quote=="none"?id->cookies[n]:({ html_encode_string(id->cookies[n]) }); -  return rxml_error(tag, "No such cookie ("+n+").", id); -  } -  //FIXME: ------------------------------------------ -  +     if(m->file)    {    if(m->nocache) {
811:    return ({ "" });   }    +    // ------------------- Containers ----------------      class TagScope {
1500: Inside #if defined(manual)
     </attr name=from value=string>    The name of another variable that the value should be copied from. - </attr> -  - <attr name=other value=string> -  The name of a id->misc->variables that the value should be copied from. +    </attr>",      "apre":#"<desc cont>
1932: Inside #if defined(manual)
   Inserts a variable listing.   </attr>    - <attr name=cookies> -  Inserts a cookie listing. - </attr> -  - <attr name=cookie value=string> -  Inserts the value of that cookie. - </attr> -  +    <attr name=file value=string>    Inserts the contents of that file.   </attr>
1948: Inside #if defined(manual)
   Inserts the contents at that URL.   </attr>    - <attr name=other value=string> -  Inserts a misc variable (id->misc->variables). - </attr> -  +    <attr name=quote value=html,none>    How the inserted data should be quoted. Default is \"html\", except for    href and file where it's \"none\".