[ Index ] |
|
Code source de vtiger CRM 5.0.2 |
1 {*<!-- 2 3 /********************************************************************************* 4 ** The contents of this file are subject to the vtiger CRM Public License Version 1.0 5 * ("License"); You may not use this file except in compliance with the License 6 * The Original Code is: vtiger CRM Open Source 7 * The Initial Developer of the Original Code is vtiger. 8 * Portions created by vtiger are Copyright (C) vtiger. 9 * All Rights Reserved. 10 * 11 ********************************************************************************/ 12 13 -->*} 14 <script language="JavaScript" type="text/javascript"> 15 function openPopup(del_roleid){ldelim} 16 window.open("index.php?module=Users&action=UsersAjax&file=RolePopup&maskid="+del_roleid+"&parenttab=Settings","roles_popup_window","height=425,width=640,toolbar=no,menubar=no,dependent=yes,resizable =no"); 17 {rdelim} 18 </script> 19 <br> 20 <table align="center" border="0" cellpadding="0" cellspacing="0" width="98%"> 21 <tr> 22 <td valign="top"><img src="{$IMAGE_PATH}showPanelTopLeft.gif"></td> 23 <td class="showPanelBg" style="padding: 10px;" valign="top" width="100%"> 24 <br> 25 26 <div align=center> 27 28 {include file='SetMenu.tpl'} 29 30 <form name="newProfileForm" action="index.php" onsubmit="return roleDeleteValidate()"> 31 <input type="hidden" name="module" value="Users"> 32 <input type="hidden" name="action" value="DeleteRole"> 33 <input type="hidden" name="delete_role_id" value="{$ROLEID}"> 34 <table width="100%" border="0" cellpadding="3" cellspacing="0"> 35 <tr> 36 <td class="genHeaderSmall" align="left" style="border-bottom:1px solid #CCCCCC;" width="50%">{$CMOD.LBL_DELETE_ROLE}</td> 37 <td style="border-bottom:1px solid #CCCCCC;"> </td> 38 <td align="right" style="border-bottom:1px solid #CCCCCC;" width="40%"><a href="#" onClick="window.history.back();">{$APP.LBL_BACK}</a></td> 39 </tr> 40 <tr> 41 <td colspan="3"> </td> 42 </tr> 43 <tr> 44 <td width="50%"><b>{$CMOD.LBL_ROLE_TO_BE_DELETED}</b></td> 45 <td width="2%"><b>:</b></td> 46 <td width="48%"><b>{$ROLENAME}</b></td> 47 </tr> 48 <tr> 49 <td style="text-align:left;"><b>{$CMOD.LBL_TRANSFER_USER_ROLE}</b></td> 50 <td ><b>:</b></td> 51 <td align="left"> 52 <input type="text" name="role_name" id="role_name" value="" class="txtBox" readonly="readonly"> 53 {$ROLEPOPUPBUTTON} 54 <input type="hidden" name="user_role" id="user_role" value=""> 55 56 </td> 57 </tr> 58 <tr><td colspan="3" style="border-bottom:1px dashed #CCCCCC;"> </td></tr> 59 <tr> 60 <td colspan="3" align="center"><input type="submit" name="Delete" value="{$APP.LBL_SAVE_BUTTON_LABEL}" class="crmbutton small save"> 61 </td> 62 </tr> 63 </table> 64 </form></div> 65 </td> 66 </tr> 67 </table> 68 69 </td> 70 </tr> 71 </table> 72 </td> 73 </tr> 74 </table> 75 </div> 76 <td valign="top"><img src="{$IMAGE_PATH}showPanelTopRight.gif"></td> 77 </tr> 78 </table> 79 <br> 80 <script> 81 {literal} 82 function roleDeleteValidate() 83 { 84 if(document.getElementById('role_name').value == '') 85 { 86 alert('Specfiy the Role to Transfer Existing Roles Users'); 87 return false; 88 } 89 return true; 90 } 91 {/literal} 92 </script> 93
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 10:22:19 2007 | par Balluche grâce à PHPXref 0.7 |