Disable Twitter feed, as it no longer works

This commit is contained in:
prpr 2024-03-16 21:38:49 +00:00
parent bf2f95fdfc
commit 345b9ab706
5 changed files with 8 additions and 7 deletions

View File

@ -30,7 +30,7 @@ $(document).ready(function() {
source /mod/webif/include/menuicons.jim
if {[$settings notwitfeed] == 0} {
source /mod/webif/include/twitfeed.jim
# source /mod/webif/include/twitfeed.jim
}
puts {<div class=cleft>}

View File

@ -3,7 +3,7 @@ set hostname [$settings hostname]
set notoolbar [$settings notoolbar]
set nomobile [$settings nomobile]
set nohelplinks [$settings nohelplinks]
set notwitfeed [$settings notwitfeed]
#set notwitfeed [$settings notwitfeed]
set nounwatchedcount [$settings nounwatchedcount]
set nounderscore [$settings nounderscore]
set hidevisualota [$settings hidevisualota]
@ -14,7 +14,7 @@ handle_str_update hostname $hostname Hostname
handle_int_update notoolbar $notoolbar "Disable toolbar"
handle_int_update nomobile $nomobile "Disable mobile link"
handle_int_update nohelplinks $nohelplinks "Disable help links"
handle_int_update notwitfeed $notwitfeed "Disable twitter feed ticker"
#handle_int_update notwitfeed $notwitfeed "Disable twitter feed ticker"
handle_int_update nounwatchedcount $nounwatchedcount "Disable unwatched count"
handle_int_update nounderscore $nounderscore "Disable underscore count"
handle_int_update hidevisualota $hidevisualota "Hide OTA from visual view"

View File

@ -31,7 +31,7 @@ puts "
setting_toggle "Slide-down toolbar?" "notoolbar" $(!$notoolbar) 1
setting_toggle "Mobile link on main page?" "nomobile" $(!$nomobile) 1
setting_toggle "Help links on main page?" "nohelplinks" $(!$nohelplinks) 1
setting_toggle "Twitter feed ticker on main page?" "notwitfeed" $(!$notwitfeed) 1
#setting_toggle "Twitter feed ticker on main page?" "notwitfeed" $(!$notwitfeed) 1
setting_toggle "Unwatched count on folders?" "nounwatchedcount" $(!$nounwatchedcount) 1
setting_toggle "Underscore item indicator on folders?" "nounderscore" $(!$nounderscore) 1
setting_toggle "Hide OTA from Visual View?" "hidevisualota" $hidevisualota

View File

@ -23,8 +23,8 @@ helplink "hummy.tv<br>Forums" "/img/forum.png" "http://hummy.tv/"
helplink "hummy.tv<br>Wiki" "/img/wiki.png" "http://wiki.hummy.tv/"
helplink "Things Every<br>Owner Should Know" "/img/started.png" \
"http://hummy.tv/forum/threads/1858/"
helplink "Twitter<br>Feed" "/img/silver-twitter-bird-button.png" \
"http://twitter.com/HummyPkg"
#helplink "Twitter<br>Feed" "/img/silver-twitter-bird-button.png" \
# "http://twitter.com/HummyPkg"
eval_plugins helplink

View File

@ -234,7 +234,8 @@ settings method nohelplinks {{val -1}} {
}
settings method notwitfeed {{val -1}} {
return [$self _nval_setting notwitfeed $val]
# return [$self _nval_setting notwitfeed $val]
return 1
}
settings method nounwatchedcount {{val -1}} {