Skip to content
Snippets Groups Projects
Commit 34f1e5b7 authored by Eric Rasmussen's avatar Eric Rasmussen
Browse files

More apache 2.4 variable syntax updates

parent 04029189
No related branches found
No related tags found
1 merge request!85Movetounlcms
wdnCampusCallback("<!--#if expr="$UNL_CAMPUS = 'on'" -->YES<!--#else -->NO<!--#endif -->"); wdnCampusCallback("<!--#if expr="v('UNL_CAMPUS') = 'on'" -->YES<!--#else -->NO<!--#endif -->");
<!--#config timefmt="%Y%m%d%H" --> <!--#config timefmt="%Y%m%d%H" -->
<!--#if expr="$DATE_LOCAL < 2008020600" --> <!--#if expr="v('DATE_LOCAL') < 2008020600" -->
<!--you can use the preceding conditional to cease displaying the content at a given date and time; the opening line generates a ten-digit string as YYYYMMDDHH, where the hour is two-digit military time. From there, it's a simple matter of creating a static string in the same format for when you'd like the code to be hidden. Note the closing else and endifs at the bottom of this document.--> <!--you can use the preceding conditional to cease displaying the content at a given date and time; the opening line generates a ten-digit string as YYYYMMDDHH, where the hour is two-digit military time. From there, it's a simple matter of creating a static string in the same format for when you'd like the code to be hidden. Note the closing else and endifs at the bottom of this document.-->
......
<!--#config timefmt="%Y%m%d%H%M" --> <!--#config timefmt="%Y%m%d%H%M" -->
<!--#if expr="(${DATE_LOCAL} >= 201302202200) && (${DATE_LOCAL} < 201302211000)" --> <!--#if expr="(v('DATE_LOCAL') >= 201302202200) && (v('DATE_LOCAL') < 201302211000)" -->
<div style="border:2px solid #AF0909; border-radius: 5px; padding: 12px 9px 4px 9px;margin-bottom:9px;"> <div style="border:2px solid #AF0909; border-radius: 5px; padding: 12px 9px 4px 9px;margin-bottom:9px;">
<span style="font-size: 10px;">INCLEMENT WEATHER ALERT ISSUED 4:30AM, FEB. 21, 2013</span><br /> <span style="font-size: 10px;">INCLEMENT WEATHER ALERT ISSUED 4:30AM, FEB. 21, 2013</span><br />
<h3 style="color:#C60302;"><strong>UNL is Open Today</strong></h5> <h3 style="color:#C60302;"><strong>UNL is Open Today</strong></h5>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment