Index: openacs-4/packages/notes/www/add-edit.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/notes/www/add-edit.adp,v diff -u -r1.1 -r1.2 --- openacs-4/packages/notes/www/add-edit.adp 20 Apr 2001 20:51:11 -0000 1.1 +++ openacs-4/packages/notes/www/add-edit.adp 5 Sep 2002 11:04:56 -0000 1.2 @@ -1,9 +1,6 @@ <master> +<property name="title">@title@</property> +<property name="context">@context@</property> -@context_bar@ - -<hr> - -<center> <formtemplate id="new_note"></formtemplate> -</center> + Index: openacs-4/packages/notes/www/add-edit.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/notes/www/add-edit.tcl,v diff -u -r1.4 -r1.5 --- openacs-4/packages/notes/www/add-edit.tcl 4 Mar 2002 13:57:57 -0000 1.4 +++ openacs-4/packages/notes/www/add-edit.tcl 5 Sep 2002 11:04:56 -0000 1.5 @@ -10,19 +10,19 @@ {title:html,notnull,optional ""} {body ""} } -properties { - context_bar:onevalue + context:onevalue } set package_id [ad_conn package_id] if {[info exists note_id]} { ad_require_permission $note_id write - set context_bar [ad_context_bar "Edit Note"] + set context [list "Edit Note"] } else { ad_require_permission $package_id create - set context_bar [ad_context_bar "New Note"] + set context [list "New Note"] } template::form create new_note @@ -82,7 +82,7 @@ } } - ad_returnredirect "." + ad_returnredirect "./" } ad_return_template Index: openacs-4/packages/notes/www/delete.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/notes/www/delete.tcl,v diff -u -r1.2 -r1.3 --- openacs-4/packages/notes/www/delete.tcl 3 May 2001 18:23:35 -0000 1.2 +++ openacs-4/packages/notes/www/delete.tcl 5 Sep 2002 11:04:56 -0000 1.3 @@ -17,4 +17,4 @@ end; } -ad_returnredirect "." +ad_returnredirect "./" Index: openacs-4/packages/notes/www/index.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/notes/www/index.adp,v diff -u -r1.4 -r1.5 --- openacs-4/packages/notes/www/index.adp 5 Jul 2002 15:56:53 -0000 1.4 +++ openacs-4/packages/notes/www/index.adp 5 Sep 2002 11:04:56 -0000 1.5 @@ -1,11 +1,7 @@ <master> +<property name="title">Notes</property> +<property name="context">@context@</property> -@context_bar@ - -<hr> - -<center> - <table border=0 cellpadding=1 cellspacing=0 width="80%"> <tr><td bgcolor=#aaaaaa> <table border=0 cellpadding=3 cellspacing=0 width="100%"> @@ -71,5 +67,3 @@ </table> </td><tr> </table> - -</center> Index: openacs-4/packages/notes/www/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/notes/www/index.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/notes/www/index.tcl 20 Apr 2001 20:51:11 -0000 1.1 +++ openacs-4/packages/notes/www/index.tcl 5 Sep 2002 11:04:56 -0000 1.2 @@ -7,14 +7,14 @@ @cvs-id $Id$ } -properties { notes:multirow - context_bar:onevalue + context:onevalue create_p:onevalue } set package_id [ad_conn package_id] set user_id [ad_conn user_id] -set context_bar [ad_context_bar] +set context [list] set create_p [ad_permission_p $package_id create] db_multirow notes notes { Index: openacs-4/packages/notes/www/view-one.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/notes/www/view-one.adp,v diff -u -r1.1 -r1.2 --- openacs-4/packages/notes/www/view-one.adp 3 Sep 2001 17:56:50 -0000 1.1 +++ openacs-4/packages/notes/www/view-one.adp 5 Sep 2002 11:04:56 -0000 1.2 @@ -1,7 +1,5 @@ <master> +<property name="title">@title@</property> +<property name="context">@context@</property> -<h2>@title@</h2> -@context_bar@ -<hr> - @body@ \ No newline at end of file Index: openacs-4/packages/notes/www/view-one.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/notes/www/view-one.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/notes/www/view-one.tcl 3 Sep 2001 17:56:50 -0000 1.1 +++ openacs-4/packages/notes/www/view-one.tcl 5 Sep 2002 11:04:56 -0000 1.2 @@ -4,12 +4,12 @@ } { note_id:integer,notnull } -properties { - context_bar:onevalue + context:onevalue title:onevalue body:onevalue } -set context_bar [ad_context_bar] +set context [list "One note"] db_1row note_select { select title, body