Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
remdex committed Nov 27, 2021
1 parent dd8d18a commit e4ff28a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
<i ng-hide="abstract_checked_bubble_style_profile" class="material-icons chat-operators mi-fs15 mr-0">account_box</i>
<span ng-hide="abstract_checked_bubble_style_profile" class="op-nick-title">Operator</span>

<i ng-show="abstract_checked_bubble_style_profile" title="<?php echo htmlspecialchars($msg['name_support'])?>" class="chat-operators mi-fs15 mr-0">
<i ng-show="abstract_checked_bubble_style_profile" class="chat-operators mi-fs15 mr-0">
<img class="profile-msg-pic" src="<?php echo erLhcoreClassDesign::design('images/general/logo.png');?>" alt="">
</i>
</span>
Expand All @@ -187,7 +187,7 @@
<i ng-hide="abstract_checked_bubble_style_profile" class="material-icons chat-operators mi-fs15 mr-0">account_box</i>
<span ng-hide="abstract_checked_bubble_style_profile" class="op-nick-title">Operator</span>

<i ng-show="abstract_checked_bubble_style_profile" title="<?php echo htmlspecialchars($msg['name_support'])?>" class="chat-operators mi-fs15 mr-0">
<i ng-show="abstract_checked_bubble_style_profile" class="chat-operators mi-fs15 mr-0">
<img class="profile-msg-pic" src="<?php echo erLhcoreClassDesign::design('images/general/logo.png');?>" alt="">
</i>
</span>
Expand Down
4 changes: 2 additions & 2 deletions lhc_web/design/defaulttheme/tpl/lhchat/cannedmsgform.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,13 +166,13 @@
}

?>
<input name="<?php echo $dayShort ?>StartTime" value="<?php echo htmlspecialchars($hoursStart,':',$minutesStart)?>" type="time" class="form-control form-control-sm">
<input name="<?php echo $dayShort ?>StartTime" value="<?php echo htmlspecialchars($hoursStart.':'.$minutesStart)?>" type="time" class="form-control form-control-sm">
</div>
</div>
<div class="col-3">
<div class="form-group" ng-non-bindable>
<label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('department/edit','Time to');?></label>
<input name="<?php echo $dayShort ?>EndTime" value="<?php echo htmlspecialchars($hoursEnd,':',$minutesEnd)?>" type="time" class="form-control form-control-sm">
<input name="<?php echo $dayShort ?>EndTime" value="<?php echo htmlspecialchars($hoursEnd.':'.$minutesEnd)?>" type="time" class="form-control form-control-sm">
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion lhc_web/modules/lhwidgetrestapi/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@

$needHelpTimeout = isset($theme) && $theme instanceof erLhAbstractModelWidgetTheme ? $theme->show_need_help_timeout : erLhcoreClassModelChatConfig::fetch('need_help_tip_timeout')->current_value;

if (((isset($theme) && $theme instanceof erLhAbstractModelWidgetTheme && $theme->show_need_help == 1 && (!isset($theme->bot_configuration_array['hide_mobile_nh']) || $theme->bot_configuration_array['hide_mobile_nh'] == false || ($userInstance !== false && $theme->bot_configuration_array['hide_mobile_nh'] == true && in_array($userInstance->device_type,array(1,3))) )) || (!isset($theme) && erLhcoreClassModelChatConfig::fetch('need_help_tip')->current_value == 1)) && $needHelpTimeout > 0 && (!isset($_GET['hnh']) || $_GET['hnh'] < (time() - ($needHelpTimeout * 24 * 3600))))
if (((isset($theme) && $theme instanceof erLhAbstractModelWidgetTheme && $theme->show_need_help == 1 && (!isset($theme->bot_configuration_array['hide_mobile_nh']) || $theme->bot_configuration_array['hide_mobile_nh'] == false || (isset($userInstance) && $userInstance !== false && $theme->bot_configuration_array['hide_mobile_nh'] == true && in_array($userInstance->device_type,array(1,3))) )) || (!isset($theme) && erLhcoreClassModelChatConfig::fetch('need_help_tip')->current_value == 1)) && $needHelpTimeout > 0 && (!isset($_GET['hnh']) || $_GET['hnh'] < (time() - ($needHelpTimeout * 24 * 3600))))
{
$configInstance = erConfigClassLhConfig::getInstance();

Expand Down

0 comments on commit e4ff28a

Please sign in to comment.