source: branches/1.2/workflow/templates/default/participants.tpl @ 1349

Revision 1349, 4.2 KB checked in by niltonneto, 15 years ago (diff)

Ticket #561 - Inclusão do módulo Workflow faltante nessa versão.

  • Property svn:executable set to *
Line 
1{$header}
2{$javaScripts}
3{literal}
4<style>
5#divPoweredBy
6{
7        display: none;
8}
9</style>
10{/literal}
11<input type="hidden" value="" id="txt_loading"/>
12<input type="hidden" id="entities" value="{$entities}"/>
13<input type="hidden" id="id" value="{$id}"/>
14<input type="hidden" id="target" value="{$target}"/>
15<input type="hidden" id="usePreffix" value="{$usePreffix}"/>
16<table border="0" width="400">
17{if !($hideOrganizations && $hideSectors)}
18        <tr id="organizationSectors">
19                {if !$hideOrganizations}
20                <td {if $hideSectors} colspan="2"{/if}>
21                        {html_options values=$organizations|upper output=$organizations selected=$selectedOrganization|upper name="organization" id="organization"}
22                </td>
23                {/if}
24                {if !$hideSectors}
25                <td {if $hideOrganizations}colspan="2"{else}style="text-align: right;"{/if}>
26                        {html_options options=$sectors name="sector" id="sector"}
27                </td>
28                {/if}
29        </tr>
30{/if}
31        <tr id="globalSearchTitle" style="display: none;">
32                <td colspan="2">
33                        <p style="text-align: center; font-weight: bold; font-size: 130%;">Busca Global</p>
34                </td>
35        </tr>
36        {if !($hideOrganizations && $hideSectors)}
37        <tr>
38                <td>
39                        <label><input type="checkbox" name="useGlobalSearch" id="useGlobalSearch"/> Utilizar busca global</label>
40                </td>
41                <td>
42                        <p id="globalSearchWarnings" style="color: #FF0000; text-align: right;"></p>
43                </td>
44        </tr>
45        {/if}
46        <tr>
47                <td colspan="2">
48                        <input type="text" name="search" id="search" value="" style="width: 480px;" autocomplete="off"/>
49                </td>
50        </tr>
51        <tr>
52                <td colspan="2">
53                        <table border="0">
54                                <tr>
55                                        <td>
56                                                {if !($hideOrganizations && $hideSectors)}
57                                                {html_options options=$participants name="participants" id="participants" multiple="multiple" style="height: 210px; width: 425px;"}
58                                                {else}
59                                                {html_options options=$participants name="participants" id="participants" multiple="multiple" style="height: 260px; width: 425px;"}
60                                                {/if}
61                                        </td>
62                                        <td>
63                                                <a id="addUserLink"><img src="workflow/templateFile.php?file=images/add_user_big.png" alt="Adicionar" title="Adicionar" id="addUser" style="cursor: pointer;"/></a>
64                                                <br/><br/><br/>
65                                                <a id="exitLink"><img src="workflow/templateFile.php?file=images/exit_big.png" alt="Sair" title="Sair" id="exit" style="cursor: pointer;"/></a>
66                                        </td>
67                                </tr>
68                        </table>
69                </td>
70        </tr>
71</table>
72
73        {*<title>{lang_Add_Participants}</title>
74        <script src="{js_participant_file}" type="text/javascript"></script>
75        <form name="frmAdd" method="POST" onsubmit="javascript:{add_function}; return false;">
76         <center>
77          <table cellspacing="3" cellpadding="3">
78           <tr>
79                 <td>
80                  <div id="divAppboxHeader">{lang_Add_Participants}</div>
81                  <div id="divAppbox">
82                   <table border=0>
83                        <tr><td>{lang_Organization}:</td></tr>
84                        <tr><td>
85                                <select name="organization" style='width:250px;' onchange="frmAdd.change_org.value='True';frmAdd.submit();">
86                                        <!-- BEGIN organization_block -->
87                                        <option value="{org_id}" {org_selected}>{org_name}</option>
88                                        <!-- END organization_block -->
89                                </select>
90                        </td></tr>
91                        <tr><td>{lang_sector}:</td></tr>
92                        <tr><td>
93                                <select name="sector" style='width:250px;' onchange="frmAdd.submit()">
94                                        <!-- BEGIN sector_block -->
95                                        <option value="{sector_id}" {sector_selected}>{sector_name}</option>
96                                        <!-- END sector_block -->
97                                </select></td></tr>
98                        <input type="hidden" name="change_org" value="false">
99                        <tr>
100                         <td>
101                          <select name="participants" multiple style="width:250px" size="18" id="participant_list">
102                                <!-- BEGIN user_group_block -->
103                                {participant_options}
104                                <!-- END user_group_block -->
105                          </select>
106                         </td>
107                    </tr>
108                        <tr><td>&nbsp;</td>     </tr>
109                        <tr>
110                         <td>
111                          <center>{lang_to_Search}:&nbsp;<input type="text" id="query" name="query" onkeyup="optionFinder(this, event)" autocomplete="off" /></center>
112                         </td>
113                        </tr>
114                        <tr><td>&nbsp;</td>     </tr>
115                        <tr>
116                         <td>
117                          <center>
118                           <input type="button" id="addButton" class="button" value={lang_Add} onClick="javascript:{add_function}">
119                           <input type="button" id="closeButton" value={lang_Close} onClick="javascript:window.close()">
120                          </center>
121                         </td>
122                        </tr>
123                   </table>
124                  </div>
125                 </td>
126                </tr>
127           </table>
128          </center>
129         </form>
130<script>
131        setLists('participant_list','{target_element}');
132        document.getElementById("query").focus();
133</script>
134*}
Note: See TracBrowser for help on using the repository browser.