Index: openacs-4/packages/new-portal/sql/postgresql/defaults.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/new-portal/sql/postgresql/defaults.sql,v diff -u -r1.5 -r1.6 --- openacs-4/packages/new-portal/sql/postgresql/defaults.sql 12 Nov 2002 08:38:41 -0000 1.5 +++ openacs-4/packages/new-portal/sql/postgresql/defaults.sql 29 May 2003 18:04:55 -0000 1.6 @@ -25,7 +25,6 @@ returns integer as ' declare layout_id portal_layouts.layout_id%TYPE; - theme_id portal_element_themes.theme_id%TYPE; begin -- two-column layout, without a header. @@ -64,27 +63,34 @@ perform portal_layout__add_region(layout_id, ''3''); -- Now, some element themes. - theme_id := portal_element_theme__new( + perform portal_element_theme__new( ''#new-portal.simple_red_theme_name#'', ''#new-portal.simple_red_theme_description#'', ''themes/simple-theme'', ''themes/simple-theme'' ); - theme_id := portal_element_theme__new( + perform portal_element_theme__new( ''#new-portal.nada_theme_name#'', ''#new-portal.nada_theme_description#'', ''themes/nada-theme'', ''themes/nada-theme'' ); - theme_id := portal_element_theme__new( + perform portal_element_theme__new( ''#new-portal.deco_theme_name#'', ''#new-portal.deco_theme_description#'', ''themes/deco-theme'', ''themes/deco-theme'' ); + perform portal_element_theme__new ( + ''#new-portal.sloan_theme_name#'', -- name + ''#new-portal.sloan_theme_description#'', -- description + ''themes/sloan-theme'', -- filename + ''themes/sloan-theme'' -- directory + ); + return 0; end;' language 'plpgsql';