Index: openacs-4/packages/theme-selva/www/selva-master.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/theme-selva/www/selva-master.tcl,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/theme-selva/www/selva-master.tcl 26 Jul 2005 14:28:29 -0000 1.1
+++ openacs-4/packages/theme-selva/www/selva-master.tcl 26 Jul 2005 15:52:53 -0000 1.2
@@ -314,6 +314,7 @@
set extra_spaces ""
#set subnavbar [selva::portal_navbar]
if {$in_dotlrn_p == 1} {
+ set navbar "
"
set navbar [selva::portal_navbar \
-user_id $user_id \
-link_control_panel $link_control_panel \
@@ -322,6 +323,13 @@
-post_html $extra_spaces \
-link_all $link_all
]
+ if {[exists_and_not_null navbar_list]} {
+ append navbar "- ---
"
+ foreach navbar_item $navbar_list {
+ append navbar "- [lindex $navbar_item 1]
"
+ }
+ }
+ append navbar "
"
} else {
set navbar ""
if {[exists_and_not_null navbar_list]} {
@@ -338,11 +346,26 @@
if {[exists_and_not_null community_id]} {
append subnavbar "[dotlrn_community::get_community_name $community_id]"
}
+ set untrusted_user_id [ad_conn untrusted_user_id]
+ if { $untrusted_user_id != 0 } {
+ set logout_url [ad_get_logout_url]
+ } else {
+ set login_url [ad_get_login_url -return]
+ }
+
append subnavbar " My Workspace
Contacts
Preferences
Control Panel
-"
+"
+
+ set system_name [ad_system_name]
+ if {[exists_and_not_null logout_url]} {
+ append subnavbar "#acs-subsite.Logout#"
+ } else {
+ append subnavbar "#acs-subsite.Log_In#"
+ }
+ append subnavbar ""
} else {
set navbar " "
Index: openacs-4/packages/theme-selva/www/selva-site-master.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/theme-selva/www/selva-site-master.adp,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/theme-selva/www/selva-site-master.adp 26 Jul 2005 14:28:29 -0000 1.1
+++ openacs-4/packages/theme-selva/www/selva-site-master.adp 26 Jul 2005 15:52:53 -0000 1.2
@@ -1,123 +1,88 @@
-
-
- @title;noquote@
-
-
- @signatory;noquote@
-
-
- @focus;noquote@
-
-
-
+
+
+ @title;noquote@
+
+
+ @signatory;noquote@
+
+
+ @focus;noquote@
+
+
+
-
- @header_stuff;noquote@
+ @header_stuff;noquote@
-
-
-
-
-
-
-
-