-
+ |
# /packages/news/admin/index.tcl
ad_page_contract {
@@ -148,7 +148,7 @@
return
|
-
+ |
ad_page_contract {
@@ -195,7 +195,7 @@
ad_return_template
|
-
+ |
@@ -249,17 +249,17 @@
following example shows the part of the index page of
the News module that uses the mechanism, not a whole page.
-
+
- old tcl code |
- new |
+ old tcl code |
+ new |
packages/news/www/index.tcl |
packages/news/www/index.adp |
-
+ |
ad_page_contract {
@@ -275,7 +275,7 @@
}
|
-
+ |
ad_page_contract {
@@ -293,19 +293,19 @@
context_bar:onevalue
subsite_id:onevalue
subsite:multirow
- item:multirow
+ item:multirow
footer:onevalue
}
|
|
- ... |
- ... |
- ... |
+ ... |
+ ... |
+ ... |
-
+ |
append body "
<ul>
@@ -319,8 +319,8 @@
and ( expiration_date is null
or expiration_date > sysdate)
} {
- append body "<li><a href=
- \"item-view?news_item_id="\
+ append body "<li><a href="
+ \"item-view?news_item_id="\
"$news_item_id\"
>$title</a>\n"
@@ -341,13 +341,13 @@
</ul>
"
|
-
+ |
-db_multirow item news_items_select {
+db_multirow item news_items_select {
select news_item_id, title
from news_items_obj
where context_id = :subsite_id
@@ -357,13 +357,13 @@
}
|
-
+ |
<ul>
-<multiple name=item>
+<multiple name=item>
@@ -372,12 +372,12 @@
<li><a href=
- "item-view?news_item_id=<%
- %>@item.news_item_id@"
- >@item.title@</a>
+ "item-view?news_item_id=<%
+ %>@item.news_item_id@"
+ >@item.title@</a>
</multiple>
-<if @item:rowcount@ eq 0>
+<if @item:rowcount@ eq 0>
<li>There are
currently no news items
available.
@@ -423,25 +423,25 @@
output from sql and also the output of tcl procedures using that
value.
-
+
- old tcl code |
- new |
+ old tcl code |
+ new |
packages/acs-core-ui/www/pvt/alerts.tcl |
packages/acs-core-ui/www/pvt/alerts.adp |
-
+ |
ad_page_contract {
@cvs-id $Id$
} {
}
|
-
+ |
ad_page_contract {
@cvs-id $Id$
@@ -462,11 +462,11 @@
|
|
- ... |
- ... |
- ... |
+ ... |
+ ... |
+ ... |
-
+ |
@@ -494,15 +494,15 @@
# alert has been disabled
set status "Disabled"
set action "
- <a href=\"/bboard/alert-reenable\">
- Re-enable</a>"
+ <a href="\"/bboard/alert-reenable\">
+" Re-enable</a>"
} else {
# alert is enabled
set status "
<font color=red>Enabled</font>"
set action "
- <a href=\"/bboard/alert-disable\">
- Disable</a>"
+ <a href="\"/bboard/alert-disable\">
+" Disable</a>"
}
append existing_alert_rows "<tr>
@@ -546,7 +546,7 @@
}
|
-
+ |
set discussion_forum_alert_p 0
@@ -596,7 +596,7 @@
|
-
+ |
| | |