Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1125165
search_results.tpl
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Sep 4, 6:26 AM
Size
1 KB
Mime Type
text/html
Expires
Sat, Sep 6, 6:26 AM (1 h, 6 m)
Engine
blob
Format
Raw Data
Handle
727819
Attached To
rTMST Themes.Modern-Store
search_results.tpl
View Options
<
inp2:m_NoDebug
/>
<
inp2:m_DefineElement
name
=
"product_search_element"
>
<
li
>
<
a
href
=
"#"
><
img
src
=
"<inp2:m_TemplatesBase />img/product_no_picture_small.png"
width
=
"60"
height
=
"60"
alt
=
""
class
=
"left"
/></
a
>
<
div
class
=
"product-data"
>
<
p
class
=
"product-name"
><
a
href
=
"<inp2:ProductLink template='__default__'/>"
><
inp2:Field
name
=
"Name"
/></
a
></
p
>
<
p
class
=
"product-description"
>
Sed scelerisque iaculis tempus. Duis tincidunt consectetur felis, id eleif...
</
p
>
<
p
class
=
"product-price"
>
$
5000
<
span
>
.95
</
span
></
p
>
</
div
>
<
div
class
=
"clear"
></
div
>
</
li
>
</
inp2:m_DefineElement
>
<
inp2:m_DefineElement
name
=
"more_link"
>
<
br
/>
<
inp2:m_Get
name
=
"keywords"
result_to_var
=
"keywords"
/>
<
a
href
=
"<inp2:m_Link template='products/search_results' keywords='
$
keywords'/>"
class
=
"link-more"
>
More Search Results
</
a
><
br
/>
</
inp2:m_DefineElement
>
<
inp2:p_InitList
list_name
=
"search_results"
types
=
"search"
parent_cat_id
=
"any"
per_page
=
"5"
/>
<
inp2:m_if
check
=
"p_TotalRecords"
list_name
=
"search_results"
>
<
p
class
=
"title"
>
Suggested Products:
</
p
>
<
ol
class
=
"product-search-list-small"
>
<
inp2:p_PrintList
list_name
=
"search_results"
render_as
=
"product_search_element"
/>
</
ol
>
<
div
class
=
"clear"
></
div
>
<
inp2:p_MoreLink
list_name
=
"search_results"
render_as
=
"more_link"
/>
<
inp2:m_else
/>
<
p
class
=
"title"
>
No Suggested Products:
</
p
>
<
br
/>
<
inp2:m_Get
name
=
"keywords"
result_to_var
=
"keywords"
/>
<
a
href
=
"<inp2:m_Link template='products/search_results' keywords='
$
keywords'/>"
class
=
"link-more"
>
Search All Pages
</
a
><
br
/>
</
inp2:m_if
>
<
br
/>
Event Timeline
Log In to Comment