Created
August 24, 2018 20:49
-
-
Save tessguefen/14a9f10f13b5ea3991721bd0ac6ba61f to your computer and use it in GitHub Desktop.
load_image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
<mvt:item name="readytheme" param="image( g.nav_image_name )" /> | |
--> | |
<mvt:assign name="g.nav_image_loaded" value="''" /> | |
<mvt:item name="readytheme" param="load_image( g.nav_image_name, g.nav_image_loaded )" /> | |
<mvt:if expr="g.nav_image_loaded:active EQ 1"> | |
<mvt:if expr="( g.nav_image_loaded:link_type EQ 'P' ) AND ( g.nav_image_loaded:link_dest )"> | |
<mvt:do file="g.Module_Feature_URI_UT" name="g.nav_image_loaded:link" value="Store_Product_Code_URL( g.nav_image_loaded:link_dest, l.flags )" /> | |
<mvt:elseif expr="( g.nav_image_loaded:link_type EQ 'C' ) AND ( g.nav_image_loaded:link_dest )"> | |
<mvt:do file="g.Module_Feature_URI_UT" name="g.nav_image_loaded:link" value="Store_Category_Code_URL( g.nav_image_loaded:link_dest, l.flags )" /> | |
<mvt:elseif expr="( g.nav_image_loaded:link_type EQ 'G' ) AND ( g.nav_image_loaded:link_dest )"> | |
<mvt:do file="g.Module_Feature_URI_UT" name="g.nav_image_loaded:link" value="Store_Page_Code_URL( g.nav_image_loaded:link_dest, l.flags )" /> | |
<mvt:elseif expr="( g.nav_image_loaded:link_type EQ 'U' ) AND ( g.nav_image_loaded:link_dest )"> | |
<mvt:assign name="g.nav_image_loaded:link" value="g.nav_image_loaded:link_dest" /> | |
</mvt:if> | |
<mvt:if expr="g.nav_image_loaded:link"> | |
<a href="&mvte:global:nav_image_loaded:link;" target="&mvte:global:nav_image_loaded:link_targ;"> | |
<img src="&mvte:global:basehref;&mvte:global:nav_image_loaded:image;"<mvt:if expr="g.nav_image_loaded:image_alt"> alt="&mvte:global:nav_image_loaded:image_alt;"</mvt:if><mvt:if expr="g.nav_image_loaded:css_class"> class="&mvte:global:nav_image_loaded:css_class;"</mvt:if><mvt:if expr="g.nav_image_loaded:css_id"> id="&mvte:global:nav_image_loaded:css_id;"</mvt:if> /> | |
</a> | |
<mvt:else> | |
<img src="&mvte:global:basehref;&mvte:global:nav_image_loaded:image;"<mvt:if expr="g.nav_image_loaded:image_alt"> alt="&mvte:global:nav_image_loaded:image_alt;"</mvt:if><mvt:if expr="g.nav_image_loaded:css_class"> class="&mvte:global:nav_image_loaded:css_class;"</mvt:if><mvt:if expr="g.nav_image_loaded:css_id"> id="&mvte:global:nav_image_loaded:css_id;"</mvt:if> /> | |
</mvt:if> | |
</mvt:if> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment