summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorwjames5 <will@tekimaki.com>2008-07-31 21:36:01 +0000
committerwjames5 <will@tekimaki.com>2008-07-31 21:36:01 +0000
commit87bc66a71b5c32d609c76f1829a26507cd4b62be (patch)
treefefe0dddb75418dc319cc1c6843ad4c1a8df27a0 /templates
parent6ea065983e51705915ad00d1495d0ad891bc4b91 (diff)
downloadboards-87bc66a71b5c32d609c76f1829a26507cd4b62be.tar.gz
boards-87bc66a71b5c32d609c76f1829a26507cd4b62be.tar.bz2
boards-87bc66a71b5c32d609c76f1829a26507cd4b62be.zip
clean up all topic pref settings like sticky and notify - remove ajaxiness which just complicated things - for now we move this stuff to new edit_topic file to try to make things sane
Diffstat (limited to 'templates')
-rw-r--r--templates/flipswitch.tpl11
1 files changed, 1 insertions, 10 deletions
diff --git a/templates/flipswitch.tpl b/templates/flipswitch.tpl
index ccc5eb8..4b7b7ae 100644
--- a/templates/flipswitch.tpl
+++ b/templates/flipswitch.tpl
@@ -12,16 +12,7 @@ $flip_downname=>$flip.$flip_name.downname
*}
<span id="flip_{$flip.$flip_name.id}-{$flip_name}">
{if $gBitUser->hasPermission( $flip.$flip_name.perm )}
- {if !$gBitThemes->isJavascriptEnabled()}
- <a href="{$smarty.const.BOARDS_PKG_URL}view_board_inc.php?t={$flip.$flip_name.id}&amp;
- {$flip.$flip_name.idname}={$flip.$flip_name.id|escape:"url"}
- &amp;{$flip_name}={$flip.$flip_name.state|escape:"url"}" />
- {else}
- <a href="javascript:void(0);" onclick="BitBoards.flipName( '{$smarty.const.BOARDS_PKG_URL}ajax.php?t={$flip.$flip_name.id}&amp;req={$flip.$flip_name.req}&amp;seq='
- + new Date().getTime()+
- '&amp;{$flip.$flip_name.idname}={$flip.$flip_name.id|escape:"url"}
- &amp;{$flip_name}={$flip.$flip_name.state|escape:"url"}', '{$flip.$flip_name.id}-{$flip_name}' )" >
- {/if}
+ <a href="{$smarty.const.BOARDS_PKG_URL}edit_topic.php?{$flip.$flip_name.idname}={$flip.$flip_name.id|escape:"url"}&amp;{$flip_name}={$flip.$flip_name.state|escape:"url"}" />
{/if}
{if $flip.$flip_name.state==1}
{biticon ipackage=icons iname=$flip.$flip_name.up iexplain=$flip.$flip_name.upname iforce="icon"}