[ Index ] |
|
Code source de vtiger CRM 5.0.2 |
1 {*<!-- 2 /********************************************************************************* 3 ** The contents of this file are subject to the vtiger CRM Public License Version 1.0 4 * ("License"); You may not use this file except in compliance with the License 5 * The Original Code is: vtiger CRM Open Source 6 * The Initial Developer of the Original Code is vtiger. 7 * Portions created by vtiger are Copyright (C) vtiger. 8 * All Rights Reserved. 9 * 10 ********************************************************************************/ 11 -->*} 12 13 <script language="JAVASCRIPT" type="text/javascript" src="include/js/smoothscroll.js"></script> 14 15 <br> 16 <table align="center" border="0" cellpadding="0" cellspacing="0" width="98%"> 17 <tbody><tr> 18 <td valign="top"><img src="{$IMAGE_PATH}showPanelTopLeft.gif"></td> 19 <td class="showPanelBg" style="padding: 10px;" valign="top" width="100%"> 20 <form action="index.php" method="post" name="new" id="form"> 21 <input type="hidden" name="module" value="Users"> 22 <input type="hidden" name="mode" value="create"> 23 <input type="hidden" name="action" value="CreateProfile"> 24 <input type="hidden" name="parenttab" value="Settings"> 25 26 <br> 27 <div align=center> 28 {include file='SetMenu.tpl'} 29 30 <!-- DISPLAY --> 31 <table border=0 cellspacing=0 cellpadding=5 width=100% class="settingsSelUITopLine"> 32 <tr> 33 <td width=50 rowspan=2 valign=top><img src="{$IMAGE_PATH}ico-profile.gif" alt="{$MOD.LBL_PROFILES}" width="48" height="48" border=0 title="{$MOD.LBL_PROFILES}"></td> 34 <td class=heading2 valign=bottom><b><a href="index.php?module=Settings&action=index&parenttab=Settings">{$MOD.LBL_SETTINGS}</a> > {$MOD.LBL_PROFILES} </b></td> 35 </tr> 36 <tr> 37 <td valign=top class="small">{$MOD.LBL_PROFILE_DESCRIPTION}</td> 38 </tr> 39 </table> 40 41 42 <table border=0 cellspacing=0 cellpadding=10 width=100% > 43 <tr> 44 <td valign=top> 45 46 <table border=0 cellspacing=0 cellpadding=5 width=100% class="tableHeading"> 47 <tr> 48 <td class="big"><strong>{$MOD.LBL_PROFILES_LIST}</strong></td> 49 <td class="small" align=right>{$CMOD.LBL_TOTAL} {$COUNT} {$MOD.LBL_PROFILES} </td> 50 </tr> 51 </table> 52 53 54 55 <table border=0 cellspacing=0 cellpadding=5 width=100% class="listTableTopButtons"> 56 <tr> 57 <td class=small align=right><input type="submit" value="{$CMOD.LBL_NEW_PROFILE}" class="crmButton create small"></td> 58 </tr> 59 </table> 60 61 <table border=0 cellspacing=0 cellpadding=5 width=100% class="listTable"> 62 <tr> 63 <td class="colHeader small" valign=top width=2%>{$LIST_HEADER.0}</td> 64 <td class="colHeader small" valign=top width=8%>{$LIST_HEADER.1}</td> 65 <td class="colHeader small" valign=top width=30%>{$LIST_HEADER.2} </td> 66 <td class="colHeader small" valign=top width=60%>{$LIST_HEADER.3}</td> 67 </tr> 68 {foreach name=profilelist item=listvalues from=$LIST_ENTRIES} 69 <tr> 70 <td class="listTableRow small" valign=top>{$smarty.foreach.profilelist.iteration}</td> 71 <td class="listTableRow small" valign=top nowrap> 72 <a href="index.php?module=Users&action=profilePrivileges&return_action=ListProfiles&parenttab=Settings&mode=edit&profileid={$listvalues.profileid}"><img src="{$IMAGE_PATH}editfield.gif" alt="Edit" title="Edit" border="0" align="absmiddle"></a> 73 {if $listvalues.del_permission eq 'yes'} 74 | 75 <a href="#"><img src="{$IMAGE_PATH}delete.gif" border="0" height="15" width="15" onclick="DeleteProfile(this,'{$listvalues.profileid}')" align="absmiddle"></a> 76 {else} 77 {/if} 78 79 </td> 80 <td class="listTableRow small" valign=top><a href="index.php?module=Users&action=profilePrivileges&mode=view&parenttab=Settings&profileid={$listvalues.profileid}"><b>{$listvalues.profilename}</b></a></td> 81 <td class="listTableRow small" valign=top>{$listvalues.description}</td> 82 </tr> 83 {/foreach} 84 85 </table> 86 <table border=0 cellspacing=0 cellpadding=5 width=100% > 87 <tr><td class="small" nowrap align=right><a href="#top">{$MOD.LBL_SCROLL}</a></td></tr> 88 </table> 89 90 91 92 93 94 95 96 </td> 97 </tr> 98 </table> 99 100 101 102 </td> 103 </tr> 104 </table> 105 </td> 106 </tr> 107 </table> 108 109 </div> 110 </td> 111 <td valign="top"><img src="{$IMAGE_PATH}showPanelTopRight.gif"></td> 112 </form> 113 </tr> 114 </tbody> 115 </table> 116 <div id="tempdiv" style="display:block;position:absolute;left:350px;top:200px;"></div> 117 <script> 118 function DeleteProfile(obj,profileid) 119 {ldelim} 120 $("status").style.display="inline"; 121 new Ajax.Request( 122 'index.php', 123 {ldelim}queue: {ldelim}position: 'end', scope: 'command'{rdelim}, 124 method: 'post', 125 postBody:'module=Users&action=UsersAjax&file=ProfileDeleteStep1&profileid='+profileid, 126 onComplete: function(response) {ldelim} 127 $("status").style.display="none"; 128 $("tempdiv").innerHTML=response.responseText; 129 fnvshobj(obj,"tempdiv"); 130 {rdelim} 131 {rdelim} 132 ); 133 {rdelim} 134 </script> 135
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 |