mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-09-05 10:18:33 +08:00
[Legacy] Add max height configuration for table config
This commit is contained in:
parent
2bc7cdff87
commit
c9ae5ad03b
4 changed files with 499 additions and 420 deletions
|
@ -105,6 +105,8 @@ function make_sugar_config(&$sugar_config)
|
|||
global $import_max_execution_time;
|
||||
global $list_max_entries_per_subpanel;
|
||||
global $list_max_entries_per_modal;
|
||||
global $subpanel_max_height;
|
||||
global $listview_max_height;
|
||||
global $passwordsetting;
|
||||
|
||||
// assumes the following variables must be set:
|
||||
|
@ -151,7 +153,9 @@ function make_sugar_config(&$sugar_config)
|
|||
'chgrp' => '',
|
||||
),
|
||||
'subpanel_pagination_type' => 'pagination',
|
||||
'subpanel_max_height' => empty($subpanel_max_height) ? 620 : $subpanel_max_height,
|
||||
'listview_pagination_type' => 'pagination',
|
||||
'listview_max_height' => empty($listview_max_height) ? 1270 : $listview_max_height,
|
||||
'default_theme' => empty($default_theme) ? 'SuiteP' : $default_theme,
|
||||
'default_time_format' => empty($defaultTimeFormat) ? 'h:ia' : $defaultTimeFormat,
|
||||
'default_user_is_admin' => empty($default_user_is_admin) ? false : $default_user_is_admin,
|
||||
|
@ -444,6 +448,8 @@ function get_sugar_config_defaults(): array
|
|||
'record_modal_pagination_type' => 'pagination',
|
||||
'list_max_entries_per_subpanel' => 10,
|
||||
'list_max_entries_per_modal' => 10,
|
||||
'listview_max_height' => 1270,
|
||||
'subpanel_max_height' => 620,
|
||||
'lock_default_user_name' => false,
|
||||
'log_memory_usage' => false,
|
||||
'oauth2_encryption_key' => base64_encode(random_bytes(32)),
|
||||
|
|
|
@ -71,6 +71,11 @@
|
|||
name='list_max_entries_per_subpanel' value='{$config.list_max_entries_per_subpanel}'>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td scope="row"><span>{$MOD.LBL_LIST_ENTRIES_PER_MODAL}</td>
|
||||
<td>
|
||||
<input type='text' size='4' id='ConfigureSettings_list_max_entries_per_modal' name='list_max_entries_per_modal' value='{$config.list_max_entries_per_modal}'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td scope="row">{$MOD.LBL_SET_SUBPANEL_PAGINATION_TYPE}:</td>
|
||||
<td><select name="subpanel_pagination_type">{$subpanel_pagination_type}</select></td>
|
||||
|
@ -83,11 +88,6 @@
|
|||
<td scope="row">{$MOD.LBL_SET_RECORD_MODAL_PAGINATION_TYPE}:</td>
|
||||
<td><select name="record_modal_pagination_type">{$record_modal_pagination_type}</select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="17%" scope="row"><span>{$MOD.LBL_LIST_ENTRIES_PER_MODAL}</td>
|
||||
<td width="83%" colspan="3">
|
||||
<input type='text' size='4' id='ConfigureSettings_list_max_entries_per_modal' name='list_max_entries_per_modal' value='{$config.list_max_entries_per_modal}'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td scope="row">{$MOD.LOCK_HOMEPAGE}: </td>
|
||||
<td>
|
||||
|
|
|
@ -53,8 +53,8 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td scope="row" width="17%">
|
||||
{$MOD.LBL_EMAIL} {if $REQUIRED_EMAIL_ADDRESS}<span class="required"
|
||||
id="mandatory_email">{$APP.LBL_REQUIRED_SYMBOL}</span> {/if}
|
||||
{$MOD.LBL_EMAIL} {if $REQUIRED_EMAIL_ADDRESS}<span class="required"
|
||||
id="mandatory_email">{$APP.LBL_REQUIRED_SYMBOL}</span> {/if}
|
||||
</td>
|
||||
<td width="83%">
|
||||
{$NEW_EMAIL}
|
||||
|
@ -81,148 +81,154 @@
|
|||
</tr>
|
||||
</table>
|
||||
{if $ID}
|
||||
<button class="button" id="settingsButton"
|
||||
onclick="SUGAR.email2.settings.showSettings(getUserEditViewUserId()); return false;"><img
|
||||
src="themes/default/images/icon_email_settings.gif" align="absmiddle"
|
||||
border="0"> {$APP.LBL_EMAIL_SETTINGS}</button>
|
||||
<button class="button" id="settingsButton"
|
||||
onclick="SUGAR.email2.settings.showSettings(getUserEditViewUserId()); return false;"><img
|
||||
src="themes/default/images/icon_email_settings.gif" align="absmiddle"
|
||||
border="0"> {$APP.LBL_EMAIL_SETTINGS}</button>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
<div class="user-tab-content">
|
||||
{if ($CHANGE_PWD) == '1'}
|
||||
<div id="generate_password">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="edit view">
|
||||
<tr>
|
||||
<td width='100%'>
|
||||
<table width='100%' cellspacing='0' cellpadding='0' border='0'>
|
||||
<tr>
|
||||
<th align="left" scope="row" colspan="4">
|
||||
<h4>{$MOD.LBL_CHANGE_PASSWORD_TITLE}</h4><br>
|
||||
{$ERROR_PASSWORD}
|
||||
</th>
|
||||
</tr>
|
||||
</table>
|
||||
<div id="generate_password">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="edit view">
|
||||
<tr>
|
||||
<td width='100%'>
|
||||
<table width='100%' cellspacing='0' cellpadding='0' border='0'>
|
||||
<tr>
|
||||
<th align="left" scope="row" colspan="4">
|
||||
<h4>{$MOD.LBL_CHANGE_PASSWORD_TITLE}</h4><br>
|
||||
{$ERROR_PASSWORD}
|
||||
</th>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<!-- hide field if user is admin that is not editing themselves -->
|
||||
<div id='generate_password_old_password' {if ($IS_ADMIN && !$ADMIN_EDIT_SELF)} style='display:none' {/if}>
|
||||
<div class="old-password">
|
||||
<div class="label-txt">
|
||||
{$MOD.LBL_OLD_PASSWORD}
|
||||
</div>
|
||||
<div>
|
||||
<input name='old_password' id='old_password' type='password' tabindex='2'
|
||||
onkeyup="password_confirmation();" autocomplete="new-password">
|
||||
</div>
|
||||
<div class="edit-dotted-border"></div>
|
||||
<!-- hide field if user is admin that is not editing themselves -->
|
||||
<div id='generate_password_old_password' {if ($IS_ADMIN && !$ADMIN_EDIT_SELF)}
|
||||
style='display:none' {/if}>
|
||||
<div class="old-password">
|
||||
<div class="label-txt">
|
||||
{$MOD.LBL_OLD_PASSWORD}
|
||||
</div>
|
||||
<div>
|
||||
<input name='old_password' id='old_password' type='password' tabindex='2'
|
||||
onkeyup="password_confirmation();" autocomplete="new-password">
|
||||
</div>
|
||||
<div class="edit-dotted-border"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="password-row">
|
||||
<!--left-col-->
|
||||
<div class="left-col label-txt">
|
||||
<div>
|
||||
{$MOD.LBL_NEW_PASSWORD}
|
||||
<span class="required"
|
||||
id="mandatory_pwd">{if ($REQUIRED_PASSWORD)}{$APP.LBL_REQUIRED_SYMBOL}{/if}</span>
|
||||
</div>
|
||||
<div class='dataField'>
|
||||
<input name='new_password' id="new_password" type='password' tabindex='2'
|
||||
onkeyup="password_confirmation();newrules('{$PWDSETTINGS.minpwdlength}','{$PWDSETTINGS.maxpwdlength}','{$REGEX}');"/>
|
||||
</div>
|
||||
<div class="edit-dotted-border"></div>
|
||||
<div class="password-row">
|
||||
<!--left-col-->
|
||||
<div class="left-col label-txt">
|
||||
<div>
|
||||
{$MOD.LBL_NEW_PASSWORD}
|
||||
<span class="required"
|
||||
id="mandatory_pwd">{if ($REQUIRED_PASSWORD)}{$APP.LBL_REQUIRED_SYMBOL}{/if}</span>
|
||||
</div>
|
||||
<!-- right col -->
|
||||
<div class="right-col label-txt">
|
||||
<div>{$MOD.LBL_CONFIRM_PASSWORD}</div>
|
||||
<div>
|
||||
<input name='confirm_new_password' id='confirm_pwd' style='' type='password'
|
||||
tabindex='2' onkeyup="password_confirmation();">
|
||||
</div>
|
||||
<div>
|
||||
<div id="comfirm_pwd_match" class="error"
|
||||
style="display: none;">{$MOD.ERR_PASSWORD_MISMATCH}</div>
|
||||
{*<span id="ext-gen63" class="x-panel-header-text">
|
||||
<div class='dataField'>
|
||||
<input name='new_password' id="new_password" type='password' tabindex='2'
|
||||
onkeyup="password_confirmation();newrules('{$PWDSETTINGS.minpwdlength}','{$PWDSETTINGS.maxpwdlength}','{$REGEX}');"/>
|
||||
</div>
|
||||
<div class="edit-dotted-border"></div>
|
||||
</div>
|
||||
<!-- right col -->
|
||||
<div class="right-col label-txt">
|
||||
<div>{$MOD.LBL_CONFIRM_PASSWORD}</div>
|
||||
<div>
|
||||
<input name='confirm_new_password' id='confirm_pwd' style='' type='password'
|
||||
tabindex='2' onkeyup="password_confirmation();">
|
||||
</div>
|
||||
<div>
|
||||
<div id="comfirm_pwd_match" class="error"
|
||||
style="display: none;">{$MOD.ERR_PASSWORD_MISMATCH}</div>
|
||||
{*<span id="ext-gen63" class="x-panel-header-text">
|
||||
Requirements
|
||||
<span id="Filter.1_help" onclick="return SUGAR.util.showHelpTips(this,help());">
|
||||
<img src="themes/default/images/help.gif"/>
|
||||
</span>
|
||||
</span>*}
|
||||
</div>
|
||||
<div class="edit-dotted-border"></div>
|
||||
</div>
|
||||
<!--extra div -->
|
||||
<div>
|
||||
<div class="dataLabel"></div>
|
||||
<div class="dataLabel"></div>
|
||||
</div>
|
||||
<div class="edit-dotted-border"></div>
|
||||
</div>
|
||||
<table width='17%' cellspacing='0' cellpadding='1' border='0'>
|
||||
<tr>
|
||||
<td width='50%'>
|
||||
<input title="{$APP.LBL_SAVE_BUTTON_TITLE}" accessKey='{$APP.LBL_SAVE_BUTTON_KEY}'
|
||||
class='button' id='save_new_pwd_button' LANGUAGE=javascript
|
||||
onclick='if (set_password(this.form)) window.close(); else return false;'
|
||||
type='submit' name='button' style='display:none;'
|
||||
value='{$APP.LBL_SAVE_BUTTON_LABEL}'>
|
||||
</td>
|
||||
<td width='50%'>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td width='60%' style="vertical-align:middle;">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!--extra div -->
|
||||
<div>
|
||||
<div class="dataLabel"></div>
|
||||
<div class="dataLabel"></div>
|
||||
</div>
|
||||
</div>
|
||||
<table width='17%' cellspacing='0' cellpadding='1' border='0'>
|
||||
<tr>
|
||||
<td width='50%'>
|
||||
<input title="{$APP.LBL_SAVE_BUTTON_TITLE}" accessKey='{$APP.LBL_SAVE_BUTTON_KEY}'
|
||||
class='button' id='save_new_pwd_button' LANGUAGE=javascript
|
||||
onclick='if (set_password(this.form)) window.close(); else return false;'
|
||||
type='submit' name='button' style='display:none;'
|
||||
value='{$APP.LBL_SAVE_BUTTON_LABEL}'>
|
||||
</td>
|
||||
<td width='50%'>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td width='60%' style="vertical-align:middle;">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
{else}
|
||||
<div id="generate_password">
|
||||
<input name='old_password' id='old_password' type='hidden'>
|
||||
<input name='new_password' id="new_password" type='hidden'>
|
||||
<input name='confirm_new_password' id='confirm_pwd' type='hidden'>
|
||||
</div>
|
||||
<div id="generate_password">
|
||||
<input name='old_password' id='old_password' type='hidden'>
|
||||
<input name='new_password' id="new_password" type='hidden'>
|
||||
<input name='confirm_new_password' id='confirm_pwd' type='hidden'>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
{if $SHOW_THEMES}
|
||||
<div class="user-tab-content">
|
||||
<div id="themepicker" style="display:{$HIDE_FOR_GROUP_AND_PORTAL}">
|
||||
<table class="edit view" border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td scope="row" colspan="4"><h4>{$MOD.LBL_THEME}</h4></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="17%">
|
||||
<select name="user_theme" tabindex='366' size="20" id="user_theme_picker" style="width: 100%">
|
||||
{$THEMES}
|
||||
</select>
|
||||
</td>
|
||||
<td width="33%">
|
||||
<img id="themePreview" src="{sugar_getimagepath file='themePreview.png'}" border="1"/>
|
||||
</td>
|
||||
<td width="17%"> </td>
|
||||
<td width="33%"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="user-tab-content">
|
||||
<div id="themepicker" style="display:{$HIDE_FOR_GROUP_AND_PORTAL}">
|
||||
<table class="edit view" border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td scope="row" colspan="4"><h4>{$MOD.LBL_THEME}</h4></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="17%">
|
||||
<select name="user_theme" tabindex='366' size="20" id="user_theme_picker" style="width: 100%">
|
||||
{$THEMES}
|
||||
</select>
|
||||
</td>
|
||||
<td width="33%">
|
||||
<img id="themePreview" src="{sugar_getimagepath file='themePreview.png'}" border="1"/>
|
||||
</td>
|
||||
<td width="17%"> </td>
|
||||
<td width="33%"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
<div class="user-tab-content">
|
||||
<!-- User Settings -->
|
||||
<div id="settings" style="display:{$HIDE_FOR_GROUP_AND_PORTAL}">
|
||||
<!--Heading-->
|
||||
<div>
|
||||
<h4><slot>{$MOD.LBL_USER_SETTINGS}</slot></h4>
|
||||
</div>
|
||||
<div>
|
||||
<h4>
|
||||
<slot>{$MOD.LBL_USER_SETTINGS}</slot>
|
||||
</h4>
|
||||
</div>
|
||||
<!--Main Content -->
|
||||
<div class="row-user">
|
||||
<!--First row-->
|
||||
<div class="row-user">
|
||||
<!--First row-->
|
||||
<div class="row-container">
|
||||
<div class="left-col">
|
||||
<div class="row-label"><slot>{$MOD.LBL_EXPORT_DELIMITER}:</slot> {sugar_help text=$MOD.LBL_EXPORT_DELIMITER_DESC }</div>
|
||||
<div class="row-label">
|
||||
<slot>{$MOD.LBL_EXPORT_DELIMITER}:</slot> {sugar_help text=$MOD.LBL_EXPORT_DELIMITER_DESC }
|
||||
</div>
|
||||
<div class="row-bottom">
|
||||
<slot><input style="line-height:21.5px;" type="text" tabindex='12' name="export_delimiter" value="{$EXPORT_DELIMITER}" size="5">
|
||||
<slot><input style="line-height:21.5px;" type="text" tabindex='12' name="export_delimiter"
|
||||
value="{$EXPORT_DELIMITER}" size="5">
|
||||
</slot>
|
||||
</div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
|
@ -235,99 +241,104 @@
|
|||
<slot>
|
||||
<input type='hidden' value='0' name='receive_notifications'>
|
||||
<input name='receive_notifications' class="checkbox" tabindex='12' type="checkbox"
|
||||
value="12" {$RECEIVE_NOTIFICATIONS}>
|
||||
value="12" {$RECEIVE_NOTIFICATIONS}>
|
||||
</slot>
|
||||
</div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
</div>
|
||||
</div>
|
||||
<!--First row ends here-->
|
||||
<!--Second row-->
|
||||
<div class="row-container">
|
||||
<div class="left-col">
|
||||
<div class="row-label"><slot>{$MOD.LBL_EXPORT_CHARSET}:</slot> {sugar_help text=$MOD.LBL_EXPORT_CHARSET_DESC }</div>
|
||||
<div class="row-bottom"><slot><select tabindex='12' name="default_export_charset">{$EXPORT_CHARSET}</select></slot></div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
<!--First row ends here-->
|
||||
<!--Second row-->
|
||||
<div class="row-container">
|
||||
<div class="left-col">
|
||||
<div class="row-label">
|
||||
<slot>{$MOD.LBL_EXPORT_CHARSET}:</slot> {sugar_help text=$MOD.LBL_EXPORT_CHARSET_DESC }
|
||||
</div>
|
||||
<div class="row-bottom">
|
||||
<slot><select tabindex='12' name="default_export_charset">{$EXPORT_CHARSET}</select></slot>
|
||||
</div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
</div>
|
||||
<div class="right-col">
|
||||
<div class="row-label">
|
||||
<slot>{$MOD.LBL_REMINDER}:</slot> {sugar_help text=$MOD.LBL_REMINDER_TEXT }</div>
|
||||
<div class="row-bottom">
|
||||
<slot>{include file="modules/Reminders/tpls/remindersDefaults.tpl"}</slot>
|
||||
</div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right-col">
|
||||
<div class="row-label"><slot>{$MOD.LBL_REMINDER}:</slot> {sugar_help text=$MOD.LBL_REMINDER_TEXT }</div>
|
||||
<div class="row-bottom"><slot>{include file="modules/Reminders/tpls/remindersDefaults.tpl"}</slot></div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
<!--Second row ends here-->
|
||||
<div class="row-container" style="margin-top: 0.5em;">
|
||||
<div class="left-col"></div>
|
||||
<div class="right-col">
|
||||
<button type="button" class="btn btn-primary btn-sm" onClick="Alerts.prototype.enable()">
|
||||
{$MOD.LBL_ENABLE_NOTIFICATIONS}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--Second row ends here-->
|
||||
<div class="row-container" style="margin-top: 0.5em;">
|
||||
<div class="left-col"></div>
|
||||
<div class="right-col">
|
||||
<button type="button" class="btn btn-primary btn-sm" onClick="Alerts.prototype.enable()">
|
||||
{$MOD.LBL_ENABLE_NOTIFICATIONS}
|
||||
</button>
|
||||
<div class="row-container">
|
||||
<div class="left-col">
|
||||
<div class="row-label">
|
||||
<slot>{$MOD.LBL_USE_REAL_NAMES}:</slot> {sugar_help text=$MOD.LBL_USE_REAL_NAMES_DESC }
|
||||
</div>
|
||||
<div class="row-bottom">
|
||||
<slot><input tabindex='12' type="checkbox" name="use_real_names" {$USE_REAL_NAMES}></slot>
|
||||
</div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
</div>
|
||||
<div class="right-col">
|
||||
<div class="row-label">
|
||||
<slot>{$MOD.LBL_MAILMERGE}:</slot> {sugar_help text=$MOD.LBL_MAILMERGE_TEXT }</div>
|
||||
<div class="row-bottom">
|
||||
<slot><input tabindex='12' name='mailmerge_on' class="checkbox" type="checkbox" {$MAILMERGE_ON}>
|
||||
</slot>
|
||||
</div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-container">
|
||||
<div class="left-col">
|
||||
<div class="row-label"><slot>{$MOD.LBL_USE_REAL_NAMES}:</slot> {sugar_help text=$MOD.LBL_USE_REAL_NAMES_DESC }</div>
|
||||
<div class="row-bottom"><slot><input tabindex='12' type="checkbox" name="use_real_names" {$USE_REAL_NAMES}></slot></div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
<!--{if !empty($EXTERNAL_AUTH_CLASS) && !empty($IS_ADMIN)}-->
|
||||
<div class="row-container">
|
||||
<div>{capture name=SMARTY_LBL_EXTERNAL_AUTH_ONLY} {$MOD.LBL_EXTERNAL_AUTH_ONLY} {$EXTERNAL_AUTH_CLASS_1}{/capture}</div>
|
||||
<div class="left-col">
|
||||
<div class="row-label">
|
||||
<slot>{$EXTERNAL_AUTH_CLASS} {$MOD.LBL_ONLY}:
|
||||
</slot> {sugar_help text=$smarty.capture.SMARTY_LBL_EXTERNAL_AUTH_ONLY}</div>
|
||||
<div class="row-bottom"><input type='hidden' value='0' name='external_auth_only'><input
|
||||
type='checkbox' value='1'
|
||||
name='external_auth_only' {$EXTERNAL_AUTH_ONLY_CHECKED}></div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right-col">
|
||||
<div class="row-label"><slot>{$MOD.LBL_MAILMERGE}:</slot> {sugar_help text=$MOD.LBL_MAILMERGE_TEXT }</div>
|
||||
<div class="row-bottom"><slot><input tabindex='12' name='mailmerge_on' class="checkbox" type="checkbox" {$MAILMERGE_ON}>
|
||||
</slot></div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
</div>
|
||||
</div>
|
||||
<!--{if !empty($EXTERNAL_AUTH_CLASS) && !empty($IS_ADMIN)}-->
|
||||
<div class="row-container">
|
||||
<div>{capture name=SMARTY_LBL_EXTERNAL_AUTH_ONLY} {$MOD.LBL_EXTERNAL_AUTH_ONLY} {$EXTERNAL_AUTH_CLASS_1}{/capture}</div>
|
||||
<div class="left-col">
|
||||
<div class="row-label"><slot>{$EXTERNAL_AUTH_CLASS} {$MOD.LBL_ONLY}:
|
||||
</slot> {sugar_help text=$smarty.capture.SMARTY_LBL_EXTERNAL_AUTH_ONLY}</div>
|
||||
<div class="row-bottom"> <input type='hidden' value='0' name='external_auth_only'><input type='checkbox' value='1'
|
||||
name='external_auth_only' {$EXTERNAL_AUTH_ONLY_CHECKED}></div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
</div>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
</div><!--row user-->
|
||||
</div>
|
||||
<!-- User Settings Ends here -->
|
||||
|
||||
<div id="locale" style="display:{$HIDE_FOR_GROUP_AND_PORTAL}">
|
||||
<div>
|
||||
<h4><slot>{$MOD.LBL_USER_LOCALE}</slot></h4>
|
||||
</div>
|
||||
<div class="row-user">
|
||||
<div class="row-container">
|
||||
<div class="left-col">
|
||||
<div class="row-label"><slot>{$MOD.LBL_DATE_FORMAT}:</slot> {sugar_help text=$MOD.LBL_DATE_FORMAT_TEXT }</div>
|
||||
<div class="row-bottom"><slot><select tabindex='14' name='dateformat'>{$DATEOPTIONS}</select></slot></div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
</div>
|
||||
<div class="right-col">
|
||||
<div class="row-label"><slot>{$MOD.LBL_CURRENCY}:</slot> {sugar_help text=$MOD.LBL_CURRENCY_TEXT }</div>
|
||||
<div class="row-bottom">
|
||||
<slot>
|
||||
<select tabindex='14' id='currency_select' name='currency'
|
||||
onchange='setSymbolValue(this.options[this.selectedIndex].value);setSigDigits();'>{$CURRENCY}</select>
|
||||
<input type="hidden" id="symbol" value="">
|
||||
</slot>
|
||||
</div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<h4>
|
||||
<slot>{$MOD.LBL_USER_LOCALE}</slot>
|
||||
</h4>
|
||||
</div>
|
||||
<div class="row-user">
|
||||
<div class="row-container">
|
||||
<div class="left-col">
|
||||
<div class="row-label"><slot>{$MOD.LBL_TIME_FORMAT}:</slot> {sugar_help text=$MOD.LBL_TIME_FORMAT_TEXT }</div>
|
||||
<div class="row-bottom"><slot><select tabindex='14' name='timeformat'>{$TIMEOPTIONS}</select></slot></div>
|
||||
<div class="row-label">
|
||||
<slot>{$MOD.LBL_DATE_FORMAT}:</slot> {sugar_help text=$MOD.LBL_DATE_FORMAT_TEXT }</div>
|
||||
<div class="row-bottom">
|
||||
<slot><select tabindex='14' name='dateformat'>{$DATEOPTIONS}</select></slot>
|
||||
</div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
</div>
|
||||
<div class="right-col">
|
||||
<div class="row-label"><slot>{$MOD.LBL_CURRENCY_SIG_DIGITS}:</slot></div>
|
||||
<div class="row-label">
|
||||
<slot>{$MOD.LBL_CURRENCY}:</slot> {sugar_help text=$MOD.LBL_CURRENCY_TEXT }</div>
|
||||
<div class="row-bottom">
|
||||
<slot>
|
||||
<select id='sigDigits' onchange='setSigDigits(this.value);'
|
||||
name='default_currency_significant_digits'>{$sigDigits}</select>
|
||||
<select tabindex='14' id='currency_select' name='currency'
|
||||
onchange='setSymbolValue(this.options[this.selectedIndex].value);setSigDigits();'>{$CURRENCY}</select>
|
||||
<input type="hidden" id="symbol" value="">
|
||||
</slot>
|
||||
</div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
|
@ -335,140 +346,184 @@
|
|||
</div>
|
||||
<div class="row-container">
|
||||
<div class="left-col">
|
||||
<div class="row-label"> <slot>{$MOD.LBL_TIMEZONE}:</slot> {sugar_help text=$MOD.LBL_TIMEZONE_TEXT }</div>
|
||||
<div class="row-bottom"> <slot><select tabindex='14'
|
||||
name='timezone'>{html_options options=$TIMEZONEOPTIONS selected=$TIMEZONE_CURRENT}</select>
|
||||
</slot></div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
<div class="row-label">
|
||||
<slot>{$MOD.LBL_TIME_FORMAT}:</slot> {sugar_help text=$MOD.LBL_TIME_FORMAT_TEXT }</div>
|
||||
<div class="row-bottom">
|
||||
<slot><select tabindex='14' name='timeformat'>{$TIMEOPTIONS}</select></slot>
|
||||
</div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
</div>
|
||||
<div class="right-col">
|
||||
<div class="row-label"><slot>
|
||||
{$MOD.LBL_LOCALE_EXAMPLE_NAME_FORMAT}:
|
||||
</slot></div>
|
||||
<div class="row-bottom"><slot>
|
||||
<input type="text" disabled id="sigDigitsExample" name="sigDigitsExample">
|
||||
</slot></div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
<div class="row-label">
|
||||
<slot>{$MOD.LBL_CURRENCY_SIG_DIGITS}:</slot>
|
||||
</div>
|
||||
<div class="row-bottom">
|
||||
<slot>
|
||||
<select id='sigDigits' onchange='setSigDigits(this.value);'
|
||||
name='default_currency_significant_digits'>{$sigDigits}</select>
|
||||
</slot>
|
||||
</div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-container">
|
||||
<div class="left-col">
|
||||
<div class="row-label">
|
||||
<slot>{$MOD.LBL_TIMEZONE}:</slot> {sugar_help text=$MOD.LBL_TIMEZONE_TEXT }</div>
|
||||
<div class="row-bottom">
|
||||
<slot><select tabindex='14'
|
||||
name='timezone'>{html_options options=$TIMEZONEOPTIONS selected=$TIMEZONE_CURRENT}</select>
|
||||
</slot>
|
||||
</div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
</div>
|
||||
<div class="right-col">
|
||||
<div class="row-label">
|
||||
<slot>
|
||||
{$MOD.LBL_LOCALE_EXAMPLE_NAME_FORMAT}:
|
||||
</slot>
|
||||
</div>
|
||||
<div class="row-bottom">
|
||||
<slot>
|
||||
<input type="text" disabled id="sigDigitsExample" name="sigDigitsExample">
|
||||
</slot>
|
||||
</div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-container">
|
||||
<div class="left-col">
|
||||
{if ($IS_ADMIN)}
|
||||
<div class="row-label"><slot>{$MOD.LBL_PROMPT_TIMEZONE}:</slot> {sugar_help text=$MOD.LBL_PROMPT_TIMEZONE_TEXT }
|
||||
</div>
|
||||
<div class="row-bottom"><slot><input type="checkbox" tabindex='14' class="checkbox" name="ut" value="0" {$PROMPTTZ}></div>
|
||||
{else}
|
||||
<div> <slot></slot></div>
|
||||
</div> <slot></slot></div>
|
||||
{/if}
|
||||
<div class="bottom-dotted-border"></div>
|
||||
</div>
|
||||
<div class="right-col">
|
||||
<div class="row-label"> <slot>{$MOD.LBL_NUMBER_GROUPING_SEP}:
|
||||
</slot> {sugar_help text=$MOD.LBL_NUMBER_GROUPING_SEP_TEXT }</div>
|
||||
<div class="row-bottom"><slot>
|
||||
<input tabindex='14' name='num_grp_sep' id='default_number_grouping_seperator'
|
||||
type='text' maxlength='1' size='1' value='{$NUM_GRP_SEP}'
|
||||
onkeydown='setSigDigits();' onkeyup='setSigDigits();'>
|
||||
</slot></div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
</div>
|
||||
</div>
|
||||
{capture name=SMARTY_LOCALE_NAME_FORMAT_DESC} {$MOD.LBL_LOCALE_NAME_FORMAT_DESC}{/capture}
|
||||
<div class="row-container">
|
||||
<div class="left-col">
|
||||
<div class="row-label"> {$MOD.LBL_LOCALE_DEFAULT_NAME_FORMAT}
|
||||
: {sugar_help text=$smarty.capture.SMARTY_LOCALE_NAME_FORMAT_DESC }</div>
|
||||
<div class="row-bottom"><slot><select tabindex='14' id="default_locale_name_format" name="default_locale_name_format"
|
||||
selected="{$default_locale_name_format}">{$NAMEOPTIONS}</select></slot></div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
</div>
|
||||
<div class="right-col">
|
||||
<div class="row-label">
|
||||
<slot>{$MOD.LBL_DECIMAL_SEP}:</slot> {sugar_help text=$MOD.LBL_DECIMAL_SEP_TEXT }
|
||||
<slot>{$MOD.LBL_PROMPT_TIMEZONE}:</slot> {sugar_help text=$MOD.LBL_PROMPT_TIMEZONE_TEXT }
|
||||
</div>
|
||||
<div class="row-bottom">
|
||||
<slot>
|
||||
<input tabindex='14' name='dec_sep' id='default_decimal_seperator'
|
||||
type='text' maxlength='1' size='1' value='{$DEC_SEP}'
|
||||
onkeydown='setSigDigits();' onkeyup='setSigDigits();'>
|
||||
</slot>
|
||||
<slot><input type="checkbox" tabindex='14' class="checkbox" name="ut" value="0" {$PROMPTTZ}>
|
||||
</div>
|
||||
{else}
|
||||
<div>
|
||||
<slot></slot>
|
||||
</div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
</div>
|
||||
<slot></slot>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="calendar_options" style="display:{$HIDE_FOR_GROUP_AND_PORTAL}">
|
||||
<div>
|
||||
<h4><slot>{$MOD.LBL_CALENDAR_OPTIONS}</slot></h4>
|
||||
{/if}
|
||||
<div class="bottom-dotted-border"></div>
|
||||
</div>
|
||||
<div class="row-user">
|
||||
<div class="row-container">
|
||||
<div style="width:100%;" class="row-left">
|
||||
<div class="row-label"><slot>{$MOD.LBL_PUBLISH_KEY}:</slot> {sugar_help text=$MOD.LBL_CHOOSE_A_KEY}</div>
|
||||
<div class="row-bottom">
|
||||
<slot><input id='calendar_publish_key' name='calendar_publish_key' tabindex='17' size='25'
|
||||
maxlength='36' type="text" value="{$CALENDAR_PUBLISH_KEY}"></slot>
|
||||
</div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
</div>
|
||||
<div class="right-col">
|
||||
<div class="row-label">
|
||||
<slot>{$MOD.LBL_NUMBER_GROUPING_SEP}:
|
||||
</slot> {sugar_help text=$MOD.LBL_NUMBER_GROUPING_SEP_TEXT }</div>
|
||||
<div class="row-bottom">
|
||||
<slot>
|
||||
<input tabindex='14' name='num_grp_sep' id='default_number_grouping_seperator'
|
||||
type='text' maxlength='1' size='1' value='{$NUM_GRP_SEP}'
|
||||
onkeydown='setSigDigits();' onkeyup='setSigDigits();'>
|
||||
</slot>
|
||||
</div>
|
||||
<div class="row-container">
|
||||
<div style="width:100%;" class="row-left">
|
||||
<div class="row-label">
|
||||
<slot>
|
||||
<nobr>{$MOD.LBL_YOUR_PUBLISH_URL|strip_semicolon}:</nobr>
|
||||
</slot>
|
||||
</div>
|
||||
<div class="row-bottom">
|
||||
<span class="calendar_publish_ok">{$CALENDAR_PUBLISH_URL}</span>
|
||||
<span class="calendar_publish_none" style="display: none">{$MOD.LBL_NO_KEY}</span>
|
||||
</div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
</div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
</div>
|
||||
</div>
|
||||
{capture name=SMARTY_LOCALE_NAME_FORMAT_DESC} {$MOD.LBL_LOCALE_NAME_FORMAT_DESC}{/capture}
|
||||
<div class="row-container">
|
||||
<div class="left-col">
|
||||
<div class="row-label"> {$MOD.LBL_LOCALE_DEFAULT_NAME_FORMAT}
|
||||
: {sugar_help text=$smarty.capture.SMARTY_LOCALE_NAME_FORMAT_DESC }</div>
|
||||
<div class="row-bottom">
|
||||
<slot><select tabindex='14' id="default_locale_name_format" name="default_locale_name_format"
|
||||
selected="{$default_locale_name_format}">{$NAMEOPTIONS}</select></slot>
|
||||
</div>
|
||||
<div class="row-container">
|
||||
<div style="width:100%;" class="row-left">
|
||||
<div class="row-label">
|
||||
<slot>{$MOD.LBL_SEARCH_URL|strip_semicolon}:</slot>
|
||||
</div>
|
||||
<div class="row-bottom">
|
||||
<span class="calendar_publish_ok">{$CALENDAR_SEARCH_URL}</span>
|
||||
<span class="calendar_publish_none" style="display: none">{$MOD.LBL_NO_KEY}</span>
|
||||
</div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
</div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
</div>
|
||||
<div class="right-col">
|
||||
<div class="row-label">
|
||||
<slot>{$MOD.LBL_DECIMAL_SEP}:</slot> {sugar_help text=$MOD.LBL_DECIMAL_SEP_TEXT }
|
||||
</div>
|
||||
<div class="row-container">
|
||||
<div style="width:100%;" class="row-left">
|
||||
<div class="row-label">
|
||||
<slot>{$MOD.LBL_ICAL_PUB_URL|strip_semicolon}: {sugar_help text=$MOD.LBL_ICAL_PUB_URL_HELP}</slot>
|
||||
</div>
|
||||
<div class="row-bottom">
|
||||
<span class="calendar_publish_ok">{$CALENDAR_ICAL_URL}</span>
|
||||
<div class="row-bottom">
|
||||
<slot>
|
||||
<input tabindex='14' name='dec_sep' id='default_decimal_seperator'
|
||||
type='text' maxlength='1' size='1' value='{$DEC_SEP}'
|
||||
onkeydown='setSigDigits();' onkeyup='setSigDigits();'>
|
||||
</slot>
|
||||
</div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="calendar_options" style="display:{$HIDE_FOR_GROUP_AND_PORTAL}">
|
||||
<div>
|
||||
<h4>
|
||||
<slot>{$MOD.LBL_CALENDAR_OPTIONS}</slot>
|
||||
</h4>
|
||||
</div>
|
||||
<div class="row-user">
|
||||
<div class="row-container">
|
||||
<div style="width:100%;" class="row-left">
|
||||
<div class="row-label">
|
||||
<slot>{$MOD.LBL_PUBLISH_KEY}:</slot> {sugar_help text=$MOD.LBL_CHOOSE_A_KEY}</div>
|
||||
<div class="row-bottom">
|
||||
<slot><input id='calendar_publish_key' name='calendar_publish_key' tabindex='17' size='25'
|
||||
maxlength='36' type="text" value="{$CALENDAR_PUBLISH_KEY}"></slot>
|
||||
</div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-container">
|
||||
<div style="width:100%;" class="row-left">
|
||||
<div class="row-label">
|
||||
<slot>
|
||||
<nobr>{$MOD.LBL_YOUR_PUBLISH_URL|strip_semicolon}:</nobr>
|
||||
</slot>
|
||||
</div>
|
||||
<div class="row-bottom">
|
||||
<span class="calendar_publish_ok">{$CALENDAR_PUBLISH_URL}</span>
|
||||
<span class="calendar_publish_none" style="display: none">{$MOD.LBL_NO_KEY}</span>
|
||||
</div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
</div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
</div>
|
||||
<div class="row-container">
|
||||
<div style="width:100%;" class="row-left">
|
||||
<div class="row-label">
|
||||
<slot>{$MOD.LBL_FDOW}:</slot> {sugar_help text=$MOD.LBL_FDOW_TEXT}
|
||||
</div>
|
||||
<div class="row-bottom">
|
||||
<slot>
|
||||
</div>
|
||||
<div class="row-container">
|
||||
<div style="width:100%;" class="row-left">
|
||||
<div class="row-label">
|
||||
<slot>{$MOD.LBL_SEARCH_URL|strip_semicolon}:</slot>
|
||||
</div>
|
||||
<div class="row-bottom">
|
||||
<span class="calendar_publish_ok">{$CALENDAR_SEARCH_URL}</span>
|
||||
<span class="calendar_publish_none" style="display: none">{$MOD.LBL_NO_KEY}</span>
|
||||
</div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-container">
|
||||
<div style="width:100%;" class="row-left">
|
||||
<div class="row-label">
|
||||
<slot>{$MOD.LBL_ICAL_PUB_URL|strip_semicolon}: {sugar_help text=$MOD.LBL_ICAL_PUB_URL_HELP}</slot>
|
||||
</div>
|
||||
<div class="row-bottom">
|
||||
<span class="calendar_publish_ok">{$CALENDAR_ICAL_URL}</span>
|
||||
<span class="calendar_publish_none" style="display: none">{$MOD.LBL_NO_KEY}</span>
|
||||
</div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-container">
|
||||
<div style="width:100%;" class="row-left">
|
||||
<div class="row-label">
|
||||
<slot>{$MOD.LBL_FDOW}:</slot> {sugar_help text=$MOD.LBL_FDOW_TEXT}
|
||||
</div>
|
||||
<div class="row-bottom">
|
||||
<slot>
|
||||
<select tabindex='14'
|
||||
name='fdow'>{html_options options=$FDOWOPTIONS selected=$FDOWCURRENT}</select>
|
||||
</slot>
|
||||
</div>
|
||||
<div class="bottom-dotted-border" style="margin-bottom: 1em;"></div>
|
||||
</div>
|
||||
<div class="bottom-dotted-border" style="margin-bottom: 1em;"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="google_options" style="display:{$HIDE_IF_GAUTH_UNCONFIGURED}">
|
||||
</div>
|
||||
<div id="google_options" style="display:{$HIDE_IF_GAUTH_UNCONFIGURED}">
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="0" class="edit view">
|
||||
<tr>
|
||||
<th align="left" scope="row" colspan="4"><h4>{$MOD.LBL_GOOGLE_API_SETTINGS}</h4></th>
|
||||
|
@ -477,8 +532,11 @@
|
|||
<td width="17%" scope="row">
|
||||
<slot>{$MOD.LBL_GOOGLE_API_TOKEN}:</slot> {sugar_help text=$MOD.LBL_GOOGLE_API_TOKEN_HELP}
|
||||
</td>
|
||||
<td width="20%">
|
||||
<slot>Current API Token is: <span style="color:{$GOOGLE_API_TOKEN_COLOR}">{$GOOGLE_API_TOKEN}</span> <input style="display:{$GOOGLE_API_TOKEN_ENABLE_NEW}" class="btn btn-primary btn-sm" id="google_gettoken" type="button" value="{$GOOGLE_API_TOKEN_BTN}" onclick="window.open('{$GOOGLE_API_TOKEN_NEW_URL}', '_self')" /></slot>
|
||||
<td width="20%">
|
||||
<slot>Current API Token is: <span style="color:{$GOOGLE_API_TOKEN_COLOR}">{$GOOGLE_API_TOKEN}</span>
|
||||
<input style="display:{$GOOGLE_API_TOKEN_ENABLE_NEW}" class="btn btn-primary btn-sm"
|
||||
id="google_gettoken" type="button" value="{$GOOGLE_API_TOKEN_BTN}"
|
||||
onclick="window.open('{$GOOGLE_API_TOKEN_NEW_URL}', '_self')"/></slot>
|
||||
</td>
|
||||
<td width="63%">
|
||||
<slot> </slot>
|
||||
|
@ -496,38 +554,41 @@
|
|||
</div>
|
||||
</div>
|
||||
{if $ID}
|
||||
<div id="eapm_area" style='display:{$HIDE_FOR_GROUP_AND_PORTAL};' class="user-tab-content">
|
||||
<div style="text-align:center; width: 100%">{sugar_getimage name="loading"}</div>
|
||||
</div>
|
||||
<div id="eapm_area" style='display:{$HIDE_FOR_GROUP_AND_PORTAL};' class="user-tab-content">
|
||||
<div style="text-align:center; width: 100%">{sugar_getimage name="loading"}</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<div class="user-tab-content">
|
||||
<div id="subthemes" style="display:{$HIDE_FOR_GROUP_AND_PORTAL}">
|
||||
<div>
|
||||
<h4><slot>{$MOD.LBL_LAYOUT_OPTIONS}</slot></h4>
|
||||
</div>
|
||||
{if $SUBTHEMES}
|
||||
<div class="row-user layout">
|
||||
<div class="row-container">
|
||||
<div class="full-row">
|
||||
<div class="row-label">{$MOD.LBL_SUBTHEME}:</div>
|
||||
<div class="row-bottom"> {html_options name=subtheme options=$SUBTHEMES selected=$SUBTHEME}</div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
</div>
|
||||
<div>
|
||||
<h4>
|
||||
<slot>{$MOD.LBL_LAYOUT_OPTIONS}</slot>
|
||||
</h4>
|
||||
</div>
|
||||
{if $SUBTHEMES}
|
||||
<div class="row-user layout">
|
||||
<div class="row-container">
|
||||
<div class="full-row">
|
||||
<div class="row-label">{$MOD.LBL_SUBTHEME}:</div>
|
||||
<div class="row-bottom"> {html_options name=subtheme options=$SUBTHEMES selected=$SUBTHEME}</div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
<div class="row-user layout">
|
||||
<div class="row-container">
|
||||
<div class="full-row" id="use_group_tabs_row" style="display: {$DISPLAY_GROUP_TAB};">
|
||||
<div class="row-label">{$MOD.LBL_USE_GROUP_TABS}
|
||||
<div class="full-row" id="use_group_tabs_row" style="display: {$DISPLAY_GROUP_TAB};">
|
||||
<div class="row-label">{$MOD.LBL_USE_GROUP_TABS}
|
||||
{sugar_help text=$MOD.LBL_NAVIGATION_PARADIGM_DESCRIPTION }</div>
|
||||
<div class="row-bottom"> <input name="use_group_tabs" type="hidden" value="m"><input id="use_group_tabs"
|
||||
type="checkbox"
|
||||
name="use_group_tabs" {$USE_GROUP_TABS}
|
||||
tabindex='12' value="gm"></div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
</div>
|
||||
<div class="row-bottom"><input name="use_group_tabs" type="hidden" value="m"><input
|
||||
id="use_group_tabs"
|
||||
type="checkbox"
|
||||
name="use_group_tabs" {$USE_GROUP_TABS}
|
||||
tabindex='12' value="gm"></div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-user">
|
||||
|
@ -540,7 +601,9 @@
|
|||
{$MOD.LBL_SORT_MODULES}
|
||||
{sugar_help text=$MOD.LBL_SORT_MODULES_DESCRIPTION }
|
||||
</div>
|
||||
<div class="row-bottom"><input class="subthemelayout_options_checkbox" type="checkbox" name="sort_modules_by_name" {$SORT_MODULES_BY_NAME} tabindex='13'></div>
|
||||
<div class="row-bottom"><input class="subthemelayout_options_checkbox" type="checkbox"
|
||||
name="sort_modules_by_name" {$SORT_MODULES_BY_NAME} tabindex='13'>
|
||||
</div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
</div>
|
||||
<div class="right-col" style="padding-left: 1em;">
|
||||
|
@ -548,30 +611,37 @@
|
|||
{$MOD.LBL_SUBPANEL_TABS}
|
||||
{sugar_help text=$MOD.LBL_SUBPANEL_TABS_DESCRIPTION }
|
||||
</div>
|
||||
<div class="row-bottom"><input class="subthemelayout_options_checkbox" type="checkbox" name="user_subpanel_tabs" {$SUBPANEL_TABS}
|
||||
tabindex='13'></div>
|
||||
<div class="row-bottom"><input class="subthemelayout_options_checkbox" type="checkbox"
|
||||
name="user_subpanel_tabs" {$SUBPANEL_TABS}
|
||||
tabindex='13'></div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-container">
|
||||
<div class="left-col">
|
||||
<div class="row-label">{$MOD.LBL_COUNT_COLLAPSED_SUBPANELS}
|
||||
{sugar_help text=$MOD.LBL_COUNT_COLLAPSED_SUBPANELS_DESCRIPTION }
|
||||
{sugar_help text=$MOD.LBL_COUNT_COLLAPSED_SUBPANELS_DESCRIPTION }
|
||||
</div>
|
||||
<div class="row-bottom"><input class="subthemelayout_options_checkbox" type="checkbox" name="user_count_collapsed_subpanels" {$COUNT_COLLAPSED_SUBPANELS}
|
||||
tabindex='13'></div>
|
||||
<div class="row-bottom"><input class="subthemelayout_options_checkbox" type="checkbox"
|
||||
name="user_count_collapsed_subpanels" {$COUNT_COLLAPSED_SUBPANELS}
|
||||
tabindex='13'></div>
|
||||
<div class="bottom-dotted-border"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-container">
|
||||
<div class="row-container load-more">
|
||||
<div class="left-col">
|
||||
<div class="row-label">{$MOD.LBL_SET_SUBPANEL_PAGINATION_TYPE}
|
||||
<select name="subpanel_pagination_type">{$subpanel_pagination_type}</select>
|
||||
<div class="row-label">{$MOD.LBL_SET_SUBPANEL_PAGINATION_TYPE}: </div>
|
||||
<div>
|
||||
<select name="subpanel_pagination_type">{$subpanel_pagination_type}</select>
|
||||
</div>
|
||||
<div class="row-label">{$MOD.LBL_SET_LISTVIEW_PAGINATION_TYPE}: </div>
|
||||
<div>
|
||||
<select name="listview_pagination_type">{$listview_pagination_type}</select>
|
||||
</div>
|
||||
<div class="row-label">{$MOD.LBL_SET_RECORD_MODAL_PAGINATION_TYPE}: </div>
|
||||
<div>
|
||||
<select name="record_modal_pagination_type">{$record_modal_pagination_type}</select>
|
||||
</div>
|
||||
<div class="row-label">{$MOD.LBL_SET_LISTVIEW_PAGINATION_TYPE}
|
||||
<select name="listview_pagination_type">{$listview_pagination_type}</select>
|
||||
<div class="row-label">{$MOD.LBL_SET_RECORD_MODAL_PAGINATION_TYPE}
|
||||
<select name="record_modal_pagination_type">{$record_modal_pagination_type}</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -582,43 +652,43 @@
|
|||
|
||||
<script type="text/javascript">
|
||||
|
||||
var mail_smtpport = '{$MAIL_SMTPPORT}';
|
||||
var mail_smtpssl = '{$MAIL_SMTPSSL}';
|
||||
{literal}
|
||||
EmailMan = {};
|
||||
var mail_smtpport = '{$MAIL_SMTPPORT}';
|
||||
var mail_smtpssl = '{$MAIL_SMTPSSL}';
|
||||
{literal}
|
||||
EmailMan = {};
|
||||
|
||||
function Admin_check() {
|
||||
if (('{/literal}{$IS_FOCUS_ADMIN}{literal}') && document.getElementById('is_admin').value == '0') {
|
||||
r = confirm('{/literal}{$MOD.LBL_CONFIRM_REGULAR_USER}{literal}');
|
||||
return r;
|
||||
function Admin_check() {
|
||||
if (('{/literal}{$IS_FOCUS_ADMIN}{literal}') && document.getElementById('is_admin').value == '0') {
|
||||
r = confirm('{/literal}{$MOD.LBL_CONFIRM_REGULAR_USER}{literal}');
|
||||
return r;
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
else
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
$(document).ready(function () {
|
||||
var checkKey = function (key) {
|
||||
if (key != '') {
|
||||
$(".calendar_publish_ok").css('display', 'inline');
|
||||
$(".calendar_publish_none").css('display', 'none');
|
||||
$('#cal_pub_key_span').html(key);
|
||||
$('#ical_pub_key_span').html(key);
|
||||
$('#search_pub_key_span').html(key);
|
||||
} else {
|
||||
$(".calendar_publish_ok").css('display', 'none');
|
||||
$(".calendar_publish_none").css('display', 'inline');
|
||||
}
|
||||
};
|
||||
$('#calendar_publish_key').keyup(function () {
|
||||
checkKey($(this).val());
|
||||
$(document).ready(function() {
|
||||
var checkKey = function(key) {
|
||||
if (key != '') {
|
||||
$(".calendar_publish_ok").css('display', 'inline');
|
||||
$(".calendar_publish_none").css('display', 'none');
|
||||
$('#cal_pub_key_span').html(key);
|
||||
$('#ical_pub_key_span').html(key);
|
||||
$('#search_pub_key_span').html(key);
|
||||
} else {
|
||||
$(".calendar_publish_ok").css('display', 'none');
|
||||
$(".calendar_publish_none").css('display', 'inline');
|
||||
}
|
||||
};
|
||||
$('#calendar_publish_key').keyup(function() {
|
||||
checkKey($(this).val());
|
||||
});
|
||||
$('#calendar_publish_key').change(function() {
|
||||
checkKey($(this).val());
|
||||
});
|
||||
checkKey($('#calendar_publish_key').val());
|
||||
});
|
||||
$('#calendar_publish_key').change(function () {
|
||||
checkKey($(this).val());
|
||||
});
|
||||
checkKey($('#calendar_publish_key').val());
|
||||
});
|
||||
{/literal}
|
||||
{/literal}
|
||||
</script>
|
||||
{$JAVASCRIPT}
|
||||
{literal}
|
||||
|
@ -665,12 +735,12 @@
|
|||
</div>
|
||||
</div>
|
||||
{literal}
|
||||
<style>
|
||||
.actionsContainer.footer td {
|
||||
height: 120px;
|
||||
vertical-align: top;
|
||||
}
|
||||
</style>
|
||||
<style>
|
||||
.actionsContainer.footer td {
|
||||
height: 120px;
|
||||
vertical-align: top;
|
||||
}
|
||||
</style>
|
||||
{/literal}
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" class="actionsContainer footer">
|
||||
<tr>
|
||||
|
@ -683,12 +753,12 @@
|
|||
</tr>
|
||||
</table>
|
||||
|
||||
{if $showEmailSettingsPopup}
|
||||
<script>
|
||||
{literal}
|
||||
$(function(){
|
||||
SUGAR.email2.settings.showSettings();
|
||||
});
|
||||
{/literal}
|
||||
</script>
|
||||
{/if}
|
||||
{if $showEmailSettingsPopup}
|
||||
<script>
|
||||
{literal}
|
||||
$(function() {
|
||||
SUGAR.email2.settings.showSettings();
|
||||
});
|
||||
{/literal}
|
||||
</script>
|
||||
{/if}
|
||||
|
|
|
@ -5,11 +5,11 @@ form.userprofile {
|
|||
@media only screen and (max-width: 750px) {
|
||||
white-space: normal;
|
||||
}
|
||||
margin: 0;
|
||||
border-bottom: none;
|
||||
margin: 0;
|
||||
border-bottom: none;
|
||||
li.selected {
|
||||
background: none;
|
||||
}
|
||||
}
|
||||
.selected {
|
||||
a {
|
||||
em {
|
||||
|
@ -17,8 +17,8 @@ form.userprofile {
|
|||
color: #ffffff;
|
||||
border-color: $midnight-blue;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
li {
|
||||
a {
|
||||
height: auto;
|
||||
|
@ -32,13 +32,13 @@ form.userprofile {
|
|||
padding-left: 1em;
|
||||
padding-right: 1em;
|
||||
border-top-left-radius: 5px;
|
||||
border-top-right-radius: 5px;
|
||||
border-top-right-radius: 5px;
|
||||
top: 0;
|
||||
margin-right: 0.1em;
|
||||
font-weight: normal;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.edit-view-row {
|
||||
.edit-view-row-item {
|
||||
|
@ -140,8 +140,8 @@ form.userprofile {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#EditView_tabs.yui-navset.yui-navset-top {
|
||||
padding: 0;
|
||||
}
|
||||
|
@ -150,7 +150,7 @@ form.userprofile {
|
|||
}
|
||||
.panel-heading {
|
||||
height: 3.3rem;
|
||||
}
|
||||
}
|
||||
.email-address-line-container {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
@ -171,11 +171,11 @@ form.userprofile {
|
|||
}
|
||||
.email-address-options-container {
|
||||
position: relative;
|
||||
bottom: 1em;
|
||||
bottom: 1em;
|
||||
margin-left: 3em;
|
||||
input[type="checkbox"] {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#email_options {
|
||||
|
@ -220,7 +220,7 @@ form.userprofile {
|
|||
width: 28px;
|
||||
margin-left: 0.8em;
|
||||
}
|
||||
}
|
||||
}
|
||||
input[type=text],input[type=password],input[type=email] {
|
||||
background-color:$transparent-color;
|
||||
border: 1px solid $form-border-color;
|
||||
|
@ -229,17 +229,17 @@ form.userprofile {
|
|||
background: url($select-edit-background-url) no-repeat right;
|
||||
background-size: 25px 11px;
|
||||
border-color: $bright-grey;
|
||||
}
|
||||
}
|
||||
.action_buttons {
|
||||
bottom: 2.1em;
|
||||
}
|
||||
|
||||
|
||||
.yui-navset .yui-content {
|
||||
padding: 0.2em 1em;
|
||||
position: relative;
|
||||
}
|
||||
.userprofile-email {
|
||||
margin-top: 0.4em;
|
||||
margin-top: 0.4em;
|
||||
}
|
||||
h4 {
|
||||
padding: 0;
|
||||
|
@ -253,7 +253,7 @@ form.userprofile {
|
|||
line-height: 0;
|
||||
}
|
||||
border-bottom: 1px solid lightgrey;
|
||||
}
|
||||
}
|
||||
.button {
|
||||
padding: 0 10px;
|
||||
margin: 4px;
|
||||
|
@ -266,8 +266,8 @@ form.userprofile {
|
|||
text-transform: capitalize;
|
||||
}
|
||||
#settings {
|
||||
table tr td {
|
||||
white-space: nowrap;
|
||||
table tr td {
|
||||
white-space: nowrap;
|
||||
}
|
||||
table tr td:nth-child(1){
|
||||
width: 20%;
|
||||
|
@ -296,7 +296,7 @@ form.userprofile {
|
|||
}
|
||||
}
|
||||
#locale {
|
||||
table tr td {
|
||||
table tr td {
|
||||
white-space: nowrap;
|
||||
}
|
||||
table tr td:nth-child(1){
|
||||
|
@ -314,20 +314,20 @@ form.userprofile {
|
|||
}
|
||||
}
|
||||
#calendar_options {
|
||||
table tr td {
|
||||
white-space: nowrap;
|
||||
}
|
||||
table tr td {
|
||||
white-space: nowrap;
|
||||
}
|
||||
table tr td:nth-child(1){
|
||||
width: 20%;
|
||||
}
|
||||
}
|
||||
#subthemes {
|
||||
table tr td {
|
||||
table tr td {
|
||||
white-space: nowrap;
|
||||
@media (max-width: 750px) {
|
||||
display: contents !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.subthemeslayout {
|
||||
tr td table {
|
||||
|
@ -344,7 +344,7 @@ form.userprofile {
|
|||
tr td:nth-child(4){
|
||||
width: 5%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#settings > .edit [type="button"] {
|
||||
padding: 0 10px;
|
||||
|
@ -365,10 +365,10 @@ form.userprofile {
|
|||
padding-left: 0.6em;
|
||||
text-transform: capitalize;
|
||||
font-weight: normal !important;
|
||||
}
|
||||
}
|
||||
.email-address-reply-to-flag {
|
||||
margin-top: 8px !important;
|
||||
}
|
||||
}
|
||||
.subpanel-table {
|
||||
margin-top: 2.5em;
|
||||
margin-bottom: 2em;
|
||||
|
@ -377,7 +377,7 @@ form.userprofile {
|
|||
top: 6em;
|
||||
right: 1em;
|
||||
#EAPM_create_button {
|
||||
background-color: #93a4b3;
|
||||
background-color: #93a4b3;
|
||||
font-weight: bold;
|
||||
height: 2.2em;
|
||||
line-height: 1.4em;
|
||||
|
@ -404,7 +404,7 @@ form.userprofile {
|
|||
}
|
||||
input#sigDigitsExample {
|
||||
background: lightgrey;
|
||||
}
|
||||
}
|
||||
.user-tab-content {
|
||||
slot {
|
||||
font-weight: inherit;
|
||||
|
@ -431,16 +431,19 @@ form.userprofile {
|
|||
}
|
||||
}
|
||||
}
|
||||
div.load-more div{
|
||||
margin-top: 10px;
|
||||
}
|
||||
.row-user {
|
||||
.row-container {
|
||||
select {
|
||||
height: inherit;
|
||||
}
|
||||
}
|
||||
display: flex;
|
||||
.left-col {
|
||||
width: 50%;
|
||||
width: 50%;
|
||||
margin-right: 1em;
|
||||
border-right: $nepal-grey solid 0.0625rem ;
|
||||
border-right: $nepal-grey solid 0.0625rem ;
|
||||
slot {
|
||||
line-height: 2;
|
||||
}
|
||||
|
@ -457,7 +460,7 @@ form.userprofile {
|
|||
.row-bottom {
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
.row-left {
|
||||
slot {
|
||||
|
@ -515,7 +518,7 @@ form.userprofile {
|
|||
margin-right: 1rem;
|
||||
clear: both;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -589,13 +592,13 @@ form.userprofile {
|
|||
}
|
||||
#settingsButton {
|
||||
margin-top: 1em;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
input[type=button] {
|
||||
&:hover {
|
||||
font-size: 13px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.detail-view {
|
||||
.nav-tabs {
|
||||
li {
|
||||
|
@ -608,4 +611,4 @@ form.userprofile {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue