Index: openacs-4/packages/simulation/www/object-edit.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/Attic/object-edit.tcl,v diff -u -r1.14 -r1.15 --- openacs-4/packages/simulation/www/object-edit.tcl 31 Oct 2003 08:43:15 -0000 1.14 +++ openacs-4/packages/simulation/www/object-edit.tcl 31 Oct 2003 10:56:40 -0000 1.15 @@ -98,35 +98,61 @@ #--------------------------------------------------------------------- # Define the metadata in an easy format +# this is prototype stuff + set content_metadata { sim_character { content_method richtext - attributes { - stylesheet { - references sim_stylesheet - } - } relations { image { label "Image" - section "Related Images" + section "Related Objects" } + stylesheet { + label "Stylesheet" + } + thumbnail { + label "Thumbnail" + } } } - sim_home { + sim_location { content_method richtext - attributes { + relations { stylesheet { - references sim_stylesheet + label "Stylesheet" } + thumbnail { + label "Thumbnail" + } + image { + label "Image" + section "Related Images" + } } + } sim_prop { content_method richtext - attributes { + relations { stylesheet { - references sim_stylesheet + label "Stylesheet" } + thumbnail { + label "Thumbnail" + } + image { + label "Image" + section "Related Images" + } + logo { + label "Logo" + section "Related Images" + } + letterhead { + label "Letterhead" + section "Related Images" + } } } sim_stylesheet { @@ -287,15 +313,15 @@ ad_form -extend -name object -form { {content_elm:richtext(richtext),optional {label "Content"} - {html {cols 60 rows 8}} + {html {cols 80 rows 16}} } } } textarea { ad_form -extend -name object -form { {content_elm:text(textarea),optional {label "Content"} - {html {cols 60 rows 8}} + {html {cols 80 rows 16}} } } } @@ -342,7 +368,7 @@ array set form_widget { string text - boolean text + boolean radio number text integer text money text @@ -360,7 +386,9 @@ string { {html {size 50}} } - boolean {} + boolean { + {options { {Yes t} {No f}} } + } number {} integer {} money {}