Index: openacs-4/packages/ecommerce/www/admin/cat/category-add-0.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/admin/cat/category-add-0.adp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/ecommerce/www/admin/cat/category-add-0.adp 20 Aug 2008 20:37:38 -0000 1.1 @@ -0,0 +1,11 @@ + + @title;noquote@ + @context;noquote@ +

@title@

+ +
+@export_form_vars_html;noquote@ +

Name: +

+
+ Index: openacs-4/packages/ecommerce/www/admin/cat/category-add-0.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/admin/cat/category-add-0.tcl,v diff -u -r1.7 -r1.8 --- openacs-4/packages/ecommerce/www/admin/cat/category-add-0.tcl 9 Mar 2004 00:59:46 -0000 1.7 +++ openacs-4/packages/ecommerce/www/admin/cat/category-add-0.tcl 20 Aug 2008 20:37:37 -0000 1.8 @@ -25,37 +25,15 @@ from ec_categories where sort_key = :sort_key"] - if { $n_conflicts > 0 } { ad_return_complaint 1 "
  • The page you came from appears to be out-of-date; perhaps someone has changed the categories since you last reloaded the page. Please go back to the previous page, push \"reload\" or \"refresh\" and try - again." + again.
  • " return } +set title "Add a New Category" +set context [list [list index "Product Categorization"] $title] - -append page_html "[ad_admin_header "Add a New Category"] - -

    Add a New Category

    - -[ad_context_bar [list "../" "Ecommerce([ec_system_name])"] [list "index.tcl" "Product Categories"] "Add a New Category"] - -
    - - - -[ad_admin_footer] -" - - -doc_return 200 text/html $page_html +set export_form_vars_html [export_form_vars prev_sort_key next_sort_key] Index: openacs-4/packages/ecommerce/www/admin/cat/category-add.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/admin/cat/category-add.adp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/ecommerce/www/admin/cat/category-add.adp 20 Aug 2008 20:37:38 -0000 1.1 @@ -0,0 +1,16 @@ + + @title;noquote@ + @context;noquote@ +

    @title@

    + +

    Add the following new category?

    + +
    +        $category_name
    +
    +
    +
    +
    + +
    +
    Index: openacs-4/packages/ecommerce/www/admin/cat/category-add.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/admin/cat/category-add.tcl,v diff -u -r1.8 -r1.9 --- openacs-4/packages/ecommerce/www/admin/cat/category-add.tcl 9 Mar 2004 00:59:46 -0000 1.8 +++ openacs-4/packages/ecommerce/www/admin/cat/category-add.tcl 20 Aug 2008 20:37:37 -0000 1.9 @@ -35,33 +35,8 @@ return } +set title "Confirm New Category"] +set context [list [list index "Product Categorization"] $title] -set page_html "[ad_admin_header "Confirm New Category"] - -

    Confirm New Category

    - -[ad_context_bar [list "../" "Ecommerce([ec_system_name])"] [list "index" "Categories & Subcategories"] "Confirm New Category"] - -
    - -Add the following new category? - -
    -$category_name -
    -" - set category_id [db_nextval ec_category_id_sequence] - -append page_html "
    -[export_form_vars category_name category_id prev_sort_key next_sort_key] -
    - -
    -
    - -[ad_admin_footer] -" -doc_return 200 text/html $page_html - - +set export_form_vars_html [export_form_vars category_name category_id prev_sort_key next_sort_key] Index: openacs-4/packages/ecommerce/www/admin/cat/category-delete.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/admin/cat/category-delete.adp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/ecommerce/www/admin/cat/category-delete.adp 20 Aug 2008 20:37:38 -0000 1.1 @@ -0,0 +1,18 @@ + + @title;noquote@ + @context;noquote@ +

    @title@

    + +
    + +

    Please confirm that you wish to delete the category @category_name@. Please also note the following:

    +
      +
    • This will delete all subcategories and subsubcategories of the category @category_name@.
    • +
    • This will not delete the products in this category (if any). However, it will cause them to no longer be associated with this category.
    • +
    • This will not delete the templates associated with this category (if any). However, it will cause them to no longer be associated with this category.
    • +
    + +
    + +
    +
    Index: openacs-4/packages/ecommerce/www/admin/cat/category-delete.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/admin/cat/category-delete.tcl,v diff -u -r1.5 -r1.6 --- openacs-4/packages/ecommerce/www/admin/cat/category-delete.tcl 9 Mar 2004 00:59:46 -0000 1.5 +++ openacs-4/packages/ecommerce/www/admin/cat/category-delete.tcl 20 Aug 2008 20:37:38 -0000 1.6 @@ -1,5 +1,4 @@ # /www/[ec_url_concat [ec_url] /admin]/cat/category-delete.tcl - ad_page_contract { @param category_id the ID of the category to delete @@ -14,31 +13,7 @@ ad_require_permission [ad_conn package_id] admin +set title "Confirm Delete" +set context [list [list index "Product Categorization"] $title] -set page_html "[ad_admin_header "Confirm Deletion"] - -

    Confirm Deletion

    - -[ad_context_bar [list "../" "Ecommerce([ec_system_name])"] [list "index" "Categories & Subcategories"] [list "category?[export_url_vars category_id category_name]" $category_name] "Delete this Category"] - -
    - -
    -[export_form_vars category_id] -Please confirm that you wish to delete the category $category_name. Please also note the following: -

    -

      -
    • This will delete all subcategories and subsubcategories of the category $category_name. -
    • This will not delete the products in this category (if any). However, it will cause them to no longer be associated with this category. -
    • This will not delete the templates associated with this category (if any). However, it will cause them to no longer be associated with this category. -
    -

    -

    - -
    -
    - -[ad_admin_footer] -" - -doc_return 200 text/html $page_html +set export_form_vars_html [export_form_vars category_id] Index: openacs-4/packages/ecommerce/www/admin/cat/subcategory-add-0.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/admin/cat/subcategory-add-0.adp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/ecommerce/www/admin/cat/subcategory-add-0.adp 20 Aug 2008 20:37:38 -0000 1.1 @@ -0,0 +1,9 @@ + + @title;noquote@ + @context;noquote@ +

    @title@

    + +
    +

    Name: +

    +
    Index: openacs-4/packages/ecommerce/www/admin/cat/subcategory-add-0.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/admin/cat/subcategory-add-0.tcl,v diff -u -r1.7 -r1.8 --- openacs-4/packages/ecommerce/www/admin/cat/subcategory-add-0.tcl 9 Mar 2004 00:59:46 -0000 1.7 +++ openacs-4/packages/ecommerce/www/admin/cat/subcategory-add-0.tcl 20 Aug 2008 20:37:38 -0000 1.8 @@ -38,31 +38,11 @@ ad_return_complaint 1 "
  • The page you came from appears to be out-of-date; perhaps someone has changed the subcategories since you last reloaded the page. Please go back to the previous page, push \"reload\" or \"refresh\" and try - again." + again.
  • " return } +set title "Add a New Subcategory" +set context [list [list index "Product Categorization"] $title] -set page_html "[ad_admin_header "Add a New Subcategory"] - -

    Add a New Subcategory

    - -[ad_context_bar [list "../" "Ecommerce([ec_system_name])"] [list "index" "Product Categories"] [list "category?[export_url_vars category_id category_name]" $category_name] "Add a New Subcategory"] - -
    - -
      - -
      -[export_form_vars category_id category_name prev_sort_key next_sort_key] -Name: - -
      - -
    - -[ad_admin_footer] -" - - -doc_return 200 text/html $page_html +set export_form_vars_html [export_form_vars category_id category_name prev_sort_key next_sort_key] Index: openacs-4/packages/ecommerce/www/admin/cat/subcategory-add.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/admin/cat/subcategory-add.adp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/ecommerce/www/admin/cat/subcategory-add.adp 20 Aug 2008 20:37:38 -0000 1.1 @@ -0,0 +1,17 @@ + + @title;noquote@ + @context;noquote@ +

    @title@

    + +

    Add the following new subcategory to $category_name?

    + +
    +        @subcategory_name@
    +
    +
    + +
    +
    + +
    +
    Index: openacs-4/packages/ecommerce/www/admin/cat/subcategory-add.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/admin/cat/subcategory-add.tcl,v diff -u -r1.8 -r1.9 --- openacs-4/packages/ecommerce/www/admin/cat/subcategory-add.tcl 9 Mar 2004 00:59:46 -0000 1.8 +++ openacs-4/packages/ecommerce/www/admin/cat/subcategory-add.tcl 20 Aug 2008 20:37:38 -0000 1.9 @@ -41,37 +41,13 @@ ad_return_complaint 1 "
  • The $category_name page appears to be out-of-date; perhaps someone has changed the subcategories since you last reloaded the page. Please go back to the $category_name page, push - \"reload\" or \"refresh\" and try again." + \"reload\" or \"refresh\" and try again.
  • " return } +set title "Confirm New Subcategory" +set context [list [list index "Product Categorization"] $title] -set page_html "[ad_admin_header "Confirm New Subcategory"] - -

    Confirm New Subcategory

    - -[ad_context_bar [list "../" "Ecommerce([ec_system_name])"] [list "index" "Categories & Subcategories"] [list "category?[export_url_vars category_id category_name]" $category_name] "Confirm New Subcategory"] - -
    - -Add the following new subcategory to $category_name? - -
    -$subcategory_name -
    -" - set subcategory_id [db_nextval ec_subcategory_id_sequence] -append page_html "
    -[export_form_vars category_name category_id subcategory_name subcategory_id prev_sort_key next_sort_key] -
    - -
    -
    - -[ad_admin_footer] -" - - -doc_return 200 text/html $page_html +set export_form_vars_html [export_form_vars category_name category_id subcategory_name subcategory_id prev_sort_key next_sort_key] Index: openacs-4/packages/ecommerce/www/admin/cat/subcategory-delete.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/admin/cat/subcategory-delete.adp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/ecommerce/www/admin/cat/subcategory-delete.adp 20 Aug 2008 20:37:38 -0000 1.1 @@ -0,0 +1,17 @@ + + @title;noquote@ + @context;noquote@ +

    @title@

    + +
    +

    Please confirm that you wish to delete the subcategory +@subcategory_name@ of category @category_name@. Please also note the following:

    +
      +
    • This will delete all subsubcategories of the subcategory @subcategory_name@.
    • +
    • This will not delete the products in this subcategory (if any). However, it will cause them to no longer be associated with this subcategory.
    • +
    + +
    + +
    +
    Index: openacs-4/packages/ecommerce/www/admin/cat/subcategory-delete.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/admin/cat/subcategory-delete.tcl,v diff -u -r1.5 -r1.6 --- openacs-4/packages/ecommerce/www/admin/cat/subcategory-delete.tcl 9 Mar 2004 00:59:46 -0000 1.5 +++ openacs-4/packages/ecommerce/www/admin/cat/subcategory-delete.tcl 20 Aug 2008 20:37:38 -0000 1.6 @@ -19,28 +19,8 @@ ad_require_permission [ad_conn package_id] admin -set page_html "[ad_admin_header "Confirm Deletion"] +set title "Confirm Deletion" +set context [list [list index "Product Categorization"] $title] -

    Confirm Deletion

    +set export_form_vars_html [export_form_vars subcategory_id category_id category_name] -[ad_context_bar [list "../" "Ecommerce([ec_system_name])"] [list "index" "Categories & Subcategories"] [list "category?[export_url_vars category_id category_name]" $category_name] [list "subcategory?[export_url_vars subcategory_id subcategory_name category_id category_name]" $subcategory_name] "Delete this Subcategory"] - -
    - -
    -[export_form_vars subcategory_id category_id category_name] -Please confirm that you wish to delete the category $category_name. Please also note the following: -

    -

      -
    • This will delete all subsubcategories of the subcategory $subcategory_name. -
    • This will not delete the products in this subcategory (if any). However, it will cause them to no longer be associated with this subcategory. -
    -

    -

    - -
    -
    - -[ad_admin_footer] -" -doc_return 200 text/html $page_html Index: openacs-4/packages/ecommerce/www/admin/cat/subcategory.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/admin/cat/subcategory.adp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/ecommerce/www/admin/cat/subcategory.adp 20 Aug 2008 20:37:38 -0000 1.1 @@ -0,0 +1,26 @@ + + @title;noquote@ + @context;noquote@ +

    @title@

    + + + +

    Current Subsubcategories of $subcategory_name

    + + +@subcategory_infos_html;noquote@ +
    +
    +

    There are no subsubcategories for this subcategory. Add a subsubcategory.

    +
    Index: openacs-4/packages/ecommerce/www/admin/cat/subcategory.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/admin/cat/subcategory.tcl,v diff -u -r1.5 -r1.6 --- openacs-4/packages/ecommerce/www/admin/cat/subcategory.tcl 9 Mar 2004 00:59:46 -0000 1.5 +++ openacs-4/packages/ecommerce/www/admin/cat/subcategory.tcl 20 Aug 2008 20:37:38 -0000 1.6 @@ -17,34 +17,12 @@ ad_require_permission [ad_conn package_id] admin -set page_html "[ad_admin_header "Subcategory: $subcategory_name"] +set title "Subcategory: ${subcategory_name}" +set context [list [list index "Product Categorization"] $title] -

    Subcategory: $subcategory_name

    +set export_form_vars_html [export_form_vars category_id category_name subcategory_id] +set export_form_vars_cs_html [export_url_vars category_id category_name subcategory_id subcategory_name] -[ad_context_bar [list "../" "Ecommerce([ec_system_name])"] [list "index" "Categories & Subcategories"] [list "category?[export_url_vars category_id category_name]" $category_name] "One Subcategory"] - -
    - -
      - -
      -[export_form_vars category_id category_name subcategory_id] -
    • Change subcategory name to: - - -
    • - -

      - -

    • View all products in this subcategory - -

      - -

    • Delete this subcategory - -

      -" - # Set audit variables # audit_name, audit_id, audit_id_column, return_url, audit_tables, main_tables set audit_name "$subcategory_name" @@ -53,41 +31,27 @@ set return_url "subcategory?[export_url_vars subcategory_id subcategory_name]" set audit_tables [list ec_subcategories_audit ec_subsubcategories_audit ec_subcat_prod_map_audit] set main_tables [list ec_subcategories ec_subsubcategories ec_subcategory_product_map] +set audit_url_html "[ec_url_concat [ec_url] /admin]/audit?[export_url_vars audit_name audit_id audit_id_column return_url audit_tables main_tables]" -append page_html "

    • Audit Trail - -
    - -

    Current Subsubcategories of $subcategory_name

    - - -" set old_subsubcategory_id "" set old_sort_key "" set subsubcategory_counter 0 - +set subcategory_infos_html "" db_foreach get_subcategory_infos "select subsubcategory_id, sort_key, subsubcategory_name from ec_subsubcategories where subcategory_id=:subcategory_id order by sort_key" { incr subsubcategory_counter - if { ![empty_string_p $old_subsubcategory_id] } { - append page_html "" + #append subcategory_infos_html "" } set old_subsubcategory_id $subsubcategory_id set old_sort_key $sort_key - append page_html "\n" + append subcategory_infos_html "" } if { $subsubcategory_counter != 0 } { - append page_html " - " -} else { - append page_html "You haven't set up any subsubcategories. Add a subsubcategory.\n" -} + # append subcategory_infos_html "" +} -append page_html "
      insert after    swap with next
    ( insert after | swap with next )
    $subsubcategory_counter. $subsubcategory_name
    $subsubcategory_counter. $subsubcategory_name
      insert after
      insert after
    -[ad_admin_footer] -" +set export_url_vars_2_html [export_url_vars category_id category_name subcategory_id subcategory_name] -doc_return 200 text/html $page_html Index: openacs-4/packages/ecommerce/www/admin/cat/subsubcategory-add-0.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/admin/cat/subsubcategory-add-0.adp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/ecommerce/www/admin/cat/subsubcategory-add-0.adp 20 Aug 2008 20:37:38 -0000 1.1 @@ -0,0 +1,14 @@ + + @title;noquote@ + @context;noquote@ +

    @title@

    + +
      +
    • +
      + @export_form_vars_html;noquote@ + Name: + +
      +
    • +
    Index: openacs-4/packages/ecommerce/www/admin/cat/subsubcategory-add-0.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/admin/cat/subsubcategory-add-0.tcl,v diff -u -r1.7 -r1.8 --- openacs-4/packages/ecommerce/www/admin/cat/subsubcategory-add-0.tcl 9 Mar 2004 00:59:46 -0000 1.7 +++ openacs-4/packages/ecommerce/www/admin/cat/subsubcategory-add-0.tcl 20 Aug 2008 20:37:38 -0000 1.8 @@ -40,32 +40,11 @@ ad_return_complaint 1 "
  • The page you came from appears to be out-of-date; perhaps someone has changed the subsubcategories since you last reloaded the page. Please go back to the previous page, push \"reload\" or \"refresh\" and try - again." + again.
  • " return } +set title "Add a New Subsubcategory" +set context [list [list index "Product Categorization"] $title] - -set page_html "[ad_admin_header "Add a New Subsubcategory"] - -

    Add a New Subsubcategory

    - -[ad_context_bar [list "../" "Ecommerce([ec_system_name])"] [list "index" "Product Categories"] [list "category?[export_url_vars category_id category_name]" $category_name] [list "subcategory?[export_url_vars category_id category_name subcategory_id subcategory_name]" $subcategory_name] "Add a New Subsubcategory"] - -
    - -
      - -
      -[export_form_vars category_id category_name subcategory_id subcategory_name prev_sort_key next_sort_key] -Name: - -
      - -
    - -[ad_admin_footer] -" - - -doc_return 200 text/html $page_html +set export_form_vars_html [export_form_vars category_id category_name subcategory_id subcategory_name prev_sort_key next_sort_key] Index: openacs-4/packages/ecommerce/www/admin/cat/subsubcategory-add.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/admin/cat/subsubcategory-add.adp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/ecommerce/www/admin/cat/subsubcategory-add.adp 20 Aug 2008 20:37:38 -0000 1.1 @@ -0,0 +1,16 @@ + + @title;noquote@ + @context;noquote@ +

    @title@

    + +

    Add the following new subsubcategory to $subcategory_name?

    +
    +        @subsubcategory_name@
    +
    +
    +
    + @export_form_vars_html;noquote@ +
    + +
    +
    Index: openacs-4/packages/ecommerce/www/admin/cat/subsubcategory-add.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/admin/cat/subsubcategory-add.tcl,v diff -u -r1.8 -r1.9 --- openacs-4/packages/ecommerce/www/admin/cat/subsubcategory-add.tcl 9 Mar 2004 00:59:46 -0000 1.8 +++ openacs-4/packages/ecommerce/www/admin/cat/subsubcategory-add.tcl 20 Aug 2008 20:37:38 -0000 1.9 @@ -44,38 +44,13 @@ ad_return_complaint 1 "
  • The $subcategory_name page appears to be out-of-date; perhaps someone has changed the subcategories since you last reloaded the page. Please go back to the $subcategory_name page, push - \"reload\" or \"refresh\" and try again." + \"reload\" or \"refresh\" and try again.
  • " return } +set title "Confirm New Subsubcategory" +set context [list [list index "Product Categorization"] $title] - -set page_html "[ad_admin_header "Confirm New Subsubcategory"] - -

    Confirm New Subsubcategory

    - -[ad_context_bar [list "../" "Ecommerce([ec_system_name])"] [list "index" "Categories & Subcategories"] "Confirm New Subsubcategory"] - -
    - -Add the following new subsubcategory to $subcategory_name? - -
    -$subsubcategory_name -
    -" - set subsubcategory_id [db_nextval ec_subsubcategory_id_sequence] -append page_html "
    -[export_form_vars category_name category_id subcategory_name subcategory_id subsubcategory_name subsubcategory_id prev_sort_key next_sort_key] -
    - -
    -
    - -[ad_admin_footer] -" - - -doc_return 200 text/html $page_html +set export_form_vars_html [export_form_vars category_name category_id subcategory_name subcategory_id subsubcategory_name subsubcategory_id prev_sort_key next_sort_key] Index: openacs-4/packages/ecommerce/www/admin/cat/subsubcategory-delete.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/admin/cat/subsubcategory-delete.adp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/ecommerce/www/admin/cat/subsubcategory-delete.adp 20 Aug 2008 20:37:38 -0000 1.1 @@ -0,0 +1,13 @@ + + @title;noquote@ + @context;noquote@ +

    @title@

    + +
    + @export_form_vars_html;noquote@ +

    Please confirm that you wish to delete the subsubcategory @subsubcategory_name@. This will not delete the products in this subsubcategory (if any). However, it will cause them to no longer be associated with this subsubcategory. +

    +
    + +
    +
    Index: openacs-4/packages/ecommerce/www/admin/cat/subsubcategory-delete.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/admin/cat/subsubcategory-delete.tcl,v diff -u -r1.3 -r1.4 --- openacs-4/packages/ecommerce/www/admin/cat/subsubcategory-delete.tcl 9 Mar 2004 00:59:46 -0000 1.3 +++ openacs-4/packages/ecommerce/www/admin/cat/subsubcategory-delete.tcl 20 Aug 2008 20:37:38 -0000 1.4 @@ -22,26 +22,8 @@ } ad_require_permission [ad_conn package_id] admin + +set title "Confirm Deletion" +set context [list [list index "Product Categorization"] $title] -# - -set page_html "[ad_admin_header "Confirm Deletion"] - -

    Confirm Deletion

    - -[ad_context_bar [list "../" "Ecommerce([ec_system_name])"] [list "index" "Categories & Subcategories"] [list "category?[export_url_vars category_id category_name]" $category_name] [list "subcategory?[export_url_vars subcategory_id subcategory_name category_id category_name]" $subcategory_name] [list "subsubcategory?[export_url_vars subsubcategory_id subsubcategory_name subcategory_id subcategory_name category_id category_name]" $subsubcategory_name] "Delete this Subsubcategory"] - -
    - -
    -[export_form_vars subsubcategory_id subcategory_id subcategory_name category_id category_name] -Please confirm that you wish to delete the subsubcategory $subsubcategory_name. This will not delete the products in this subsubcategory (if any). However, it will cause them to no longer be associated with this subsubcategory. -

    -

    - -
    -
    - -[ad_admin_footer] -" -doc_return 200 text/html $page_html +set export_form_vars_html [export_form_vars subsubcategory_id subcategory_id subcategory_name category_id category_name] Index: openacs-4/packages/ecommerce/www/admin/cat/subsubcategory.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/admin/cat/subsubcategory.adp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/ecommerce/www/admin/cat/subsubcategory.adp 20 Aug 2008 20:37:38 -0000 1.1 @@ -0,0 +1,18 @@ + + @title;noquote@ + @context;noquote@ +

    @title@

    + + Index: openacs-4/packages/ecommerce/www/admin/cat/subsubcategory.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/admin/cat/subsubcategory.tcl,v diff -u -r1.5 -r1.6 --- openacs-4/packages/ecommerce/www/admin/cat/subsubcategory.tcl 9 Mar 2004 00:59:46 -0000 1.5 +++ openacs-4/packages/ecommerce/www/admin/cat/subsubcategory.tcl 20 Aug 2008 20:37:38 -0000 1.6 @@ -23,34 +23,9 @@ ad_require_permission [ad_conn package_id] admin -set page_html "[ad_admin_header "Subsubcategory: $subsubcategory_name"] +set title "Subsubcategory: ${subsubcategory_name}" +set context [list [list index "Product Categorization"] $title] -

    Subsubcategory: $subsubcategory_name

    - -[ad_context_bar [list "../" "Ecommerce([ec_system_name])"] [list "index" "Categories & Subcategories"] [list "category?[export_url_vars category_id category_name]" $category_name] [list "subcategory?[export_url_vars category_id category_name subcategory_id subcategory_name]" $subcategory_name] "One Subsubcategory"] - -
    - -
      - -
      -[export_form_vars category_id category_name subcategory_id subcategory_name subsubcategory_id] -
    • Change subsubcategory name to: - - -
    • - -

      - -

    • View all products in this subsubcategory - -

      - -

    • Delete this subsubcategory - -

      -" - # Set audit variables # audit_name, audit_id, audit_id_column, return_url, audit_tables, main_tables set audit_name "$subsubcategory_name" @@ -60,11 +35,7 @@ set audit_tables [list ec_subsubcategories_audit ec_subsubcat_prod_map_audit] set main_tables [list ec_subsubcategories ec_subsubcategory_product_map] -append page_html "

    • Audit Trail +set audit_url_html [ec_url_concat [ec_url] /admin]/audit?[export_url_vars audit_name audit_id audit_id_column return_url audit_tables main_tables] -
    - -[ad_admin_footer] -" -doc_return 200 text/html $page_html - +set export_form_vars_html [export_form_vars category_id category_name subcategory_id subcategory_name subsubcategory_id] +set export_form_vars_css_html [export_url_vars category_id category_name subcategory_id subcategory_name subsubcategory_id subsubcategory_name]