summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2005-08-07 17:45:10 +0000
committerMax Kremmel <xing@synapse.plus.com>2005-08-07 17:45:10 +0000
commitbd892588c4e5d87c3baa92f97b0ca5dd6755bda7 (patch)
treea450253bb359f02d574cd4f25530818f883ce9b5 /templates
parent94cbc9a6ab0edf3da14f485a7fcb8d981ef43641 (diff)
downloadthemes-bd892588c4e5d87c3baa92f97b0ca5dd6755bda7.tar.gz
themes-bd892588c4e5d87c3baa92f97b0ca5dd6755bda7.tar.bz2
themes-bd892588c4e5d87c3baa92f97b0ca5dd6755bda7.zip
merge recent changes from R1 to HEAD
Diffstat (limited to 'templates')
-rw-r--r--templates/admin_content_templates.tpl28
-rw-r--r--templates/admin_themes_manager.tpl4
-rw-r--r--templates/edit_css.tpl10
-rw-r--r--templates/header_inc.tpl24
-rw-r--r--templates/theme_control.tpl20
-rw-r--r--templates/theme_control_objects.tpl22
-rw-r--r--templates/theme_control_sections.tpl12
7 files changed, 60 insertions, 60 deletions
diff --git a/templates/admin_content_templates.tpl b/templates/admin_content_templates.tpl
index 75c4cd0..7e4d388 100644
--- a/templates/admin_content_templates.tpl
+++ b/templates/admin_content_templates.tpl
@@ -12,11 +12,11 @@
{/if}
{if $template_id > 0}
<h2>{tr}Edit this template:{/tr} {$info.name}</h2>
- <a href="{$gBitLoc.THEMES_PKG_URL}admin/admin_content_templates.php">{tr}Create new template{/tr}</a>
+ <a href="{$smarty.const.THEMES_PKG_URL}admin/admin_content_templates.php">{tr}Create new template{/tr}</a>
{else}
<h2>{tr}Create new template{/tr}</h2>
{/if}
- <form action="{$gBitLoc.THEMES_PKG_URL}admin/admin_content_templates.php" method="post">
+ <form action="{$smarty.const.THEMES_PKG_URL}admin/admin_content_templates.php" method="post">
<input type="hidden" name="template_id" value="{$template_id|escape}" />
<div class="panel">
<div class="row">
@@ -60,7 +60,7 @@
<table class="find">
<tr><td>{tr}Find{/tr}</td>
<td>
- <form method="get" action="{$gBitLoc.THEMES_PKG_URL}admin/admin_content_templates.php">
+ <form method="get" action="{$smarty.const.THEMES_PKG_URL}admin/admin_content_templates.php">
<input type="text" name="find" value="{$find|escape}" />
<input type="submit" value="{tr}find{/tr}" name="search" />
<input type="hidden" name="sort_mode" value="{$sort_mode|escape}" />
@@ -71,8 +71,8 @@
<table class="data">
<tr>
- <th><a href="{$gBitLoc.THEMES_PKG_URL}admin/admin_content_templates.php?offset={$offset}&amp;sort_mode={if $sort_mode eq 'name_desc'}name_asc{else}name_desc{/if}">{tr}name{/tr}</a></th>
- <th><a href="{$gBitLoc.THEMES_PKG_URL}admin/admin_content_templates.php?offset={$offset}&amp;sort_mode={if $sort_mode eq 'created_desc'}created_asc{else}created_desc{/if}">{tr}last modif{/tr}</a></th>
+ <th><a href="{$smarty.const.THEMES_PKG_URL}admin/admin_content_templates.php?offset={$offset}&amp;sort_mode={if $sort_mode eq 'name_desc'}name_asc{else}name_desc{/if}">{tr}name{/tr}</a></th>
+ <th><a href="{$smarty.const.THEMES_PKG_URL}admin/admin_content_templates.php?offset={$offset}&amp;sort_mode={if $sort_mode eq 'created_desc'}created_asc{else}created_desc{/if}">{tr}last modif{/tr}</a></th>
<th>{tr}sections{/tr}</th>
<th>{tr}action{/tr}</th>
</tr>
@@ -83,12 +83,12 @@
<td>{$channels[user].created|bit_short_datetime}</td>
<td>
{section name=ix loop=$channels[user].sections}
- {$channels[user].sections[ix]} <a href="{$gBitLoc.THEMES_PKG_URL}admin/admin_content_templates.php?removesection={$channels[user].sections[ix]}&amp;rtemplate_id={$channels[user].template_id}" onclick="return confirmTheLink(this,'{tr}Are you sure you want to delete this template?{/tr}')" title="{tr}Click here to delete this template{/tr}">{biticon ipackage=liberty iname="delete_small" iexplain="remove"}</a> |
+ {$channels[user].sections[ix]} <a href="{$smarty.const.THEMES_PKG_URL}admin/admin_content_templates.php?removesection={$channels[user].sections[ix]}&amp;rtemplate_id={$channels[user].template_id}" onclick="return confirmTheLink(this,'{tr}Are you sure you want to delete this template?{/tr}')" title="{tr}Click here to delete this template{/tr}">{biticon ipackage=liberty iname="delete_small" iexplain="remove"}</a> |
{/section}
</td>
<td>
- <a href="{$gBitLoc.THEMES_PKG_URL}admin/admin_content_templates.php?offset={$offset}&amp;sort_mode={$sort_mode}&amp;remove={$channels[user].template_id}" onclick="return confirmTheLink(this,'{tr}Are you sure you want to delete this template?{/tr}')" title="{tr}Click here to delete this template{/tr}">{biticon ipackage=liberty iname="delete" iexplain="remove"}</a>
- <a href="{$gBitLoc.THEMES_PKG_URL}admin/admin_content_templates.php?offset={$offset}&amp;sort_mode={$sort_mode}&amp;template_id={$channels[user].template_id}"><img class="icon" alt="{tr}Edit{/tr}" src="{$gBitLoc.LIBERTY_PKG_URL}icons/edit.gif" /></a>
+ <a href="{$smarty.const.THEMES_PKG_URL}admin/admin_content_templates.php?offset={$offset}&amp;sort_mode={$sort_mode}&amp;remove={$channels[user].template_id}" onclick="return confirmTheLink(this,'{tr}Are you sure you want to delete this template?{/tr}')" title="{tr}Click here to delete this template{/tr}">{biticon ipackage=liberty iname="delete" iexplain="remove"}</a>
+ <a href="{$smarty.const.THEMES_PKG_URL}admin/admin_content_templates.php?offset={$offset}&amp;sort_mode={$sort_mode}&amp;template_id={$channels[user].template_id}"><img class="icon" alt="{tr}Edit{/tr}" src="{$smarty.const.LIBERTY_PKG_URL}icons/edit.gif" /></a>
</td>
</tr>
{else}
@@ -97,12 +97,12 @@
<td>{$channels[user].created|bit_short_datetime}</td>
<td>
{section name=ix loop=$channels[user].sections}
- {$channels[user].sections[ix]} <a href="{$gBitLoc.THEMES_PKG_URL}admin/admin_content_templates.php?removesection={$channels[user].sections[ix]}&amp;rtemplate_id={$channels[user].template_id}" onclick="return confirmTheLink(this,'{tr}Are you sure you want to delete this template?{/tr}')" title="{tr}Click here to delete this template{/tr}">{biticon ipackage=liberty iname="delete_small" iexplain="remove"}</a> |
+ {$channels[user].sections[ix]} <a href="{$smarty.const.THEMES_PKG_URL}admin/admin_content_templates.php?removesection={$channels[user].sections[ix]}&amp;rtemplate_id={$channels[user].template_id}" onclick="return confirmTheLink(this,'{tr}Are you sure you want to delete this template?{/tr}')" title="{tr}Click here to delete this template{/tr}">{biticon ipackage=liberty iname="delete_small" iexplain="remove"}</a> |
{/section}
</td>
<td>
- <a href="{$gBitLoc.THEMES_PKG_URL}admin/admin_content_templates.php?offset={$offset}&amp;sort_mode={$sort_mode}&amp;remove={$channels[user].template_id}" onclick="return confirmTheLink(this,'{tr}Are you sure you want to delete this template?{/tr}')" title="{tr}Click here to delete this template{/tr}">{biticon ipackage=liberty iname="delete" iexplain="remove"}</a>
- <a href="{$gBitLoc.THEMES_PKG_URL}admin/admin_content_templates.php?offset={$offset}&amp;sort_mode={$sort_mode}&amp;template_id={$channels[user].template_id}">{biticon ipackage=liberty iname="edit" iexplain="edit"}</a>
+ <a href="{$smarty.const.THEMES_PKG_URL}admin/admin_content_templates.php?offset={$offset}&amp;sort_mode={$sort_mode}&amp;remove={$channels[user].template_id}" onclick="return confirmTheLink(this,'{tr}Are you sure you want to delete this template?{/tr}')" title="{tr}Click here to delete this template{/tr}">{biticon ipackage=liberty iname="delete" iexplain="remove"}</a>
+ <a href="{$smarty.const.THEMES_PKG_URL}admin/admin_content_templates.php?offset={$offset}&amp;sort_mode={$sort_mode}&amp;template_id={$channels[user].template_id}">{biticon ipackage=liberty iname="edit" iexplain="edit"}</a>
</td>
</tr>
{/if}
@@ -115,17 +115,17 @@
<div class="pagination">
{if $prev_offset >= 0}
- [<a href="{$gBitLoc.THEMES_PKG_URL}admin/admin_content_templates.php?find={$find}&amp;offset={$prev_offset}&amp;sort_mode={$sort_mode}">{tr}prev{/tr}</a>]&nbsp;
+ [<a href="{$smarty.const.THEMES_PKG_URL}admin/admin_content_templates.php?find={$find}&amp;offset={$prev_offset}&amp;sort_mode={$sort_mode}">{tr}prev{/tr}</a>]&nbsp;
{/if}
{tr}Page{/tr}: {$actual_page}/{$cant_pages}
{if $next_offset >= 0}
- &nbsp;[<a href="{$gBitLoc.THEMES_PKG_URL}admin/admin_content_templates.php?find={$find}&amp;offset={$next_offset}&amp;sort_mode={$sort_mode}">{tr}next{/tr}</a>]
+ &nbsp;[<a href="{$smarty.const.THEMES_PKG_URL}admin/admin_content_templates.php?find={$find}&amp;offset={$next_offset}&amp;sort_mode={$sort_mode}">{tr}next{/tr}</a>]
{/if}
{if $direct_pagination eq 'y'}
<br />
{section loop=$cant_pages name=foo}
{assign var=selector_offset value=$smarty.section.foo.index|times:$maxRecords}
- <a href="{$gBitLoc.THEMES_PKG_URL}admin/admin_content_templates.php?find={$find}&amp;offset={$selector_offset}&amp;sort_mode={$sort_mode}">
+ <a href="{$smarty.const.THEMES_PKG_URL}admin/admin_content_templates.php?find={$find}&amp;offset={$selector_offset}&amp;sort_mode={$sort_mode}">
{$smarty.section.foo.index_next}</a>&nbsp;
{/section}
{/if}
diff --git a/templates/admin_themes_manager.tpl b/templates/admin_themes_manager.tpl
index 7faedc5..bda984e 100644
--- a/templates/admin_themes_manager.tpl
+++ b/templates/admin_themes_manager.tpl
@@ -16,11 +16,11 @@
{if $style eq $s.style}
{biticon ipackage=liberty iname=success iexplain="Current Theme"}&nbsp;
{/if}
- <a href="{$gBitLoc.THEMES_PKG_URL}admin/admin_themes_manager.php?site_style={$s.style}">{$s.style}</a>
+ <a href="{$smarty.const.THEMES_PKG_URL}admin/admin_themes_manager.php?site_style={$s.style}">{$s.style}</a>
</h2>
{if $s.preview}
- <a href="{$gBitLoc.THEMES_PKG_URL}admin/admin_themes_manager.php?site_style={$s.style}">
+ <a href="{$smarty.const.THEMES_PKG_URL}admin/admin_themes_manager.php?site_style={$s.style}">
<img class="thumb" src="{$s.preview}" alt="{tr}Theme Preview{/tr}" title="{$s.style}" />
</a>
{/if}
diff --git a/templates/edit_css.tpl b/templates/edit_css.tpl
index 54e2ec7..424a3f1 100644
--- a/templates/edit_css.tpl
+++ b/templates/edit_css.tpl
@@ -14,7 +14,7 @@ return false;
</script>
{/literal}
-<a class="pagetitle" href="{$gBitLoc.THEMES_PKG_URL}edit_css.php">{tr}Edit Custom Theme{/tr}</a><br /><br />
+<a class="pagetitle" href="{$smarty.const.THEMES_PKG_URL}edit_css.php">{tr}Edit Custom Theme{/tr}</a><br /><br />
{if $successMsg}
<div style="color: green">{$successMsg}</div>
{/if}
@@ -22,7 +22,7 @@ return false;
<div style="color: red">{$errorMsg}</div>
{/if}
<div>
- <form method="post" action="{$gBitLoc.THEMES_PKG_URL}edit_css.php">
+ <form method="post" action="{$smarty.const.THEMES_PKG_URL}edit_css.php">
<div style="padding:4px;border-bottom:1px solid #c3b3a3;">
<textarea name="textData" rows="42" cols="80" wrap="virtual" style="padding:7px;padding-right:0;">{$data|escape}</textarea>
</div>
@@ -63,9 +63,9 @@ return false;
<td cellpadding="3">
{biticon ipackage=liberty iname=view iexplain=preview onclick="javascript"}
{biticon ipackage=liberty iname=view iexplain=preview onclick="javascript:popup('preview_image.php?fImg=$customCSSImageURL/$themeImages[ix]')"}
- <a href="{$gBitLoc.THEMES_PKG_URL}/edit_css.php?fDeleteImg={$themeImages[ix]}">
+ <a href="{$smarty.const.THEMES_PKG_URL}/edit_css.php?fDeleteImg={$themeImages[ix]}">
{biticon ipackage=liberty iname=delete iexplain=remove onclick="return confirm('Are you sure you want to delete $themeImages[ix]?');"}
- <img class="icon" src="{$gBitLoc.LIBERTY_PKG_URL}icons/delete.gif" title="{tr}Remove{/tr}" alt="{tr}Remove{/tr}" onclick="return confirm('Are you sure you want to delete {$themeImages[ix]}?');"/>
+ <img class="icon" src="{$smarty.const.LIBERTY_PKG_URL}icons/delete.gif" title="{tr}Remove{/tr}" alt="{tr}Remove{/tr}" onclick="return confirm('Are you sure you want to delete {$themeImages[ix]}?');"/>
</a>
</input>
</td>
@@ -73,7 +73,7 @@ return false;
{/section}
</table>
<br />
-<form enctype="multipart/form-data" method="post" action="{$gBitLoc.THEMES_PKG_URL}edit_css.php"
+<form enctype="multipart/form-data" method="post" action="{$smarty.const.THEMES_PKG_URL}edit_css.php"
<input type="hidden" name="MAX_FILE_SIZE" value="1024000">
Upload Image: <input type="file" name="fImgUpload"> <br /> <br/>
<input type="submit" value="Upload Image" name="fUpload">
diff --git a/templates/header_inc.tpl b/templates/header_inc.tpl
index 8ad806a..0fb0c8f 100644
--- a/templates/header_inc.tpl
+++ b/templates/header_inc.tpl
@@ -1,27 +1,27 @@
-{* $Header: /cvsroot/bitweaver/_bit_themes/templates/header_inc.tpl,v 1.3 2005/07/25 20:02:52 squareing Exp $ *}
+{* $Header: /cvsroot/bitweaver/_bit_themes/templates/header_inc.tpl,v 1.4 2005/08/07 17:45:10 squareing Exp $ *}
{strip}
-{if $gBitLoc.styleSheet}
- <link rel="stylesheet" title="{$style}" type="text/css" href="{$gBitLoc.styleSheet}" media="all" />
+{if $gBitSystem->mStyles.styleSheet}
+ <link rel="stylesheet" title="{$style}" type="text/css" href="{$gBitSystem->mStyles.styleSheet}" media="all" />
{/if}
-{if $gBitLoc.browserStyleSheet}
- <link rel="stylesheet" title="{$style}" type="text/css" href="{$gBitLoc.browserStyleSheet}" media="all" />
+{if $gBitSystem->mStyles.browserStyleSheet}
+ <link rel="stylesheet" title="{$style}" type="text/css" href="{$gBitSystem->mStyles.browserStyleSheet}" media="all" />
{/if}
-{if $gBitLoc.customStyleSheet}
- <link rel="stylesheet" title="{$style}" type="text/css" href="{$gBitLoc.custumStyleSheet}" media="all" />
+{if $gBitSystem->mStyles.customStyleSheet}
+ <link rel="stylesheet" title="{$style}" type="text/css" href="{$gBitSystem->mStyles.custumStyleSheet}" media="all" />
{/if}
-{foreach from=$gBitLoc.altStyleSheets item=alt_path key=alt_name}
+{foreach from=$gBitSystem->mStyles.altStyleSheets item=alt_path key=alt_name}
<link rel="alternate stylesheet" title="{$alt_name}" type="text/css" href="{$alt_path}" media="screen" />
{/foreach}
{if $gBitSystemPrefs.disable_jstabs ne 'y'}
- <script type="text/javascript" src="{$gBitLoc.THEMES_PKG_URL}js/tabs/tabpane.js"></script>
+ <script type="text/javascript" src="{$smarty.const.THEMES_PKG_URL}js/tabs/tabpane.js"></script>
{/if}
{/strip}
-{if $gBitLoc.browser.client eq 'ie'}
+{if $gSniffer->mBrowserInfo.client eq 'ie'}
<!-- this wierdness fixes png display and CSS driven dropdown menus in GUESS WHAT BROWSER -->
<!--[if gte IE 5.5000]>
- <script type="text/javascript" src="{$gBitLoc.THEMES_PKG_URL}js/sleight.js"></script>
+ <script type="text/javascript" src="{$smarty.const.THEMES_PKG_URL}js/sleight.js"></script>
<![endif]-->
<!--[if gte IE 5.0]>
<script type="text/javascript">
@@ -31,6 +31,6 @@
{include file=$hoverfix}
{/if}
</script>
- <script type="text/javascript" src="{$gBitLoc.THEMES_PKG_URL}js/hoverfix.js"></script>
+ <script type="text/javascript" src="{$smarty.const.THEMES_PKG_URL}js/hoverfix.js"></script>
<![endif]-->
{/if}
diff --git a/templates/theme_control.tpl b/templates/theme_control.tpl
index 92db7cb..2a63475 100644
--- a/templates/theme_control.tpl
+++ b/templates/theme_control.tpl
@@ -10,11 +10,11 @@
<h2>{tr}Assign themes to categories{/tr}</h2>
<div class="navbar above">
- <a href="{$gBitLoc.THEMES_PKG_URL}theme_control_objects.php">{tr}Control by Object{/tr}</a>
- <a href="{$gBitLoc.THEMES_PKG_URL}theme_control_sections.php">{tr}Control by Sections{/tr}</a>
+ <a href="{$smarty.const.THEMES_PKG_URL}theme_control_objects.php">{tr}Control by Object{/tr}</a>
+ <a href="{$smarty.const.THEMES_PKG_URL}theme_control_sections.php">{tr}Control by Sections{/tr}</a>
</div>
-<form action="{$gBitLoc.THEMES_PKG_URL}theme_control.php" method="post">
+<form action="{$smarty.const.THEMES_PKG_URL}theme_control.php" method="post">
<table class="panel">
<tr>
<th>{tr}Category{/tr}</th>
@@ -48,7 +48,7 @@
</form>
<h2>{tr}Assigned categories{/tr}</h2>
-<form method="get" action="{$gBitLoc.THEMES_PKG_URL}theme_control.php">
+<form method="get" action="{$smarty.const.THEMES_PKG_URL}theme_control.php">
<table class="find">
<tr><td>{tr}Find{/tr}</td>
<td>
@@ -62,12 +62,12 @@
</form>
-<form action="{$gBitLoc.THEMES_PKG_URL}theme_control.php" method="post">
+<form action="{$smarty.const.THEMES_PKG_URL}theme_control.php" method="post">
<table class="data">
<tr>
<th>&nbsp;</th>
-<th><a href="{$gBitLoc.THEMES_PKG_URL}theme_control.php?offset={$offset}&amp;sort_mode={if $sort_mode eq 'name_desc'}name_asc{else}name_desc{/if}">{tr}category{/tr}</a></th>
-<th><a href="{$gBitLoc.THEMES_PKG_URL}theme_control.php?offset={$offset}&amp;sort_mode={if $sort_mode eq 'theme_desc'}theme_asc{else}theme_desc{/if}">{tr}theme{/tr}</a></th>
+<th><a href="{$smarty.const.THEMES_PKG_URL}theme_control.php?offset={$offset}&amp;sort_mode={if $sort_mode eq 'name_desc'}name_asc{else}name_desc{/if}">{tr}category{/tr}</a></th>
+<th><a href="{$smarty.const.THEMES_PKG_URL}theme_control.php?offset={$offset}&amp;sort_mode={if $sort_mode eq 'theme_desc'}theme_asc{else}theme_desc{/if}">{tr}theme{/tr}</a></th>
</tr>
{cycle values="even,odd" print=false}
{section name=user loop=$channels}
@@ -87,17 +87,17 @@
<div class="pagination">
{if $prev_offset >= 0}
-[<a href="{$gBitLoc.THEMES_PKG_URL}theme_control.php?find={$find}&amp;offset={$prev_offset}&amp;sort_mode={$sort_mode}">{tr}prev{/tr}</a>]&nbsp;
+[<a href="{$smarty.const.THEMES_PKG_URL}theme_control.php?find={$find}&amp;offset={$prev_offset}&amp;sort_mode={$sort_mode}">{tr}prev{/tr}</a>]&nbsp;
{/if}
{tr}Page{/tr}: {$actual_page}/{$cant_pages}
{if $next_offset >= 0}
-&nbsp;[<a href="{$gBitLoc.THEMES_PKG_URL}theme_control.php?find={$find}&amp;offset={$next_offset}&amp;sort_mode={$sort_mode}">{tr}next{/tr}</a>]
+&nbsp;[<a href="{$smarty.const.THEMES_PKG_URL}theme_control.php?find={$find}&amp;offset={$next_offset}&amp;sort_mode={$sort_mode}">{tr}next{/tr}</a>]
{/if}
{if $direct_pagination eq 'y'}
<br />
{section loop=$cant_pages name=foo}
{assign var=selector_offset value=$smarty.section.foo.index|times:$maxRecords}
-<a href="{$gBitLoc.THEMES_PKG_URL}theme_control.php?tasks_use_dates={$tasks_use_dates}&amp;find={$find}&amp;offset={$selector_offset}&amp;sort_mode={$sort_mode}">
+<a href="{$smarty.const.THEMES_PKG_URL}theme_control.php?tasks_use_dates={$tasks_use_dates}&amp;find={$find}&amp;offset={$selector_offset}&amp;sort_mode={$sort_mode}">
{$smarty.section.foo.index_next}</a>&nbsp;
{/section}
{/if}
diff --git a/templates/theme_control_objects.tpl b/templates/theme_control_objects.tpl
index d505f9f..cc0289a 100644
--- a/templates/theme_control_objects.tpl
+++ b/templates/theme_control_objects.tpl
@@ -10,11 +10,11 @@
<h2>{tr}Assign themes to objects{/tr}</h2>
<div class="navbar above">
- <a href="{$gBitLoc.THEMES_PKG_URL}theme_control.php">{tr}Control by category{/tr}</a>
- <a href="{$gBitLoc.THEMES_PKG_URL}theme_control_sections.php">{tr}Control by Sections{/tr}</a>
+ <a href="{$smarty.const.THEMES_PKG_URL}theme_control.php">{tr}Control by category{/tr}</a>
+ <a href="{$smarty.const.THEMES_PKG_URL}theme_control_sections.php">{tr}Control by Sections{/tr}</a>
</div>
-<form id="objform" action="{$gBitLoc.THEMES_PKG_URL}theme_control_objects.php" method="post">
+<form id="objform" action="{$smarty.const.THEMES_PKG_URL}theme_control_objects.php" method="post">
<!--<input type="submit" name="settype" value="{tr}set{/tr}" />-->
<table class="panel">
<tr>
@@ -62,7 +62,7 @@
<table class="find">
<tr><td>{tr}Find{/tr}</td>
<td>
- <form method="get" action="{$gBitLoc.THEMES_PKG_URL}theme_control_objects.php">
+ <form method="get" action="{$smarty.const.THEMES_PKG_URL}theme_control_objects.php">
<input type="text" name="find" value="{$find|escape}" />
<input type="submit" value="{tr}find{/tr}" name="search" />
<input type="hidden" name="sort_mode" value="{$sort_mode|escape}" />
@@ -70,16 +70,16 @@
</td>
</tr>
</table>
-<form action="{$gBitLoc.THEMES_PKG_URL}theme_control_objects.php" method="post">
+<form action="{$smarty.const.THEMES_PKG_URL}theme_control_objects.php" method="post">
<input type="hidden" name="type" value="{$type|escape}" />
<table class="data">
<tr>
<th>&nbsp;</th>
-<th><a href="{$gBitLoc.THEMES_PKG_URL}theme_control_objects.php?offset={$offset}&amp;sort_mode={if $sort_mode eq 'type_desc'}type_asc{else}type_desc{/if}">{tr}type{/tr}</a></th>
-<th><a href="{$gBitLoc.THEMES_PKG_URL}theme_control_objects.php?offset={$offset}&amp;sort_mode={if $sort_mode eq 'name_desc'}name_asc{else}name_desc{/if}">{tr}name{/tr}</a></th>
-<th><a href="{$gBitLoc.THEMES_PKG_URL}theme_control_objects.php?offset={$offset}&amp;sort_mode={if $sort_mode eq 'theme_desc'}theme_asc{else}theme_desc{/if}">{tr}theme{/tr}</a></th>
+<th><a href="{$smarty.const.THEMES_PKG_URL}theme_control_objects.php?offset={$offset}&amp;sort_mode={if $sort_mode eq 'type_desc'}type_asc{else}type_desc{/if}">{tr}type{/tr}</a></th>
+<th><a href="{$smarty.const.THEMES_PKG_URL}theme_control_objects.php?offset={$offset}&amp;sort_mode={if $sort_mode eq 'name_desc'}name_asc{else}name_desc{/if}">{tr}name{/tr}</a></th>
+<th><a href="{$smarty.const.THEMES_PKG_URL}theme_control_objects.php?offset={$offset}&amp;sort_mode={if $sort_mode eq 'theme_desc'}theme_asc{else}theme_desc{/if}">{tr}theme{/tr}</a></th>
</tr>
{cycle values="even,odd" print=false}
{section name=user loop=$channels}
@@ -102,17 +102,17 @@
<div class="pagination">
{if $prev_offset >= 0}
-[<a href="{$gBitLoc.THEMES_PKG_URL}theme_control_objects.php?find={$find}&amp;offset={$prev_offset}&amp;sort_mode={$sort_mode}">{tr}prev{/tr}</a>]&nbsp;
+[<a href="{$smarty.const.THEMES_PKG_URL}theme_control_objects.php?find={$find}&amp;offset={$prev_offset}&amp;sort_mode={$sort_mode}">{tr}prev{/tr}</a>]&nbsp;
{/if}
{tr}Page{/tr}: {$actual_page}/{$cant_pages}
{if $next_offset >= 0}
-&nbsp;[<a href="{$gBitLoc.THEMES_PKG_URL}theme_control_objects.php?find={$find}&amp;offset={$next_offset}&amp;sort_mode={$sort_mode}">{tr}next{/tr}</a>]
+&nbsp;[<a href="{$smarty.const.THEMES_PKG_URL}theme_control_objects.php?find={$find}&amp;offset={$next_offset}&amp;sort_mode={$sort_mode}">{tr}next{/tr}</a>]
{/if}
{if $direct_pagination eq 'y'}
<br />
{section loop=$cant_pages name=foo}
{assign var=selector_offset value=$smarty.section.foo.index|times:$maxRecords}
-<a href="{$gBitLoc.THEMES_PKG_URL}theme_control_objects.php?tasks_use_dates={$tasks_use_dates}&amp;find={$find}&amp;offset={$selector_offset}&amp;sort_mode={$sort_mode}">{$smarty.section.foo.index_next}</a>&nbsp;
+<a href="{$smarty.const.THEMES_PKG_URL}theme_control_objects.php?tasks_use_dates={$tasks_use_dates}&amp;find={$find}&amp;offset={$selector_offset}&amp;sort_mode={$sort_mode}">{$smarty.section.foo.index_next}</a>&nbsp;
{/section}
{/if}
</div>
diff --git a/templates/theme_control_sections.tpl b/templates/theme_control_sections.tpl
index 6ff5008..760120f 100644
--- a/templates/theme_control_sections.tpl
+++ b/templates/theme_control_sections.tpl
@@ -10,11 +10,11 @@
<h2>{tr}Assign themes to sections{/tr}</h2>
<div class="navbar above">
- <a href="{$gBitLoc.THEMES_PKG_URL}theme_control_objects.php">{tr}Control by Object{/tr}</a>
- <a href="{$gBitLoc.THEMES_PKG_URL}theme_control.php">{tr}Control by Categories{/tr}</a>
+ <a href="{$smarty.const.THEMES_PKG_URL}theme_control_objects.php">{tr}Control by Object{/tr}</a>
+ <a href="{$smarty.const.THEMES_PKG_URL}theme_control.php">{tr}Control by Categories{/tr}</a>
</div>
-<form action="{$gBitLoc.THEMES_PKG_URL}theme_control_sections.php" method="post">
+<form action="{$smarty.const.THEMES_PKG_URL}theme_control_sections.php" method="post">
<table class="panel">
<tr>
<th>{tr}Section{/tr}</th>
@@ -48,12 +48,12 @@
</form>
<h2>{tr}Assigned sections{/tr}</h2>
-<form action="{$gBitLoc.THEMES_PKG_URL}theme_control_sections.php" method="post">
+<form action="{$smarty.const.THEMES_PKG_URL}theme_control_sections.php" method="post">
<table class="data">
<tr>
<th>&nbsp;</th>
-<th><a href="{$gBitLoc.THEMES_PKG_URL}theme_control_sections.php?offset={$offset}&amp;sort_mode={if $sort_mode eq 'section_desc'}section_asc{else}section_desc{/if}">{tr}section{/tr}</a></th>
-<th><a href="{$gBitLoc.THEMES_PKG_URL}theme_control_sections.php?offset={$offset}&amp;sort_mode={if $sort_mode eq 'theme_desc'}theme_asc{else}theme_desc{/if}">{tr}theme{/tr}</a></th>
+<th><a href="{$smarty.const.THEMES_PKG_URL}theme_control_sections.php?offset={$offset}&amp;sort_mode={if $sort_mode eq 'section_desc'}section_asc{else}section_desc{/if}">{tr}section{/tr}</a></th>
+<th><a href="{$smarty.const.THEMES_PKG_URL}theme_control_sections.php?offset={$offset}&amp;sort_mode={if $sort_mode eq 'theme_desc'}theme_asc{else}theme_desc{/if}">{tr}theme{/tr}</a></th>
</tr>
{cycle values="even,odd" print=false}
{section name=user loop=$channels}