Index: openacs-4/packages/static-portlet/static-portlet.info
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/static-portlet/static-portlet.info,v
diff -u -r1.9 -r1.10
--- openacs-4/packages/static-portlet/static-portlet.info 23 Oct 2002 12:33:54 -0000 1.9
+++ openacs-4/packages/static-portlet/static-portlet.info 11 Dec 2002 14:12:33 -0000 1.10
@@ -51,7 +51,7 @@
-
+
Index: openacs-4/packages/static-portlet/catalog/static-portlet.en_US.ISO-8859-1.xml
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/static-portlet/catalog/static-portlet.en_US.ISO-8859-1.xml,v
diff -u -r1.3 -r1.4
--- openacs-4/packages/static-portlet/catalog/static-portlet.en_US.ISO-8859-1.xml 4 Dec 2002 09:56:14 -0000 1.3
+++ openacs-4/packages/static-portlet/catalog/static-portlet.en_US.ISO-8859-1.xml 11 Dec 2002 14:12:33 -0000 1.4
@@ -1,15 +1,17 @@
-
+
+ Custom Portlet Administration
+ Custom Portlet
Content
Control Panel
Edit content element
- Name
- New
- Custom Portlet Administration
Delete %element_pretty_name% %pretty_name%
Editing %element_pretty_name% %pretty_name%
- Use this form to create a new %element_pretty_name%. The %element_pretty_name% will be created and automatically placed on the first page of %portal_name% portal. Goto the %control_panel_text% and select Customize Layout to move this %element_pretty_name%.
<strong>Note</strong>: You can use plain text or HTML in the Content area.
+ Use this form to create a new %element_pretty_name%. The %element_pretty_name% will be created and automatically placed on the first page of %portal_name% portal. Goto the %control_panel_text% and select Customize Layout to move this %element_pretty_name%.
+ Name
+ New
+ New %element_pretty_name%
Index: openacs-4/packages/static-portlet/www/static-admin-portlet.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/static-portlet/www/static-admin-portlet.adp,v
diff -u -r1.12 -r1.13
--- openacs-4/packages/static-portlet/www/static-admin-portlet.adp 10 Nov 2002 17:44:39 -0000 1.12
+++ openacs-4/packages/static-portlet/www/static-admin-portlet.adp 11 Dec 2002 14:12:33 -0000 1.13
@@ -26,6 +26,7 @@
- #static-portlet.New# @element_pretty_name@
+ #static-portlet.new_static_admin_portlet#
+
Index: openacs-4/packages/static-portlet/www/static-admin-portlet.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/static-portlet/www/static-admin-portlet.tcl,v
diff -u -r1.14 -r1.15
--- openacs-4/packages/static-portlet/www/static-admin-portlet.tcl 10 Nov 2002 17:44:39 -0000 1.14
+++ openacs-4/packages/static-portlet/www/static-admin-portlet.tcl 11 Dec 2002 14:12:33 -0000 1.15
@@ -43,10 +43,8 @@
set referer [ad_conn url]
}
-set element_pretty_name [ad_parameter -localize static_admin_portlet_element_pretty_name static-portlet]
-set element_pretty_plural [ad_parameter -localize static_admin_portlet_element_pretty_plural static-portlet]
+set element_pretty_name [parameter::get_from_package_key -localize -package_key static-portlet -parameter static_admin_portlet_element_pretty_name]
-ns_log notice "package_id = $package_id"
db_multirow content select_content {
select content_id,
pretty_name
@@ -58,7 +56,3 @@
set applet_url "[dotlrn_applet::get_url]/[static_portlet::my_package_key]"
-
-
-
-