From 27d878417a753ee67678e09bf40de96dec3127b6 Mon Sep 17 00:00:00 2001 From: Git Date: Sat, 4 Aug 2012 08:00:19 +0000 Subject: [PATCH] Empty commit --- sections/blog/index.php | 18 +----- sections/forums/thread.php | 2 +- sections/tools/managers/news.php | 19 +----- static/styles/gtfo_spaceship/images/store.png | Bin 0 -> 868 bytes static/styles/gtfo_spaceship/style.css | 56 ++++++++++-------- 5 files changed, 35 insertions(+), 60 deletions(-) create mode 100644 static/styles/gtfo_spaceship/images/store.png diff --git a/sections/blog/index.php b/sections/blog/index.php index bf2f7eac..d84389ad 100644 --- a/sections/blog/index.php +++ b/sections/blog/index.php @@ -76,11 +76,7 @@ $DB->query("INSERT IGNORE INTO users_subscriptions VALUES ('$LoggedUser[ID]', $ThreadID)"); $Cache->delete_value('subscriptions_user_'.$LoggedUser['ID']); } - $Tweet = trim($_POST['tweet']); - if(!empty($Tweet)) { - send_irc("PRIVMSG #what.cd-twitter !tweet ".$Tweet); - } - + header('Location: blog.php'); break; } @@ -110,18 +106,6 @@ tabindex="2" /> -

Tweet

-
- -
diff --git a/sections/forums/thread.php b/sections/forums/thread.php index 13d19289..42eabff1 100644 --- a/sections/forums/thread.php +++ b/sections/forums/thread.php @@ -72,7 +72,7 @@ $PostNum = 1; } list($Page,$Limit) = page_limit($PerPage, min($ThreadInfo['Posts'],$PostNum)); -if(($Page-1)*$PerPage > $ThreadInfo['Posts']) { +if(($Page-1)*$PerPage >= $ThreadInfo['Posts']) { $Page = ceil($ThreadInfo['Posts']/$PerPage); } list($CatalogueID,$CatalogueLimit) = catalogue_limit($Page,$PerPage,THREAD_CATALOGUE); diff --git a/sections/tools/managers/news.php b/sections/tools/managers/news.php index a484ce38..65bdaa60 100644 --- a/sections/tools/managers/news.php +++ b/sections/tools/managers/news.php @@ -15,10 +15,7 @@ $DB->query("UPDATE news SET Title='".db_string($_POST['title'])."', Body='".db_string($_POST['body'])."' WHERE ID='".db_string($_POST['newsid'])."'"); $Cache->delete_value('news'); $Cache->delete_value('feed_news'); - $Tweet = trim($_POST['tweet']); - if(!empty($Tweet)) { - send_irc("PRIVMSG #what.cd-twitter !tweet ".$Tweet); - } + } header('Location: index.php'); break; @@ -45,19 +42,7 @@

Body



- -

Tweet

-
- - +
diff --git a/static/styles/gtfo_spaceship/images/store.png b/static/styles/gtfo_spaceship/images/store.png new file mode 100644 index 0000000000000000000000000000000000000000..d911a9c467c75d6e592139201210ccb13a65ae94 GIT binary patch literal 868 zcmV-q1DpJbP)(_`g8%^e{{R4h=>PzAFaQARU;qF*m;eA5Z<1fd zMgRZ;>PbXFRCwClmd$P)RS<>0s=Bwkt?rq2varoy#}XkzS>fab@DsGclMu0E1>p%` z!G;A3cmSlkVZj1NLP8>oL(=b zJ-ae9GxHg6Yx0almP8d*r7X*@fS-Vln=Z?DMC2n;MJCboVac*AtJ5^S32Xs(ov2Pb zXP7xuWkRHcqS3eq{0VeJ2vJq#hMD2LyT7&do0u6d8qJJ6&u;;L0eb*)`t+$q?|eH+ z5=5Y`Yk0vTstT{4JNIFp7oP)bA%vc8Z{O_z?Ez)ItZJ-pY>0@A998wQs*w__f^; zQKj8k8!0;PqneSX+2-N?JZ3aE`&N=9D@l@|s?>EP#(Iq24CbfRYJJjZG(QG9A%wk0 zjPBg|{c4O6K`>QTS64+uxPAMVk)n#=%wnU_{Ce1*{U;a!EX>b;Gc}bhd+(|1nts1O zG9xpiD2km|TCY~X%@D%&G435#A}ou@zyw9dl68`1?ctz4Ja$d2Z){!xu8cD`=g+^f zD57mqAPdsr5Gb=mhA!$hW=I` zTe=WJAJ`qsa!i+L6R6vd~{1+=!l@c=jlaPh*M(K&~RFgw?J57-PLd~xvY#S2T(IXlR| z3;ZxN=N+Ja=DAf>l^sshb?o)~eVlVW;M(x_SZUqe8;A1OfuDgtfQKQ3BaVFJIH{`Y uzbcgh-Df332opOX_r_Z9|GV4!p8){$$}Xy{v-za}0000 */ /* Last update: */ -/* TODO: +/* TODO: * torrent table anything but music stylings * add hover styles to dropdowns (including artist autocomplete) * graph poll images (homepage) * torrent table cat images * artist page link box * wiki! - * + * * give some shadow/definition to main nav bar css letterpress? * input type text * torrent table images (snatched, leechers, seeders) @@ -30,9 +30,9 @@ * DL / RP buttons images? * torrent table ?order_way= bg images * collage images hover styles - * - * - * + * + * + * */ /* icons by http://glyphicons.com/ */ @@ -169,7 +169,7 @@ a img { top: 1px; } -table td, table th { +table td { padding: 2px; } @@ -286,10 +286,10 @@ div.linkbox { table { width: 100%; } -tr.colhead, tr.colhead_dark { +tr.colhead, tr.colhead_dark { border: 1px solid #b93dd6; } -tr.colhead td, tr.colhead th, tr.colhead_dark td { +tr.colhead td, tr.colhead_dark td { background: #8E2FA4; color: #FFF; font-weight: bold; @@ -302,10 +302,6 @@ table tr.rowa td { background-color: #1a1f25; border-top: 1px solid #5F7187; } -.nobr { - word-wrap: normal; - white-space: nowrap; -} /* ************************************************************************** */ /* header */ @@ -485,19 +481,29 @@ div#header div#alerts .alertbar.blend a { ul#userinfo_major { } /* floating right would be easier but then icons would be reversed and i dont feel like reworking my sprites */ -ul#userinfo_major li#nav_donate a { +ul#userinfo_major li#nav_store a { position: absolute; right: 0; top:0; display: block; - background: transparent url("images/much-luv.png") no-repeat scroll 0 0; + background: transparent url("images/store.png") no-repeat scroll 0 0; width: 24px; height: 30px; text-indent: -9999px; } +ul#userinfo_major li#nav_donate a { + position: absolute; + right: 30px; + top:0; + display: block; + background: transparent url("images/much-luv.png") no-repeat scroll 0 0; + width: 32px; + height: 30px; + text-indent: -9999px; +} ul#userinfo_major li#nav_invite a { position: absolute; - right: 33px; + right: 68px; top:0; display: block; background: transparent url("images/yo-dawg-i-heard-you-like-cds.png") no-repeat scroll 0 0; @@ -507,7 +513,7 @@ ul#userinfo_major li#nav_invite a { } ul#userinfo_major li#nav_upload a { position: absolute; - right: 80px; + right: 115px; top:0; display: block; background: transparent url("images/icanhaztm.png") no-repeat scroll 0 0; @@ -771,7 +777,7 @@ body#torrents #torrent_table tr.group td + td + td + td { body#torrents #content > div.linkbox:last-child { -moz-box-shadow: 0 1px 3px #01A9D3, 0 -1px 1px #01A9D3; -webkit-box-shadow: 0 1px 3px #01A9D3, 0 -1px 1px #01A9D3; - background: #222; + background: #222; padding: 8px 2px; margin-top: 20px; } @@ -875,7 +881,7 @@ body#collage #content div.thin h2 + div table.border { -moz-box-shadow:0 3px 10px #01A9D3, 0 -1px 5px #01A9D3; -webkit-box-shadow:0 3px 10px #01A9D3, 0 -1px 5px #01A9D3; background: #222; - font-size: 85%; + font-size: 85%; } body#collage #content div.thin h2 + div table.border td { padding: 10px; @@ -953,7 +959,7 @@ body#requests #content div.thin h2 + .linkbox + div > form { -moz-box-shadow:0 3px 10px #01A9D3, 0 -1px 5px #01A9D3; -webkit-box-shadow:0 3px 10px #01A9D3, 0 -1px 5px #01A9D3; background: #222; - font-size: 85%; + font-size: 85%; } body#requests #content div.thin h2 + .linkbox + div .label { text-align: right; @@ -1018,7 +1024,7 @@ body#requests .tags a:hover { body#requests div.thin > h2 + div.linkbox, body#requests div.thin > div.linkbox:last-child { -moz-box-shadow: 0 1px 3px #01A9D3, 0 -1px 1px #01A9D3; -webkit-box-shadow: 0 1px 3px #01A9D3, 0 -1px 1px #01A9D3; - background: #222; + background: #222; padding: 8px 2px; margin-top: 20px; } @@ -1084,7 +1090,7 @@ body#forums .forum_index td + td + td + td, body#forums .forum_index td + td + t body#forums .linkbox { -moz-box-shadow: 0 1px 3px #01A9D3, 0 -1px 1px #01A9D3; -webkit-box-shadow: 0 1px 3px #01A9D3, 0 -1px 1px #01A9D3; - background: #222; + background: #222; padding: 8px 2px; margin-top: 20px; } @@ -1191,7 +1197,7 @@ body#top10 #content div.thin h2 + .linkbox + div > form { -moz-box-shadow:0 3px 10px #01A9D3, 0 -1px 5px #01A9D3; -webkit-box-shadow:0 3px 10px #01A9D3, 0 -1px 5px #01A9D3; background: #222; - font-size: 85%; + font-size: 85%; } body#top10 #content div.thin h2 + .linkbox + div .label, body#top10 #content div.thin h2 + .linkbox + div .center { text-align: right; @@ -1251,7 +1257,7 @@ body#user table.border tr + tr td:last-child { body#user #content div.thin h2 + .linkbox { -moz-box-shadow: 0 1px 3px #01A9D3, 0 -1px 1px #01A9D3; -webkit-box-shadow: 0 1px 3px #01A9D3, 0 -1px 1px #01A9D3; - background: #222; + background: #222; padding: 8px 2px; margin: 20px 0 30px; } @@ -1317,7 +1323,7 @@ body#forums .poll li.graph { background-image: url("images/poll-wide-bg.png"); } .poll span.left_poll, -.poll span.center_poll, +.poll span.center_poll, .poll span.right_poll { background-color: #01a9d3; opacity: 0.75; @@ -1402,4 +1408,4 @@ body#forums .poll li.graph { } .lightbox .colhead span { font-weight: bold; -} \ No newline at end of file +}