Skip to content

Commit

Permalink
update maintenence text
Browse files Browse the repository at this point in the history
  • Loading branch information
shreesh arora committed Jan 21, 2021
1 parent b4e20f0 commit b6ab14b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions admin/themes/default/template/header.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -305,14 +305,14 @@
{if {$base_url}}
<li>
<a href="{if isset($base_url_tc)}{$base_url_tc|escape:'html':'UTF-8'}{else}{$base_url|escape:'html':'UTF-8'}{/if}" id="header_foaccess" class="_blank" title="{l s='View my shop'}">
<span class="string-long">{l s='My shop'}</span>
<span class="string-short">{l s='Shop'}</span>
<span class="string-long">{l s='My site'}</span>
<span class="string-short">{l s='Site'}</span>
</a>
{if isset($maintenance_mode) && $maintenance_mode == true}
<span class="maintenance-mode">
&mdash;
<span class="label-tooltip" data-toggle="tooltip" data-placement="bottom" data-html="true"
title="<p class='text-left text-nowrap'><strong>{l s='Your shop is in maintenance.'}</strong></p><p class='text-left'>{l s='Your visitors and customers cannot access your shop while in maintenance mode.%s To manage the maintenance settings, go to Preferences > Maintenance.' sprintf='<br />'}</p>">{l s='Maintenance mode'}</span>
title="<p class='text-left text-nowrap'><strong>{l s='Your site is in maintenance.'}</strong></p><p class='text-left'>{l s='Your visitors and customers cannot access your shop while in maintenance mode.%s To manage the maintenance settings, go to Preferences > Maintenance.' sprintf='<br />'}</p>">{l s='Maintenance mode'}</span>
</span>
{/if}
</li>
Expand Down
4 changes: 2 additions & 2 deletions controllers/admin/AdminMaintenanceController.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ public function __construct()
'title' => $this->l('General'),
'fields' => array(
'PS_SHOP_ENABLE' => array(
'title' => $this->l('Enable Shop'),
'desc' => $this->l('Activate or deactivate your shop (It is a good idea to deactivate your shop while you perform maintenance. Please note that the webservice will not be disabled).'),
'title' => $this->l('Enable Site'),
'desc' => $this->l('Activate or deactivate your site (It is a good idea to deactivate your site while you perform maintenance. Please note that the webservice will not be disabled).'),
'validation' => 'isBool',
'cast' => 'intval',
'type' => 'bool'
Expand Down

0 comments on commit b6ab14b

Please sign in to comment.