
| r2 - 19 Nov 2013 - 11:39 - AdminUser | r1 - 19 Nov 2013 - 11:39 - UnknownUser | ||||||||
|---|---|---|---|---|---|---|---|---|---|
%{ |
%{ |
||||||||
}%
%{ ###########################################################################
inherit settings from standard view template
}%
%TMPL:INCLUDE{"view"}%
%{ |
}%
%{ ###########################################################################
inherit settings from standard view template
}%
%TMPL:INCLUDE{"view"}%
%{ |
||||||||
}% |
}% |
||||||||
%{ |
%{ |
||||||||
}%
%{ ###########################################################################
websearch - default settings and switches
}%
%TMPL:DEF{"searchbox"}%%TMPL:END%
%TMPL:DEF{"sidebar"}%%TMPL:END%
%TMPL:DEF{"bodyclass"}%natViewBody natSearchBody%TMPL:END%
%TMPL:DEF{"revinfo"}%%TMPL:END%
%TMPL:DEF{"topicactions"}%%TMPL:END%
%TMPL:DEF{"meta"}% %TMPL:END%
%{ |
}%
%{ ###########################################################################
websearch - default settings and switches
}%
%TMPL:DEF{"searchbox"}%%TMPL:END%
%TMPL:DEF{"sidebar"}%%TMPL:END%
%TMPL:DEF{"bodyclass"}%natViewBody natSearchBody%TMPL:END%
%TMPL:DEF{"revinfo"}%%TMPL:END%
%TMPL:DEF{"topicactions"}%%TMPL:END%
%TMPL:DEF{"meta"}% %TMPL:END%
%{ |
||||||||
}% |
}% |
||||||||
%{ |
%{ |
||||||||
}%
%{ ###########################################################################
content: main definition that puts together all pieces
}%
%TMPL:DEF{"content"}% |
}%
%{ ###########################################################################
content: main definition that puts together all pieces
}%
%TMPL:DEF{"content"}% |
||||||||
}% |
}% |
||||||||
%{ |
%{ |
||||||||
}%
%{ ###########################################################################
websearch::form: this is the form to be submitted; it consists of several
steps that make up the rows of the form; all form steps are wraped into
a start and end part
}%
%TMPL:DEF{"websearch::form"}%
%TMPL:P{"websearch::form::start"}%
%TMPL:P{"websearch::form::rssstep"}%
%TMPL:P{"websearch::form::inputstep"}%
%TMPL:P{"websearch::form::end"}%
%TMPL:P{"websearch::form::limit"}%
%TMPL:END%
%{ |
}%
%{ ###########################################################################
websearch::form: this is the form to be submitted; it consists of several
steps that make up the rows of the form; all form steps are wraped into
a start and end part
}%
%TMPL:DEF{"websearch::form"}%
%TMPL:P{"websearch::form::start"}%
%TMPL:P{"websearch::form::rssstep"}%
%TMPL:P{"websearch::form::inputstep"}%
%TMPL:P{"websearch::form::end"}%
%TMPL:P{"websearch::form::limit"}%
%TMPL:END%
%{ |
||||||||
}% |
}% |
||||||||
%{ |
%{ |
||||||||
}%
%{ ###########################################################################
websearch::form::start - this is the head of the form
}%
%TMPL:DEF{"websearch::form::start"}%
|
}%
%{ ###########################################################################
websearch::form::start - this is the head of the form
}%
%TMPL:DEF{"websearch::form::start"}%
|
||||||||
}% |
}% |
||||||||
%{ |
%{ |
||||||||
}%
%{ ###########################################################################
websearch::form::rss - this one holds the rss link
}%
%TMPL:DEF{"websearch::form::rssstep"}%
%TMPL:END%
%{ |
}%
%{ ###########################################################################
websearch::form::rss - this one holds the rss link
}%
%TMPL:DEF{"websearch::form::rssstep"}%
%TMPL:END%
%{ |
||||||||
}% |
}% |
||||||||
%{ |
%{ |
||||||||
}%
%{ ###########################################################################
websearch::form::inputstep - this one holds the input field together with the submit/cancel buttons
}%
%TMPL:DEF{"websearch::form::inputstep"}%
|
}%
%{ ###########################################################################
websearch::form::inputstep - this one holds the input field together with the submit/cancel buttons
}%
%TMPL:DEF{"websearch::form::inputstep"}%
|
||||||||
}% |
}% |
||||||||
%{ |
%{ |
||||||||
}%
%TMPL:DEF{"websearch::form::limit"}%
|
}%
%TMPL:DEF{"websearch::form::limit"}%
|
||||||||
}% |
}% |
||||||||
%{ |
%{ |
||||||||
}%
%{ ###########################################################################
websearch::form::options - this one renders the row of search options
}%
%TMPL:DEF{"websearch::form::options"}%
%TMPL:END%
%{ |
}%
%{ ###########################################################################
websearch::form::options - this one renders the row of search options
}%
%TMPL:DEF{"websearch::form::options"}%
%TMPL:END%
%{ |
||||||||
}% |
}% |
||||||||
%{ |
%{ |
||||||||
}%
%{ ###########################################################################
websearch::form::end - finally close the form
}%
%TMPL:DEF{"websearch::form::end"}%%TMPL:END%
%{ |
}%
%{ ###########################################################################
websearch::form::end - finally close the form
}%
%TMPL:DEF{"websearch::form::end"}%%TMPL:END%
%{ |
||||||||
}% |
}% |
||||||||
%{ |
%{ |
||||||||
}%
%{ ###########################################################################
websearch::hits - this block displays the list of hits as found by SEARCH
}%
%TMPL:DEF{"websearch::hits"}%
%SEARCH{
"%URLPARAM{"search" encode="quote"}%"
nosearch="on"
type="%URLPARAM{"type" default="keyword"}%"
scope="%URLPARAM{"scope" default="all" encode="quote"}%"
web="%URLPARAM{"web" encode="quote"}%"
excludetopic="%URLPARAM{"excludetopic" encode="quote"}%"
casesensitive="%URLPARAM{"casesensitive" default="off" encode="quote"}%"
nosummary="%URLPARAM{"nosummary" encode="quote"}%"
nototal="on"
order="%URLPARAM{"order" encode="quote"}%"
reverse="%URLPARAM{"reverse" encode="quote"}%"
limit="%URLPARAM{"limit" encode="quote"}%"
zeroresults="%IF{ "defined search and $search!=''" then="on" else="off" }%"
header="%IF{"'%URLPARAM{"web"}%'='all'"
then="$percntTMPL:P{\"websearch::hits::header\"
web=\"$web\"
count=\"$ntopics\"
}$percnt"
else=" |
}%
%{ ###########################################################################
websearch::hits - this block displays the list of hits as found by SEARCH
}%
%TMPL:DEF{"websearch::hits"}%
%SEARCH{
"%URLPARAM{"search" encode="quote"}%"
nosearch="on"
type="%URLPARAM{"type" default="keyword"}%"
scope="%URLPARAM{"scope" default="all" encode="quote"}%"
web="%URLPARAM{"web" encode="quote"}%"
excludetopic="%URLPARAM{"excludetopic" encode="quote"}%"
casesensitive="%URLPARAM{"casesensitive" default="off" encode="quote"}%"
nosummary="%URLPARAM{"nosummary" encode="quote"}%"
nototal="on"
order="%URLPARAM{"order" encode="quote"}%"
reverse="%URLPARAM{"reverse" encode="quote"}%"
limit="%URLPARAM{"limit" encode="quote"}%"
zeroresults="%IF{ "defined search and $search!=''" then="on" else="off" }%"
header="%IF{"'%URLPARAM{"web"}%'='all'"
then="$percntTMPL:P{\"websearch::hits::header\"
web=\"$web\"
count=\"$ntopics\"
}$percnt"
else=" |
||||||||
}% |
}% |
||||||||
%{ |
%{ |
||||||||
}%
%{ ###########################################################################
websearch::hits::topic - this is called for each found hit
}%
%TMPL:DEF{"websearch::hits::topic"}%
|
}%
%{ ###########################################################################
websearch::hits::topic - this is called for each found hit
}%
%TMPL:DEF{"websearch::hits::topic"}%
|
||||||||
}% |
}% |
||||||||
%{ |
%{ |
||||||||
}%
%{ ###########################################################################
websearch::hits::header - this prepended to the hit set of a web
}%
%TMPL:DEF{"websearch::hits::header"}%
---+++ %MAKETEXT{"Results from [_1] web" args="%web%"}%%TMPL:END%
%TMPL:END%
%{ |
}%
%{ ###########################################################################
websearch::hits::header - this prepended to the hit set of a web
}%
%TMPL:DEF{"websearch::hits::header"}%
---+++ %MAKETEXT{"Results from [_1] web" args="%web%"}%%TMPL:END%
%TMPL:END%
%{ |
||||||||
}% |
}% |
||||||||
%{ |
%{ |
||||||||
}%
%{ ###########################################################################
websearch::hits::footer - this appended to the hit set of a web
}%
%TMPL:DEF{"websearch::hits::footer"}%
|
}%
%{ ###########################################################################
websearch::hits::footer - this appended to the hit set of a web
}%
%TMPL:DEF{"websearch::hits::footer"}%
|
||||||||
}% |
}% |
||||||||
| r2 - 19 Nov 2013 - 11:39 - AdminUser | r1 - 19 Nov 2013 - 11:39 - UnknownUser | ||||||||
Copyright © by the contributing authors. All material on this site is the property of the contributing authors.