source: sandbox/workflow/trunk/templates/default/participants.tpl @ 3060

Revision 3060, 4.4 KB checked in by viani, 14 years ago (diff)

Ticket #950 - Merged 2838:3056 /trunk/workflow em /sandbox/workflow/trunk

  • 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        <tr>
37                <td colspan="2">
38                        <label><input type="checkbox" name="onlyVisibleAccounts" id="onlyVisibleAccounts" value="true" {if $onlyVisibleAccounts} checked {/if}/> Exibir apenas contas vis&iacute;veis</label>
39                </td>
40        </tr>
41        {if !($hideOrganizations && $hideSectors)}
42        <tr>
43                <td>
44                        <label><input type="checkbox" name="useGlobalSearch" id="useGlobalSearch"/> Utilizar busca global</label>
45                </td>
46                <td>
47                        <p id="globalSearchWarnings" style="color: #FF0000; text-align: right;"></p>
48                </td>
49        </tr>
50        {/if}
51        <tr>
52                <td colspan="2">
53                        <input type="text" name="search" id="search" value="" style="width: 480px;" autocomplete="off"/>
54                </td>
55        </tr>
56        <tr>
57                <td colspan="2">
58                        <table border="0">
59                                <tr>
60                                        <td>
61                                                {if !($hideOrganizations && $hideSectors)}
62                                                {html_options options=$participants name="participants" id="participants" multiple="multiple" style="height: 210px; width: 425px;"}
63                                                {else}
64                                                {html_options options=$participants name="participants" id="participants" multiple="multiple" style="height: 260px; width: 425px;"}
65                                                {/if}
66                                        </td>
67                                        <td>
68                                                <a id="addUserLink"><img src="workflow/templateFile.php?file=images/add_user_big.png" alt="Adicionar" title="Adicionar" id="addUser" style="cursor: pointer;"/></a>
69                                                <br/><br/><br/>
70                                                <a id="exitLink"><img src="workflow/templateFile.php?file=images/exit_big.png" alt="Sair" title="Sair" id="exit" style="cursor: pointer;"/></a>
71                                        </td>
72                                </tr>
73                        </table>
74                </td>
75        </tr>
76</table>
77
78        {*<title>{lang_Add_Participants}</title>
79        <script src="{js_participant_file}" type="text/javascript"></script>
80        <form name="frmAdd" method="POST" onsubmit="javascript:{add_function}; return false;">
81         <center>
82          <table cellspacing="3" cellpadding="3">
83           <tr>
84                 <td>
85                  <div id="divAppboxHeader">{lang_Add_Participants}</div>
86                  <div id="divAppbox">
87                   <table border=0>
88                        <tr><td>{lang_Organization}:</td></tr>
89                        <tr><td>
90                                <select name="organization" style='width:250px;' onchange="frmAdd.change_org.value='True';frmAdd.submit();">
91                                        <!-- BEGIN organization_block -->
92                                        <option value="{org_id}" {org_selected}>{org_name}</option>
93                                        <!-- END organization_block -->
94                                </select>
95                        </td></tr>
96                        <tr><td>{lang_sector}:</td></tr>
97                        <tr><td>
98                                <select name="sector" style='width:250px;' onchange="frmAdd.submit()">
99                                        <!-- BEGIN sector_block -->
100                                        <option value="{sector_id}" {sector_selected}>{sector_name}</option>
101                                        <!-- END sector_block -->
102                                </select></td></tr>
103                        <input type="hidden" name="change_org" value="false">
104                        <tr>
105                         <td>
106                          <select name="participants" multiple style="width:250px" size="18" id="participant_list">
107                                <!-- BEGIN user_group_block -->
108                                {participant_options}
109                                <!-- END user_group_block -->
110                          </select>
111                         </td>
112                    </tr>
113                        <tr><td>&nbsp;</td>     </tr>
114                        <tr>
115                         <td>
116                          <center>{lang_to_Search}:&nbsp;<input type="text" id="query" name="query" onkeyup="optionFinder(this, event)" autocomplete="off" /></center>
117                         </td>
118                        </tr>
119                        <tr><td>&nbsp;</td>     </tr>
120                        <tr>
121                         <td>
122                          <center>
123                           <input type="button" id="addButton" class="button" value={lang_Add} onClick="javascript:{add_function}">
124                           <input type="button" id="closeButton" value={lang_Close} onClick="javascript:window.close()">
125                          </center>
126                         </td>
127                        </tr>
128                   </table>
129                  </div>
130                 </td>
131                </tr>
132           </table>
133          </center>
134         </form>
135<script>
136        setLists('participant_list','{target_element}');
137        document.getElementById("query").focus();
138</script>
139*}
Note: See TracBrowser for help on using the repository browser.