Skip to content

Commit

Permalink
Merge pull request #29 from ggoffy/master
Browse files Browse the repository at this point in the history
replacing includeq and foreachq
  • Loading branch information
ggoffy authored Mar 23, 2022
2 parents 59c0216 + 65c3243 commit 5242685
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 19 deletions.
1 change: 1 addition & 0 deletions docs/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
- added identifier for events (goffy)
- multiple selections for checkbox and combobox (goffy)
- theme xswatch4_wge (goffy)
- replacing includeq and foreachq (mamba/goffy)

==============================================================
1.0.0 [2022/01/04 9:28:23]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<{includeq file="db:profile_breadcrumbs.tpl"}>
<{include file="db:profile_breadcrumbs.tpl"}>

<{if $steps|@count > 1 AND $current_step >= 0}>
<div class='register-steps'>
<span class='caption'><{$lang_register_steps}></span>
<{foreachq item=step from=$steps key=stepno name=steploop}>
<{foreach item=step from=$steps key=stepno name=steploop}>
<{if $stepno == $current_step}>
<span class='item current'><{$step.step_name}></span>
<{else}>
Expand Down Expand Up @@ -34,7 +34,7 @@
<{$regform.rendered}>
<{*
<h3><{$regform.title}></h3>
<{includeq file="db:profile_form.tpl" xoForm=$regform}>
<{include file="db:profile_form.tpl" xoForm=$regform}>
*}>
<{elseif $finish}>
<h1><{$finish}></h1>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- Header -->
<{includeq file='db:wglinks_admin_header.tpl'}>
<{include file='db:wglinks_admin_header.tpl'}>

<!-- About Page -->
<div class="top"><{$about|default:false}></div>
<!-- Footer -->
<{includeq file='db:wglinks_admin_footer.tpl'}>
<{include file='db:wglinks_admin_footer.tpl'}>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- Header -->
<{includeq file='db:wglinks_admin_header.tpl'}>
<{include file='db:wglinks_admin_header.tpl'}>

<!-- Index Page -->
<div class="top"><{$index|default:false}></div>
<!-- Footer -->
<{includeq file='db:wglinks_admin_footer.tpl'}>
<{include file='db:wglinks_admin_footer.tpl'}>
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<{if $show_breadcrumbs|default:false}>
<{includeq file='db:wglinks_breadcrumbs.tpl'}>
<{include file='db:wglinks_breadcrumbs.tpl'}>
<{/if}>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- Header -->
<{includeq file="db:wgsitenotice_admin_header.tpl"}>
<{include file="db:wgsitenotice_admin_header.tpl"}>
<!-- About Page -->
<div class="top"><{$about|default:''}></div>
<!-- Footer -->
<{includeq file="db:wgsitenotice_admin_footer.tpl"}>
<{include file="db:wgsitenotice_admin_footer.tpl"}>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- Header -->
<{includeq file="db:wgsitenotice_admin_header.tpl"}>
<{include file="db:wgsitenotice_admin_header.tpl"}>
<!-- Index Page -->
<div class="top"><{$index|default:''}></div>
<!-- Footer -->
<{includeq file="db:wgsitenotice_admin_footer.tpl"}>
<{include file="db:wgsitenotice_admin_footer.tpl"}>
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<h2><{$block.title}></h2>
<{/if}>
<{foreach item=b_template from=$block.template}>
<{includeq file="$b_template"}>
<{include file="$b_template"}>
<{/foreach}>
<{else}>
<{if $block.warning != ''}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<{if $content_dotitle == 1}>
<h2><{$content_title}></h2>
<{/if}>
<{includeq file="$content_template"}>
<{include file="$content_template"}>
<{else}>
<{if $content_warning != ''}>
<div class="row">
Expand Down
4 changes: 2 additions & 2 deletions templates/admin/wgevents_admin_about.tpl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!-- Header -->
<{includeq file='db:wgevents_admin_header.tpl' }>
<{include file='db:wgevents_admin_header.tpl' }>

<!-- About Page -->
<div class="top"><{$about|default:false}></div>

<!-- Footer -->
<{includeq file='db:wgevents_admin_footer.tpl' }>
<{include file='db:wgevents_admin_footer.tpl' }>
4 changes: 2 additions & 2 deletions templates/admin/wgevents_admin_index.tpl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!-- Header -->
<{includeq file='db:wgevents_admin_header.tpl' }>
<{include file='db:wgevents_admin_header.tpl' }>

<!-- Index Page -->
<div class="top"><{$index|default:false}></div>

<!-- Footer -->
<{includeq file='db:wgevents_admin_footer.tpl' }>
<{include file='db:wgevents_admin_footer.tpl' }>
2 changes: 1 addition & 1 deletion templates/wgevents_header.tpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<{if $xoBreadcrumbs|default:''}>
<{includeq file='db:wgevents_breadcrumbs.tpl' }>
<{include file='db:wgevents_breadcrumbs.tpl' }>
<{/if}>
<{if $ads|default:''}>
<div class='center'><{$ads|default:false}></div>
Expand Down

0 comments on commit 5242685

Please sign in to comment.