mirror of
https://github.com/Mibew/mibew.git
synced 2025-03-03 18:38:31 +03:00
Use stylePath variable instead of tplRoot in chat templates
This commit is contained in:
parent
cf6e7f625a
commit
f8bd639f39
@ -12,10 +12,10 @@
|
||||
{{else}}
|
||||
{{#if page.mibewHost}}
|
||||
<a onclick="window.open('{{page.mibewHost}}');return false;" href="{{page.mibewHost}}">
|
||||
<img src="{{page.tplRoot}}/images/default-logo.png" alt=""/>
|
||||
<img src="{{page.stylePath}}/images/default-logo.png" alt=""/>
|
||||
</a>
|
||||
{{else}}
|
||||
<img src="{{page.tplRoot}}/images/default-logo.png" alt=""/>
|
||||
<img src="{{page.stylePath}}/images/default-logo.png" alt=""/>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<div class="buttons">
|
||||
<a href="javascript:window.close();" title="{{l10n "Close"}}">
|
||||
<img class="tpl-image iclosewin" src="{{page.tplRoot}}/images/free.gif" alt="{{l10n "Close"}}" />
|
||||
<img class="tpl-image iclosewin" src="{{page.stylePath}}/images/free.gif" alt="{{l10n "Close"}}" />
|
||||
</a>
|
||||
</div>
|
||||
<div class="messagetxt">{{l10n "Sorry. None of the support team is available at the moment. <br/>Please leave a message and someone will get back to you shortly."}}</div>
|
@ -49,4 +49,4 @@
|
||||
<a href="javascript:void(0);" class="but" id="send-message">{{l10n "Send"}}</a>
|
||||
<div class="clear"> </div>
|
||||
</form>
|
||||
<div id="ajax-loader"><img src="{{page.tplRoot}}/images/ajax-loader.gif" alt="Loading..." /></div>
|
||||
<div id="ajax-loader"><img src="{{page.stylePath}}/images/ajax-loader.gif" alt="Loading..." /></div>
|
@ -1,6 +1,6 @@
|
||||
<div class="buttons">
|
||||
<a href="javascript:window.close();" title="{{l10n "Close..."}}">
|
||||
<img class="tpl-image iclosewin" src="{{page.tplRoot}}/images/free.gif" alt="{{l10n "Close..."}}" />
|
||||
<img class="tpl-image iclosewin" src="{{page.stylePath}}/images/free.gif" alt="{{l10n "Close..."}}" />
|
||||
</a>
|
||||
</div>
|
||||
<div class="messagetxt">{{l10n "Thank you for your message. We'll answer your query by email as soon as possible."}}</div>
|
@ -46,4 +46,4 @@
|
||||
<a href="javascript:void(0);" class="but" id="submit-survey">{{l10n "Start Chat"}}</a>
|
||||
<div class="clear"> </div>
|
||||
</form>
|
||||
<div id="ajax-loader"><img src="{{page.tplRoot}}/images/ajax-loader.gif" alt="Loading..." /></div>
|
||||
<div id="ajax-loader"><img src="{{page.stylePath}}/images/ajax-loader.gif" alt="Loading..." /></div>
|
@ -5,7 +5,7 @@
|
||||
<div id="headers">
|
||||
<div class="wndb"><div class="wndl"><div class="wndr"><div class="wndt"><div class="wndtl"><div class="wndtr"><div class="wndbl"><div class="wndbr">
|
||||
<div class="buttons">
|
||||
<a href="javascript:window.close();" title="{{l10n "Close"}}"><img class="tpl-image iclosewin" src="{{page.tplRoot}}/images/free.gif" alt="{{l10n "Close"}}" /></a>
|
||||
<a href="javascript:window.close();" title="{{l10n "Close"}}"><img class="tpl-image iclosewin" src="{{page.stylePath}}/images/free.gif" alt="{{l10n "Close"}}" /></a>
|
||||
</div>
|
||||
<div class="messagetxt">{{l10n "Thank you for contacting us. Please fill out the form below and click the Start Chat button."}}</div>
|
||||
</div></div></div></div></div></div></div></div>
|
||||
|
@ -83,7 +83,7 @@
|
||||
page: {
|
||||
style: '{{styleName}}',
|
||||
mibewRoot: '{{mibewRoot}}',
|
||||
tplRoot: '{{stylePath}}',
|
||||
stylePath: '{{stylePath}}',
|
||||
company: {
|
||||
name: '{{#jsString}}{{company.name}}{{/jsString}}',
|
||||
chatLogoURL: '{{company.chatLogoURL}}'
|
||||
|
Loading…
Reference in New Issue
Block a user