[ 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 <script language="JAVASCRIPT" type="text/javascript" src="include/js/smoothscroll.js"></script> 13 <script language="JavaScript" type="text/javascript" src="include/js/menu.js"></script> 14 <br> 15 <table align="center" border="0" cellpadding="0" cellspacing="0" width="98%"> 16 <tbody><tr> 17 <td valign="top"><img src="{$IMAGE_PATH}showPanelTopLeft.gif"></td> 18 <td class="showPanelBg" style="padding: 10px;" valign="top" width="100%"> 19 <br> 20 <div align=center> 21 22 {include file='SetMenu.tpl'} 23 <!-- DISPLAY --> 24 <table border=0 cellspacing=0 cellpadding=5 width=100% class="settingsSelUITopLine"> 25 <form action="index.php" method="post" name="new" id="form"> 26 <input type="hidden" name="module" value="Users"> 27 <input type="hidden" name="parenttab" value="Settings"> 28 <input type="hidden" name="fld_module" id="fld_module" value="{$DEF_MODULE}"> 29 {if $MODE neq 'view'} 30 <input type="hidden" name="action" value="UpdateDefaultFieldLevelAccess"> 31 {else} 32 <input type="hidden" name="action" value="EditDefOrgFieldLevelAccess"> 33 {/if} 34 <tr> 35 <td width=50 rowspan=2 valign=top><img src="{$IMAGE_PATH}orgshar.gif" alt="Users" width="48" height="48" border=0 title="Users"></td> 36 <td colspan=2 class=heading2 valign=bottom><b><a href="index.php?module=Settings&action=index&parenttab=Settings">{$MOD.LBL_SETTINGS}</a> > {$MOD.LBL_FIELDS_ACCESS} </b></td> 37 <td rowspan=2 class="small" align=right> </td> 38 </tr> 39 <tr> 40 <td valign=top class="small">{$MOD.LBL_SHARING_FIELDS_DESCRIPTION}</td> 41 </tr> 42 </table> 43 <br> 44 <table border=0 cellspacing=0 cellpadding=5 width=100% class="tableHeading"> 45 <tr> 46 <td class="big"><strong>{$CMOD.LBL_GLOBAL_FIELDS_MANAGER}</strong></td> 47 <td class="small" align=right> 48 {if $MODE neq 'edit'} 49 <input name="Edit" type="submit" class="crmButton small edit" value="{$APP.LBL_EDIT_BUTTON}" > 50 {else} 51 <input title="save" accessKey="S" class="crmButton small save" type="submit" name="Save" value="{$APP.LBL_SAVE_LABEL}"> 52 <input name="Cancel" value=" {$APP.LBL_CANCEL_BUTTON_LABEL} " class="crmButton small cancel" type="button" onClick="window.history.back();"> 53 {/if} 54 </td> 55 </tr> 56 </table> 57 <table width="100%" border="0" cellpadding="5" cellspacing="0" class="listTableTopButtons"> 58 <tr> 59 <td style="padding-left:5px;" class="big">{$CMOD.LBL_SELECT_SCREEN} 60 <select name="Screen" class="detailedViewTextBox" style="width:30%;" onChange="changemodules(this)"> 61 {foreach item=module from=$FIELD_INFO} 62 {if $module == $DEF_MODULE} 63 <option selected value='{$module}'>{$APP.$module}</option> 64 {else} 65 <option value='{$module}' >{$APP.$module}</option> 66 {/if} 67 {/foreach} 68 </select> 69 </td> 70 <td align="right"> </td> 71 </tr> 72 </table> 73 {foreach key=module item=info name=allmodules from=$FIELD_LISTS} 74 {if $module eq $DEF_MODULE} 75 <div id="{$module}_fields" style="display:block"> 76 {else} 77 <div id="{$module}_fields" style="display:none"> 78 {/if} 79 <table cellspacing=0 cellpadding=5 width=100% class="listTable small"> 80 <tr> 81 <td colspan="2" class="listRow" valign="top" nowrap> 82 <b>{$CMOD.LBL_FIELDS_AVLBL} {$APP.$module}</b> 83 </td> 84 </tr> 85 <tr> 86 <td valign=top width="25%" > 87 <table border=0 cellspacing=0 cellpadding=5 width=100% class=small> 88 {foreach item=elements name=groupfields from=$info} 89 <tr> 90 {foreach item=elementinfo name=curvalue from=$elements} 91 <td class="prvPrfTexture" style="width:20px"> </td> 92 <td width="5%" id="{$smarty.foreach.allmodules.iteration}_{$smarty.foreach.groupfields.iteration}_{$smarty.foreach.curvalue.iteration}">{$elementinfo.1}</td> 93 <td width="25%" nowrap onMouseOver="this.className='prvPrfHoverOn',$('{$smarty.foreach.allmodules.iteration}_{$smarty.foreach.groupfields.iteration}_{$smarty.foreach.curvalue.iteration}').className='prvPrfHoverOn'" onMouseOut="this.className='prvPrfHoverOff',$('{$smarty.foreach.allmodules.iteration}_{$smarty.foreach.groupfields.iteration}_{$smarty.foreach.curvalue.iteration}').className='prvPrfHoverOff'">{$elementinfo.0}</td> 94 {/foreach} 95 </tr> 96 {/foreach} 97 </table> 98 </td> 99 </tr> 100 </table> 101 </div> 102 {/foreach} 103 </td> 104 </tr> 105 </table> 106 <br> 107 <br> 108 <table border=0 cellspacing=0 cellpadding=5 width=100% > 109 <tr><td class="small" ><div align=right><a href="#top">{$MOD.LBL_SCROLL}</a></div></td></tr> 110 </table> 111 </td> 112 </tr> 113 </table> 114 </td> 115 </tr> 116 </form> 117 </table> 118 </div> 119 </td> 120 <td valign="top"><img src="{$IMAGE_PATH}showPanelTopRight.gif"></td> 121 </tr> 122 </tbody> 123 </table> 124 <script> 125 var def_field='{$DEF_MODULE}_fields'; 126 {literal} 127 function changemodules(selectmodule) 128 { 129 hide(def_field); 130 module=selectmodule.options[selectmodule.options.selectedIndex].value; 131 document.getElementById('fld_module').value = module; 132 def_field = module+"_fields"; 133 show(def_field); 134 } 135 </script> 136 {/literal} 137
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 |