Index: openacs-4/packages/project-manager/lib/customizations-portlet.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/lib/customizations-portlet.tcl,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/project-manager/lib/customizations-portlet.tcl 26 May 2005 09:34:27 -0000 1.1
+++ openacs-4/packages/project-manager/lib/customizations-portlet.tcl 26 Aug 2005 20:59:12 -0000 1.2
@@ -8,6 +8,7 @@
# @cvs-id $Id$
+set default_layout_url [parameter::get -parameter DefaultPortletLayoutP]
# -------------------------CUSTOMIZATIONS--------------------------
# If there are customizations, put them in a multirow called custom
Index: openacs-4/packages/project-manager/lib/date-portlet.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/lib/date-portlet.adp,v
diff -u -r1.3 -r1.4
--- openacs-4/packages/project-manager/lib/date-portlet.adp 28 Jul 2005 10:57:56 -0000 1.3
+++ openacs-4/packages/project-manager/lib/date-portlet.adp 26 Aug 2005 20:59:12 -0000 1.4
@@ -1,4 +1,4 @@
-
+
#project-manager.Dates#
Index: openacs-4/packages/project-manager/lib/date-portlet.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/lib/date-portlet.tcl,v
diff -u -r1.2 -r1.3
--- openacs-4/packages/project-manager/lib/date-portlet.tcl 30 Jul 2005 00:26:33 -0000 1.2
+++ openacs-4/packages/project-manager/lib/date-portlet.tcl 26 Aug 2005 20:59:12 -0000 1.3
@@ -13,7 +13,7 @@
set project_term [_ project-manager.Project]
set use_goal_p [parameter::get -parameter "UseGoalP" -default "1"]
set use_project_code_p [parameter::get -parameter "UseUserProjectCodesP" -default "1"]
-
+set default_layout_url [parameter::get -parameter DefaultPortletLayoutP]
# daily?
set daily_p [parameter::get -parameter "UseDayInsteadOfHour" -default "f"]
Index: openacs-4/packages/project-manager/lib/forums-portlet.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/lib/forums-portlet.adp,v
diff -u -r1.4 -r1.5
--- openacs-4/packages/project-manager/lib/forums-portlet.adp 22 Aug 2005 11:37:10 -0000 1.4
+++ openacs-4/packages/project-manager/lib/forums-portlet.adp 26 Aug 2005 20:59:12 -0000 1.5
@@ -1,4 +1,4 @@
-
+
#forums.Forums#
Index: openacs-4/packages/project-manager/lib/forums-portlet.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/lib/forums-portlet.tcl,v
diff -u -r1.2 -r1.3
--- openacs-4/packages/project-manager/lib/forums-portlet.tcl 1 Jun 2005 05:12:30 -0000 1.2
+++ openacs-4/packages/project-manager/lib/forums-portlet.tcl 26 Aug 2005 20:59:12 -0000 1.3
@@ -13,6 +13,9 @@
}
}
+set default_layout_url [parameter::get -parameter DefaultPortletLayoutP]
+
+
# Integrate with Forums
# Get forum data
Index: openacs-4/packages/project-manager/lib/fs-portlet.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/lib/fs-portlet.adp,v
diff -u -r1.6 -r1.7
--- openacs-4/packages/project-manager/lib/fs-portlet.adp 22 Aug 2005 11:37:10 -0000 1.6
+++ openacs-4/packages/project-manager/lib/fs-portlet.adp 26 Aug 2005 20:59:12 -0000 1.7
@@ -1,4 +1,4 @@
-
+
#file-storage.Folder#
Index: openacs-4/packages/project-manager/lib/fs-portlet.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/lib/fs-portlet.tcl,v
diff -u -r1.2 -r1.3
--- openacs-4/packages/project-manager/lib/fs-portlet.tcl 1 Jun 2005 05:12:30 -0000 1.2
+++ openacs-4/packages/project-manager/lib/fs-portlet.tcl 26 Aug 2005 20:59:12 -0000 1.3
@@ -13,5 +13,7 @@
}
}
+set default_layout_url [parameter::get -parameter DefaultPortletLayoutP]
+
set package_id [lindex [fs::get_folder_package_and_root $folder_id] 0]
set base_url [apm_package_url_from_id $package_id]
Index: openacs-4/packages/project-manager/lib/logger-portlet.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/lib/logger-portlet.tcl,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/project-manager/lib/logger-portlet.tcl 26 May 2005 09:34:27 -0000 1.1
+++ openacs-4/packages/project-manager/lib/logger-portlet.tcl 26 Aug 2005 20:59:12 -0000 1.2
@@ -14,7 +14,7 @@
}
foreach optional_param {master} {
if {![info exists $optional_param]} {
- set $optional_param {}
+ set $optional_param [parameter::get -parameter DefaultPortletLayoutP]
}
}
Index: openacs-4/packages/project-manager/lib/portlet.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/lib/portlet.adp,v
diff -u -r1.5 -r1.6
--- openacs-4/packages/project-manager/lib/portlet.adp 26 Aug 2005 17:41:18 -0000 1.5
+++ openacs-4/packages/project-manager/lib/portlet.adp 26 Aug 2005 20:59:12 -0000 1.6
@@ -1,16 +1,17 @@
-
-
-
-
- @portlet_title;noquote@
-
-
-
-
-
-
+
+
+
+
+ @portlet_title;noquote@ |
+
+
+
+
+ |
+
+
+
+
-
-
Index: openacs-4/packages/project-manager/lib/project-portlet.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/lib/project-portlet.adp,v
diff -u -r1.12 -r1.13
--- openacs-4/packages/project-manager/lib/project-portlet.adp 22 Aug 2005 11:37:10 -0000 1.12
+++ openacs-4/packages/project-manager/lib/project-portlet.adp 26 Aug 2005 20:59:12 -0000 1.13
@@ -1,4 +1,4 @@
-
+
@write_html;noquote@ @project_term@ @project.project_name@
Index: openacs-4/packages/project-manager/lib/project-portlet.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/lib/project-portlet.tcl,v
diff -u -r1.12 -r1.13
--- openacs-4/packages/project-manager/lib/project-portlet.tcl 15 Aug 2005 10:00:20 -0000 1.12
+++ openacs-4/packages/project-manager/lib/project-portlet.tcl 26 Aug 2005 20:59:12 -0000 1.13
@@ -16,6 +16,8 @@
set vars { project_item_id return_url }
set close_url "bulk-close?[export_vars $vars]"
+set default_layout_url [parameter::get -parameter DefaultPortletLayoutP]
+
#URL to rate this project
set rate_url "rate-project?project_id=$project_id&project_item_id=$project_item_id"
Index: openacs-4/packages/project-manager/lib/sloan-portlet.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/lib/sloan-portlet.adp,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ openacs-4/packages/project-manager/lib/sloan-portlet.adp 26 Aug 2005 20:59:54 -0000 1.1
@@ -0,0 +1,10 @@
+
+
+
+
+ @portlet_title;noquote@
+
+
+
+
+
Index: openacs-4/packages/project-manager/lib/subprojects.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/lib/subprojects.adp,v
diff -u -r1.4 -r1.5
--- openacs-4/packages/project-manager/lib/subprojects.adp 22 Aug 2005 11:37:10 -0000 1.4
+++ openacs-4/packages/project-manager/lib/subprojects.adp 26 Aug 2005 20:59:12 -0000 1.5
@@ -1,4 +1,4 @@
-
+
#project-manager.Subprojects#
Index: openacs-4/packages/project-manager/lib/subprojects.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/lib/subprojects.tcl,v
diff -u -r1.3 -r1.4
--- openacs-4/packages/project-manager/lib/subprojects.tcl 8 Jun 2005 20:54:19 -0000 1.3
+++ openacs-4/packages/project-manager/lib/subprojects.tcl 26 Aug 2005 20:59:12 -0000 1.4
@@ -25,6 +25,7 @@
}
set user_id [auth::require_login]
+set default_layout_url [parameter::get -parameter DefaultPortletLayoutP]
# Subprojects, using list-builder ---------------------------------
template::list::create \
Index: openacs-4/packages/project-manager/lib/task-assignee-portlet.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/lib/task-assignee-portlet.adp,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/project-manager/lib/task-assignee-portlet.adp 28 Jul 2005 10:57:56 -0000 1.1
+++ openacs-4/packages/project-manager/lib/task-assignee-portlet.adp 26 Aug 2005 20:59:12 -0000 1.2
@@ -1,4 +1,4 @@
-
+
#project-manager.Assignees#
Index: openacs-4/packages/project-manager/lib/task-assignee-portlet.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/lib/task-assignee-portlet.tcl,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/project-manager/lib/task-assignee-portlet.tcl 28 Jul 2005 10:57:56 -0000 1.1
+++ openacs-4/packages/project-manager/lib/task-assignee-portlet.tcl 26 Aug 2005 20:59:12 -0000 1.2
@@ -19,6 +19,7 @@
}
set user_id [auth::require_login]
+set default_layout_url [parameter::get -parameter DefaultPortletLayoutP]
set assignee_add_self_widget "Add myself as "
Index: openacs-4/packages/project-manager/lib/task-date-portlet.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/lib/Attic/task-date-portlet.adp,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/project-manager/lib/task-date-portlet.adp 28 Jul 2005 10:57:56 -0000 1.1
+++ openacs-4/packages/project-manager/lib/task-date-portlet.adp 26 Aug 2005 20:59:12 -0000 1.2
@@ -1,4 +1,4 @@
-
+
#project-manager.Dates#
Index: openacs-4/packages/project-manager/lib/task-date-portlet.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/lib/Attic/task-date-portlet.tcl,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/project-manager/lib/task-date-portlet.tcl 28 Jul 2005 10:57:56 -0000 1.1
+++ openacs-4/packages/project-manager/lib/task-date-portlet.tcl 26 Aug 2005 20:59:12 -0000 1.2
@@ -13,7 +13,10 @@
set project_term [_ project-manager.Project]
set use_goal_p [parameter::get -parameter "UseGoalP" -default "1"]
set use_project_code_p [parameter::get -parameter "UseUserProjectCodesP" -default "1"]
+set default_layout_url [parameter::get -parameter DefaultPortletLayoutP]
+
+
# format the hours remaining section
set task_info(hours_remaining) \
Index: openacs-4/packages/project-manager/lib/task-dates-portlet.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/lib/task-dates-portlet.adp,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/project-manager/lib/task-dates-portlet.adp 28 Jul 2005 10:57:56 -0000 1.1
+++ openacs-4/packages/project-manager/lib/task-dates-portlet.adp 26 Aug 2005 20:59:12 -0000 1.2
@@ -1,4 +1,4 @@
-
+
#project-manager.Dates#
Index: openacs-4/packages/project-manager/lib/task-dates-portlet.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/lib/task-dates-portlet.tcl,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ openacs-4/packages/project-manager/lib/task-dates-portlet.tcl 26 Aug 2005 20:59:54 -0000 1.1
@@ -0,0 +1 @@
+set default_layout_url [parameter::get -parameter DefaultPortletLayoutP]
\ No newline at end of file
Index: openacs-4/packages/project-manager/lib/task-dependency-portlet.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/lib/task-dependency-portlet.adp,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/project-manager/lib/task-dependency-portlet.adp 28 Jul 2005 10:57:56 -0000 1.1
+++ openacs-4/packages/project-manager/lib/task-dependency-portlet.adp 26 Aug 2005 20:59:12 -0000 1.2
@@ -1,4 +1,4 @@
-
+
#project-manager.Dependencies#
+
Index: openacs-4/packages/project-manager/lib/task-info-portlet.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/lib/task-info-portlet.tcl,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/project-manager/lib/task-info-portlet.tcl 28 Jul 2005 10:57:56 -0000 1.1
+++ openacs-4/packages/project-manager/lib/task-info-portlet.tcl 26 Aug 2005 20:59:12 -0000 1.2
@@ -12,6 +12,8 @@
set task_term [_ project-manager.Task]
set task_term_lower [_ project-manager.task]
+set default_layout_url [parameter::get -parameter DefaultPortletLayoutP]
+
set task_id $task_info(item_id)
set print_link "task-print?&task_id=$task_info(item_id)&project_item_id=$task_info(project_item_id)"
Index: openacs-4/packages/project-manager/lib/task-logger-portlet.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/lib/task-logger-portlet.tcl,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/project-manager/lib/task-logger-portlet.tcl 28 Jul 2005 10:57:56 -0000 1.1
+++ openacs-4/packages/project-manager/lib/task-logger-portlet.tcl 26 Aug 2005 20:59:12 -0000 1.2
@@ -14,7 +14,7 @@
}
foreach optional_param {master} {
if {![info exists $optional_param]} {
- set $optional_param {}
+ set $optional_param [parameter::get -parameter DefaultPortletLayoutP]
}
}
Index: openacs-4/packages/project-manager/lib/tasks-portlet.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/lib/tasks-portlet.adp,v
diff -u -r1.5 -r1.6
--- openacs-4/packages/project-manager/lib/tasks-portlet.adp 22 Aug 2005 11:37:10 -0000 1.5
+++ openacs-4/packages/project-manager/lib/tasks-portlet.adp 26 Aug 2005 20:59:12 -0000 1.6
@@ -1,4 +1,4 @@
-
+
@task_term@
Index: openacs-4/packages/project-manager/lib/tasks-portlet.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/lib/tasks-portlet.tcl,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/project-manager/lib/tasks-portlet.tcl 26 May 2005 09:34:27 -0000 1.1
+++ openacs-4/packages/project-manager/lib/tasks-portlet.tcl 26 Aug 2005 20:59:12 -0000 1.2
@@ -26,8 +26,8 @@
set user_id [auth::require_login]
set task_term [_ project-manager.Task]
set hide_done_tasks_p [parameter::get -parameter "HideDoneTaskP" -default "1"]
+set default_layout_url [parameter::get -parameter DefaultPortletLayoutP]
-
set process_instance_options [pm::process::instance_options \
-project_item_id $project_item_id \
-process_instance_id $instance_id]
|