mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-13 19:06:27 +00:00
Empty commit
This commit is contained in:
parent
878663ac4e
commit
27d878417a
@ -76,10 +76,6 @@
|
||||
$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 @@
|
||||
<input id="subscribebox" type="checkbox" name="subscribe"<?=!empty($HeavyInfo['AutoSubscribe'])?' checked="checked"':''?> tabindex="2" />
|
||||
<label for="subscribebox">Subscribe</label>
|
||||
|
||||
<h3>Tweet</h3>
|
||||
<input type="text" id="tweettext" name="tweet" size="95" onkeyup="charCount()"/><br />
|
||||
<label for="tweettext" id="tweetlabel">0/140</label>
|
||||
<script type="text/javascript">
|
||||
function charCount() {
|
||||
var count = document.getElementById("tweettext").value.length;
|
||||
document.getElementById("tweetlabel").innerHTML = "Characters " + count +"/140";
|
||||
if(count > 140) {
|
||||
document.getElementById("tweetlabel").innerHTML = "<strong style='color:red'>Exceeded Max Length!</strong>";
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<div class="center">
|
||||
<input type="submit" value="<?=((!isset($_GET['action'])) ? 'Create blog post' : 'Edit blog post') ?>" />
|
||||
</div>
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
@ -46,18 +43,6 @@
|
||||
<h3>Body</h3>
|
||||
<textarea name="body" cols="95" rows="15"><? if(!empty($Body)) { echo display_str($Body); } ?></textarea> <br /><br />
|
||||
|
||||
<h3>Tweet</h3>
|
||||
<input type="text" id="tweettext" name="tweet" size="95" onkeyup="charCount()"/><br />
|
||||
<label for="tweettext" id="tweetlabel">0/140</label>
|
||||
<script type="text/javascript">
|
||||
function charCount() {
|
||||
var count = document.getElementById("tweettext").value.length;
|
||||
document.getElementById("tweetlabel").innerHTML = "Characters " + count +"/140";
|
||||
if(count > 140) {
|
||||
document.getElementById("tweetlabel").innerHTML = "<strong style='color:red'>Exceeded Max Length!</strong>";
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<div class="center">
|
||||
<input type="submit" value="<?= ($_GET['action'] == 'news')? 'Create news post' : 'Edit news post';?>" />
|
||||
|
BIN
static/styles/gtfo_spaceship/images/store.png
Normal file
BIN
static/styles/gtfo_spaceship/images/store.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 868 B |
@ -169,7 +169,7 @@ a img {
|
||||
top: 1px;
|
||||
}
|
||||
|
||||
table td, table th {
|
||||
table td {
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
@ -289,7 +289,7 @@ table {
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user