Roxen.git / server / modules / tags / indirect_href.pike

version» Context lines:

Roxen.git/server/modules/tags/indirect_href.pike:1:   // This is a roxen module. Copyright © 1996 - 2000, Roxen IS.   //   // This module makes it possible to write symbolic names instead of   // absoulte hrefs.   //   // made by Mattias Wingstedt    - constant cvs_version = "$Id: indirect_href.pike,v 1.12 2000/02/24 05:20:10 nilsson Exp $"; + constant cvs_version = "$Id: indirect_href.pike,v 1.13 2000/03/17 00:30:48 nilsson Exp $";   constant thread_safe=1;   #include <module.h>      inherit "module";   inherit "roxenlib";      mapping hrefs;   string tagname;      void create()
Roxen.git/server/modules/tags/indirect_href.pike:70:    m->href=hrefs[m->name];    m_delete(m, "name");    }    if(m->random) {    m->href=values(hrefs)[random(sizeof(hrefs))];    m_delete(m, "random");    }    return make_container("a",m,q);   }    - mapping query_container_callers() + mapping query_simpletag_callers()   { -  return ([ tagname : tag_newa ]); +  return ([ tagname : ({ 0, tag_newa }) ]);   }