source: companies/serpro/workflow/templates/default/participants.tpl @ 903

Revision 903, 3.9 KB checked in by niltonneto, 15 years ago (diff)

Importacao inicial do Expresso do Serpro

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<input type="hidden" id="ldapContext" value="{$ldapContext}"/>
17<table border="0" width="400">
18{if !($hideOrganizations && $hideSectors)}
19        <tr>
20                <td {if $hideSectors} span="0"{/if}>
21                        {html_options values=$organizations|upper output=$organizations selected=$selectedOrganization|upper name="organization" id="organization"}
22                </td>
23                <td {if $hideOrganizations} span="2"{else}style="text-align: right;"{/if}>
24                        {html_options options=$sectors name="sector" id="sector"}
25                </td>
26        </tr>
27{/if}
28        <tr>
29                <td colspan="2">
30                        <h4>Adicionar participantes</h4>
31                        <input type="text" name="search" id="search" value="" style="width: 480px;" autocomplete="off"/>
32                        <input type="button" onclick="javascript:search_users();" value="Pesquisar" id="search_user"/>
33                </td>
34        </tr>
35        <tr>
36                <td colspan="2">
37                        <table border="0">
38                                <tr>
39                                        <td>
40                                                {if !($hideOrganizations && $hideSectors)}
41                                                {html_options options=$participants name="participants" id="participants" multiple="multiple" style="height: 150px; width: 425px;"}
42                                                {else}
43                                                {html_options options=$participants name="participants" id="participants" multiple="multiple" style="height: 260px; width: 425px;"}
44                                                {/if}
45                                        </td>
46                                        <td>
47                                                <a id="addUserLink"><img src="workflow/templateFile.php?file=images/add_user_big.png" alt="Adicionar" title="Adicionar" id="addUser" style="cursor: pointer;"/></a>
48                                                <br/><br/><br/>
49                                                <a id="exitLink"><img src="workflow/templateFile.php?file=images/exit_big.png" alt="Sair" title="Sair" id="exit" style="cursor: pointer;"/></a>
50                                        </td>
51                                </tr>
52                        </table>
53                </td>
54        </tr>
55</table>
56
57        {*<title>{lang_Add_Participants}</title>
58        <script src="{js_participant_file}" type="text/javascript"></script>
59        <form name="frmAdd" method="POST" onsubmit="javascript:{add_function}; return false;">
60         <center>
61          <table cellspacing="3" cellpadding="3">
62           <tr>
63                 <td>
64                  <div id="divAppboxHeader">{lang_Add_Participants}</div>
65                  <div id="divAppbox">
66                   <table border=0>
67                        <tr><td>{lang_Organization}:</td></tr>
68                        <tr><td>
69                                <select name="organization" style='width:250px;' onchange="frmAdd.change_org.value='True';frmAdd.submit();">
70                                        <!-- BEGIN organization_block -->
71                                        <option value="{org_id}" {org_selected}>{org_name}</option>
72                                        <!-- END organization_block -->
73                                </select>
74                        </td></tr>
75                        <tr><td>{lang_sector}:</td></tr>
76                        <tr><td>
77                                <select name="sector" style='width:250px;' onchange="frmAdd.submit()">
78                                        <!-- BEGIN sector_block -->
79                                        <option value="{sector_id}" {sector_selected}>{sector_name}</option>
80                                        <!-- END sector_block -->
81                                </select></td></tr>
82                        <input type="hidden" name="change_org" value="false">
83                        <tr>
84                         <td>
85                          <select name="participants" multiple style="width:250px" size="18" id="participant_list">
86                                <!-- BEGIN user_group_block -->
87                                {participant_options}
88                                <!-- END user_group_block -->
89                          </select>
90                         </td>
91                    </tr>
92                        <tr><td>&nbsp;</td>     </tr>
93                        <tr>
94                         <td>
95                          <center>{lang_to_Search}:&nbsp;<input type="text" id="query" name="query" onkeyup="optionFinder(this, event)" autocomplete="off" /></center>
96                         </td>
97                        </tr>
98                        <tr><td>&nbsp;</td>     </tr>
99                        <tr>
100                         <td>
101                          <center>
102                           <input type="button" id="addButton" class="button" value={lang_Add} onClick="javascript:{add_function}">
103                           <input type="button" id="closeButton" value={lang_Close} onClick="javascript:window.close()">
104                          </center>
105                         </td>
106                        </tr>
107                   </table>
108                  </div>
109                 </td>
110                </tr>
111           </table>
112          </center>
113         </form>
114<script>
115        setLists('participant_list','{target_element}');
116        document.getElementById("query").focus();
117</script>
118*}
Note: See TracBrowser for help on using the repository browser.