Commit 6fb63577 authored by changi67's avatar changi67

[MOD] Modify include file in template syntax using simple Quote when include doesn't use variable

parent d8d974a3
......@@ -104,7 +104,7 @@
{/if}
{if $thread_style eq 'commentStyle_headers'}
{include file="comment-footer.tpl" comment=$comments_coms[rep]}
{include file='comment-footer.tpl' comment=$comments_coms[rep]}
{/if}
<br class="clear" />
</div>
......@@ -4,12 +4,12 @@
<div class="inner"><span class="corners-top"><span></span></span>
<div class="clearfix postbody">
{include file="comment-header.tpl"}
{include file="comment-body.tpl"}
{include file='comment-header.tpl'}
{include file='comment-body.tpl'}
</div>
{if $thread_style != 'commentStyle_headers'}
{include file="comment-footer.tpl"}
{include file='comment-footer.tpl'}
<br style="clear: both;" />
{/if}
......@@ -23,7 +23,7 @@
<div class="sub_comment_area">
<div class="sub_comment">
{/if}
{include file="comment.tpl" comment=$comment}
{include file='comment.tpl' comment=$comment}
{if $comment.doNotShow != 1 && $thread_style != 'commentStyle_plain' }
</div>
</div>
......
......@@ -175,7 +175,7 @@
{/if}
{section name=rep loop=$comments_coms}
{include file="comment.tpl" comment=$comments_coms[rep]}
{include file='comment.tpl' comment=$comments_coms[rep]}
{if $thread_style != 'commentStyle_plain'}<br />{/if}
{/section}
</form>
......@@ -318,7 +318,7 @@
{if $prefs.feature_smileys eq 'y'}
<tr>
<td class="formcolor"><label>{tr}Smileys{/tr}</label></td>
<td class="formcolor">{include file="tiki-smileys.tpl" area_name="editpost2"}</td>
<td class="formcolor">{include file='tiki-smileys.tpl' area_name="editpost2"}</td>
</tr>
{/if}
......@@ -335,7 +335,7 @@
<td class="formcolor">
<label for="editpost2">{if $forum_mode eq 'y'}{tr}Reply{/tr}{else}{tr}Comment{/tr} <span class="attention">({tr}required{/tr})</span>{/if}</label>
<br /><br />
{include file="textareasize.tpl" area_name='editpost2' formId='editpostform'}
{include file='textareasize.tpl' area_name='editpost2' formId='editpostform'}
<br /><br />
{if $quicktags and $prefs.quicktags_over_textarea neq 'y'}
{include file='tiki-edit_help_tool.tpl' area_name='editpost2'}
......@@ -359,11 +359,11 @@
{/if}
{if $prefs.feature_contribution eq 'y'}
{include file="contribution.tpl" in_comment="y"}
{include file='contribution.tpl' in_comment="y"}
{/if}
{if $prefs.feature_antibot eq 'y'}
{include file="antibot.tpl" td_style="formcolor"}
{include file='antibot.tpl' td_style="formcolor"}
{/if}
{if !$user}
......
......@@ -44,9 +44,9 @@ close();
{if $prefs.feature_search eq 'y'}
{if $prefs.feature_search_fulltext eq 'y'}
{include file="tiki-searchresults.tpl" searchNoResults="false" searchStyle="menu" searchOrientation="horiz" words="$page"}
{include file='tiki-searchresults.tpl' searchNoResults="false" searchStyle="menu" searchOrientation="horiz" words="$page"}
{else}
{include file="tiki-searchindex.tpl" searchNoResults="true" searchStyle="menu" searchOrientation="horiz" words="$page"}
{include file='tiki-searchindex.tpl' searchNoResults="true" searchStyle="menu" searchOrientation="horiz" words="$page"}
{/if}
{/if}
......
......@@ -4,7 +4,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{if !empty($pageLang)}{$pageLang}{else}{$prefs.language}{/if}" lang="{if !empty($pageLang)}{$pageLang}{else}{$prefs.language}{/if}">
<head>
{include file="header.tpl"}
{include file='header.tpl'}
</head>
<body{if isset($section) and $section eq 'wiki page' and $prefs.user_dbl eq 'y' and $dblclickedit eq 'y' and $tiki_p_edit eq 'y'} ondblclick="location.href='tiki-editpage.php?page={$page|escape:"url"}';"{/if} onload="{if $prefs.feature_tabs eq 'y'}tikitabs({if $cookietab neq ''}{$cookietab}{else}1{/if},50);{/if}{if $msgError} javascript:location.hash='msgError'{/if}"{if $section or $smarty.session.fullscreen eq 'y'} class="{if $section}tiki_{$section}{/if}{if $smarty.session.fullscreen eq 'y'} fullscreen{/if}"{/if}>
{if $prefs.feature_bidi eq 'y'}
......@@ -23,6 +23,6 @@
{if $prefs.feature_bidi eq 'y'}
</td></tr></table>
{/if}
{include file="footer.tpl"}
{include file='footer.tpl'}
</body>
</html>
......@@ -4,7 +4,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{if !empty($pageLang)}{$pageLang}{else}{$prefs.language}{/if}" lang="{if !empty($pageLang)}{$pageLang}{else}{$prefs.language}{/if}">
<head>
{include file="header.tpl"}
{include file='header.tpl'}
</head>
<body{if isset($section) and $section eq 'wiki page' and $prefs.user_dbl eq 'y' and $dblclickedit eq 'y' and $tiki_p_edit eq 'y'} ondblclick="location.href='tiki-editpage.php?page={$page|escape:"url"}';"{/if} onload="{if $prefs.feature_tabs eq 'y'}tikitabs({if $cookietab neq ''}{$cookietab}{else}1{/if},50);{/if}{if $msgError} javascript:location.hash='msgError'{/if}"{if $section or $smarty.session.fullscreen eq 'y'} class="{if $section}tiki_{$section}{/if}{if $smarty.session.fullscreen eq 'y'} fullscreen{/if}"{/if}>
{* Index we display a wiki page here *}
......@@ -15,7 +15,7 @@
<div id="tiki-main">
{if $prefs.feature_top_bar eq 'y'}
<div id="tiki-top">
{include file="tiki-top_bar.tpl"}
{include file='tiki-top_bar.tpl'}
</div>
{/if}
<div id="tiki-mid">
......@@ -58,14 +58,14 @@
</div>
{if $prefs.feature_bot_bar eq 'y'}
<div id="tiki-bot">
{include file="tiki-bot_bar.tpl"}
{include file='tiki-bot_bar.tpl'}
</div>
{/if}
</div>
{if $prefs.feature_bidi eq 'y'}
</td></tr></table>
{/if}
{include file="footer.tpl"}
{include file='footer.tpl'}
</body>
</html>
......@@ -21,7 +21,7 @@
* filter_values : array( filter_fieldX => filter_fieldX_selected_value, ... )
*
* Usage examples : {include file='find.tpl'}
* {include file="find.tpl" find_show_languages='y' find_show_categories='y' find_show_num_rows='y'}
* {include file='find.tpl' find_show_languages='y' find_show_categories='y' find_show_num_rows='y'}
*}
<div class="clearfix">
......
......@@ -15,7 +15,7 @@
{* Include debugging console. Note it should be processed as near as possible to the end of file and it requires Smarty secure mode off to permit PHP tags in tpl files. See Smarty_Compiler.class.php *}
{php} include_once("tiki-debug_console.php"); {/php}
{include file="tiki-debug_console.tpl"}
{include file='tiki-debug_console.tpl'}
{/if}
{if $prefs.feature_phplayers eq 'y' and isset($phplayers_LayersMenu)}
......
......@@ -23,7 +23,7 @@
{* --- tikiwiki block --- *}
<script type="text/javascript" src="lib/tiki-js.js"></script>
{include file="bidi.tpl"}
{include file='bidi.tpl'}
<title>
{if isset($trail)} {breadcrumbs type="fulltrail" loc="head" crumbs=$trail}
{else}
......@@ -102,7 +102,7 @@
{/if}
{/if}
{if $prefs.feature_jquery eq "y"}
{include file="header_jquery.tpl"}
{include file='header_jquery.tpl'}
{/if}
{if $prefs.feature_swfobj eq "y"}
......
......@@ -21,7 +21,7 @@
{* --- tikiwiki block --- *}
<script type="text/javascript" src="lib/tiki-js.js"></script>
{include file="bidi.tpl"}
{include file='bidi.tpl'}
<title>
{if isset($trail)}{breadcrumbs type="fulltrail" loc="head" crumbs=$trail}
{else}
......@@ -57,7 +57,7 @@
{/if}
{/if}
{if $prefs.feature_jquery eq "y"}
{include file="header_jquery.tpl"}
{include file='header_jquery.tpl'}
{/if}
{if $prefs.feature_swfobj eq "y"}
......
......@@ -5,7 +5,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{if !empty($pageLang)}{$pageLang}{else}{$prefs.language}{/if}" lang="{if !empty($pageLang)}{$pageLang}{else}{$prefs.language}{/if}">
<head>
{include file="header.tpl"}
{include file='header.tpl'}
</head>
<body{if isset($section) and $section eq 'wiki page' and $prefs.user_dbl eq 'y' and $dblclickedit eq 'y' and $tiki_p_edit eq 'y'} ondblclick="location.href='tiki-editpage.php?page={$page|escape:"url"}';"{/if} onload="{if $prefs.feature_tabs eq 'y'}tikitabs({if $cookietab neq ''}{$cookietab}{else}1{/if},50);{/if}{if $msgError} javascript:location.hash='msgError'{/if}"{if $section or $smarty.session.fullscreen eq 'y'} class="{if $section}tiki_{$section}{/if}{if $smarty.session.fullscreen eq 'y'} fullscreen{/if}"{/if}>
{* Index we display a wiki page here *}
......@@ -16,7 +16,7 @@
<div id="tiki-main">
{if $prefs.feature_top_bar eq 'y'}
<div id="tiki-top">
{include file="tiki-top_bar.tpl"}
{include file='tiki-top_bar.tpl'}
</div>
{/if}
<div id="tiki-mid">
......@@ -56,13 +56,13 @@
</div>
{if $prefs.feature_bot_bar eq 'y'}
<div id="tiki-bot">
{include file="tiki-bot_bar.tpl"}
{include file='tiki-bot_bar.tpl'}
</div>
{/if}
</div>
{if $prefs.feature_bidi eq 'y'}
</td></tr></table>
{/if}
{include file="footer.tpl"}
{include file='footer.tpl'}
</body>
</html>
{title help="Inter-User Messages"}{tr}Message Archive{/tr}{/title}
{include file='tiki-mytiki_bar.tpl'}
{include file="messu-nav.tpl"}
{include file='messu-nav.tpl'}
{if $prefs.messu_archive_size gt '0'}
<br />
<table border='0' cellpadding='0' cellspacing='0'>
......
{title help="Inter-User Messages"}{tr}Broadcast message{/tr}{/title}
{include file='tiki-mytiki_bar.tpl'}
{include file="messu-nav.tpl"}
{include file='messu-nav.tpl'}
<br /><br />
......
{title help="Inter-User Messages"}{tr}Compose message{/tr}{/title}
{include file='tiki-mytiki_bar.tpl'}
{include file="messu-nav.tpl"}
{include file='messu-nav.tpl'}
{if $allowMsgs ne 'y'}<br />
<div class="simplebox">{icon _id=information style="vertical-align:middle" align="left"} {tr}If you want people to be able to reply to you, enable <a href='tiki-user_preferences.php'>Allow messages from other users</a> in your preferences.{/tr}</div><br /</br />
......
......@@ -3,7 +3,7 @@
{if $prefs.feature_ajax ne 'y' && $prefs.feature_mootools ne 'y'}
{include file='tiki-mytiki_bar.tpl'}
{/if}
{include file="messu-nav.tpl"}
{include file='messu-nav.tpl'}
{if $prefs.messu_mailbox_size gt '0'}
<br />
<table border='0' cellpadding='0' cellspacing='0'>
......
{title url="messu-read.php?msgId=$msgId"}{tr}Read message{/tr}{/title}
{include file='tiki-mytiki_bar.tpl'}
{include file="messu-nav.tpl"}
{include file='messu-nav.tpl'}
<br />
{if $prev}<a class="readlink" href="messu-read.php?offset={$offset}&amp;msgId={$prev}&amp;sort_mode={$sort_mode}&amp;find={$find}&amp;flag={$flag}&amp;priority={$priority}&amp;flagval={$flagval}">{tr}Prev{/tr}</a>{/if}
{if $next}<a class="readlink" href="messu-read.php?offset={$offset}&amp;msgId={$next}&amp;sort_mode={$sort_mode}&amp;find={$find}&amp;flag={$flag}&amp;priority={$priority}&amp;flagval={$flagval}">{tr}Next{/tr}</a>{/if}
......
{title url="messu-read.php?msgId=$msgId"}{tr}Read message{/tr}{/title}
{include file='tiki-mytiki_bar.tpl'}
{include file="messu-nav.tpl"}
{include file='messu-nav.tpl'}
<br />
{if $prev}<a class="readlink" href="messu-read_archive.php?offset={$offset}&amp;msgId={$prev}&amp;sort_mode={$sort_mode}&amp;find={$find}&amp;flag={$flag}&amp;priority={$priority}&amp;flagval={$flagval}">{tr}Prev{/tr}</a>{/if}
{if $next}<a class="readlink" href="messu-read_archive.php?offset={$offset}&amp;msgId={$next}&amp;sort_mode={$sort_mode}&amp;find={$find}&amp;flag={$flag}&amp;priority={$priority}&amp;flagval={$flagval}">{tr}Next{/tr}</a>{/if}
......
{title url="messu-read.php?msgId=$msgId"}{tr}Read message{/tr}{/title}
{include file='tiki-mytiki_bar.tpl'}
{include file="messu-nav.tpl"}
{include file='messu-nav.tpl'}
<br />
{if $prev}<a class="readlink" href="messu-read_sent.php?offset={$offset}&amp;msgId={$prev}&amp;sort_mode={$sort_mode}&amp;find={$find}&amp;flag={$flag}&amp;priority={$priority}&amp;flagval={$flagval}">{tr}Prev{/tr}</a>{/if}
{if $next}<a class="readlink" href="messu-read_sent.php?offset={$offset}&amp;msgId={$next}&amp;sort_mode={$sort_mode}&amp;find={$find}&amp;flag={$flag}&amp;priority={$priority}&amp;flagval={$flagval}">{tr}Next{/tr}</a>{/if}
......
{title help="Inter-User Messages"}{tr}Sent Messages{/tr}{/title}
{include file='tiki-mytiki_bar.tpl'}
{include file="messu-nav.tpl"}
{include file='messu-nav.tpl'}
{if $prefs.messu_sent_size gt '0'}
<br />
<table border='0' cellpadding='0' cellspacing='0'>
......
<ul class="toc">{section name=sitem loop=$structure_tree}{include file="structures_toc_level.tpl" that=$structure_tree[sitem]}{/section}</ul>
<ul class="toc">{section name=sitem loop=$structure_tree}{include file='structures_toc_level.tpl' that=$structure_tree[sitem]}{/section}</ul>
<li class="toclevel"><a href="{sefurl page=$that.pageName structure=$structurePageName page_ref_id=$that.page_ref_id}" class="link">{$that.pageName}</a>{if $showdesc}{$that.description}{/if}</li>{if $that.sub}<ul>{section name=xitem loop=$that.sub}{include file="structures_toc_level.tpl" that=$that.sub[xitem]}{/section}</ul>{/if}
<li class="toclevel"><a href="{sefurl page=$that.pageName structure=$structurePageName page_ref_id=$that.page_ref_id}" class="link">{$that.pageName}</a>{if $showdesc}{$that.description}{/if}</li>{if $that.sub}<ul>{section name=xitem loop=$that.sub}{include file='structures_toc_level.tpl' that=$that.sub[xitem]}{/section}</ul>{/if}
......@@ -35,12 +35,12 @@
<div class="calinput"><input type="submit" name="refresh" value="{tr}Refresh{/tr}"/></div>
</form>
{include file="tiki-calendar_nav.tpl"}
{include file='tiki-calendar_nav.tpl'}
{if $viewlist eq 'list'}
{include file="tiki-calendar_listmode.tpl"'}
{include file='tiki-calendar_listmode.tpl''}
{else}
{include file="tiki-calendar_calmode.tpl"}
{include file='tiki-calendar_calmode.tpl'}
{/if}
</div>
......
......@@ -158,7 +158,7 @@
<div class="adminoptionbox">
<div class="adminoptionlabel">{tr}Select which items to display when listing galleries: {/tr}:</div>
<table class="admin">
{include file="fgal_listing_conf.tpl"}
{include file='fgal_listing_conf.tpl'}
</table>
</div>
{/tab}
......
......@@ -24,7 +24,7 @@ Add a value in first check when you create a new admin page. *}
{assign var="include" value="list-sections"}
{/if}
{if $include != "list-sections"}
<div class="simplebox adminanchors clearfix" >{include file="tiki-admin-include-anchors.tpl"}</div>
<div class="simplebox adminanchors clearfix" >{include file='tiki-admin-include-anchors.tpl'}</div>
{/if}
{if $feature_version_checks eq 'y' and $prefs.tiki_needs_upgrade eq 'y'}
......
......@@ -272,10 +272,10 @@
{$action.action} / {$action.objectType} / {$action.object}
<table class="normal">
{if $prefs.feature_contribution eq 'y'}
{include file="contribution.tpl" section=$action.objectType}
{include file='contribution.tpl' section=$action.objectType}
{/if}
{if $prefs.feature_categories eq 'y'}
{include file="categorize.tpl"}
{include file='categorize.tpl'}
{/if}
<tr>
<td class="formcolor">&nbsp;</td>
......
......@@ -85,7 +85,7 @@
{tr}Edit{/tr}:
<br />
<br />
{include file="textareasize.tpl" area_name='editwiki' formId='editpageform' ToolbarSet='Tiki'}
{include file='textareasize.tpl' area_name='editwiki' formId='editpageform' ToolbarSet='Tiki'}
<br />
<br />
{if $prefs.quicktags_over_textarea neq 'y'}
......
......@@ -30,7 +30,7 @@
<h2>{tr}Dynamic zones{/tr}</h2>
{include file="find.tpl"}
{include file='find.tpl'}
<form action="tiki-admin_html_page_content.php" method="post">
<input type="hidden" name="pageName" value="{$pageName|escape}" />
......
......@@ -61,7 +61,7 @@
<tr class="formcolor">
<td>
{tr}Content{/tr}:<br />
{include file="textareasize.tpl" area_name='htmlcode' formId='editpageform'}
{include file='textareasize.tpl' area_name='htmlcode' formId='editpageform'}
</td>
<td>
<textarea name="content" id="htmlcode" rows="25" style="width:95%;">{$info.content|escape}</textarea>
......
......@@ -4,12 +4,12 @@
{tabset name="tiki-admin_quicktags"}
{tab name="{tr}QuickTags{/tr}"}
<div id="quicktags-content">
{include file="tiki-admin_quicktags_content.tpl"}
{include file='tiki-admin_quicktags_content.tpl'}
</div>
{/tab}
{tab name="{tr}Create/Edit QuickTags{/tr}"}
<div id="quicktags-edit">
{include file="tiki-admin_quicktags_edit.tpl"}
{include file='tiki-admin_quicktags_edit.tpl'}
</div>
{/tab}
......
......@@ -49,7 +49,7 @@
<br /><br />
{/if}
{if $channels or ($find ne '')}
{include file="find.tpl" find_show_languages='y' find_show_categories='y' find_show_num_rows='y' }
{include file='find.tpl' find_show_languages='y' find_show_categories='y' find_show_num_rows='y' }
{/if}
<br />
<h2>{tr}Structures{/tr}</h2>
......
......@@ -13,11 +13,11 @@
{if $staging_atts|count >= 1 || $atts|count >=1}
{if count($staging_atts) >= 1}
<h2>{tr}New attachments{/tr}</h2>
{include file="attachments.tpl" atts=$staging_atts target='_blank' attach_box="n"}
{include file='attachments.tpl' atts=$staging_atts target='_blank' attach_box="n"}
{/if}
{if count($atts) >= 1}
<h2>{tr}Old attachments{/tr}</h2>
{include file="attachments.tpl" atts=$atts target='_blank' attach_box="n"}
{include file='attachments.tpl' atts=$atts target='_blank' attach_box="n"}
{/if}
{/if}
......
......@@ -7,4 +7,4 @@
{/section}
</ul>
{include file="tiki-page_bar.tpl"}
{include file='tiki-page_bar.tpl'}
......@@ -59,7 +59,7 @@
{assign var=area_name value="blogedit"}
{if $prefs.feature_smileys eq 'y' && not $wysiwyg}
<tr><td class="editblogform">{tr}Smileys{/tr}</td><td class="editblogform">
{include file="tiki-smileys.tpl" area_name='blogedit'}
{include file='tiki-smileys.tpl' area_name='blogedit'}
</td></tr>
{/if}
......@@ -87,7 +87,7 @@
<tr>
<td class="editblogform">
<br />
{include file="textareasize.tpl" area_name='blogedit' formId='editpageform'}
{include file='textareasize.tpl' area_name='blogedit' formId='editpageform'}
<br />
{if $prefs.quicktags_over_textarea neq 'y'}
......@@ -146,7 +146,7 @@
{include file='freetag.tpl'}
{/if}
{if $prefs.feature_contribution eq 'y'}
{include file="contribution.tpl"}
{include file='contribution.tpl'}
{/if}
<tr><td class="editblogform">&nbsp;</td><td class="editblogform">
<input type="submit" class="wikiaction" name="preview" value="{tr}Preview{/tr}" />
......
......@@ -66,14 +66,14 @@
</div>
{/if}
{if $prefs.feature_babelfish eq 'y' or $prefs.feature_babelfish_logo eq 'y'}
{include file="babelfish.tpl"}
{include file='babelfish.tpl'}
{/if}
<div id="power">
{if $prefs.feature_bot_bar_power_by_tw ne 'n'}
{tr}Powered by{/tr} <a href="http://info.tikiwiki.org" title="&#169; 2002&#8211;{$smarty.now|date_format:"%Y"} {tr}The TikiWiki Community{/tr}">{tr}TikiWiki CMS/Groupware{/tr}</a> {if $prefs.feature_topbar_version eq 'y'} v{$tiki_version} {if $tiki_uses_svn eq 'y'} (SVN){/if} -{$tiki_star}- {/if}
{/if}
<div id="credits">
{include file="credits.tpl"}
{include file='credits.tpl'}
</div>
</div>
......
......@@ -178,7 +178,7 @@
{pagination_links cant=$cant step=$maxImages offset=$offset}{/pagination_links}
{include file="find.tpl"}
{include file='find.tpl'}
{if $prefs.feature_image_galleries_comments == 'y'
&& (($tiki_p_read_comments == 'y'
......
......@@ -124,15 +124,15 @@
</form>
{/if}
{include file="tiki-calendar_nav.tpl"}
{include file='tiki-calendar_nav.tpl'}
{if $viewlist eq 'list'}
{include file="tiki-calendar_listmode.tpl"'}
{include file='tiki-calendar_listmode.tpl''}
{elseif $viewmode eq 'day'}
{include file="tiki-calendar_daymode.tpl"}
{include file='tiki-calendar_daymode.tpl'}
{elseif $viewmode eq 'week'}
{include file="tiki-calendar_weekmode.tpl"}
{include file='tiki-calendar_weekmode.tpl'}
{else}
{include file="tiki-calendar_calmode.tpl"}
{include file='tiki-calendar_calmode.tpl'}
{/if}
<p>&nbsp;</p>
</div>
......@@ -400,16 +400,16 @@
<td>{tr}Description{/tr}
{if $edit}
<br /><br />
{include file="textareasize.tpl" area_name="editwiki" formId="editcalitem"}<br /><br />
{include file='textareasize.tpl' area_name="editwiki" formId="editcalitem"}<br /><br />
{if $prefs.quicktags_over_textarea neq 'y'}
{include file="tiki-edit_help_tool.tpl" area_name="save[description]"}
{include file='tiki-edit_help_tool.tpl' area_name="save[description]"}
{/if}
{/if}
</td><td>
{if $edit}
{if $prefs.quicktags_over_textarea eq 'y'}
{include file="tiki-edit_help_tool.tpl" area_name="save[description]"}
{include file='tiki-edit_help_tool.tpl' area_name="save[description]"}
{/if}
<textarea id='editwiki' class="wikiedit" cols="{$cols}" rows="{$rows}" name="save[description]" style="width:98%">{$calitem.description}</textarea>
<input type="hidden" name="rows" value="{$rows}"/>
......
......@@ -23,7 +23,7 @@
</tr>
{if $prefs.feature_antibot eq 'y' && $user eq ''}
{include file="antibot.tpl" td_style="form"}
{include file='antibot.tpl' td_style="form"}
{/if}
<tr>
......
......@@ -93,7 +93,7 @@
{/if}
<input name="isValid" type="hidden" value="" />
{if $prefs.feature_antibot eq 'y' && $user eq ''}
{include file="antibot.tpl" td_style="formcolor"}
{include file='antibot.tpl' td_style="formcolor"}
{/if}
<tr>
<td class="formcolor">&nbsp;</td>
......
......@@ -2,7 +2,7 @@
{* Note: if you edit this file, make sure to make corresponding edits on tiki-edit_submission.tpl*}
{popup_init src="lib/overlib.js"}
{include file="tiki-articles-js.tpl"}
{include file='tiki-articles-js.tpl'}
{assign var=area_name value="body"}
......@@ -24,7 +24,7 @@
{/remarksbox}
{if $preview}
{include file="tiki-preview_article.tpl"}
{include file='tiki-preview_article.tpl'}
{/if}
{if !empty($errors)}
......@@ -239,7 +239,7 @@
<td>
{tr}Body{/tr}
<br />
{include file="textareasize.tpl" area_name='body' formId='editpageform'}
{include file='textareasize.tpl' area_name='body' formId='editpageform'}
{if $prefs.quicktags_over_textarea neq 'y'}
<br />
{include file='tiki-edit_help_tool.tpl' area_name='body' qtnum='2'}
......
......@@ -37,7 +37,7 @@
<tr class="editblogform">
<td><label for="blog-desc">{tr}Description{/tr}</label>
<br />
{include file="textareasize.tpl" area_name='blog-desc' formId='blog-edit-form'}
{include file='textareasize.tpl' area_name='blog-desc' formId='blog-edit-form'}
</td>
<td>
<textarea class="wikiedit" name="description" id="blog-desc" rows="{$rows}" cols="{$cols}" wrap="virtual">{$description|escape}</textarea>
......@@ -90,7 +90,7 @@
<td>
<label for="blogs-heading">{tr}Blog heading{/tr}</label>
<br />
{include file="textareasize.tpl" area_name='blogs-heading' formId='blog-edit-form'}
{include file='textareasize.tpl' area_name='blogs-heading' formId='blog-edit-form'}
</td>
<td>
<textarea name="heading" id="blogs-heading" rows='10' cols='{$cols}'>{$heading|escape}</textarea>
......
......@@ -21,7 +21,7 @@
<h2>Options</h2>
{include file="find.tpl"}
{include file='find.tpl'}
<table class="normal">
<tr>
......
{* Note: if you edit this file, make sure to make corresponding edits on tiki-edit_article.tpl *}
{popup_init src="lib/overlib.js"}
{include file="tiki-articles-js.tpl"}
{include file='tiki-articles-js.tpl'}
{if $preview}
{include file="tiki-preview_article.tpl"}
{include file='tiki-preview_article.tpl'}
{/if}
{assign var=area_name value="body"}
......@@ -225,7 +225,7 @@
<td>
{tr}Body{/tr}
<br /><br />
{include file="textareasize.tpl" area_name='body' formId='editpageform'}
{include file='textareasize.tpl' area_name='body' formId='editpageform'}
{if $prefs.quicktags_over_textarea neq 'y'}
<br /><br />
{include file='tiki-edit_help_tool.tpl' area_name='body' qtnum='2'}
......
......@@ -15,7 +15,7 @@
<tr class="formcolor">
<td>{tr}Edit{/tr}:
<br /><br />
{include file="textareasize.tpl" area_name='editwiki' formId='editwikiform'}
{include file='textareasize.tpl' area_name='editwiki' formId='editwikiform'}
<br /><br />
{if $quicktags and $prefs.quicktags_over_textarea neq 'y'}
{include file='tiki-edit_help_tool.tpl' area_name='editwiki'}
......
......@@ -119,7 +119,7 @@ window.onload = timeIt;
{/if}
{if $preview && $translation_mode eq 'n'}
{include file="tiki-preview.tpl"}
{include file='tiki-preview.tpl'}
{/if}
{if $diff_style}
<div style="overflow:auto;height:200px;">
......@@ -262,7 +262,7 @@ window.onload = timeIt;
{/if}
{if $prefs.feature_smileys eq 'y' && $wysiwyg neq 'y'}
<tr class="formcolor"><td>{tr}Smileys{/tr}:</td><td>
{include file="tiki-smileys.tpl" area_name='editwiki'}
{include file='tiki-smileys.tpl' area_name='editwiki'}
</td>
</tr>
{/if}
......@@ -275,7 +275,7 @@ window.onload = timeIt;
<tr class="formcolor">
<td colspan="2">
{if $wysiwyg ne 'y' or $prefs.javascript_enabled ne 'y'}
{include file="wiki_edit.tpl"}
{include file='wiki_edit.tpl'}
<input type="hidden" name="rows" value="{$rows}"/>
<input type="hidden" name="cols" value="{$cols}"/>