Qbasicnews.com

Full Version: Minor Maintenance work
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've just done some small maintenance on the forums.

Firstly: new languages installed today, and updated to GeSHi 1.0.1 (so the highlighting works better than ever Big Grin)

[syntax="php"] if( count($faq_block[$i]) )
{
$template->assign_block_vars('faq_block', array(
'BLOCK_TITLE' => $faq_block_titles[$i])
);
$template->assign_block_vars('faq_block_link', array(
'BLOCK_TITLE' => $faq_block_titles[$i])
);[/syntax]

[syntax="html"]<html>
<head>
<title>subOracle created by Oracle</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#FFFFFF" text="#000000">

<table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="center" valign="middle"><a href="http://qbnz.com/phpBB/" target="_new">subOracle style by Oracle</a></td>
</tr>
</table>

</body>
</html>[/syntax]

[syntax="css"]/* Overall syntax block styles (should be like code block styles */
.syntax-code {
font-family: Courier, 'Courier New', sans-serif;
font-size: 12px;
color: #FAFAFA;
background-color: #161616;
border: 1px solid #BCBCBC;
}[/syntax]

[syntax="ada"]with Text_IO;
use Text_IO;
procedure Hello3 is
str: String := "Hello World !";
begin
Put_Line(str);
end Hello3;[/syntax]

[syntax="pascal"]program hello(output);

procedure WriteResponseHeader;
begin
writeln('content-type: text/html');
writeln
end;

begin
WriteResponseHeader;
writeln('<HTML>');
writeln('<HEAD>');
writeln('<TITLE>IriePascal Hello World Program</TITLE>');
writeln('</HEAD>');
writeln('<BODY>');
writeln('<BIG> Hello world!!! </BIG>');
writeln('</BODY>');
writeln('</HTML>')
end.[/syntax]

[syntax="java"]import javax.swing.JOptionPane;

public class Foo {
public static void main ( String[] args ) {
JOptionPane.showMessageDialog(null, "hello, world!");
int n = args[0];
for ( int i = 0; i < n; i++ )
{
System.out.println(i);
}
}
}[/syntax]

Other languages include NullSoft installer script (nsis), Apache log files (apache), ASM (asm), SQL (sql) and C ©.

Next: For those of you who use subOracle (yes, both of us Wink) I've increased the size of the text in quotes and in code blocks to make it easier to read.

In Helius I've fixed up slightly the image in the top-left corner.

And in all styles I've fixed the age display next to each posters' posts.

Enjoy the improvements Smile
Looks much better with SmartDark than with subOracle :wink:

EDIT:: waa! it's telling my age =P
Very cool updates.


*Pokes at age*