mirror of
https://github.com/scummvm/scummvm-web.git
synced 2026-11-18 21:35:12 +00:00
WEB: update templates includes to use the new folder structure
This commit is contained in:
1 parent
f3cbfb6b5c
commit
f0be08f8dc
12 files changed
+18
-18
No files matched your search
@@ -133,7 +133,7 @@ class Controller {
|
||||
'content' => $content,
|
||||
);
|
||||
$this->_smarty->assign($vars);
|
||||
return $this->_smarty->display('index.tpl');
|
||||
return $this->_smarty->display('pages/index.tpl');
|
||||
}
|
||||
|
||||
/* Render the HTML using the template and any set variables and returns it. */
|
||||
|
||||
File renamed without changes.
File renamed without changes.
@@ -1,12 +1,12 @@
|
||||
<nav>
|
||||
{foreach from=$menus item=menu}
|
||||
{include file='menu_group.tpl' menu=$menu}
|
||||
{include file='components/menu_group.tpl' menu=$menu}
|
||||
{/foreach}
|
||||
|
||||
{include file='lang_menu.tpl'}
|
||||
{include file=components/'lang_menu.tpl'}
|
||||
</nav>
|
||||
|
||||
<div class="monkey hide-small">
|
||||
<img src="/images/hangmonk.gif" alt="monkey" width="55" height="57" class="float_right">
|
||||
{include file='banners.tpl'}
|
||||
{include file='components/banners.tpl'}
|
||||
</div>
|
||||
@@ -4,22 +4,22 @@
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
{include file='subhead.tpl' subhead=#contactIRCHeader#}
|
||||
{include file='components/subhead.tpl' subhead=#contactIRCHeader#}
|
||||
<div class="subhead-content">
|
||||
{#contactIRC#}
|
||||
</div>
|
||||
|
||||
{include file='subhead.tpl' subhead=#contactForumsHeader#}
|
||||
{include file='components/subhead.tpl' subhead=#contactForumsHeader#}
|
||||
<div class="subhead-content">
|
||||
{#contactForums#}
|
||||
</div>
|
||||
|
||||
{include file='subhead.tpl' subhead=#contactTrackersHeader#}
|
||||
{include file='components/subhead.tpl' subhead=#contactTrackersHeader#}
|
||||
<div class="subhead-content">
|
||||
{#contactTrackers#}
|
||||
</div>
|
||||
|
||||
{include file='subhead.tpl' subhead=#contactListsHeader#}
|
||||
{include file='components/subhead.tpl' subhead=#contactListsHeader#}
|
||||
<div class="subhead-content">
|
||||
{#contactLists#}
|
||||
</div>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<div class="subhead">{$subcsection->getTitle()}</div>
|
||||
<div class="subhead-content">
|
||||
{include
|
||||
file='credits_entry.tpl'
|
||||
file='components/credits_entry.tpl'
|
||||
groups=$subcsection->getGroups()
|
||||
paragraphs=$subcsection->getParagraphs()
|
||||
}
|
||||
@@ -15,12 +15,12 @@
|
||||
{/foreach}
|
||||
{* If the section itself has paragraphs, we must process them here. *}
|
||||
{include
|
||||
file='credits_entry.tpl'
|
||||
file='components/credits_entry.tpl'
|
||||
paragraphs=$csection->getParagraphs()
|
||||
}
|
||||
{else}
|
||||
{include
|
||||
file='credits_entry.tpl'
|
||||
file='components/credits_entry.tpl'
|
||||
groups=$csection->getGroups()
|
||||
paragraphs=$csection->getParagraphs()
|
||||
}
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
{/if}
|
||||
|
||||
<div class="subhead-content">
|
||||
{if $dsubsection->getNotes() != ''} {eval var=$dsubsection->getNotes()} {/if} {include file='list_items.tpl' list=$dsubsection->getItems() type='platforms'}
|
||||
{if $dsubsection->getNotes() != ''} {eval var=$dsubsection->getNotes()} {/if} {include file='components/list_items.tpl' list=$dsubsection->getItems() type='platforms'}
|
||||
{if !is_null($dsubsection->getFooter())}
|
||||
<p>{$dsubsection->getFooter()}</p>
|
||||
{/if}
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
{eval var=$dsubsection->getNotes()}
|
||||
{/if}
|
||||
|
||||
{include file='list_items.tpl' list=$dsubsection->getItems() type='games'}
|
||||
{include file='components/list_items.tpl' list=$dsubsection->getItems() type='games'}
|
||||
{if !is_null($dsubsection->getFooter())}
|
||||
<p>{$dsubsection->getFooter()}</p>
|
||||
{/if}
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
<div class="content">
|
||||
{* Introduction text and screenshot viewer. *}
|
||||
{if isset($show_intro) && $show_intro}
|
||||
{include file='intro_header.tpl'}
|
||||
{include file='components/intro_header.tpl'}
|
||||
{/if}
|
||||
|
||||
{* The actual content. *}
|
||||
@@ -8,7 +8,7 @@
|
||||
</div>
|
||||
<div class="content">
|
||||
{foreach from=$links item=group}
|
||||
{include file='subhead.tpl' subhead=$group.name}
|
||||
{include file='components/subhead.tpl' subhead=$group.name}
|
||||
<div class="subhead-content">
|
||||
<p>{$group.description}</p>
|
||||
<div class="linklist">
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
<a href="/screenshots/{$arr.category}/">{$arr.title}</a>
|
||||
</div>
|
||||
<div class="scr-content scr-content-{$arr.category}">
|
||||
{include file='list_items.tpl' list=$arr.games type='games'}
|
||||
{include file='components/list_items.tpl' list=$arr.games type='games'}
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
|
||||
@@ -10,10 +10,10 @@
|
||||
|
||||
<div class="content">
|
||||
{foreach from=$subprojects item=project}
|
||||
{include file='subhead.tpl' subhead=$project->getName()}
|
||||
{include file='components/subhead.tpl' subhead=$project->getName()}
|
||||
<div class="subhead-content">
|
||||
{$project->getInfo()}
|
||||
{include file='list_items.tpl' list=$project->getDownloads() type='platforms'}
|
||||
{include file='components/list_items.tpl' list=$project->getDownloads() type='platforms'}
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user