From: Steve Sutton Date: Wed, 9 Mar 2016 16:33:49 +0000 (-0500) Subject: Updates for output templates X-Git-Tag: v1.0.0^2~179 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=bcc5cb4abcb7cddf87245bcd7177ffa855375300;p=WP-Plugins%2Fglm-member-db-events.git Updates for output templates update the templates to use a id wrapper change some of the headers to h4 --- diff --git a/views/front/events/dashboard.html b/views/front/events/dashboard.html index ee68da4..f0cc0dd 100644 --- a/views/front/events/dashboard.html +++ b/views/front/events/dashboard.html @@ -1,34 +1,35 @@ -

Dashboard

-{* Show the Search form and Short Cuts menu *} -
- {include file='front/events/searchForm.html'} - {include file='front/events/shortCuts.html'} -
-{* Loop through each Category and output the first three events as list *} -
- {foreach $catEvents as $catid => $category} -
- +
+ {* Show the Search form and Short Cuts menu *} +
+ {include file='front/events/searchForm.html'} + {include file='front/events/shortCuts.html'} +
+ {* Loop through each Category and output the first three events as list *} +
+ {foreach $catEvents as $catid => $category} +
+ +
+ {if $category@iteration is div by 2} +
+ {/if} + {/foreach}
- {if $category@iteration is div by 2} -
- {/if} - {/foreach}
diff --git a/views/front/events/detail.html b/views/front/events/detail.html index a96f985..5d3e485 100644 --- a/views/front/events/detail.html +++ b/views/front/events/detail.html @@ -1,37 +1,39 @@ -
- {include file='front/events/searchForm.html'} - {include file='front/events/shortCuts.html'} -
-
-
- +
+
+ {include file='front/events/searchForm.html'} + {include file='front/events/shortCuts.html'}
-
-
-
- - -
-
-
-
{$event.starting}
-
{$event.title}
- {$event.street}
- {$event.city}, {$event.state} {$event.zip} -
-
{$event.cost}
-
Contact & More Info
- {if $event.url} - {$event.url}
- {/if} - {if $event.email} - Email: {$event.email} - {/if} +
+
+ +
+
+
+
+ + +
+
+
+
{$event.starting}
+
{$event.title}
+ {$event.street}
+ {$event.city}, {$event.state} {$event.zip} +
+
{$event.cost}
+
Contact & More Info
+ {if $event.url} + {$event.url}
+ {/if} + {if $event.email} + Email: {$event.email} + {/if} +
-
-
-

{$event.description}

+
+

{$event.description}

+
diff --git a/views/front/events/list.html b/views/front/events/list.html index 46d45d6..9216922 100644 --- a/views/front/events/list.html +++ b/views/front/events/list.html @@ -1,19 +1,20 @@ -

Event List

-
- {include file='front/events/searchForm.html'} - {include file='front/events/shortCuts.html'} -
-
- {foreach $events as $event} -
-
-
{$event.starting}
-
- {$categories[$event.category].name}
- {$event.title} +
+
+ {include file='front/events/searchForm.html'} + {include file='front/events/shortCuts.html'} +
+
+ {foreach $events as $event} +
+
+
{$event.starting}
+
+ {$categories[$event.category].name}
+ {$event.title} +
+
-
+ {/foreach}
- {/foreach}
diff --git a/views/front/events/searchForm.html b/views/front/events/searchForm.html index 1c810b7..c8dafd9 100644 --- a/views/front/events/searchForm.html +++ b/views/front/events/searchForm.html @@ -1,5 +1,5 @@ -
-

Find An Event

+
+

Find An Event

diff --git a/views/front/events/shortCuts.html b/views/front/events/shortCuts.html index 1304f19..edbfbf3 100644 --- a/views/front/events/shortCuts.html +++ b/views/front/events/shortCuts.html @@ -1,5 +1,5 @@ -
-

Shortcuts

+