| |
|
1 |
# /packages/edit-this-page/templates/article-index.tcl |
| |
|
2 |
|
| |
|
3 |
ad_page_contract { |
| |
|
4 |
@author Luke Pond (dlpond@pobox.com) |
| |
|
5 |
@creation-date 2001-06-01 |
| |
|
6 |
|
| |
|
7 |
This is the default page used to display an index listing |
| |
|
8 |
for an Edit This Page package instance. It assumes a |
| |
|
9 |
content type with no extended attributes, and presents |
| |
|
10 |
a listing of all content pages belonging to this package. |
| |
|
11 |
<p> |
| |
|
12 |
If you want to use some other page instead, specify it with |
| |
|
13 |
the index_template package parameter. |
| |
|
14 |
|
| |
|
15 |
} { |
| |
|
16 |
} -properties { |
| |
|
17 |
pa:onerow |
| |
|
18 |
content_pages:multirow |
| |
|
19 |
} |
| |
|
20 |
|
| |
|
21 |
etp::get_page_attributes |
| |
|
22 |
etp::get_content_items -orderby title |
| |
|
23 |
|
| |
|
24 |
eval [template::adp_compile -string $pa(content)] |
| |
|
25 |
set pa(content) ${__adp_output} |