Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F823638
my_downloads.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
Sun, Mar 9, 11:48 PM
Size
3 KB
Mime Type
text/html
Expires
Tue, Mar 11, 11:48 PM (1 d, 15 h)
Engine
blob
Format
Raw Data
Handle
584173
Attached To
rTOST Themes.OnlineStore
my_downloads.tpl
View Options
<
inp2:m_DefineElement
name
=
"product_image"
>
<
img
src
=
"<inp2:m_param name="
img_path
"
/>
" title="
<
inp2:m_param
name
=
"alt"
/>
" alt="
<
inp2:m_param
name
=
"alt"
/>
"
<
inp2:m_param
name
=
"img_size"
/>
border="0" />
<
br
/>
</
inp2:m_DefineElement
>
<
inp2:p_InitList
list_name
=
"my_downloads"
types
=
"my_downloads"
parent_cat_id
=
"any"
recursive
=
"true"
per_page
=
"default"
/>
<
table
border
=
"0"
cellspacing
=
"0"
cellpadding
=
"0"
class
=
"block-no-border"
>
<
tr
>
<
td
class
=
"block-header"
><
inp2:m_Phrase
label
=
"lu_comm_YourDownloads"
/>
(
<
inp2:p_TotalRecords
list_name
=
"my_downloads"
/>
)
</
td
>
</
tr
>
<
tr
>
<
td
class
=
"block-data"
>
<
inp2:m_if
check
=
"p_TotalRecords"
list_name
=
"my_downloads"
>
<
table
>
<
tr
>
<
td
style
=
"width: 300px"
>
<
inp2:m_include
template
=
"in-commerce/blocks/products/products_sorting"
list_name
=
"my_downloads"
/>
</
td
>
<
td
style
=
"text-align: center;"
>
<
inp2:m_include
template
=
"in-commerce/blocks/products/products_pagination"
list_name
=
"my_downloads"
/>
</
td
>
</
tr
>
</
table
>
<
br
/>
<
table
>
<
inp2:m_DefineElement
name
=
"product_row_start"
>
<
tr
>
</
inp2:m_DefineElement
>
<
inp2:m_DefineElement
name
=
"product_elem"
>
<
td
width
=
"16%"
align
=
"center"
valign
=
"top"
class
=
"block-data"
>
<
a
href
=
"<inp2:ProductLink template="
__default__
"
/>
">
<
inp2:Image
render_as
=
"product_image"
thumbnail
=
"1"
DefaultImage
=
"in-commerce/img/no_picture_list.gif"
MaxWidth
=
"120"
MaxHeight
=
"120"
DefaultWidth
=
"120"
/></
a
>
</
td
>
<
td
width
=
"84%"
class
=
"block-data"
>
<
inp2:m_if
check
=
"p_HasFiles"
>
<
a
href
=
"<inp2:ProductLink template="
in-commerce
/
my_account
/
downloads_more
"
/>
" class="link-product2">
<
strong
><
inp2:Field
name
=
"Name"
/></
strong
></
a
><
br
/>
<
inp2:m_else
/>
<
strong
><
inp2:Field
name
=
"Name"
/></
strong
><
br
/>
</
inp2:m_if
>
<
strong
><
inp2:m_Phrase
label
=
"lu_comm_Description"
/>
:
</
strong
>
<
inp2:Field
name
=
"DescriptionExcerpt"
/><
br
/><
br
/>
<
inp2:m_if
check
=
"p_HasFiles"
>
<
a
href
=
"<inp2:ProductFileLink template="
in-commerce
/
my_account
/
download
"
/>
" class="link-product2">
<
strong
><
inp2:m_Phrase
label
=
"lu_comm_DownloadNow"
/></
strong
></
a
><
br
/>
<
a
href
=
"<inp2:ProductLink template="
in-commerce
/
my_account
/
downloads_more
"
/>
" class="link-product2">
<
strong
><
inp2:m_Phrase
label
=
"lu_comm_MoreFiles"
/>
...
</
strong
></
a
><
br
/>
<
inp2:m_else
/>
<
inp2:m_Phrase
label
=
"lu_comm_NoFilesForThisProduct"
/>
</
inp2:m_if
>
</
td
>
</
inp2:m_DefineElement
>
<
inp2:m_DefineElement
name
=
"product_row_end"
>
</
tr
>
<
inp2:m_if
check
=
"NotLastItem"
>
<
tr
>
<
td
colspan
=
"2"
style
=
"background: #CCCCCC; height: 1px; padding: 0px"
><
img
src
=
"img/s.gif"
alt
=
""
width
=
"1"
height
=
"1"
/></
td
>
</
tr
>
</
inp2:m_if
>
</
inp2:m_DefineElement
>
<
inp2:p_ListProducts
list_name
=
"my_downloads"
columns
=
"1"
direction
=
"V"
render_as
=
"product_elem"
row_start_render_as
=
"product_row_start"
row_end_render_as
=
"product_row_end"
empty_cell_render_as
=
"product_empty_cell"
/>
</
table
>
<
inp2:m_else
/>
<
tr
>
<
td
>
<
inp2:m_Phrase
label
=
"lu_comm_YourDownloadListEmpty"
/><
br
/>
<
inp2:m_Phrase
label
=
"lu_comm_TryRecommendedProducts"
/>
.
<
br
/><
br
/>
<
inp2:m_include
template
=
"in-commerce/blocks/products/products_picks"
/>
</
td
>
</
tr
>
</
inp2:m_if
>
</
td
>
</
tr
>
</
table
>
Event Timeline
Log In to Comment