source: trunk/workflow/templates/default/participants.tpl @ 3729

Revision 3729, 4.5 KB checked in by asaikawa, 13 years ago (diff)

Ticket #1524 - Adicionado o parametro useCCParams nos componentes, indicando que serao usados os parametros do CC

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