0byt3m1n1
Path:
/
data
/
applications
/
aps.bak
/
vtiger
/
5.0.4
/
standard
/
htdocs
/
Smarty
/
templates
/
[
Home
]
File: DefModuleView.tpl
{*<!-- /********************************************************************************* ** The contents of this file are subject to the vtiger CRM Public License Version 1.0 * ("License"); You may not use this file except in compliance with the License * The Original Code is: vtiger CRM Open Source * The Initial Developer of the Original Code is vtiger. * Portions created by vtiger are Copyright (C) vtiger. * All Rights Reserved. * ********************************************************************************/ -->*} <script language="JAVASCRIPT" type="text/javascript" src="include/js/smoothscroll.js"></script> <br> <table align="center" border="0" cellpadding="0" cellspacing="0" width="98%"> <tbody><tr> <td valign="top"><img src="{$IMAGE_PATH}showPanelTopLeft.gif"></td> <td class="showPanelBg" style="padding: 10px;" valign="top" width="100%"> <form action="index.php" method="post" id="form"> <input type='hidden' name='module' value='Users'> <input type='hidden' name='action' value='DefModuleView'> <input type='hidden' name='return_action' value='ListView'> <input type='hidden' name='return_module' value='Users'> <input type='hidden' name='parenttab' value='Settings'> <br> <div align=center> {include file='SetMenu.tpl'} <!-- DISPLAY --> <table border=0 cellspacing=0 cellpadding=5 width=100% class="settingsSelUITopLine"> <tr> <td width=50 rowspan=2 valign=top><img src="{$IMAGE_PATH}set-IcoTwoTabConfig.gif" alt="{$MOD.LBL_DEFAULT_MODULE_VIEW}" width="48" height="48" border=0 title="{$MOD.LBL_DEFAULT_MODULE_VIEW}"></td> <td class=heading2 valign=bottom><b><a href="index.php?module=Settings&action=index&parenttab=Settings">{$MOD.LBL_SETTINGS}</a> > {$MOD.LBL_DEFAULT_MODULE_VIEW}</b></td> </tr> <tr> <td valign=top class="small">{$MOD.LBL_DEFAULT_MODULE_VIEW_DESC}</td> </tr> </table> <br> <table border=0 cellspacing=0 cellpadding=10 width=100% > <tr> <td> <table border=0 cellspacing=0 cellpadding=5 width=100% class="tableHeading"> <tr> <td class="big" height="40px;" width="70%"><strong>{$MOD.LBL_DEFAULT_DETAIL_VIEW}</strong></td> <td class="small" align="center" width="30%"> <span id="view_info" class="crmButton small cancel" style="display:none;"></span> </td> </tr> </table> <table border=0 cellspacing=0 cellpadding=0 width=100% class="listRow"> <tr> <td class="small" valign=top ><table width="100%" border="0" cellspacing="0" cellpadding="5"> <tr> <td width="20%" nowrap class="small cellLabel"><strong>{$MOD.LBL_ENABLE_SINGLEPANE_VIEW}</strong></td> <td width="80%" class="small cellText"> {if $ViewStatus eq 'enabled'} <input type="checkbox" checked name="enable_audit" onclick="viewenabled(this)"></input> {else} <input type="checkbox" name="enable_audit" onclick="viewenabled(this)"></input> {/if} </td> </tr> </table> </td> </tr> </table> <!--table border=0 cellspacing=0 cellpadding=5 width=100% > <tr> <td class="small" nowrap align=right><a href="#top">{$MOD.LBL_SCROLL}</a></td> </tr> </table--> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </div> </td> <td valign="top"><img src="{$IMAGE_PATH}showPanelTopRight.gif"></td> </tr> </tbody> </form> </table> {literal} <script> function viewenabled(ochkbox) { if(ochkbox.checked == true) { var status='enabled'; $('view_info').innerHTML = 'Singlepane View Enabled'; $('view_info').style.display = 'block'; } else { var status = 'disabled'; $('view_info').innerHTML = 'Singlepane View Disabled'; $('view_info').style.display = 'block'; } $("status").style.display="block"; new Ajax.Request( 'index.php', {queue: {position: 'end', scope: 'command'}, method: 'post', postBody: 'module=Users&action=UsersAjax&file=SaveDefModuleView&ajax=true&audit_trail='+status, onComplete: function(response) { $("status").style.display="none"; } } ); setTimeout("hide('view_info')",3000); } </script> {/literal}