[ Index ] |
|
Code source de eGroupWare 1.2.106-2 |
1 <div style="color:red; text-align:center">{message}</div> 2 <div> 3 <div> 4 {proc_bar} 5 </div> 6 <div> 7 {errors} 8 </div> 9 </div> 10 11 <form action="{form_action_adminroles}" method="post"> 12 <input type="hidden" name="p_id" value="{p_id}" /> 13 <input type="hidden" name="role_id" value="{role_info_role_id}" /> 14 <input type="hidden" name="sort_mode" value="{sort_mode}" /> 15 <input type="hidden" name="sort_mode2" value="{sort_mode2}" /> 16 <input type="hidden" name="find" value="{find}" /> 17 <input type="hidden" name="start" value="{start}" /> 18 <table style="border: 1px solid black;width:100%; margin-bottom:10px"> 19 <tr class="th"> 20 <td colspan="2" style="font-size: 120%; font-weight:bold"> 21 {lang_Add_or_edit_a_role} 22 </td> 23 </tr> 24 <tr class="row_on"> 25 <td>{lang_Name}</td> 26 <td><input type="text" name="name" value="{role_info_name}" /></td> 27 </tr> 28 <tr class="row_off"> 29 <td>{lang_Description}</td> 30 <td><textarea name="description" rows="4" cols="60">{role_info_description}</textarea></td> 31 </tr> 32 <tr class="th"> 33 <td colspan="2"> 34 <table cellpadding="0" cellspacing="0" width="100%"> 35 <tr> 36 <td style="text-align: left; font-weight:bold;"><input type="submit" name="save" value="{lang_save}" /> </td> 37 <td style="text-align: right; font-weight:bold;"> <input type="submit" name="new_role" value="{lang_New}" /></td> 38 </tr> 39 </table> 40 </td> 41 </tr> 42 </table> 43 </form> 44 45 <form action="{form_action_adminroles}" method="post"> 46 <input type="hidden" name="sort_mode" value="{sort_mode}" /> 47 <input type="hidden" name="p_id" value="{p_id}" /> 48 <input type="hidden" name="role_id" value="{info_role_id}" /> 49 <input type="hidden" name="sort_mode" value="{sort_mode}" /> 50 <input type="hidden" name="sort_mode2" value="{sort_mode2}" /> 51 <input type="hidden" name="find" value="{find}" /> 52 <input type="hidden" name="start" value="{start}" /> 53 <table style="border: 1px solid black;width:100%; margin-bottom:10px"> 54 <tr class="th"> 55 <td colspan="3" style="font-size: 120%; font-weight: bold;"> 56 {lang_Process_roles} 57 </td> 58 </tr> 59 <tr class="th"> 60 <td>{lang_Name}</td> 61 <td>{lang_Description}</td> 62 <td width="1%"> </td> 63 </tr> 64 <!-- BEGIN block_process_roles_list --> 65 <tr bgcolor="{color_line}"> 66 <td> 67 <a href="{all_roles_href}">{all_roles_name}</a> 68 </td> 69 <td> 70 {all_roles_description} 71 </td> 72 <td> 73 <input type="checkbox" name="role[{all_roles_role_id}]" /> 74 </td> 75 </tr> 76 <!-- END block_process_roles_list --> 77 <tr class="th"> 78 <td colspan="3" align="right"> 79 <input type="submit" name="delete_roles" value="{lang_delete_selected}" /> 80 </td> 81 </tr> 82 </table> 83 </form> 84 85 <!-- BEGIN block_map_roles --> 86 <form method="post" action="{form_action_adminroles}"> 87 <input type="hidden" name="p_id" value="{p_id}" /> 88 <input type="hidden" name="start" value="{start}" /> 89 <input type="hidden" name="sort_mode" value="{sort_mode}" /> 90 <input type="hidden" name="sort_mode2" value="{sort_mode2}" /> 91 <input type="hidden" name="search_str" value="{search_str}" /> 92 <table style="border: 1px solid black;width:100%; margin-bottom:10px"> 93 <tr class="th"> 94 <td colspan="2" style="font-size: 120%; font-weight:bold"> 95 {lang_Map_users/groups_to_roles} 96 </td> 97 </tr> 98 <tr class="th"> 99 <td width="50%" align="center"> 100 {lang_Users/Groups} 101 </td> 102 <td width="50%" align="center"> 103 {lang_Roles} 104 </td> 105 </tr> 106 <tr> 107 <td align="center"> 108 <select name="user[]" multiple="multiple" size="10"> 109 <!-- BEGIN block_select_users --> 110 <option value="{account_id}">{account_name}</option> 111 <!-- END block_select_users --> 112 </select> 113 </td> 114 <td align="center"> 115 <select name="role[]" multiple="multiple" size="10"> 116 <!-- BEGIN block_select_roles --> 117 <option value="{select_role_id}">{select_role_name}</option> 118 <!-- END block_select_roles --> 119 </select> 120 </td> 121 </tr> 122 <tr class="th"> 123 <td colspan="2" style="text-align:center;" class="formcolor"> 124 <input type="submit" name="save_map" value="{lang_map}" /> 125 </td> 126 </tr> 127 </table> 128 </form> 129 <!-- END block_map_roles --> 130 131 <form action="{form_action_adminroles}" method="post"> 132 <input type="hidden" name="p_id" value="{p_id}" /> 133 <input type="hidden" name="start" value="{start}" /> 134 <input type="hidden" name="find" value="{find}" /> 135 <input type="hidden" name="sort_mode" value="{sort_mode}" /> 136 <input type="hidden" name="sort_mode2" value="{sort_mode2}" /> 137 <table style="border: 1px solid black;width:100%;"> 138 <tr class="th"> 139 <td colspan="3" style="font-size: 120%; font-weight:bold"> 140 {lang_List_of_mappings} 141 </td> 142 </tr> 143 <tr class="th"> 144 <td width="50%">{lang_Role}</td> 145 <td width="49%">{lang_User/Group}</td> 146 <td width="1%"> </td> 147 </tr> 148 <!-- BEGIN block_list_mappings --> 149 <tr bgcolor="{color_line}"> 150 <td> 151 {map_role_name} 152 </td> 153 <td> 154 {map_user_name} 155 </td> 156 <td> 157 <input type="checkbox" name="map[{map_user_id}:::{map_role_id}]" /> 158 </td> 159 </tr> 160 <!-- END block_list_mappings --> 161 <tr class="th"> 162 <td colspan="3" align="right"> 163 <input type="submit" name="delete_map" value="{lang_delete_selected}" /> 164 </td> 165 </tr> 166 </table> 167 </form>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 17:20:01 2007 | par Balluche grâce à PHPXref 0.7 |