Made a couple of very minor stable branch worthy fixes that I forgot to put in the final release:
Added a div to non-text board thread templates.
Enclosed a word around {t}...{/t} in the header templates.
Removed the completely unused $tpl_irc variable from menu.class.php
git-svn-id: http://kusabax.cultnet.net/svn/repo/stable@177 73d99b7e-4f53-4972-b7b7-2ecd3c4d89ee
This commit is contained in:
1 parent
88bacfad9c
commit
15b1faf8a5
7 files changed
+6
-7
No files matched your search
@@ -36,7 +36,7 @@
|
|||||||
{if %KU_STYLESWITCHER}
|
{if %KU_STYLESWITCHER}
|
||||||
{if %KU_DROPSWITCHER}
|
{if %KU_DROPSWITCHER}
|
||||||
<select onchange="javascript:if(selectedIndex != 0)set_stylesheet(options[selectedIndex].value);return false;">
|
<select onchange="javascript:if(selectedIndex != 0)set_stylesheet(options[selectedIndex].value);return false;">
|
||||||
<option>Styles</option>
|
<option>{t}Styles{/t}</option>
|
||||||
{loop $ku_styles}
|
{loop $ku_styles}
|
||||||
<option value="{$|capitalize}">{$|capitalize}</option>;
|
<option value="{$|capitalize}">{$|capitalize}</option>;
|
||||||
{/loop}
|
{/loop}
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
{foreach key=postkey item=post from=$posts name=postsloop}
|
{foreach key=postkey item=post from=$posts name=postsloop}
|
||||||
|
|
||||||
{if $post.parentid eq 0}
|
{if $post.parentid eq 0}
|
||||||
|
<div id="thread{$post.id}{$board.name}">
|
||||||
<a name="s{$.foreach.thread.iteration}"></a>
|
<a name="s{$.foreach.thread.iteration}"></a>
|
||||||
|
|
||||||
{if ($post.file neq '' || $post.file_type neq '' ) && (( $post.videobox eq '' && $post.file neq '') && $post.file neq 'removed')}
|
{if ($post.file neq '' || $post.file_type neq '' ) && (( $post.videobox eq '' && $post.file neq '') && $post.file neq 'removed')}
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
{if %KU_STYLESWITCHER}
|
{if %KU_STYLESWITCHER}
|
||||||
{if %KU_DROPSWITCHER}
|
{if %KU_DROPSWITCHER}
|
||||||
<select onchange="javascript:if(selectedIndex != 0)set_stylesheet(options[selectedIndex].value);return false;">
|
<select onchange="javascript:if(selectedIndex != 0)set_stylesheet(options[selectedIndex].value);return false;">
|
||||||
<option>Styles</option>
|
<option>{t}Styles{/t}</option>
|
||||||
{loop $ku_styles}
|
{loop $ku_styles}
|
||||||
<option value="{$|capitalize}">{$|capitalize}</option>;
|
<option value="{$|capitalize}">{$|capitalize}</option>;
|
||||||
{/loop}
|
{/loop}
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
{foreach key=postkey item=post from=$posts name=postsloop}
|
{foreach key=postkey item=post from=$posts name=postsloop}
|
||||||
|
|
||||||
{if $post.parentid eq 0}
|
{if $post.parentid eq 0}
|
||||||
|
<div id="thread{$post.id}{$board.name}">
|
||||||
<a name="s{$.foreach.thread.iteration}"></a>
|
<a name="s{$.foreach.thread.iteration}"></a>
|
||||||
|
|
||||||
{if ($post.file neq '' || $post.file_type neq '' ) && (( $post.videobox eq '' && $post.file neq '') && $post.file neq 'removed')}
|
{if ($post.file neq '' || $post.file_type neq '' ) && (( $post.videobox eq '' && $post.file neq '') && $post.file neq 'removed')}
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
{if %KU_STYLESWITCHER}
|
{if %KU_STYLESWITCHER}
|
||||||
{if %KU_DROPSWITCHER}
|
{if %KU_DROPSWITCHER}
|
||||||
<select onchange="javascript:if(selectedIndex != 0)set_stylesheet(options[selectedIndex].value);return false;">
|
<select onchange="javascript:if(selectedIndex != 0)set_stylesheet(options[selectedIndex].value);return false;">
|
||||||
<option>Styles</option>
|
<option>{t}Styles{/t}</option>
|
||||||
{loop $ku_styles}
|
{loop $ku_styles}
|
||||||
<option value="{$|capitalize}">{$|capitalize}</option>;
|
<option value="{$|capitalize}">{$|capitalize}</option>;
|
||||||
{/loop}
|
{/loop}
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
{foreach key=postkey item=post from=$posts name=postsloop}
|
{foreach key=postkey item=post from=$posts name=postsloop}
|
||||||
|
|
||||||
{if $post.parentid eq 0}
|
{if $post.parentid eq 0}
|
||||||
|
<div id="thread{$post.id}{$board.name}">
|
||||||
<a name="s{$.foreach.thread.iteration}"></a>
|
<a name="s{$.foreach.thread.iteration}"></a>
|
||||||
|
|
||||||
{if ($post.file neq '' || $post.file_type neq '' ) && (( $post.videobox eq '' && $post.file neq '') && $post.file neq 'removed')}
|
{if ($post.file neq '' || $post.file_type neq '' ) && (( $post.videobox eq '' && $post.file neq '') && $post.file neq 'removed')}
|
||||||
|
|||||||
@@ -55,10 +55,6 @@ class Menu {
|
|||||||
}
|
}
|
||||||
$dwoo_data->assign('boards', $sections);
|
$dwoo_data->assign('boards', $sections);
|
||||||
|
|
||||||
$tpl_irc = '';
|
|
||||||
|
|
||||||
$dwoo_data->assign('irc', $tpl_irc);
|
|
||||||
|
|
||||||
for ($i = 0; $i < 2; $i++) {
|
for ($i = 0; $i < 2; $i++) {
|
||||||
if ($i == 0) $dwoo_data->assign('showdirs', 0);
|
if ($i == 0) $dwoo_data->assign('showdirs', 0);
|
||||||
else $dwoo_data->assign('showdirs', 1);
|
else $dwoo_data->assign('showdirs', 1);
|
||||||
|
|||||||
Reference in new issue
Block a user