Index: openacs-4/packages/ecommerce/www/admin/products/custom-field-edit.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/admin/products/custom-field-edit.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/ecommerce/www/admin/products/custom-field-edit.tcl 20 Apr 2001 20:51:14 -0000 1.1 +++ openacs-4/packages/ecommerce/www/admin/products/custom-field-edit.tcl 26 May 2002 04:36:50 -0000 1.2 @@ -1,64 +1,66 @@ -# www/[ec_url_concat [ec_url] /admin]/products/custom-field-edit.tcl ad_page_contract { - Edit a custom product field. - @author Eve Andersson (eveander@arsdigita.com) - @creation-date Summer 1999 - @cvs-id custom-field-edit.tcl,v 3.1.6.3 2000/08/20 22:35:01 seb Exp - @author ported by Jerry Asher (jerry@theashergroup.com) + Edit a custom product field. + + @author Eve Andersson (eveander@arsdigita.com) + @creation-date Summer 1999 + @author ported by Jerry Asher (jerry@theashergroup.com) + @author revised by Bart Teeuwisse + @revision-date May 2002 + } { - field_identifier:sql_identifier + field_identifier:sql_identifier } ad_require_permission [ad_conn package_id] admin db_1row custom_field_select " -select field_name, default_value, column_type, active_p -from ec_custom_product_fields -where field_identifier=:field_identifier -" + select field_name, default_value, column_type, active_p + from ec_custom_product_fields + where field_identifier=:field_identifier" set old_column_type $column_type -doc_body_append "[ad_admin_header "Edit $field_name"] +doc_body_append " + [ad_admin_header "Edit $field_name"] -

Edit $field_name

+

Edit $field_name

-[ad_admin_context_bar [list "../" "Ecommerce([ec_system_name])"] [list "index" "Products"] [list "custom-fields" "Custom Fields"] "Edit Custom Field"] + [ad_admin_context_bar [list "../" "Ecommerce([ec_system_name])"] [list "index" "Products"] [list "custom-fields" "Custom Fields"] "Edit Custom Field"] -
+
-
-[export_form_vars old_column_type field_identifier] - - - - - - - - - - - - - - - - - - - - - - -
Unique Identifier:$field_identifierThis can't be changed.
Field Name:
Default Value:
Kind of Information:[ec_column_type_widget $column_type]We might not be able to change this, depending on what it is, what you're trying to change it to, and what values are already in the database for this field (you can always try it & find out).
- -

- -

- -
- -[ad_admin_footer] -" + + [export_form_vars old_column_type field_identifier] + + + + + + + + + + + + + + + + + + + + + + +
Unique Identifier:$field_identifierThis can't be changed.
Field Name:
Default Value:
Kind of Information:[ec_column_type_widget $column_type]We might not be able to change this, depending on what it + is, what you're trying to change it to, and what values are + already in the database for this field (you can always try it + & find out).
+ +
+ +
+
+ [ad_admin_footer]"