X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Might be of use: different dialog-images in admin & cust (https://forum.x-cart.com/showthread.php?t=9738)

Gijs 10-08-2004 05:22 AM

Might be of use: different dialog-images in admin & cust
 
Hi,

whilst setting up x-cart and changing the dialog_bg_n.gif to a greenesh colour it hit me: that green didn't work well with the blue-set I had in the admin section. :oops:

This might help using different dialog-images for customer and admin:

Add another dialog-gif (other name: f.e.: bleu_dialog_bg_n.gif) in the skin1/images directory.
Edit dialog.tpl

Code:

{if $usertype == "C"}
<TD height="15" class="DialogTitle" background="{$ImagesDir}/dialog_bg_n.gif" valign="bottom">{$title}</TD>
{else}
<TD height="15" class="DialogTitle" background="{$ImagesDir}/blue_dialog_bg_n.gif" valign="bottom">{$title}</TD>
{/if}


Thought I share this, because I no longer have the blues :wink:

Gijs

Gijs 10-08-2004 06:50 AM

:twisted: :twisted: Green Go-button :twisted: :twisted:

Forgot I had a green go-button too.

Use the same techinque.

Edit buttons/go_image.tpl

Code:

{if $usertype == "C"}src="{if $full_url}{$http_host}{$ImagesDir|replace:"..":""}{else}{$ImagesDir}{/if}/go.gif" width="27" height="14" border="0" align="top"{else}src="{if $full_url}{$http_host}{$ImagesDir|replace:"..":""}{else}{$ImagesDir}{/if}/blue_go.gif" width="27" height="14" border="0" align="top"{/if}


All times are GMT -8. The time now is 08:48 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.