Index: openacs-4/contrib/packages/simulation/lib/messages.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/lib/Attic/messages.adp,v diff -u -r1.1 -r1.2 --- openacs-4/contrib/packages/simulation/lib/messages.adp 18 Nov 2003 09:44:30 -0000 1.1 +++ openacs-4/contrib/packages/simulation/lib/messages.adp 16 Dec 2003 14:16:28 -0000 1.2 @@ -1 +1,2 @@

+ Index: openacs-4/contrib/packages/simulation/lib/messages.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/lib/Attic/messages.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/contrib/packages/simulation/lib/messages.tcl 18 Nov 2003 09:44:30 -0000 1.1 +++ openacs-4/contrib/packages/simulation/lib/messages.tcl 16 Dec 2003 14:16:28 -0000 1.2 @@ -5,23 +5,28 @@ @creation-date 2003-11-12 @cvs-id $Id$ } { - party_id { + user_id { default_value "" } } set package_id [ad_conn package_id] set elements { + case_name { + label "Case" + } + from { + label "From" + } subject { + link_url_col + message_url label "Subject" } date { label "Date" } - from { - label "From" - } attachment_count { label "Attachments" } @@ -33,8 +38,11 @@ -no_data "You don't have any messages." \ -elements $elements -db_multirow messages select_messages " - select title as subject, +# TODO: make case_name be a combo of simulation name and case # +db_multirow -extend { message_url } messages select_messages " + select sm.message_id, + sm.title as subject, + sm.case_id as case_name, creation_date as date, (select p.first_names || ' ' || p.last_name from persons p @@ -43,5 +51,12 @@ from cr_item_rels where item_id = item_id and relation_tag = 'attachment') as attachment_count - from sim_messagesi -" \ No newline at end of file + from sim_messagesx sm, + workflow_case_role_party_map wcrmp, + party_approved_member_map pamm + where pamm.member_id = :user_id + and wcrmp.party_id = pamm.party_id + and wcrmp.case_id = sm.case_id +" { + set message_url [export_vars -base "[apm_package_url_from_id $package_id]simplay/message" { message_id }] +} \ No newline at end of file Index: openacs-4/contrib/packages/simulation/lib/tasks.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/lib/Attic/tasks.adp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/contrib/packages/simulation/lib/tasks.adp 16 Dec 2003 14:16:28 -0000 1.1 @@ -0,0 +1 @@ +

Index: openacs-4/contrib/packages/simulation/lib/tasks.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/lib/Attic/tasks.tcl,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/contrib/packages/simulation/lib/tasks.tcl 16 Dec 2003 14:16:28 -0000 1.1 @@ -0,0 +1,47 @@ +simulation::include_contract { + Displays a list of tasks for a given user_id + + @author Joel Aufrecht + @creation-date 2003-11-12 + @cvs-id $Id: tasks.tcl,v 1.1 2003/12/16 14:16:28 joela Exp $ +} { + user_id { + default_value "" + } +} + +set package_id [ad_conn package_id] + +set elements { + case_name { + label "Case" + } + name { + link_url_col task_url + label "Task" + } +} + +template::list::create \ + -name tasks \ + -multirow tasks \ + -no_data "You don't have any tasks." \ + -elements $elements + +# TODO: make case_name be a combo of simulation name and case # +db_multirow -extend { task_url } tasks select_tasks " + select wcea.enabled_action_id, + wa.pretty_name as name, + wcea.case_id + from workflow_case_enabled_actions wcea, + workflow_case_role_party_map wcrmp, + workflow_actions wa, + party_approved_member_map pamm + where pamm.member_id = :user_id + and wcrmp.party_id = pamm.party_id + and wcrmp.case_id = wcea.case_id + and wcrmp.role_id = wa.assigned_role + and wa.action_id = wcea.action_id +" { + set task_url [export_vars -base "[apm_package_url_from_id $package_id]simplay/task-detail" { enabled_action_id }] +} \ No newline at end of file Index: openacs-4/contrib/packages/simulation/sql/postgresql/simulation-content-types-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/sql/postgresql/Attic/simulation-content-types-create.sql,v diff -u -r1.13 -r1.14 --- openacs-4/contrib/packages/simulation/sql/postgresql/simulation-content-types-create.sql 28 Nov 2003 12:55:45 -0000 1.13 +++ openacs-4/contrib/packages/simulation/sql/postgresql/simulation-content-types-create.sql 16 Dec 2003 14:16:28 -0000 1.14 @@ -261,6 +261,7 @@ ---------------------------------------------------------------------- -- sim_message ---------------------------------------------------------------------- +-- # TODO: conststrain to_role_id and from_role_id select content_type__create_type( 'sim_message', -- content_type @@ -285,37 +286,26 @@ select content_type__create_attribute( 'sim_message', -- content_type - 'to_case_id', -- attribute_name + 'from_role_id', -- attribute_name 'integer', -- datatype - 'To case_id', -- pretty_name - 'To case_ids', -- pretty_plural + 'From role_id', -- pretty_name + 'From rase_ids', -- pretty_plural 2, -- sort_order null, -- default_value 'integer' -- column_spec ); select content_type__create_attribute( 'sim_message', -- content_type - 'from_role_id', -- attribute_name + 'case_id', -- attribute_name 'integer', -- datatype - 'From role_id', -- pretty_name - 'From role_ids', -- pretty_plural + 'Case ID', -- pretty_name + 'case IDs', -- pretty_plural 3, -- sort_order null, -- default_value 'integer' -- column_spec ); -select content_type__create_attribute( - 'sim_message', -- content_type - 'from_case_id', -- attribute_name - 'integer', -- datatype - 'From case_id', -- pretty_name - 'From case_ids', -- pretty_plural - 1, -- sort_order - null, -- default_value - 'integer' -- column_spec -); - select content_type__register_relation_type ( 'sim_message', -- content_type 'sim_prop', -- target_type Index: openacs-4/contrib/packages/simulation/www/index.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/www/Attic/index.adp,v diff -u -r1.26 -r1.27 --- openacs-4/contrib/packages/simulation/www/index.adp 11 Dec 2003 13:21:52 -0000 1.26 +++ openacs-4/contrib/packages/simulation/www/index.adp 16 Dec 2003 14:16:28 -0000 1.27 @@ -2,43 +2,40 @@ @page_title;noquote@ @context;noquote@ - -
-

CityBuild

+ +
+

CityBuild

+ + +
+
+ + +
+

SimBuild

+ +
+
- -
-
+ +
+

SimInst

+ +
+
- -
-

SimBuild

+
+

SimPlay

+ + + + + Log in to see your active cases. + + +
- -
-
- - -
-

SimInst

- -
-
- -
-

SimPlay

- - - - - - Log in to see your active cases. - - - -
- -
-

Yellow Pages

-
+
+

Yellow Pages

+
Index: openacs-4/contrib/packages/simulation/www/map-master.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/www/Attic/map-master.adp,v diff -u -r1.4 -r1.5 --- openacs-4/contrib/packages/simulation/www/map-master.adp 18 Nov 2003 13:31:33 -0000 1.4 +++ openacs-4/contrib/packages/simulation/www/map-master.adp 16 Dec 2003 14:16:28 -0000 1.5 @@ -2,30 +2,18 @@ @title;noquote@ @context;noquote@ - - + + - - - - - -
- - - - - - - -
Placeholder for flash map
-
+ + + + + +
+ + + +
Placeholder for flash map
+
+ Index: openacs-4/contrib/packages/simulation/www/yellow-pages.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/www/Attic/yellow-pages.adp,v diff -u -r1.4 -r1.5 --- openacs-4/contrib/packages/simulation/www/yellow-pages.adp 2 Dec 2003 13:46:53 -0000 1.4 +++ openacs-4/contrib/packages/simulation/www/yellow-pages.adp 16 Dec 2003 14:16:28 -0000 1.5 @@ -1,4 +1,4 @@ - + @page_title;noquote@ @context;noquote@ Index: openacs-4/contrib/packages/simulation/www/doc/data-model.dia =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/www/doc/Attic/data-model.dia,v diff -u -r1.8 -r1.9 --- openacs-4/contrib/packages/simulation/www/doc/data-model.dia 11 Dec 2003 13:21:52 -0000 1.8 +++ openacs-4/contrib/packages/simulation/www/doc/data-model.dia 16 Dec 2003 14:16:28 -0000 1.9 @@ -1,94 +1,104 @@ ��}�s�8���� -E�e7�B A���٘鉉=��ll�^� %Z�$*Hz\�|���ɔ��R��該1 �/d�|���m���+-�,����y�n��"�,����}*?��?��"K���[�z�ޱ)�O�|����~���񑬞ʤ� ��H������*�Y -���?M&o/�H�D�n�ۤ�����J'�d����6�]��f��7�Wy1�W����Ow��>�����{�9q�m�Lo�4�z��T�/��\z���]o�2SC���!G����͘ݨR -�,���_���[����Zm7z�H�N�e�yoG}6��`�A���:����� �W��x�U�d�{ �y�J�Mc�.Y��pC��Վ.R ��T�_���"-;��1G�t��sק~8��i~u�e�M�����]������� ���7�B~���M��*�,�b1�N������Q;�l�������pB�bʇ��|���C4e, ���""���w�q{{h�P�H6�U�ƌ�V|1�JF�7̧D3���u<ϋ��=ʨ���z�G� ¤�<���>�sU}������چѹ�3�F�٘��N 8��>�[��݋x+���"{(��x�o~� y0��5��h��M�Ŷ��XcG��G��qN"�w -p�)� \0��w�D�m� �|�+�y�ctS�ؙM%�ƶ�9��fg�*F��|�<`�z��[�I[���o�ixè$��}9 - ��^\���lxD�0R�c�á_�f��E=�޳l��*�N���w�yXϷ�7�8�sѕ���?:��r�C�Y%E'E�?^>U�nw¬/��������Ώi�m�������}B�&��|4��Q�|��?�2�WR�7�?�r���>O^_Vg�wpoy3۽Y9��w3�>FspS�q���xȂ���l1¥祉Z@�?��x}C>>���p�ԇ���Fq�_��{�=f kD�p���5s����f<"��9P��m�|�I�����1���0�'�}�����6@�G>�o��b�0ΗP�ߪ��у1GW�␯p@}9B|9��=���7U�!���]��VO�~�M�yRVO;oݼ���տ�*�'o�t�;ha��;��ȾnwP��+%I�<;s�(9J�z��!��U�ܬ����u�� ���]ƨ����Tp�����$jٔ�/�jʡ' -�����L�K?"��ԓG�������tM�1�gM;�}��t��8��=�D�~q���0�gi6 -�fS�*�n�ǘ�٦���3슱+Ʈ�wŲ�`+��b�]�(�����oj��u��e��)Lj'�'?��Ǔ�Y�x��׳H=5��I֓4Y:��X��� -����9�2[��,�e������"���{̚� ���]?��q���Tr�ޛ�+W���a�-�'��P:7�o�"��ڮL=� Nj�.������{��ٹˋ�ٸu�׾^�ݗ -�� -�&/��*>�!����M^n�y�~��k�Pdi1��3��܁Z'Ƹ�m�zZ���>���Qnb����ݷ��Q��v�����w"G�����ɺ�й�N�>k�,�˝����{4������'�ٔ��������ep���]����K�>���`���>��Xz�yu8+�i�VY�t�dkyPo�$f��4@�r��?��9��2UV��`�1��"-�E��g> �r������V_�n�c���aM=@ -P��p\�p\Ƈ�����S1aSF����b�.� ��|Ϭf��l�8N�̓�p�^��+�5�@��:��UA�W�k ���뭂^�����~�[��ȺN4�/��u��-ͦR�h�Xc��_wlp�,@` Y`A�tC��OXp�O��hl֍+%��n���Z�U�O�R8������Z<�6�!�������A��\-8,v�XB���m�=�u��HDXBϴ��z�s�@L���0�Bk_s"k�2O�Ch��˥4�m��(N�#,��` -H�{A-�&!�w& lfߧ���.���wz=05Sg�����.����(�4YG���4�/:�ksN��A�#�m�� e�� ��Õ�v�?�]/geʫ��j��R�]}�z����� �#i؅���Z%��f�H�B':�� �N(tB� -��Q-A':�m[�m����i�5}��e��|��ER%�Q�~l�)���R��N0[n����Q�C�����&���Ny����(h���w��ҡ1k���G�ڔG<��٫mA�j���O���t�����y���cx -yC���kH���K�{���ﷹ磴��H1��R �z�ӄ�R �)�W�J���E@��%�`5O#�,aN�����$�+�`oy��W@^y��Wh�q5��X �0�ŅA;� -�x���=�����L5�ŗ�'�� -V�Ҹ�_W@\q�W@\q�W@\q�W��U_��d�[�I�" �=�J��>%�-sA���Δ�fS�� �l����zF���662V�5V�{��ځ��5 N�� -8��>��R�g��%��,,tU�:TF�������Z^:^����ۗ�&:? C è[�>u�=Z�̞�,�����2��J{��8 {�7�X��b�d0A���9i�W� M���������Su��$Q�ћ ���ŧ�:��#�E�B��H0Bk;>Q�9mT���Fj��k�^�8� qJqr�����K߸%U^�U�^�X�K��URT��Cf}qw�÷F��!�A3�O���g��*'���x-n˝�w)#R��$�i�j��� -I -�S3SD�\ʡF$�Ϡ6���aU��@n�jL`7X ��v� -`7�����^���d8��=H 9\��>���(nZ�^?l�M��V@���C�<)u� �t�A�N��t@�/tƔEp�b��b�p�!��z�6��њ���7y�Ƌ�B��z@�a�L�*]ċ��8��P�}�}58���H n��F.i�'��ya4{6+����=kC��_8&�ԗ�|�(5�����x -������{kp>V��+D��\!R�m ��U „�I���j��y��n�?�( Aa -CP�SD�4Ba -CP����0�ԩ�y����� ��7�p�� ���r�1p�ɶ��� ȁL9ڟ7�W�d�5Y���� �r���+*� �ri9/�-��8�9C���u��?��>sϾ��i���N oڐ�ؙMu�H3���b݌��g&��]�"3J��oɼ��� -�7p��}� --��}� -�7p��}���T0��|CRa9$�~\�#������p���Gsu����ls���[ !�|�Q�:��P������(�a�v�a'Î -�ȓ��T��|��e)���c��6O���;8�<��=�@�t�"M�2/*T�:�X���ߺb! -8�a�$R�.k�)ƞMy�l0"k�>'��.�2O��A������.�3 �P�peU ��P���-�hE (Z@�‘�#JP���\O�B�C<񸫊� �x�/k� -��!ʌW[��l�3B�M��c�����C��|wM�b�q8���@:g!�@q�!gR֠���!�@���r@˾���A ��فu �k��y�X ۫����ٔ�Z��[2���L�ҭ �&�^(;.�o��z����m��F`�m��F`��t�& ���� �.QD�CB�p\���� -�7� -��W�G�j��Am��g먶�A�fg[��,��]09;^�K���Fal���Fal���*�O��GXaD�>n�j.5�q(�lþ���U�Y$�b2�|ɖ_��o�&m�fK�hv�?n$t��fBqE$�i�(�YJp΋�>�g�~m�(1F)���qA�nT���E��=�)^c'^�J���*�]�e���[x��XX��OPB�f?6�8)�����Ʃ��U�Y��}ik��2�0�7��>�����W&����U����=��q�����ǎ����}��1��f�լd�T�ZY�I��g5C���v�Nr���8��tP�5��Ɔ/�/�/�狅�/��/�.3j��=>��7l�dw{&�t�.L\��@�d�d�d��c~��������%a�S���A>XFN�c����[d;o|�-���W�q�X� ;�[ly�7r���w�� -���E0Tl���G�Ƈ�8���8{�����"t�o󇟥�p�k?��̦R4?���Vΰ���nF@"�Z�||�2S��}� ��� �f@6�?ݩ�Q�f@6��̀ld3N��?�!e�ކ�艞l/2}B΋�x 1����@��tP�^ЖQ�1�8*��4�8��rQ@�Ʃ�lwT�vjfa9�G�?*7W[)�("�x�q��5�;���C<�8���;QP[G���C(�W)� � IN�n�� ׀�1dV�1@ c����fP� -��e1:��( -U)=OCUmg6�a�ߑU3R�~�3 ` "]�#8i��,��� -[#l��5�7 l��5�֨7B�� ��}D�Q8D����F�c�TY1z�����Y��ȶ����9�*�nWYy���Xt��:��Ygkic�n�v�[��*�,�%��%��ө���b����`�jzw�j�d�\�U�;�����ku4N"���D^�ז� fӈ�x�~������&N7�n���y�a�[*��<�������9��y�i�y���\p��<����|���sۜG��5�Q�ts�#���� uܜg�y�ʸzrP'�e��%2(���{C��A� *dP!� -TȠB���� DT� ��9�dV�YAf��2+��Q��P�Q9! B��H#y0Ӷ��ڶ�����ѩ���ݼ����eA�E���w˲�b?Q��t�a�i�p�1���c��l*C�lN�� �YL�$���]�;���O���:��)�T�:��J�S�h��� -r*ȩ ����ɜ��:Bq ��S��&���do$U�T������r��0��ڒ/ú\�c��dK c��*W�H�r$RP��c�����r?Y�qF�F�rr.���B�WGʉ3ʉ�1�1}8��msl��7��C�p���s�ܳ�8t�¿d�/��#�ڑ��ȵ#�V���p1��Q�#�|x#�����}x���HM�� �Y�(=7�n`��E֒>�it�;����W�P�E�Pe���C�/Y &����-�qt@kb�L;j����g��*S��� �&�l�y$  � -�t�cSm���;Uw*����\Ӌ�����@у��n���_�Dz?(���|�66vX���jk��,��[g�6�'~�k`�5�;t�{ll��-�ɭ����G¾'�8���8�?��N�H:�?��?r�(\�hH��B�p��!��>�@�Yd}��A�7"��{G( ���~O��eEY�zT �>H�@�y#�d��A�˵����t�����2�j1�����P}(1N¦�% -b`u�5��)���ut.��1W�ܧ��(��.�O�2�a(k�.�s�.z���٧����������r/��}>��{b��+��}�ܓp�=Ѧvܓ�FX�瞌1O3�Hyi����N$�'`��y� �'`��y� �'I�z��H�N�;�$ϑ<pz���l�mO6r��N��v^��#~ �:E��)��a~@B��h'M<�)J�(<�I��v�G��j��r�U´*�G�㰭���g����^e�ͱSA��Ѐ��0A�}�����5�%#�E7QD� #�^K*�iS�D^���϶�$�.�sM�YGpX�;���"\��.��pY��`��2V�T[ �L0e��gS� �$��/|�L�Q����`��|�>� -6�Y�`#XB�`�|0� - |0����<>��W�O�8��E4<ۡH��E���|�"�y��"ĥ����M7���ɯjw�s�E8�\�:��p.¹�"��.�\�GL��%��K���`��"�:Y�_ڱ�1/�ޭ�G�p$‘G��?E4M#��p$‘G"�p$��ҳ���_�o�R�.DQHX�Xm)�|6��BF5��G�u�Y�$�Fu!�i��lp�E�jͬk��0�Sl�o�����9#�[��;3]���>�C[9F�,'�r��#�s����<#�u� -��c��8�X�c!� LG}�v�G�_�&��z�G�f�l�-�� ���&�ċLG��� �x��I j���5s�2� c ����4���P�UЈQx���g��̦�'aCs�3��� � $�%π��ԉ��>M+0 +E�e7�BA��٘鉉=��ll�^� %Z�D*Hz\�|���%�A�PY�7=U� &!�%�̗/��?�m7��e��/�)�>��|Y��|����������������O�u�lg�y����m]��������d�P%uQ�MvG�����l6��j�ϟ��i6{}�UR'�w��M�̮��t�'��������,����v��e�)�ٿ��/��i��������w���%���L���/��I9�һ�<��vWT�R?�� 9r����<��Ԡ|���������/^��u�G��ۤ\g�[;�ٴ}��_����7N�^:�zVŻ���$��Z�.�M�䭑�dS�� +U�d���S��<��x#7Y]=�˻���}��o������PW�M��mmy����h�9�e�:�8�F�J�9������Vk����eUv�I����u0��?Ls���YC^�n�L�W;�H��T�b�"���Vi���9r���a?�}��L?��W[���&yH�����e�0{��}ΫO����tY?N��:�WI���g-�}~����O����?����pB�bʇ��|v��C4�4 ������y���l\_�(�$�|�I_���_,�%��+�{$g4ݤ�xY���=ʤ�k�z�G����<���>�sUC�]�����څѥ�3�F��&&�HGN��-�㎽v�">�J�<�e����_�Gx���_�H +mj +m3/`�Jn���P����fR��^Qƈ�S��O��Z]��, jo ��`g\���^�����bN=�5��}"�ch[M�ס�T(]BK��F�oY�v@��o˽��z���ʽ�0_����A���R!�? �~y������Yv Swj䑑w��m���� +� ��F}��� o� =>L9�Ȭ�����,�/���ɁY_<ޤ���"{#���Z����<�K���^LL��hp+/��]��zev��n(Xz��>�^^V'�7p�x3}|�r������MM��� r�! +K�-�Rm;"�_Q��c�čK����w>�‡;��b��|��Mq��U��C��v�a@"�cüfn|ߒڌK��ρ:�p���)&it�vH����v�ܞ���"NN�ڀ���.Y����| u���ܓ=st�*� +ė#��Y�cI�"�� ���n�m�yP�����YU?�h#��IK���H��V�h�I�8�l57��җ�w��:�N_��?N�4Cִ�ۻ +O�o�C�̓OD��GoM +�O{��0l7�j!�"���)&i�)f.w��b슱+����I`+��b�]�$�����oj��u�TU��MOjN2~8~3�'Q�h���YϤzj�Ǔ�'i�t�7�fK'�=���s�U���iU%��' ��eZ�'��5k +Zhݻ~���@����Z�7Y֮����nW�O>~~�rn�إe�ĵ]�z*0���]ȓ��M���sf�(�v�ֿK<\�mv�7�n7�yQn�M|�Cz�;�yQ�e�v��kqWfi9����܁Z'���]�y���6[���Inb��������Q�N�TG}��$��N!<��Dֵ��e~tj��YsgiX���?-���INW�^?�Φtt�=�9@�c��m�v���� +p��f�k�j���5� ��.� �2=\��dy����S�z�,6� ��.����jq�n;�V�� �2������b�t�q����|(� �`|)!���By�S�K]U=]��oPb+� ��D%{Vp�;�oi1�ij֎k��)&��u�F��� ���G]Đ���\��)�Z�M� +�.�[��ז��#A$��O�H�,�k�ѫBF8��%��g9;W ��4�P,�][|N���!( �%�LK(��w�w�聩�>J&��5#�c��I�iv +x�\J�nS8��$:�2� ����р�>��bg����]��أ��(�EL-����n�<�Ǩ�::��l��=���}O�AL�b��&�bhLq_�����a�?K��j�F�YB�2ft%�+ H,|�Ă�!��W@^y��W@^�c�՞S c�0( �+�Q�{��uQ�j���qF�3����A� +A\q�W@\q�W@\q�@OD\��W}��_��oY�vEB{��:�}���m* +M ��ӐH��o������g��p�XAX�������-����Hp�T��� +���z<��/��ca��2�xc�a��+)����'�<�KǛ4_�����D�dhau+اn��BǛ�ӛ����$�/�jd�A�=#�c��m�_� &��='M������v��C��}�o�2�%�?�jF�fE�i�M��__�U�����b��d�j�T�{5�)����y���z���W��k����k���0�x�Х?�x����6�b��U#5��uN�c�����GqrԣɃ���qK��,�����@��7�꤬{w���������L�C����A��A˃M0�������3TN0{��P-n˜�w)#�����yH����䆤˩�)�J�r�����&>V��m��� + 7@� �+aa��n���~v���� ���$���`�G�I�� +B�܏�4/���r��a�Y&��1:��3j�i�x��� �Δ����Cl�R�8�38Xo�fP� �O@}�P����#;GT'�:1���!� ��Bo*��O����r1Z��,���&���,�>ա7. wy����D��Л}����z�)�c���"p�A��O�KS�V��!�Bp��J�#�BpÀ�|�����@λV�n������!l�\��G��֌揲��+�S��Q۹���#�J�N�{��T�w�K��!�&;���FXam���FXa�Kk{c7IlOehv��1 ƀ��A��8m�� +`����iSŴ�yb��)�M�O���9���mP�_05;�k���Fal���Fal����*$�VWa��{�al���|ԨǡD �A ��bؿ�I�J��l>����$�߲<�f����6qf*H�2��̈́�JJ��<� ���7)�۸����u���0O+��oF +�\Qf�#���5zⵑ��.��V~�X6�1���7�������G��ُ|'eY��Ҙgy�x���ӷٚ��� -,��;h\x8���A9{[��+J�㨜��F��ɀ�W�yV +��Q9۩�����l��Q���J�G�8���C<����� �x�q��!�xܩ���:"�PBqÛIi�%N(q7p�_d�d�!�)����:� M��4.S�m9���1'�ܕ���|���)�Z�G_�tc�TuQ&��t@o��-n�-n$ � y$ �T�h�j�k&��(�vͮc����ON�c=��w�"�^�_�IY���S닻��md�:�1::uo� !�;LК' "`�rF��w����>���b.B����S�$�4aQGcWG#��F�`�\�C���Mv`S�M +65��P7�lj������ |�m�6�Z N58;�� �T�(Հ +`36H�"Y�d�N��K��<��Z��� ��0:���T? �tH�C:�u�M9�+�G���pʾ7�T��d ��ZM�N��<�Ս�±�ܷ�/�r0�h~��w,o�d�?Sf�}�PeK�8�-���?�U���?�����h0�[��1���V��,/�Yu[�ϒ�f��]�����g�����z�V������S1�1w�&��F#����O�����S�� +i�H��j��$�K, +sI��,P�HD����<��|�/�=�#����y�:EK+������;}9��ˉ�w��}k�s�^)<��[�PF|���b�C��2�I�V��njfE1nE���h��,E9 �a>X9��!Tà�0��A5 �aP +sd��R?�a�P�B�(Ȣ ���(b��ۆ;""���T��X�}F��"e�H�9��Yv �M��9}��GA%B���G���T�i�C�9)�$�b4$�9�Ŵ��< +��9:�g.-f1-�,�ow��4 +�>�Re�xW;$R�H��2)m&�C; dR�IA&�dRNfR���bȢ �25Eo�]�l�JA*�åR��)H �k,�Q��p*�+�<������9�h�D +)(H�Ђ?pQ�b��#�~�^xE=��v�n� I�+�� u�qF8��c�$p�û��9�77��B�p���s����v�_���d}̑KkGx�]I׎\[a���4�I6?R�Ʒ�*�۸߇wM�����QF�F鹉7O�(����բ����F濒��(��:�׮���d��4�3V�) o,hM�;ӎZx֎�G�)�<"a����N�Ŝsr!�2 +\��αk��y��짱���ҹ��<8;���jA��8 4瓏�4�y�g+4T�i*IH��5�xG�5��������.}S�/��?�U��_�Hط�g�4{�F~H�{��C�!_�A��i�o� 9�4R�:|��I#�!i">�� ⃈"���;B�l|��B�&+�:֣*�A�r��x%��n��|�B�/D�I$ֆ��'L44 +F���,�k���ht�$8�l��C遉�<�Ο,�X�1$����⚯��R*¦� +eν�0Tv H$����������� /θ /�C%���U�J�����f +�D�g*��)�sI��f��]�D瘡�& �$`��I& �$`��I&�AR��:B�,�‡��p$��A���"�c��ɖ@�ɇ���B#����1�¶�\(_�""��#�Ή�`� �����"�Y$���.'N �J��|��ȩ*oT�#A-�� +¢h�������9��r_��.�����n�l>�oe�kRMX�p35�������7�>�1��(y�����=�dϨ�&[�ǎ�CA#6���;�};�ϲp�( |)��$" +�K�)�$���H�ųm�!��5�g��aMﰎ>�pYӻ,υ��y�����k���-�u�PZM�s�Lq_m�"��_�$�S��$����/��U=oA���,�� ,���kz��` �]���@<}( +��E^x�C�6��ⷶ���l�ir( +��v*��.�����_�� �"��p.¹�18�\�s�E8]ܹ�N�,�Η,�EA� z�d��:Y�_ڱ�(��l�{�p$‘G��?I/M%RE8�H�#�D8]T�Y`�uO�+�1"��� ��6��-�&"�0ژ�\��uL�kT�R��j�Fךy�5C��u��A������MW���>�g��n=8S�o�,t톯��m�lɲ��;�����X��@���D �gı�B q,h^:jd��{D�T(_B�o xl��.�A��}��1l�<^e:�T��� O�Z�P�5ƨY�/�dc��f�ޠ5@ +��?T�? πz��h;�y�k�oMs�3��� � $�%π��4���6Mk0 �4�L0 �4�L0 -�4�'���5���+-C � ֵW��.e��!�B��3^G�zԡ���XH��uh�y�:���C;QI�]�4L�c�:�����⺞Xz��|.'fa��� ��}���#xqxqx�͋�.�xG�o����.�uگ�zM-1U�s��i�S0�O����fVL9�� ����:Ӯ�"]���!Ç 2|� G�>d���C��;çv��L�!����C�3� -�|O��&��E�Ű�?�Oo�h�*Y:(�t�u_�EZ�����b�_��dy���?u�aT�w.f�Z�>�iT� �\T�q7��m��Ä�0c�w8����"kI٘��N�FL� ���`ҏ`��"���Z���O�ʐ��+úS���W���Ԗ�}��G1��'x� ��-�䨯�C�(���W����+�gCƓ�)է]%�|W)�wq�ro+|�U�m��*���jW���ˡ}{o��G� -�CœzIm)z�4��!�ae��ǘ���w)VĨ+���}�cuiqT�d^%X�`5�� V3X�`5�� V3X�Γ��ud���?�2UV��`�1��"-�E�=���r����{��ݭ�0p�7�=��a-� �j�5m0�i -�?�o7I�n���\ `�,S6�N�P��|��%�e>ϴR��8��\��|�������S�xH\�4@G]�7B���͝�%hC�(!�PF�����5խg�*���] �|���  (H@A -P���$�  (H@|�9$3� -�  � -p����jP��8(Hn�$>��e��l�@�"�Yv��$.���>��x�lQ��6(�x��Y���dsȤU��i��1�}V�=P�5�8���Rj��Ɯ��� @����U�z�֪?W�Qm�M�Q)��mt�)^u��m�o��]�z@������t=��]�z €�t=�`�@�]����P�5��p�z7� -t=��r��_��./���1�M���"�<.�p��ؠ*�ʫ~���")��G��j�L��F�$�7��J���)�0)뮣��9 r��J2.�`�Qj��)/�i�{����.K��%U2�G�HW7��>T#&�|�͓�����I�ܮ���(X���S �!w��P�F�{�u�����߃;l �'i�9�U��[m^�?u�#��f�����;�<�2�W�g��T�r4����{��|��*��ygꥬ ��RfT�X ->��k�K�~v&�V��4��bhUکj�:6y�V��B}�P_��*�W�� -�U��B}b����� -�fP_�9��n���U@ -x ?�:eh�'����Л<)�?�ϓ���,O]Z���z�R$K�,E��R$K�,E��R$K�,E@a8$K�`�R �A��n�,j�$K?z�T�PTʉ�u�"$�u��2�LyR�L��b>�Dz��KG��YC��eC?�m-����ʗ"t�C"�T$R�HE"�T$R�HE"�����V2��: �X�1v�m�l�&wY�Z���;��]U�.���ɀ��2hf����P \�aB B¥�p��4��ɡ�4�`]@|7��*)�"L�0�t�!L�0�t�!L�0]?��D"@� t�dg�Q3ʖ�t9���`�W��y����n�T�9@������n��m�6���l����hh݌� $��7�]�K�|���_0I€ -�n6q�Y���=˖a�����"���|{x#/�_^�/�;u��?:��ЁuQe�U�E�xx�W�Ǚ���U�Y����7��1 -e�l������O���X�ϠƠ���֠�;��������of�h,*�����q:�U�Q��j;�}��Qz�S����c�{>��׻�B�<)���\C-�1���Sv���{ �1���{�a�ջ�3�DzS�?vl�#6�]���B;��J*�U. ;�A^�5��%[~I�Dz+|�Ȝ?XQ�0�B ��8.IPgVx��j�����J���R/�t��:=#�����ˋ�%u�E��N�F��Av�&�Ð�9�ݑ��'����7���x���!�iJ�vBTV3��MӝW�s��i9739Oϥ����Ο���r;�� ���r;��?� �3$�c?dw�eﲍ�v�����}�I�G�*D��5Z�[�B�D�PR�Y�A� wц�4H�r���������0�QT���.=d� oMyZ}#Rǩ�g������6tˌU>OFU�8w!G�kp"�]�a�D�aX���:��H����C�����4�'a���C͞�WM�E���.��wTm�����A$"<�����Q�P�`D�ȱ�z�DYT{��9���T�j"�� -�\�����ʅ� o�7��xފ�@��x���K5 �q+�1�hFNż"�!��(*���EէL��a�3�Q#6��� ϲ���y�����1j�{�%Ԯ� -�� -���� -���>��^$�M�]HB�Ӭϋ�Po�gӈogٓ�����j��Α��ʁ�r��9�;y#�)-���?�F�(��DZi%F#l�e�7�\!�Т�S��ӮӲL�)�&�7� �M�tw� �M@oZ����D���n�xN9q(L@K��ī<.�m8�fpz�� -,��sW�k�9��3 :Xu(�]���1~�z�L�RR]j�TFogID�hs6 -�]'%�����:��aC�8���1>�C|��x�r�}�x�13���5��u���L����]Y� -գJʯ%� z���� z���� z����M�A�@�'pԙ8�j�p$. 7h�]q��'��z=U_ ����n��u�cc���bغC��M}Vw���9B��a�zp�3�yJ|w��I� ��@6�d��4��F �l��F �d\��<"��P6Br}�S��r�.�*D��v����@ ���@N�U\+�8H8�����ѣ�1ζH�� �r��A��&eW�~���?�"��,]-J �r�cӫ�䩌�Mr�J��|c�,�r^d[�r� gr�u�Ncm�P�pU� -�h�;��CtGW)̦^T��ت��� ��I�B�Vu�ZaT�pW�Q���T.�r�H�r� �\@�*>\�� ([���&}��*���Q� �ʽ����-�$�߲M����� ����]�͂sAD(7�$R̦A@�PG����S^T�q=��Sk� -b�����p -�zNy��D������؉����*Wg�j�����X��;b��?:B�� ��QKlQ�IQ�ǿ6ά/��������Ώi���f��3z���O���X�Ϡ� �����;ķ�����}�E��*���� -� Z���2ѹV��b�� -����X NjՑe�Qj�NI�W�I��f-Uʌʠ��{�jp��t� ���7�X=C�KV�4�/5C? �����>^������m9�#?�Ƚ`��V~��3��G��J��� T�6�Ik"$BX���5���1�|�����̮&��y���W_ -|5���W_ -|5���W3џ�{G��@W] -J� �9P -pP -�P��R(����ȹ�)����\zY�Q���DA�^�Ȣ�p�7�BϛM#F8�|g�Ɯ����6��[�$� 20�/�@Z�"�1���[���={�OD�\���J� -�l)$B��Tr��,{C-W�����9��b�&�}$&[��"O�� �m��>��rﲚ�� ��?���a����Έ�3h��ʖ�c'������A����16�Yib�v�~z�_�C�v;�#%i��੏��y���jc�i@ ӜX�غ��v"��9��a[(���D�?9�!��I?���Y��X䢟�Vn������X��VZ�����I��K��SO2g���C͝{z-,Z�Npi��~�N0j[�E4M# k�Z[f�P����ھ7r�ck˲��p��[������#��֭ﶿCh�[���>���u�p�5�E�=E^�vk�43w��Xፓp�i��M��Ȟ��<��'����Ǩ�2r�y�!���r.-��u�w�;��3L� -�@�f��0z4�}6���z�@ -8s�3 -�}<�P�����}<���3� 8�\κKZ3��Ja�3��¨4�T:�:�cV�������Xim�]�g�k��fӀ��q����$���f]d��:�����#$���FRIm����ݾP��Hj#���6��Hj#��� �m����'�M d�4�'�2>���MN�pe`_�랅[ -���1JeFk�˰���""�j��M�D��\6k�A�@�^�"�I�Bv�󐝇���h"d�!;?����Q��"�#E*���)R��S��A.��ɗ��Α�gt�L>��g��d��b��,���S3��3f7����^ᄆ ���G>�|���G>�|���G>�|�%�aA>�n>"n g�5`� �Ԁ�:`�X�`�N�2�{�I�;�cVV���7��z3�����n�I0m�<�r -�R�@� $��g��0 �0z��AGa��8r>�*�C�x 錜� 'IeMg��{��(�g�%ڟf��V�.����ҕ�<;O�͓{CL�DF�!���k����k�N����O.@L�'�'�ш釞�?1��y�<�ş?5?���E����7Α�i� \ No newline at end of file +�4�'���5���Z�&� ֵW��E��h +�$���2��[�u��XH��uh�y�:���C;QI�_�4L���t̋���u=q�[�TNLæ�����xquG������?��.�xO�o���\�:�W���S�s��i�S0�O����fVL,�� ���-�X�i�q�n*d���C�>Ȅ#Ç 2|��!�ן�S;�s����C^�C�3�����Q�MR��� +�a�~������/u�tP��뾔���s����b�_���d}�M�?u��� {�0��7���N��d�岾���/]�&��1NžQ�p���e֑8<�1=x��x��1i8&�a>�`׺��'x�W� |e�t���ʰ���Ҿ���(&����9A�a��&���l,����J��z|%c6d��1���� ��w����s�{[ᣮ�n� W�m�v�����ڷ��|��R^Q?$ԩ�Ԗ䓥�< �h �p,Cא�<��x̾K�"�R+Z�&:V���ʜ,��,gV3X�`5�� V3X�`5�� V��d�~�~d���1�L��`�f�1�J�e��vrr� ����fjw�/ �7��yO$uXK'�j������6��tn��y�m���1�&������>�����XfZ)�pc�.� �b�M��U���E�����% +�S��&���}s�e �}*J��e4��XS�zv�"A��0�W��)����> +P���$�  (H@A +P�����CA0̠ �rP��7(Hj�� �����AA��\|�� +��� �5`�AM����S���d�j��A)��ϦX� ȘC&�봼MH8�9pn�J�р��1W�Y�t�"P�5��4�2� T=>���V���\�F��W�F#q�n�SL�Cwݕ������t=��]�z@������" �A��f���9��n��z5@ +P]���p�@��|.>�E���o��n�cܔi��R��p�� +�>xU��u���r�N[����߾�(�����xQ���)��(j�����DcM����q�c�R�5�Oy�O��3�=f7Y���-���?�U���U�Ž1��l�l���M�����z�NWGy��4`V�b����7��.R����c��?���qK�>Iۈ>�1o�u~l�yq��;�,�\S;�7�yzev�<���S���g/�����\t��+1�o�gꥬ =�R�^D�c)�XR�i/e�ٙ�[�V��ߊ�Ui������(�B}�P_��*�W�� +�U��B}�+E��U� 0��* �A}p�7��j���)�<��)O� �ʓ2���<��������=ՃH�"Y�d)��H�"Y�d)��H�"Y�d) +�!Y +�3H�9@��� +p�d)P� Y�ޓ��E��D��X�D�.�W��GS<�)Ӡ��<q���Ӭ�_ಡ]�>e?���]��HE"�T$R�HE"�T$R�H&��������: Vg���&���&K7��߁`����#vQ@��2hf��^�s�� �6���En�uSL�$Z� +��� ��I�a:���C�a:���C�a:�醑��&:�C� �8���Q���U\�v��A���.{�nPe�9gDN��;`L��o��[��]li�F! ��'���͘""���J7� t鐯��� �0`c��y������Yv �Հ�����m���y�����F}�����F����ô��7�.�������,�/�����x�I���)D�Fz?��l�|��y��v� �������z�~kP� +�;�M�-���s4��]Wj���<��Eo�o�%r�X���Y�Ud�r�R쿙O�`�}S�/o��V��ߺ�*1A'B���#�i�'#�� ��[x� �����Lr�~H\�()�e#���E�J�^LY]�we������b L�B��o��yI�Z�w�jձ�[ u���N�9�J��7�.�v�80H�J����7��\k���}���$o�q�C � �J�2��"��l� ��-O$x��C?�+f`�bz��h�d0׭@^��Z�C��T�3't��s� +�5cS,�I�.Ņ�]��G�#8�]�adT� ,E�K�Y�D�|I����a�|��F�I�.p�X���U�e��n+8��U��'�j}��壢)|T�U#(T:vSO�<*O���5{n7U�����B�*���1��r!���[�M�tފ� g�V���j@��n�SL�4�*��yI�#��(*��3��O�B6#�Q�F��t �O�e� �����Q�5�=�j׿������AĆ�AxB~������� +���x�Ӭϳ�Po�s��h�G��ٕ��j��Α���#�I����d��+ʤc���K)�H��rN"��6�2��.��X~�)� �i�iU%�����'~����' 81q��Cn�Gn�q�xN=qHL@L�����".�m8Pp��,������/@ +�� 6�ر �2`��.�t��S%�GKB겳�<�eh��~�Sy$�m��ǞC$��OR��N +"���׼5�����:m�H�����L������j7��:��VHU#U�T5R�HU#U�T5R�HU#Um�qS[G��F�i���Qg�l����8@� +�1ƍ�,o��T}%�nȺ]V֭'�-� +c{g�a��Iy��4O�7�*�>��c �UZ-�l7i�p ����o�mk#�0�r�U�L��#�9Dwt��b�e��c��c.�3zr&U ҭ�[aT�pSmQ���T.�r�H�r� �\@�*�]�� ([��]���U�Ԉʁx��܅E�^I���_��oY�v��B��\^II���@��+�H,�A@d��ftl�(�۸����u +�f�込G�9:^��SQfѧ#���5zⵑ���.ԙ���l0)<6����7������G��Ψ%���,���_���7i�>=���H��4V�>_����/��z11��3����~�� +�;�M���}�E��*����D� Z���RѻV��b�� +����X���c˔�^�"�V�A��d�TʌFA����b0�7l� �F��Hm��O�������f'�;#�ࠇpܶ|�3"��,o�u~�0<�0b�:�Ӆ\W:�Yib�n�~�_�!n��ב��pOy��Gl�N�`���<�՜X~Pk=�p7��;�����D�?9�!���0o��Y��X�b��Nn�����X��V:�����I��K��SO2g���c͝{z,Z�Npi��a�N0j;�I/M���n^�-�v,���� ~��9���e�v����v\��_���D��֭�v�C��[���>�����p�5�G�=E^��vk�43w��Xፓp�i��M��Ȟ��<��'����Ǥ�2r�y�1���r.-����w�;��3L���@�f�0z4�}6���z�@ +8s�38{83�2f3��?���3� 8�\��KZ3���l`���QiΩt�uxì�Js�Ik�S��uv��-��X[�J"���m'i��~�3�"��נp�̶f!���6��Hj�'�on�����FRIm$���FRIm�M�l����m�?дDV@C|�C�'�߼�������Y�ՠ���Q*3Z�> +��.�p�Ao75 +zt٬��z�\&U +�y��Cv��o��������/�󐝇������;Ghg_��T�:�@u���L!d:�F� ���k_^Q��+9о �6��/�~D$��U �\´c�]l�ո�5� +�P0���e(���&�lX������[`s�Š�S�ReD9k�[`��+����q l�������er,��R�uR}��'-�&;d#��D6�Hd#��D6�Hd#���7�H�T�SANejO]� +p� ��NC�9P�D$Pc��2�4ђ�Nր������G���n� �L Ah��!�k��~$�+���1͎q�'ꞨD3R���a*�C*�t*_����L�A�?y�L��*��|��|��L~[V�$ Β�;5�L>�v����5��|���G>�|���G>�|���G^����=�Z@ +P R�@ +X0��� �z� T��j�JY(+�s�J�z|���>򊲐�~��5�)�`,%$�`@���z� � F�ax��`L9�F�H�ԏ �_!��m3�6dF�{����YT��'�Eed�6�(������/]���yq~6/�.�����-)]�%� �o��� +)����txrx���.�)]-�N<���ӭ�2������R"��疓n93Nz4VKԈ��@Z�Ii�t�A@�Izi*A@t�A@��5�9��D +t���^=��Y��N�1p�ɶ�� �A��8��+N������k��9@��G_�r�c��jYf;��rp�r� '�f��0�*� �"�c���l7�7�3�q7lm���b� + Fisheye: Tag 1.3 refers to a dead (removed) revision in file `openacs-4/contrib/packages/simulation/www/siminst/sim-tasks.adp'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.3 refers to a dead (removed) revision in file `openacs-4/contrib/packages/simulation/www/siminst/sim-tasks.tcl'. Fisheye: No comparison available. Pass `N' to diff? Index: openacs-4/contrib/packages/simulation/www/simplay/control-bar.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/www/simplay/Attic/control-bar.adp,v diff -u -r1.3 -r1.4 --- openacs-4/contrib/packages/simulation/www/simplay/control-bar.adp 20 Nov 2003 12:57:00 -0000 1.3 +++ openacs-4/contrib/packages/simulation/www/simplay/control-bar.adp 16 Dec 2003 14:16:30 -0000 1.4 @@ -1,6 +1,6 @@ \ No newline at end of file Index: openacs-4/contrib/packages/simulation/www/simplay/control-bar.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/www/simplay/Attic/control-bar.tcl,v diff -u -r1.2 -r1.3 --- openacs-4/contrib/packages/simulation/www/simplay/control-bar.tcl 20 Nov 2003 12:57:00 -0000 1.2 +++ openacs-4/contrib/packages/simulation/www/simplay/control-bar.tcl 16 Dec 2003 14:16:30 -0000 1.3 @@ -1,4 +1,37 @@ +# an includelet showing messages and tasks for a user + set package_id [ad_conn package_id] +set user_id [ad_conn user_id] set section_uri [apm_package_url_from_id $package_id]simplay/ + +set message_count [db_string message_count_sql " + select count(*) + from sim_messages sm, + workflow_case_role_party_map wcrmp, + party_approved_member_map pamm + where pamm.member_id = :user_id + and wcrmp.party_id = pamm.party_id + and wcrmp.role_id = sm.to_role_id + and wcrmp.case_id = sm.case_id +"] set messages_url ${section_uri}messages + + +# TODO: decide whether to replace direct sql with this API loop: +# get a list of cases in which the user participates +# for each case, do [workflow::case::get_available_actions -case_id case_id -user_id :user_id ] + +set task_count [db_string task_count_sql " + select count(wcea.enabled_action_id) + from workflow_case_enabled_actions wcea, + workflow_case_role_party_map wcrmp, + workflow_actions wa, + party_approved_member_map pamm + where pamm.member_id = :user_id + and wcrmp.party_id = pamm.party_id + and wcrmp.case_id = wcea.case_id + and wcrmp.role_id = wa.assigned_role + and wa.action_id = wcea.action_id +"] + set tasks_url ${section_uri}tasks \ No newline at end of file Index: openacs-4/contrib/packages/simulation/www/simplay/index.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/www/simplay/Attic/index.adp,v diff -u -r1.3 -r1.4 --- openacs-4/contrib/packages/simulation/www/simplay/index.adp 18 Nov 2003 09:44:32 -0000 1.3 +++ openacs-4/contrib/packages/simulation/www/simplay/index.adp 16 Dec 2003 14:16:30 -0000 1.4 @@ -2,10 +2,4 @@ @title;noquote@ @context;noquote@ -

- To-do: show all active simulations (records in sim_simulation), - including number of cases (records in workflow_cases that are related - to a sim_simulation via the extension table sim_workflow_cases). - - List of currently active simulation cases: -

\ No newline at end of file + Index: openacs-4/contrib/packages/simulation/www/simplay/messages.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/www/simplay/Attic/messages.adp,v diff -u -r1.3 -r1.4 --- openacs-4/contrib/packages/simulation/www/simplay/messages.adp 20 Nov 2003 12:57:00 -0000 1.3 +++ openacs-4/contrib/packages/simulation/www/simplay/messages.adp 16 Dec 2003 14:16:30 -0000 1.4 @@ -2,7 +2,6 @@ @page_title;noquote@ @context;noquote@ - Show all tasks for all cases in which the current user_id is a - party, grouped by case. + - \ No newline at end of file +

TODO: Show sent messages in a separate list \ No newline at end of file Index: openacs-4/contrib/packages/simulation/www/simplay/messages.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/www/simplay/Attic/messages.tcl,v diff -u -r1.2 -r1.3 --- openacs-4/contrib/packages/simulation/www/simplay/messages.tcl 20 Nov 2003 12:57:00 -0000 1.2 +++ openacs-4/contrib/packages/simulation/www/simplay/messages.tcl 16 Dec 2003 14:16:30 -0000 1.3 @@ -3,5 +3,6 @@ } set page_title "Messages" +set user_id [ad_conn user_id] set context [list [list "." "SimPlay"] [list $page_title] ] set package_id [ad_conn package_id] Index: openacs-4/contrib/packages/simulation/www/simplay/tasks.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/www/simplay/Attic/tasks.adp,v diff -u -r1.1 -r1.2 --- openacs-4/contrib/packages/simulation/www/simplay/tasks.adp 20 Nov 2003 12:57:00 -0000 1.1 +++ openacs-4/contrib/packages/simulation/www/simplay/tasks.adp 16 Dec 2003 14:16:30 -0000 1.2 @@ -2,6 +2,4 @@ @page_title;noquote@ @context;noquote@ - -

Show all currently enabled tasks for the current user_id, grouped - by case. Each task has a link to task-detail. \ No newline at end of file + Index: openacs-4/contrib/packages/simulation/www/simplay/tasks.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/www/simplay/Attic/tasks.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/contrib/packages/simulation/www/simplay/tasks.tcl 20 Nov 2003 12:57:00 -0000 1.1 +++ openacs-4/contrib/packages/simulation/www/simplay/tasks.tcl 16 Dec 2003 14:16:30 -0000 1.2 @@ -3,5 +3,6 @@ } set page_title "Tasks" -set context [list $page_title] +set user_id [ad_conn user_id] +set context [list [list "." "SimPlay"] [list $page_title] ] set package_id [ad_conn package_id] Index: openacs-4/packages/simulation/lib/messages.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/lib/messages.adp,v diff -u -r1.1 -r1.2 --- openacs-4/packages/simulation/lib/messages.adp 18 Nov 2003 09:44:30 -0000 1.1 +++ openacs-4/packages/simulation/lib/messages.adp 16 Dec 2003 14:16:28 -0000 1.2 @@ -1 +1,2 @@

+ Index: openacs-4/packages/simulation/lib/messages.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/lib/messages.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/simulation/lib/messages.tcl 18 Nov 2003 09:44:30 -0000 1.1 +++ openacs-4/packages/simulation/lib/messages.tcl 16 Dec 2003 14:16:28 -0000 1.2 @@ -5,23 +5,28 @@ @creation-date 2003-11-12 @cvs-id $Id$ } { - party_id { + user_id { default_value "" } } set package_id [ad_conn package_id] set elements { + case_name { + label "Case" + } + from { + label "From" + } subject { + link_url_col + message_url label "Subject" } date { label "Date" } - from { - label "From" - } attachment_count { label "Attachments" } @@ -33,8 +38,11 @@ -no_data "You don't have any messages." \ -elements $elements -db_multirow messages select_messages " - select title as subject, +# TODO: make case_name be a combo of simulation name and case # +db_multirow -extend { message_url } messages select_messages " + select sm.message_id, + sm.title as subject, + sm.case_id as case_name, creation_date as date, (select p.first_names || ' ' || p.last_name from persons p @@ -43,5 +51,12 @@ from cr_item_rels where item_id = item_id and relation_tag = 'attachment') as attachment_count - from sim_messagesi -" \ No newline at end of file + from sim_messagesx sm, + workflow_case_role_party_map wcrmp, + party_approved_member_map pamm + where pamm.member_id = :user_id + and wcrmp.party_id = pamm.party_id + and wcrmp.case_id = sm.case_id +" { + set message_url [export_vars -base "[apm_package_url_from_id $package_id]simplay/message" { message_id }] +} \ No newline at end of file Index: openacs-4/packages/simulation/lib/tasks.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/lib/tasks.adp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/simulation/lib/tasks.adp 16 Dec 2003 14:16:28 -0000 1.1 @@ -0,0 +1 @@ +

Index: openacs-4/packages/simulation/lib/tasks.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/lib/tasks.tcl,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/simulation/lib/tasks.tcl 16 Dec 2003 14:16:28 -0000 1.1 @@ -0,0 +1,47 @@ +simulation::include_contract { + Displays a list of tasks for a given user_id + + @author Joel Aufrecht + @creation-date 2003-11-12 + @cvs-id $Id: tasks.tcl,v 1.1 2003/12/16 14:16:28 joela Exp $ +} { + user_id { + default_value "" + } +} + +set package_id [ad_conn package_id] + +set elements { + case_name { + label "Case" + } + name { + link_url_col task_url + label "Task" + } +} + +template::list::create \ + -name tasks \ + -multirow tasks \ + -no_data "You don't have any tasks." \ + -elements $elements + +# TODO: make case_name be a combo of simulation name and case # +db_multirow -extend { task_url } tasks select_tasks " + select wcea.enabled_action_id, + wa.pretty_name as name, + wcea.case_id + from workflow_case_enabled_actions wcea, + workflow_case_role_party_map wcrmp, + workflow_actions wa, + party_approved_member_map pamm + where pamm.member_id = :user_id + and wcrmp.party_id = pamm.party_id + and wcrmp.case_id = wcea.case_id + and wcrmp.role_id = wa.assigned_role + and wa.action_id = wcea.action_id +" { + set task_url [export_vars -base "[apm_package_url_from_id $package_id]simplay/task-detail" { enabled_action_id }] +} \ No newline at end of file Index: openacs-4/packages/simulation/sql/postgresql/simulation-content-types-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/sql/postgresql/simulation-content-types-create.sql,v diff -u -r1.13 -r1.14 --- openacs-4/packages/simulation/sql/postgresql/simulation-content-types-create.sql 28 Nov 2003 12:55:45 -0000 1.13 +++ openacs-4/packages/simulation/sql/postgresql/simulation-content-types-create.sql 16 Dec 2003 14:16:28 -0000 1.14 @@ -261,6 +261,7 @@ ---------------------------------------------------------------------- -- sim_message ---------------------------------------------------------------------- +-- # TODO: conststrain to_role_id and from_role_id select content_type__create_type( 'sim_message', -- content_type @@ -285,37 +286,26 @@ select content_type__create_attribute( 'sim_message', -- content_type - 'to_case_id', -- attribute_name + 'from_role_id', -- attribute_name 'integer', -- datatype - 'To case_id', -- pretty_name - 'To case_ids', -- pretty_plural + 'From role_id', -- pretty_name + 'From rase_ids', -- pretty_plural 2, -- sort_order null, -- default_value 'integer' -- column_spec ); select content_type__create_attribute( 'sim_message', -- content_type - 'from_role_id', -- attribute_name + 'case_id', -- attribute_name 'integer', -- datatype - 'From role_id', -- pretty_name - 'From role_ids', -- pretty_plural + 'Case ID', -- pretty_name + 'case IDs', -- pretty_plural 3, -- sort_order null, -- default_value 'integer' -- column_spec ); -select content_type__create_attribute( - 'sim_message', -- content_type - 'from_case_id', -- attribute_name - 'integer', -- datatype - 'From case_id', -- pretty_name - 'From case_ids', -- pretty_plural - 1, -- sort_order - null, -- default_value - 'integer' -- column_spec -); - select content_type__register_relation_type ( 'sim_message', -- content_type 'sim_prop', -- target_type Index: openacs-4/packages/simulation/www/index.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/index.adp,v diff -u -r1.26 -r1.27 --- openacs-4/packages/simulation/www/index.adp 11 Dec 2003 13:21:52 -0000 1.26 +++ openacs-4/packages/simulation/www/index.adp 16 Dec 2003 14:16:28 -0000 1.27 @@ -2,43 +2,40 @@ @page_title;noquote@ @context;noquote@ - -
-

CityBuild

+ +
+

CityBuild

+ + +
+
+ + +
+

SimBuild

+ +
+
- -
-
+ +
+

SimInst

+ +
+
- -
-

SimBuild

+
+

SimPlay

+ + + + + Log in to see your active cases. + + +
- -
-
- - -
-

SimInst

- -
-
- -
-

SimPlay

- - - - - - Log in to see your active cases. - - - -
- - + Index: openacs-4/packages/simulation/www/map-master.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/map-master.adp,v diff -u -r1.4 -r1.5 --- openacs-4/packages/simulation/www/map-master.adp 18 Nov 2003 13:31:33 -0000 1.4 +++ openacs-4/packages/simulation/www/map-master.adp 16 Dec 2003 14:16:28 -0000 1.5 @@ -2,30 +2,18 @@ @title;noquote@ @context;noquote@ - - + + - - - - - -
- - - - - - - -
Placeholder for flash map
-
+ + + + + +
+ + + +
Placeholder for flash map
+
+ Index: openacs-4/packages/simulation/www/yellow-pages.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/yellow-pages.adp,v diff -u -r1.4 -r1.5 --- openacs-4/packages/simulation/www/yellow-pages.adp 2 Dec 2003 13:46:53 -0000 1.4 +++ openacs-4/packages/simulation/www/yellow-pages.adp 16 Dec 2003 14:16:28 -0000 1.5 @@ -1,4 +1,4 @@ - + @page_title;noquote@ @context;noquote@ Index: openacs-4/packages/simulation/www/doc/data-model.dia =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/doc/data-model.dia,v diff -u -r1.8 -r1.9 --- openacs-4/packages/simulation/www/doc/data-model.dia 11 Dec 2003 13:21:52 -0000 1.8 +++ openacs-4/packages/simulation/www/doc/data-model.dia 16 Dec 2003 14:16:28 -0000 1.9 @@ -1,94 +1,104 @@ ��}�s�8���� -E�e7�B A���٘鉉=��ll�^� %Z�$*Hz\�|���ɔ��R��該1 �/d�|���m���+-�,����y�n��"�,����}*?��?��"K���[�z�ޱ)�O�|����~���񑬞ʤ� ��H������*�Y -���?M&o/�H�D�n�ۤ�����J'�d����6�]��f��7�Wy1�W����Ow��>�����{�9q�m�Lo�4�z��T�/��\z���]o�2SC���!G����͘ݨR -�,���_���[����Zm7z�H�N�e�yoG}6��`�A���:����� �W��x�U�d�{ �y�J�Mc�.Y��pC��Վ.R ��T�_���"-;��1G�t��sק~8��i~u�e�M�����]������� ���7�B~���M��*�,�b1�N������Q;�l�������pB�bʇ��|���C4e, ���""���w�q{{h�P�H6�U�ƌ�V|1�JF�7̧D3���u<ϋ��=ʨ���z�G� ¤�<���>�sU}������چѹ�3�F�٘��N 8��>�[��݋x+���"{(��x�o~� y0��5��h��M�Ŷ��XcG��G��qN"�w -p�)� \0��w�D�m� �|�+�y�ctS�ؙM%�ƶ�9��fg�*F��|�<`�z��[�I[���o�ixè$��}9 - ��^\���lxD�0R�c�á_�f��E=�޳l��*�N���w�yXϷ�7�8�sѕ���?:��r�C�Y%E'E�?^>U�nw¬/��������Ώi�m�������}B�&��|4��Q�|��?�2�WR�7�?�r���>O^_Vg�wpoy3۽Y9��w3�>FspS�q���xȂ���l1¥祉Z@�?��x}C>>���p�ԇ���Fq�_��{�=f kD�p���5s����f<"��9P��m�|�I�����1���0�'�}�����6@�G>�o��b�0ΗP�ߪ��у1GW�␯p@}9B|9��=���7U�!���]��VO�~�M�yRVO;oݼ���տ�*�'o�t�;ha��;��ȾnwP��+%I�<;s�(9J�z��!��U�ܬ����u�� ���]ƨ����Tp�����$jٔ�/�jʡ' -�����L�K?"��ԓG�������tM�1�gM;�}��t��8��=�D�~q���0�gi6 -�fS�*�n�ǘ�٦���3슱+Ʈ�wŲ�`+��b�]�(�����oj��u��e��)Lj'�'?��Ǔ�Y�x��׳H=5��I֓4Y:��X��� -����9�2[��,�e������"���{̚� ���]?��q���Tr�ޛ�+W���a�-�'��P:7�o�"��ڮL=� Nj�.������{��ٹˋ�ٸu�׾^�ݗ -�� -�&/��*>�!����M^n�y�~��k�Pdi1��3��܁Z'Ƹ�m�zZ���>���Qnb����ݷ��Q��v�����w"G�����ɺ�й�N�>k�,�˝����{4������'�ٔ��������ep���]����K�>���`���>��Xz�yu8+�i�VY�t�dkyPo�$f��4@�r��?��9��2UV��`�1��"-�E��g> �r������V_�n�c���aM=@ -P��p\�p\Ƈ�����S1aSF����b�.� ��|Ϭf��l�8N�̓�p�^��+�5�@��:��UA�W�k ���뭂^�����~�[��ȺN4�/��u��-ͦR�h�Xc��_wlp�,@` Y`A�tC��OXp�O��hl֍+%��n���Z�U�O�R8������Z<�6�!�������A��\-8,v�XB���m�=�u��HDXBϴ��z�s�@L���0�Bk_s"k�2O�Ch��˥4�m��(N�#,��` -H�{A-�&!�w& lfߧ���.���wz=05Sg�����.����(�4YG���4�/:�ksN��A�#�m�� e�� ��Õ�v�?�]/geʫ��j��R�]}�z����� �#i؅���Z%��f�H�B':�� �N(tB� -��Q-A':�m[�m����i�5}��e��|��ER%�Q�~l�)���R��N0[n����Q�C�����&���Ny����(h���w��ҡ1k���G�ڔG<��٫mA�j���O���t�����y���cx -yC���kH���K�{���ﷹ磴��H1��R �z�ӄ�R �)�W�J���E@��%�`5O#�,aN�����$�+�`oy��W@^y��Wh�q5��X �0�ŅA;� -�x���=�����L5�ŗ�'�� -V�Ҹ�_W@\q�W@\q�W@\q�W��U_��d�[�I�" �=�J��>%�-sA���Δ�fS�� �l����zF���662V�5V�{��ځ��5 N�� -8��>��R�g��%��,,tU�:TF�������Z^:^����ۗ�&:? C è[�>u�=Z�̞�,�����2��J{��8 {�7�X��b�d0A���9i�W� M���������Su��$Q�ћ ���ŧ�:��#�E�B��H0Bk;>Q�9mT���Fj��k�^�8� qJqr�����K߸%U^�U�^�X�K��URT��Cf}qw�÷F��!�A3�O���g��*'���x-n˝�w)#R��$�i�j��� -I -�S3SD�\ʡF$�Ϡ6���aU��@n�jL`7X ��v� -`7�����^���d8��=H 9\��>���(nZ�^?l�M��V@���C�<)u� �t�A�N��t@�/tƔEp�b��b�p�!��z�6��њ���7y�Ƌ�B��z@�a�L�*]ċ��8��P�}�}58���H n��F.i�'��ya4{6+����=kC��_8&�ԗ�|�(5�����x -������{kp>V��+D��\!R�m ��U „�I���j��y��n�?�( Aa -CP�SD�4Ba -CP����0�ԩ�y����� ��7�p�� ���r�1p�ɶ��� ȁL9ڟ7�W�d�5Y���� �r���+*� �ri9/�-��8�9C���u��?��>sϾ��i���N oڐ�ؙMu�H3���b݌��g&��]�"3J��oɼ��� -�7p��}� --��}� -�7p��}���T0��|CRa9$�~\�#������p���Gsu����ls���[ !�|�Q�:��P������(�a�v�a'Î -�ȓ��T��|��e)���c��6O���;8�<��=�@�t�"M�2/*T�:�X���ߺb! -8�a�$R�.k�)ƞMy�l0"k�>'��.�2O��A������.�3 �P�peU ��P���-�hE (Z@�‘�#JP���\O�B�C<񸫊� �x�/k� -��!ʌW[��l�3B�M��c�����C��|wM�b�q8���@:g!�@q�!gR֠���!�@���r@˾���A ��فu �k��y�X ۫����ٔ�Z��[2���L�ҭ �&�^(;.�o��z����m��F`�m��F`��t�& ���� �.QD�CB�p\���� -�7� -��W�G�j��Am��g먶�A�fg[��,��]09;^�K���Fal���Fal���*�O��GXaD�>n�j.5�q(�lþ���U�Y$�b2�|ɖ_��o�&m�fK�hv�?n$t��fBqE$�i�(�YJp΋�>�g�~m�(1F)���qA�nT���E��=�)^c'^�J���*�]�e���[x��XX��OPB�f?6�8)�����Ʃ��U�Y��}ik��2�0�7��>�����W&����U����=��q�����ǎ����}��1��f�լd�T�ZY�I��g5C���v�Nr���8��tP�5��Ɔ/�/�/�狅�/��/�.3j��=>��7l�dw{&�t�.L\��@�d�d�d��c~��������%a�S���A>XFN�c����[d;o|�-���W�q�X� ;�[ly�7r���w�� -���E0Tl���G�Ƈ�8���8{�����"t�o󇟥�p�k?��̦R4?���Vΰ���nF@"�Z�||�2S��}� ��� �f@6�?ݩ�Q�f@6��̀ld3N��?�!e�ކ�艞l/2}B΋�x 1����@��tP�^ЖQ�1�8*��4�8��rQ@�Ʃ�lwT�vjfa9�G�?*7W[)�("�x�q��5�;���C<�8���;QP[G���C(�W)� � IN�n�� ׀�1dV�1@ c����fP� -��e1:��( -U)=OCUmg6�a�ߑU3R�~�3 ` "]�#8i��,��� -[#l��5�7 l��5�֨7B�� ��}D�Q8D����F�c�TY1z�����Y��ȶ����9�*�nWYy���Xt��:��Ygkic�n�v�[��*�,�%��%��ө���b����`�jzw�j�d�\�U�;�����ku4N"���D^�ז� fӈ�x�~������&N7�n���y�a�[*��<�������9��y�i�y���\p��<����|���sۜG��5�Q�ts�#���� uܜg�y�ʸzrP'�e��%2(���{C��A� *dP!� -TȠB���� DT� ��9�dV�YAf��2+��Q��P�Q9! B��H#y0Ӷ��ڶ�����ѩ���ݼ����eA�E���w˲�b?Q��t�a�i�p�1���c��l*C�lN�� �YL�$���]�;���O���:��)�T�:��J�S�h��� -r*ȩ ����ɜ��:Bq ��S��&���do$U�T������r��0��ڒ/ú\�c��dK c��*W�H�r$RP��c�����r?Y�qF�F�rr.���B�WGʉ3ʉ�1�1}8��msl��7��C�p���s�ܳ�8t�¿d�/��#�ڑ��ȵ#�V���p1��Q�#�|x#�����}x���HM�� �Y�(=7�n`��E֒>�it�;����W�P�E�Pe���C�/Y &����-�qt@kb�L;j����g��*S��� �&�l�y$  � -�t�cSm���;Uw*����\Ӌ�����@у��n���_�Dz?(���|�66vX���jk��,��[g�6�'~�k`�5�;t�{ll��-�ɭ����G¾'�8���8�?��N�H:�?��?r�(\�hH��B�p��!��>�@�Yd}��A�7"��{G( ���~O��eEY�zT �>H�@�y#�d��A�˵����t�����2�j1�����P}(1N¦�% -b`u�5��)���ut.��1W�ܧ��(��.�O�2�a(k�.�s�.z���٧����������r/��}>��{b��+��}�ܓp�=Ѧvܓ�FX�瞌1O3�Hyi����N$�'`��y� �'`��y� �'I�z��H�N�;�$ϑ<pz���l�mO6r��N��v^��#~ �:E��)��a~@B��h'M<�)J�(<�I��v�G��j��r�U´*�G�㰭���g����^e�ͱSA��Ѐ��0A�}�����5�%#�E7QD� #�^K*�iS�D^���϶�$�.�sM�YGpX�;���"\��.��pY��`��2V�T[ �L0e��gS� �$��/|�L�Q����`��|�>� -6�Y�`#XB�`�|0� - |0����<>��W�O�8��E4<ۡH��E���|�"�y��"ĥ����M7���ɯjw�s�E8�\�:��p.¹�"��.�\�GL��%��K���`��"�:Y�_ڱ�1/�ޭ�G�p$‘G��?E4M#��p$‘G"�p$��ҳ���_�o�R�.DQHX�Xm)�|6��BF5��G�u�Y�$�Fu!�i��lp�E�jͬk��0�Sl�o�����9#�[��;3]���>�C[9F�,'�r��#�s����<#�u� -��c��8�X�c!� LG}�v�G�_�&��z�G�f�l�-�� ���&�ċLG��� �x��I j���5s�2� c ����4���P�UЈQx���g��̦�'aCs�3��� � $�%π��ԉ��>M+0 +E�e7�BA��٘鉉=��ll�^� %Z�D*Hz\�|���%�A�PY�7=U� &!�%�̗/��?�m7��e��/�)�>��|Y��|����������������O�u�lg�y����m]��������d�P%uQ�MvG�����l6��j�ϟ��i6{}�UR'�w��M�̮��t�'��������,����v��e�)�ٿ��/��i��������w���%���L���/��I9�һ�<��vWT�R?�� 9r����<��Ԡ|���������/^��u�G��ۤ\g�[;�ٴ}��_����7N�^:�zVŻ���$��Z�.�M�䭑�dS�� +U�d���S��<��x#7Y]=�˻���}��o������PW�M��mmy����h�9�e�:�8�F�J�9������Vk����eUv�I����u0��?Ls���YC^�n�L�W;�H��T�b�"���Vi���9r���a?�}��L?��W[���&yH�����e�0{��}ΫO����tY?N��:�WI���g-�}~����O����?����pB�bʇ��|v��C4�4 ������y���l\_�(�$�|�I_���_,�%��+�{$g4ݤ�xY���=ʤ�k�z�G����<���>�sUC�]�����څѥ�3�F��&&�HGN��-�㎽v�">�J�<�e����_�Gx���_�H +mj +m3/`�Jn���P����fR��^Qƈ�S��O��Z]��, jo ��`g\���^�����bN=�5��}"�ch[M�ס�T(]BK��F�oY�v@��o˽��z���ʽ�0_����A���R!�? �~y������Yv Swj䑑w��m���� +� ��F}��� o� =>L9�Ȭ�����,�/���ɁY_<ޤ���"{#���Z����<�K���^LL��hp+/��]��zev��n(Xz��>�^^V'�7p�x3}|�r������MM��� r�! +K�-�Rm;"�_Q��c�čK����w>�‡;��b��|��Mq��U��C��v�a@"�cüfn|ߒڌK��ρ:�p���)&it�vH����v�ܞ���"NN�ڀ���.Y����| u���ܓ=st�*� +ė#��Y�cI�"�� ���n�m�yP�����YU?�h#��IK���H��V�h�I�8�l57��җ�w��:�N_��?N�4Cִ�ۻ +O�o�C�̓OD��GoM +�O{��0l7�j!�"���)&i�)f.w��b슱+����I`+��b�]�$�����oj��u�TU��MOjN2~8~3�'Q�h���YϤzj�Ǔ�'i�t�7�fK'�=���s�U���iU%��' ��eZ�'��5k +Zhݻ~���@����Z�7Y֮����nW�O>~~�rn�إe�ĵ]�z*0���]ȓ��M���sf�(�v�ֿK<\�mv�7�n7�yQn�M|�Cz�;�yQ�e�v��kqWfi9����܁Z'���]�y���6[���Inb��������Q�N�TG}��$��N!<��Dֵ��e~tj��YsgiX���?-���INW�^?�Φtt�=�9@�c��m�v���� +p��f�k�j���5� ��.� �2=\��dy����S�z�,6� ��.����jq�n;�V�� �2������b�t�q����|(� �`|)!���By�S�K]U=]��oPb+� ��D%{Vp�;�oi1�ij֎k��)&��u�F��� ���G]Đ���\��)�Z�M� +�.�[��ז��#A$��O�H�,�k�ѫBF8��%��g9;W ��4�P,�][|N���!( �%�LK(��w�w�聩�>J&��5#�c��I�iv +x�\J�nS8��$:�2� ����р�>��bg����]��أ��(�EL-����n�<�Ǩ�::��l��=���}O�AL�b��&�bhLq_�����a�?K��j�F�YB�2ft%�+ H,|�Ă�!��W@^y��W@^�c�՞S c�0( �+�Q�{��uQ�j���qF�3����A� +A\q�W@\q�W@\q�@OD\��W}��_��oY�vEB{��:�}���m* +M ��ӐH��o������g��p�XAX�������-����Hp�T��� +���z<��/��ca��2�xc�a��+)����'�<�KǛ4_�����D�dhau+اn��BǛ�ӛ����$�/�jd�A�=#�c��m�_� &��='M������v��C��}�o�2�%�?�jF�fE�i�M��__�U�����b��d�j�T�{5�)����y���z���W��k����k���0�x�Х?�x����6�b��U#5��uN�c�����GqrԣɃ���qK��,�����@��7�꤬{w���������L�C����A��A˃M0�������3TN0{��P-n˜�w)#�����yH����䆤˩�)�J�r�����&>V��m��� + 7@� �+aa��n���~v���� ���$���`�G�I�� +B�܏�4/���r��a�Y&��1:��3j�i�x��� �Δ����Cl�R�8�38Xo�fP� �O@}�P����#;GT'�:1���!� ��Bo*��O����r1Z��,���&���,�>ա7. wy����D��Л}����z�)�c���"p�A��O�KS�V��!�Bp��J�#�BpÀ�|�����@λV�n������!l�\��G��֌揲��+�S��Q۹���#�J�N�{��T�w�K��!�&;���FXam���FXa�Kk{c7IlOehv��1 ƀ��A��8m�� +`����iSŴ�yb��)�M�O���9���mP�_05;�k���Fal���Fal����*$�VWa��{�al���|ԨǡD �A ��bؿ�I�J��l>����$�߲<�f����6qf*H�2��̈́�JJ��<� ���7)�۸����u���0O+��oF +�\Qf�#���5zⵑ��.��V~�X6�1���7�������G��ُ|'eY��Ҙgy�x���ӷٚ��� -,��;h\x8���A9{[��+J�㨜��F��ɀ�W�yV +��Q9۩�����l��Q���J�G�8���C<����� �x�q��!�xܩ���:"�PBqÛIi�%N(q7p�_d�d�!�)����:� M��4.S�m9���1'�ܕ���|���)�Z�G_�tc�TuQ&��t@o��-n�-n$ � y$ �T�h�j�k&��(�vͮc����ON�c=��w�"�^�_�IY���S닻��md�:�1::uo� !�;LК' "`�rF��w����>���b.B����S�$�4aQGcWG#��F�`�\�C���Mv`S�M +65��P7�lj������ |�m�6�Z N58;�� �T�(Հ +`36H�"Y�d�N��K��<��Z��� ��0:���T? �tH�C:�u�M9�+�G���pʾ7�T��d ��ZM�N��<�Ս�±�ܷ�/�r0�h~��w,o�d�?Sf�}�PeK�8�-���?�U���?�����h0�[��1���V��,/�Yu[�ϒ�f��]�����g�����z�V������S1�1w�&��F#����O�����S�� +i�H��j��$�K, +sI��,P�HD����<��|�/�=�#����y�:EK+������;}9��ˉ�w��}k�s�^)<��[�PF|���b�C��2�I�V��njfE1nE���h��,E9 �a>X9��!Tà�0��A5 �aP +sd��R?�a�P�B�(Ȣ ���(b��ۆ;""���T��X�}F��"e�H�9��Yv �M��9}��GA%B���G���T�i�C�9)�$�b4$�9�Ŵ��< +��9:�g.-f1-�,�ow��4 +�>�Re�xW;$R�H��2)m&�C; dR�IA&�dRNfR���bȢ �25Eo�]�l�JA*�åR��)H �k,�Q��p*�+�<������9�h�D +)(H�Ђ?pQ�b��#�~�^xE=��v�n� I�+�� u�qF8��c�$p�û��9�77��B�p���s����v�_���d}̑KkGx�]I׎\[a���4�I6?R�Ʒ�*�۸߇wM�����QF�F鹉7O�(����բ����F濒��(��:�׮���d��4�3V�) o,hM�;ӎZx֎�G�)�<"a����N�Ŝsr!�2 +\��αk��y��짱���ҹ��<8;���jA��8 4瓏�4�y�g+4T�i*IH��5�xG�5��������.}S�/��?�U��_�Hط�g�4{�F~H�{��C�!_�A��i�o� 9�4R�:|��I#�!i">�� ⃈"���;B�l|��B�&+�:֣*�A�r��x%��n��|�B�/D�I$ֆ��'L44 +F���,�k���ht�$8�l��C遉�<�Ο,�X�1$����⚯��R*¦� +eν�0Tv H$����������� /θ /�C%���U�J�����f +�D�g*��)�sI��f��]�D瘡�& �$`��I& �$`��I&�AR��:B�,�‡��p$��A���"�c��ɖ@�ɇ���B#����1�¶�\(_�""��#�Ή�`� �����"�Y$���.'N �J��|��ȩ*oT�#A-�� +¢h�������9��r_��.�����n�l>�oe�kRMX�p35�������7�>�1��(y�����=�dϨ�&[�ǎ�CA#6���;�};�ϲp�( |)��$" +�K�)�$���H�ųm�!��5�g��aMﰎ>�pYӻ,υ��y�����k���-�u�PZM�s�Lq_m�"��_�$�S��$����/��U=oA���,�� ,���kz��` �]���@<}( +��E^x�C�6��ⷶ���l�ir( +��v*��.�����_�� �"��p.¹�18�\�s�E8]ܹ�N�,�Η,�EA� z�d��:Y�_ڱ�(��l�{�p$‘G��?I/M%RE8�H�#�D8]T�Y`�uO�+�1"��� ��6��-�&"�0ژ�\��uL�kT�R��j�Fךy�5C��u��A������MW���>�g��n=8S�o�,t톯��m�lɲ��;�����X��@���D �gı�B q,h^:jd��{D�T(_B�o xl��.�A��}��1l�<^e:�T��� O�Z�P�5ƨY�/�dc��f�ޠ5@ +��?T�? πz��h;�y�k�oMs�3��� � $�%π��4���6Mk0 �4�L0 �4�L0 -�4�'���5���+-C � ֵW��.e��!�B��3^G�zԡ���XH��uh�y�:���C;QI�]�4L�c�:�����⺞Xz��|.'fa��� ��}���#xqxqx�͋�.�xG�o����.�uگ�zM-1U�s��i�S0�O����fVL9�� ����:Ӯ�"]���!Ç 2|� G�>d���C��;çv��L�!����C�3� -�|O��&��E�Ű�?�Oo�h�*Y:(�t�u_�EZ�����b�_��dy���?u�aT�w.f�Z�>�iT� �\T�q7��m��Ä�0c�w8����"kI٘��N�FL� ���`ҏ`��"���Z���O�ʐ��+úS���W���Ԗ�}��G1��'x� ��-�䨯�C�(���W����+�gCƓ�)է]%�|W)�wq�ro+|�U�m��*���jW���ˡ}{o��G� -�CœzIm)z�4��!�ae��ǘ���w)VĨ+���}�cuiqT�d^%X�`5�� V3X�`5�� V3X�Γ��ud���?�2UV��`�1��"-�E�=���r����{��ݭ�0p�7�=��a-� �j�5m0�i -�?�o7I�n���\ `�,S6�N�P��|��%�e>ϴR��8��\��|�������S�xH\�4@G]�7B���͝�%hC�(!�PF�����5խg�*���] �|���  (H@A -P���$�  (H@|�9$3� -�  � -p����jP��8(Hn�$>��e��l�@�"�Yv��$.���>��x�lQ��6(�x��Y���dsȤU��i��1�}V�=P�5�8���Rj��Ɯ��� @����U�z�֪?W�Qm�M�Q)��mt�)^u��m�o��]�z@������t=��]�z €�t=�`�@�]����P�5��p�z7� -t=��r��_��./���1�M���"�<.�p��ؠ*�ʫ~���")��G��j�L��F�$�7��J���)�0)뮣��9 r��J2.�`�Qj��)/�i�{����.K��%U2�G�HW7��>T#&�|�͓�����I�ܮ���(X���S �!w��P�F�{�u�����߃;l �'i�9�U��[m^�?u�#��f�����;�<�2�W�g��T�r4����{��|��*��ygꥬ ��RfT�X ->��k�K�~v&�V��4��bhUکj�:6y�V��B}�P_��*�W�� -�U��B}b����� -�fP_�9��n���U@ -x ?�:eh�'����Л<)�?�ϓ���,O]Z���z�R$K�,E��R$K�,E��R$K�,E@a8$K�`�R �A��n�,j�$K?z�T�PTʉ�u�"$�u��2�LyR�L��b>�Dz��KG��YC��eC?�m-����ʗ"t�C"�T$R�HE"�T$R�HE"�����V2��: �X�1v�m�l�&wY�Z���;��]U�.���ɀ��2hf����P \�aB B¥�p��4��ɡ�4�`]@|7��*)�"L�0�t�!L�0�t�!L�0]?��D"@� t�dg�Q3ʖ�t9���`�W��y����n�T�9@������n��m�6���l����hh݌� $��7�]�K�|���_0I€ -�n6q�Y���=˖a�����"���|{x#/�_^�/�;u��?:��ЁuQe�U�E�xx�W�Ǚ���U�Y����7��1 -e�l������O���X�ϠƠ���֠�;��������of�h,*�����q:�U�Q��j;�}��Qz�S����c�{>��׻�B�<)���\C-�1���Sv���{ �1���{�a�ջ�3�DzS�?vl�#6�]���B;��J*�U. ;�A^�5��%[~I�Dz+|�Ȝ?XQ�0�B ��8.IPgVx��j�����J���R/�t��:=#�����ˋ�%u�E��N�F��Av�&�Ð�9�ݑ��'����7���x���!�iJ�vBTV3��MӝW�s��i9739Oϥ����Ο���r;�� ���r;��?� �3$�c?dw�eﲍ�v�����}�I�G�*D��5Z�[�B�D�PR�Y�A� wц�4H�r���������0�QT���.=d� oMyZ}#Rǩ�g������6tˌU>OFU�8w!G�kp"�]�a�D�aX���:��H����C�����4�'a���C͞�WM�E���.��wTm�����A$"<�����Q�P�`D�ȱ�z�DYT{��9���T�j"�� -�\�����ʅ� o�7��xފ�@��x���K5 �q+�1�hFNż"�!��(*���EէL��a�3�Q#6��� ϲ���y�����1j�{�%Ԯ� -�� -���� -���>��^$�M�]HB�Ӭϋ�Po�gӈogٓ�����j��Α��ʁ�r��9�;y#�)-���?�F�(��DZi%F#l�e�7�\!�Т�S��ӮӲL�)�&�7� �M�tw� �M@oZ����D���n�xN9q(L@K��ī<.�m8�fpz�� -,��sW�k�9��3 :Xu(�]���1~�z�L�RR]j�TFogID�hs6 -�]'%�����:��aC�8���1>�C|��x�r�}�x�13���5��u���L����]Y� -գJʯ%� z���� z���� z����M�A�@�'pԙ8�j�p$. 7h�]q��'��z=U_ ����n��u�cc���bغC��M}Vw���9B��a�zp�3�yJ|w��I� ��@6�d��4��F �l��F �d\��<"��P6Br}�S��r�.�*D��v����@ ���@N�U\+�8H8�����ѣ�1ζH�� �r��A��&eW�~���?�"��,]-J �r�cӫ�䩌�Mr�J��|c�,�r^d[�r� gr�u�Ncm�P�pU� -�h�;��CtGW)̦^T��ت��� ��I�B�Vu�ZaT�pW�Q���T.�r�H�r� �\@�*>\�� ([���&}��*���Q� �ʽ����-�$�߲M����� ����]�͂sAD(7�$R̦A@�PG����S^T�q=��Sk� -b�����p -�zNy��D������؉����*Wg�j�����X��;b��?:B�� ��QKlQ�IQ�ǿ6ά/��������Ώi���f��3z���O���X�Ϡ� �����;ķ�����}�E��*���� -� Z���2ѹV��b�� -����X NjՑe�Qj�NI�W�I��f-Uʌʠ��{�jp��t� ���7�X=C�KV�4�/5C? �����>^������m9�#?�Ƚ`��V~��3��G��J��� T�6�Ik"$BX���5���1�|�����̮&��y���W_ -|5���W_ -|5���W3џ�{G��@W] -J� �9P -pP -�P��R(����ȹ�)����\zY�Q���DA�^�Ȣ�p�7�BϛM#F8�|g�Ɯ����6��[�$� 20�/�@Z�"�1���[���={�OD�\���J� -�l)$B��Tr��,{C-W�����9��b�&�}$&[��"O�� �m��>��rﲚ�� ��?���a����Έ�3h��ʖ�c'������A����16�Yib�v�~z�_�C�v;�#%i��੏��y���jc�i@ ӜX�غ��v"��9��a[(���D�?9�!��I?���Y��X䢟�Vn������X��VZ�����I��K��SO2g���C͝{z-,Z�Npi��~�N0j[�E4M# k�Z[f�P����ھ7r�ck˲��p��[������#��֭ﶿCh�[���>���u�p�5�E�=E^�vk�43w��Xፓp�i��M��Ȟ��<��'����Ǩ�2r�y�!���r.-��u�w�;��3L� -�@�f��0z4�}6���z�@ -8s�3 -�}<�P�����}<���3� 8�\κKZ3��Ja�3��¨4�T:�:�cV�������Xim�]�g�k��fӀ��q����$���f]d��:�����#$���FRIm����ݾP��Hj#���6��Hj#��� �m����'�M d�4�'�2>���MN�pe`_�랅[ -���1JeFk�˰���""�j��M�D��\6k�A�@�^�"�I�Bv�󐝇���h"d�!;?����Q��"�#E*���)R��S��A.��ɗ��Α�gt�L>��g��d��b��,���S3��3f7����^ᄆ ���G>�|���G>�|���G>�|�%�aA>�n>"n g�5`� �Ԁ�:`�X�`�N�2�{�I�;�cVV���7��z3�����n�I0m�<�r -�R�@� $��g��0 �0z��AGa��8r>�*�C�x 錜� 'IeMg��{��(�g�%ڟf��V�.����ҕ�<;O�͓{CL�DF�!���k����k�N����O.@L�'�'�ш釞�?1��y�<�ş?5?���E����7Α�i� \ No newline at end of file +�4�'���5���Z�&� ֵW��E��h +�$���2��[�u��XH��uh�y�:���C;QI�_�4L���t̋���u=q�[�TNLæ�����xquG������?��.�xO�o���\�:�W���S�s��i�S0�O����fVL,�� ���-�X�i�q�n*d���C�>Ȅ#Ç 2|��!�ן�S;�s����C^�C�3�����Q�MR��� +�a�~������/u�tP��뾔���s����b�_���d}�M�?u��� {�0��7���N��d�岾���/]�&��1NžQ�p���e֑8<�1=x��x��1i8&�a>�`׺��'x�W� |e�t���ʰ���Ҿ���(&����9A�a��&���l,����J��z|%c6d��1���� ��w����s�{[ᣮ�n� W�m�v�����ڷ��|��R^Q?$ԩ�Ԗ䓥�< �h �p,Cא�<��x̾K�"�R+Z�&:V���ʜ,��,gV3X�`5�� V3X�`5�� V��d�~�~d���1�L��`�f�1�J�e��vrr� ����fjw�/ �7��yO$uXK'�j������6��tn��y�m���1�&������>�����XfZ)�pc�.� �b�M��U���E�����% +�S��&���}s�e �}*J��e4��XS�zv�"A��0�W��)����> +P���$�  (H@A +P�����CA0̠ �rP��7(Hj�� �����AA��\|�� +��� �5`�AM����S���d�j��A)��ϦX� ȘC&�봼MH8�9pn�J�р��1W�Y�t�"P�5��4�2� T=>���V���\�F��W�F#q�n�SL�Cwݕ������t=��]�z@������" �A��f���9��n��z5@ +P]���p�@��|.>�E���o��n�cܔi��R��p�� +�>xU��u���r�N[����߾�(�����xQ���)��(j�����DcM����q�c�R�5�Oy�O��3�=f7Y���-���?�U���U�Ž1��l�l���M�����z�NWGy��4`V�b����7��.R����c��?���qK�>Iۈ>�1o�u~l�yq��;�,�\S;�7�yzev�<���S���g/�����\t��+1�o�gꥬ =�R�^D�c)�XR�i/e�ٙ�[�V��ߊ�Ui������(�B}�P_��*�W�� +�U��B}�+E��U� 0��* �A}p�7��j���)�<��)O� �ʓ2���<��������=ՃH�"Y�d)��H�"Y�d)��H�"Y�d) +�!Y +�3H�9@��� +p�d)P� Y�ޓ��E��D��X�D�.�W��GS<�)Ӡ��<q���Ӭ�_ಡ]�>e?���]��HE"�T$R�HE"�T$R�H&��������: Vg���&���&K7��߁`����#vQ@��2hf��^�s�� �6���En�uSL�$Z� +��� ��I�a:���C�a:���C�a:�醑��&:�C� �8���Q���U\�v��A���.{�nPe�9gDN��;`L��o��[��]li�F! ��'���͘""���J7� t鐯��� �0`c��y������Yv �Հ�����m���y�����F}�����F����ô��7�.�������,�/�����x�I���)D�Fz?��l�|��y��v� �������z�~kP� +�;�M�-���s4��]Wj���<��Eo�o�%r�X���Y�Ud�r�R쿙O�`�}S�/o��V��ߺ�*1A'B���#�i�'#�� ��[x� �����Lr�~H\�()�e#���E�J�^LY]�we������b L�B��o��yI�Z�w�jձ�[ u���N�9�J��7�.�v�80H�J����7��\k���}���$o�q�C � �J�2��"��l� ��-O$x��C?�+f`�bz��h�d0׭@^��Z�C��T�3't��s� +�5cS,�I�.Ņ�]��G�#8�]�adT� ,E�K�Y�D�|I����a�|��F�I�.p�X���U�e��n+8��U��'�j}��壢)|T�U#(T:vSO�<*O���5{n7U�����B�*���1��r!���[�M�tފ� g�V���j@��n�SL�4�*��yI�#��(*��3��O�B6#�Q�F��t �O�e� �����Q�5�=�j׿������AĆ�AxB~������� +���x�Ӭϳ�Po�s��h�G��ٕ��j��Α���#�I����d��+ʤc���K)�H��rN"��6�2��.��X~�)� �i�iU%�����'~����' 81q��Cn�Gn�q�xN=qHL@L�����".�m8Pp��,������/@ +�� 6�ر �2`��.�t��S%�GKB겳�<�eh��~�Sy$�m��ǞC$��OR��N +"���׼5�����:m�H�����L������j7��:��VHU#U�T5R�HU#U�T5R�HU#Um�qS[G��F�i���Qg�l����8@� +�1ƍ�,o��T}%�nȺ]V֭'�-� +c{g�a��Iy��4O�7�*�>��c �UZ-�l7i�p ����o�mk#�0�r�U�L��#�9Dwt��b�e��c��c.�3zr&U ҭ�[aT�pSmQ���T.�r�H�r� �\@�*�]�� ([��]���U�Ԉʁx��܅E�^I���_��oY�v��B��\^II���@��+�H,�A@d��ftl�(�۸����u +�f�込G�9:^��SQfѧ#���5zⵑ���.ԙ���l0)<6����7������G��Ψ%���,���_���7i�>=���H��4V�>_����/��z11��3����~�� +�;�M���}�E��*����D� Z���RѻV��b�� +����X���c˔�^�"�V�A��d�TʌFA����b0�7l� �F��Hm��O�������f'�;#�ࠇpܶ|�3"��,o�u~�0<�0b�:�Ӆ\W:�Yib�n�~�_�!n��ב��pOy��Gl�N�`���<�՜X~Pk=�p7��;�����D�?9�!���0o��Y��X�b��Nn�����X��V:�����I��K��SO2g���c͝{z,Z�Npi��a�N0j;�I/M���n^�-�v,���� ~��9���e�v����v\��_���D��֭�v�C��[���>�����p�5�G�=E^��vk�43w��Xፓp�i��M��Ȟ��<��'����Ǥ�2r�y�1���r.-����w�;��3L���@�f�0z4�}6���z�@ +8s�38{83�2f3��?���3� 8�\��KZ3���l`���QiΩt�uxì�Js�Ik�S��uv��-��X[�J"���m'i��~�3�"��נp�̶f!���6��Hj�'�on�����FRIm$���FRIm�M�l����m�?дDV@C|�C�'�߼�������Y�ՠ���Q*3Z�> +��.�p�Ao75 +zt٬��z�\&U +�y��Cv��o��������/�󐝇������;Ghg_��T�:�@u���L!d:�F� ���k_^Q��+9о �6��/�~D$��U �\´c�]l�ո�5� +�P0���e(���&�lX������[`s�Š�S�ReD9k�[`��+����q l�������er,��R�uR}��'-�&;d#��D6�Hd#��D6�Hd#���7�H�T�SANejO]� +p� ��NC�9P�D$Pc��2�4ђ�Nր������G���n� �L Ah��!�k��~$�+���1͎q�'ꞨD3R���a*�C*�t*_����L�A�?y�L��*��|��|��L~[V�$ Β�;5�L>�v����5��|���G>�|���G>�|���G^����=�Z@ +P R�@ +X0��� �z� T��j�JY(+�s�J�z|���>򊲐�~��5�)�`,%$�`@���z� � F�ax��`L9�F�H�ԏ �_!��m3�6dF�{����YT��'�Eed�6�(������/]���yq~6/�.�����-)]�%� �o��� +)����txrx���.�)]-�N<���ӭ�2������R"��疓n93Nz4VKԈ��@Z�Ii�t�A@�Izi*A@t�A@��5�9��D +t���^=��Y��N�1p�ɶ�� �A��8��+N������k��9@��G_�r�c��jYf;��rp�r� '�f��0�*� �"�c���l7�7�3�q7lm���b� + Fisheye: Tag 1.3 refers to a dead (removed) revision in file `openacs-4/packages/simulation/www/siminst/sim-tasks.adp'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.3 refers to a dead (removed) revision in file `openacs-4/packages/simulation/www/siminst/sim-tasks.tcl'. Fisheye: No comparison available. Pass `N' to diff? Index: openacs-4/packages/simulation/www/simplay/control-bar.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/simplay/control-bar.adp,v diff -u -r1.3 -r1.4 --- openacs-4/packages/simulation/www/simplay/control-bar.adp 20 Nov 2003 12:57:00 -0000 1.3 +++ openacs-4/packages/simulation/www/simplay/control-bar.adp 16 Dec 2003 14:16:30 -0000 1.4 @@ -1,6 +1,6 @@ \ No newline at end of file Index: openacs-4/packages/simulation/www/simplay/control-bar.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/simplay/control-bar.tcl,v diff -u -r1.2 -r1.3 --- openacs-4/packages/simulation/www/simplay/control-bar.tcl 20 Nov 2003 12:57:00 -0000 1.2 +++ openacs-4/packages/simulation/www/simplay/control-bar.tcl 16 Dec 2003 14:16:30 -0000 1.3 @@ -1,4 +1,37 @@ +# an includelet showing messages and tasks for a user + set package_id [ad_conn package_id] +set user_id [ad_conn user_id] set section_uri [apm_package_url_from_id $package_id]simplay/ + +set message_count [db_string message_count_sql " + select count(*) + from sim_messages sm, + workflow_case_role_party_map wcrmp, + party_approved_member_map pamm + where pamm.member_id = :user_id + and wcrmp.party_id = pamm.party_id + and wcrmp.role_id = sm.to_role_id + and wcrmp.case_id = sm.case_id +"] set messages_url ${section_uri}messages + + +# TODO: decide whether to replace direct sql with this API loop: +# get a list of cases in which the user participates +# for each case, do [workflow::case::get_available_actions -case_id case_id -user_id :user_id ] + +set task_count [db_string task_count_sql " + select count(wcea.enabled_action_id) + from workflow_case_enabled_actions wcea, + workflow_case_role_party_map wcrmp, + workflow_actions wa, + party_approved_member_map pamm + where pamm.member_id = :user_id + and wcrmp.party_id = pamm.party_id + and wcrmp.case_id = wcea.case_id + and wcrmp.role_id = wa.assigned_role + and wa.action_id = wcea.action_id +"] + set tasks_url ${section_uri}tasks \ No newline at end of file Index: openacs-4/packages/simulation/www/simplay/index.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/simplay/index.adp,v diff -u -r1.3 -r1.4 --- openacs-4/packages/simulation/www/simplay/index.adp 18 Nov 2003 09:44:32 -0000 1.3 +++ openacs-4/packages/simulation/www/simplay/index.adp 16 Dec 2003 14:16:30 -0000 1.4 @@ -2,10 +2,4 @@ @title;noquote@ @context;noquote@ -

- To-do: show all active simulations (records in sim_simulation), - including number of cases (records in workflow_cases that are related - to a sim_simulation via the extension table sim_workflow_cases). - - List of currently active simulation cases: -

\ No newline at end of file + Index: openacs-4/packages/simulation/www/simplay/messages.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/simplay/messages.adp,v diff -u -r1.3 -r1.4 --- openacs-4/packages/simulation/www/simplay/messages.adp 20 Nov 2003 12:57:00 -0000 1.3 +++ openacs-4/packages/simulation/www/simplay/messages.adp 16 Dec 2003 14:16:30 -0000 1.4 @@ -2,7 +2,6 @@ @page_title;noquote@ @context;noquote@ - Show all tasks for all cases in which the current user_id is a - party, grouped by case. + - \ No newline at end of file +

TODO: Show sent messages in a separate list \ No newline at end of file Index: openacs-4/packages/simulation/www/simplay/messages.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/simplay/messages.tcl,v diff -u -r1.2 -r1.3 --- openacs-4/packages/simulation/www/simplay/messages.tcl 20 Nov 2003 12:57:00 -0000 1.2 +++ openacs-4/packages/simulation/www/simplay/messages.tcl 16 Dec 2003 14:16:30 -0000 1.3 @@ -3,5 +3,6 @@ } set page_title "Messages" +set user_id [ad_conn user_id] set context [list [list "." "SimPlay"] [list $page_title] ] set package_id [ad_conn package_id] Index: openacs-4/packages/simulation/www/simplay/tasks.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/simplay/tasks.adp,v diff -u -r1.1 -r1.2 --- openacs-4/packages/simulation/www/simplay/tasks.adp 20 Nov 2003 12:57:00 -0000 1.1 +++ openacs-4/packages/simulation/www/simplay/tasks.adp 16 Dec 2003 14:16:30 -0000 1.2 @@ -2,6 +2,4 @@ @page_title;noquote@ @context;noquote@ - -

Show all currently enabled tasks for the current user_id, grouped - by case. Each task has a link to task-detail. \ No newline at end of file + Index: openacs-4/packages/simulation/www/simplay/tasks.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/simplay/tasks.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/simulation/www/simplay/tasks.tcl 20 Nov 2003 12:57:00 -0000 1.1 +++ openacs-4/packages/simulation/www/simplay/tasks.tcl 16 Dec 2003 14:16:30 -0000 1.2 @@ -3,5 +3,6 @@ } set page_title "Tasks" -set context [list $page_title] +set user_id [ad_conn user_id] +set context [list [list "." "SimPlay"] [list $page_title] ] set package_id [ad_conn package_id]