"
- } else {
- set regions [portal::layout::get_region_list -layout_id $portal(layout_id)]
- set num_regions [llength $regions]
- set region_width [expr {int(100/$num_regions)}]
- foreach region $regions {
- append template "
-
- \n"
- }
- }
- append template "
"
- }
- append template "
\n"
-
- if {![portal::page::has_visible_elements -page_id $page_id]} {
-
- #
- # Non first page with all hidden elements
- #
-
- #
- # Remove page chunk - don't allow removal of the first page
- #
-
- if {!$first_page_p} {
- append template "
-
-
- No Elements on this page
-
-
-
-
"
- }
-
- #
- # Layout change chunk - only shown when there are no visible elements on the page
- #
-
- set layout_chunk ""
-
- foreach layout [portal::layout::get_layout_list] {
- set layout_id [ns_set get $layout layout_id]
- set layout_name [ns_set get $layout layout_name]
- set layout_description [ns_set get $layout layout_description]
- set one_layout_chunk " $layout_name - $layout_description"
- append layout_chunk " \n"
- }
-
-
- append template "
-
-
-
-
-
"
-
- }
-
-
- # close the page's table
- append template "
\n"
}
- ad_proc -private hidden_elements_list {
- {-portal_id:required}
- } {
- Returns a list of "hidden" element avaliable to a portal. The new-portals code cached
- this list for a second but there's not point in doing so, folks don't edit their
- portals very often ...
- } {
- return [db_list_of_lists select_hidden_elements {}]
- }
-
ad_proc datasource_list {
-package_id:required
} {
Index: openacs-4/contrib/packages/portal/tcl/portal-procs.xql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/portal/tcl/portal-procs.xql,v
diff -u -r1.7 -r1.8
--- openacs-4/contrib/packages/portal/tcl/portal-procs.xql 12 Feb 2004 21:31:20 -0000 1.7
+++ openacs-4/contrib/packages/portal/tcl/portal-procs.xql 27 Feb 2004 01:13:15 -0000 1.8
@@ -219,18 +219,6 @@
-
-
- select element_id,
- pe.name
- from portal_elements pe, portal_pages pp
- where pp.portal_id = :portal_id
- and pp.page_id = pe.page_id
- and pe.state = 'hidden'
- order by pe.name
-
-
-
select pd.datasource_id, pd.name
Index: openacs-4/contrib/packages/portal/tcl/theme-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/portal/tcl/theme-procs.tcl,v
diff -u -r1.2 -r1.3
--- openacs-4/contrib/packages/portal/tcl/theme-procs.tcl 8 Jan 2004 02:12:19 -0000 1.2
+++ openacs-4/contrib/packages/portal/tcl/theme-procs.tcl 27 Feb 2004 01:13:15 -0000 1.3
@@ -42,11 +42,4 @@
return [array get theme]
}
- ad_proc -public get_list {} {
- returns a list of all the themes in the system as ns_sets with
- keys being: theme_id, name, description
- } {
- return [db_list_of_ns_sets select_theme_list {}]
- }
-
}
Index: openacs-4/contrib/packages/portal/tcl/theme-procs.xql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/portal/tcl/theme-procs.xql,v
diff -u -r1.3 -r1.4
--- openacs-4/contrib/packages/portal/tcl/theme-procs.xql 10 Jan 2004 01:01:01 -0000 1.3
+++ openacs-4/contrib/packages/portal/tcl/theme-procs.xql 27 Feb 2004 01:13:15 -0000 1.4
@@ -10,14 +10,4 @@
-
-
- select theme_id,
- name,
- description
- from portal_themes
- order by name
-
-
-
Fisheye: Tag 1.3 refers to a dead (removed) revision in file `openacs-4/contrib/packages/portal/www/place-element-other-page.adp'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `openacs-4/contrib/packages/portal/www/place-element-other-page.tcl'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `openacs-4/contrib/packages/portal/www/place-element-other-page.xql'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.6 refers to a dead (removed) revision in file `openacs-4/contrib/packages/portal/www/place-element.adp'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.4 refers to a dead (removed) revision in file `openacs-4/contrib/packages/portal/www/place-element.tcl'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `openacs-4/contrib/packages/portal/www/place-element.xql'.
Fisheye: No comparison available. Pass `N' to diff?
Index: openacs-4/contrib/packages/portal/www/admin/index.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/portal/www/admin/index.tcl,v
diff -u -r1.5 -r1.6
--- openacs-4/contrib/packages/portal/www/admin/index.tcl 12 Feb 2004 21:31:21 -0000 1.5
+++ openacs-4/contrib/packages/portal/www/admin/index.tcl 27 Feb 2004 01:13:17 -0000 1.6
@@ -40,7 +40,7 @@
}
set edit_portal_template_url \
- [export_vars -base portal-config {{referer index} {portal_id $master_template_id}}]
+ [export_vars -base ../portal-configure {{referer index} {portal_id $master_template_id}}]
db_1row count_uninstalled_applications {}
ad_return_template
Fisheye: Tag 1.3 refers to a dead (removed) revision in file `openacs-4/contrib/packages/portal/www/admin/portal-config-2.tcl'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.4 refers to a dead (removed) revision in file `openacs-4/contrib/packages/portal/www/admin/portal-config.adp'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.3 refers to a dead (removed) revision in file `openacs-4/contrib/packages/portal/www/admin/portal-config.tcl'.
Fisheye: No comparison available. Pass `N' to diff?