mirror of
https://github.com/Eggbertx/gochan.git
synced 2025-08-07 10:16:24 -07:00
Add bbcode, HTML reparsing function for imageboard admins
This commit is contained in:
parent
4d93f8bb98
commit
46a3e8ac77
9 changed files with 55 additions and 17 deletions
|
@ -178,7 +178,6 @@ table#pages td {
|
|||
}
|
||||
|
||||
.post-text {
|
||||
white-space: pre-wrap;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
|
@ -232,8 +231,7 @@ table#pages td {
|
|||
}
|
||||
|
||||
.dropdown-button {
|
||||
display: inline;
|
||||
padding: 4px;
|
||||
padding: 4px 8px;
|
||||
float: right;
|
||||
}
|
||||
|
||||
|
|
|
@ -7,6 +7,6 @@
|
|||
<h1>404: File not found</h1>
|
||||
<img src="/error/lol 404.gif" border="0" alt="">
|
||||
<p>The requested file could not be found on this server. Are you just typing random stuff in the address bar? If you followed a link from this site here, then post <a href="/site">here</a></p>
|
||||
<hr><address>http://gochan.org powered by Gochan v1.8.2</address>
|
||||
<hr><address>http://gochan.org powered by Gochan v1.9.0</address>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -7,6 +7,6 @@
|
|||
<h1>500: Internal Server error</h1>
|
||||
<img src="/error/derpy server.gif" border="0" alt="">
|
||||
<p>The server encountered an error while trying to serve the page, and we apologize for the inconvenience. The <a href="https://en.wikipedia.org/wiki/Idiot">system administrator</a> will try to fix things as soon has he/she/it can.</p>
|
||||
<hr><address>http://gochan.org powered by Gochan v1.8.2</address>
|
||||
<hr><address>http://gochan.org powered by Gochan v1.9.0</address>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -150,13 +150,13 @@ var DropDownMenu = function(title,menu_html) {
|
|||
this.menuHTML = menu_html;
|
||||
this.button = new TopBarButton(title, function() {
|
||||
topbar.after("<div id=\""+title.toLowerCase()+"\" class=\"dropdown-menu\">"+menu_html+"</div>");
|
||||
$jq("a#"+title.toLowerCase()).children(0).html(title+up_arrow_symbol);
|
||||
$jq("a#"+title.toLowerCase() + "-menu").children(0).html(title+up_arrow_symbol);
|
||||
$jq("div#"+title.toLowerCase()).css({
|
||||
top:topbar.height()
|
||||
});
|
||||
}, function() {
|
||||
$jq("div#"+title.toLowerCase() + ".dropdown-menu").remove();
|
||||
$jq("a#"+title.toLowerCase()).children(0).html(title+down_arrow_symbol);
|
||||
$jq("a#"+title.toLowerCase() + "-menu").children(0).html(title+down_arrow_symbol);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue