Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
299
Merge Requests
299
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
e10572d7
Commit
e10572d7
authored
May 02, 2001
by
Jeroen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hey,
Deleted jeroen2.theme from /yaroon/ Jeroen.
parent
343e71c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
256 deletions
+0
-256
themes/yaroon/jeroen2.theme
themes/yaroon/jeroen2.theme
+0
-256
No files found.
themes/yaroon/jeroen2.theme
deleted
100644 → 0
View file @
343e71c8
<?php
/*********************************************************************
Theme: Yaroon
Author: Jeroen Bensch (Jeroen)
E-mail: jeroen@drop.org
Description: Rather cool theme with some colors, problems with NS 4.76
*********************************************************************/
class Theme {
function header() {
global $PHP_SELF, $REQUEST_URI, $cid, $id;
$true = 0;
switch (rand(0,8)) {
case 0: $color = "#c4a2a2"; break;
case 1: $color = "#a2c4a7"; break;
case 2: $color = "#c2c4a2"; break;
case 3: $color = "#ad4322"; break;
case 4: $color = "#6c6c23"; break;
case 6: $color = "#d31717"; break;
case 7: $color = "#383838"; break;
default: $color = "#a3b1c7";
}
?>
<!-- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -->
<html>
<head>
<title>
<?php echo variable_get(site_name, "drupal"); ?>
</title>
<style
type=
"text/css"
>
a
{
text-decoration
:
none
;
color
:
#24677f
;
}
a
:active
{
color
:
#24677f
;
}
a
:visited
{
color
:
#24677f
;
}
a
:hover
{
color
:
<?
php
echo
$
color
;
?>;
}
td
{
font-family
:
Arial
,
Helvetica
;
font-size
:
10pt
;
}
.spacer1
{
background-color
:
#000000
;
}
.small
{
font-family
:
Arial
,
Helvetica
;
font-size
:
10pt
;
}
.box
{
font-size
:
12pt
;
}
</style>
<script
language=
"JavaScript"
>
<!--
function
do_nav
()
{
navdrop
=
document
.
navform
.
navdrop
;
if
(
navdrop
.
options
[
navdrop
.
selectedIndex
].
value
!=
"
none
"
)
{
location
=
navdrop
.
options
[
navdrop
.
selectedIndex
].
value
;
}
}
-->
</script>
</head>
<body
bgcolor=
"#878787"
topmargin=
"0"
leftmargin=
"0"
marginwidth=
"0"
marginheight=
"0"
link=
"#24677f"
alink=
"#24677f"
vlink=
"#24677f"
>
<table
border=
"0"
cellpadding=
"0"
cellspacing=
"0"
width=
"100%"
>
<tr>
<td
align=
"left"
valign=
"middle"
width=
"20%"
>
<font
size=
"+1"
>
<b><a
href=
"<?php echo variable_get(site_url,
"
http:
//
drupal
/");
?
>
">
<?php echo variable_get(site_name, "drupal"); ?>
</a></b>
</font>
</td>
<td
class=
"spacer1"
width=
"1"
height=
"1"
><img
src=
"themes/jeroen2/images/pixel.gif"
width=
"1"
height=
"1"
alt=
""
border=
"0"
/></td>
<form
name=
"navform"
action=
""
method=
"get"
>
<td
align=
"right"
valign=
"top"
width=
"80%"
>
<select
name=
"navdrop"
onChange=
"do_nav()"
class=
"small"
>
<option
value=
"index.php"
<?
php
if
($
PHP_SELF =
=
"/
index.php
")
{
echo
"
selected
";
$
true =
1;
}
?
>
>Main
</option>
<option
value=
"account.php"
<?
php
if
($
PHP_SELF =
=
"/
account.php
")
{
echo
"
selected
";
$
true =
1;
}
?
>
>Account
</option>
<option
value=
"module.php?mod=diary"
<?
php
if
(
strstr
($
REQUEST_URI
,
"
mod=
diary"))
{
echo
"
selected
";
$
true =
1;
}
?
>
>Diary
</option>
<option
value=
"module.php?mod=book"
<?
php
if
(
strstr
($
REQUEST_URI
,
"
mod=
book"))
{
echo
"
selected
";
$
true =
1;
}
?
>
>Handbook
</option>
<option
value=
"submit.php"
<?
php
if
($
PHP_SELF =
=
"/
submit.php
")
{
echo
"
selected
";
$
true =
1;
}
?
>
>Submit
</option>
<option
value=
"search.php"
<?
php
if
($
PHP_SELF =
=
"/
search.php
")
{
echo
"
selected
";
$
true =
1;
}
?
>
>Search
</option>
<?php if ($REQUEST_URI == "/module.php?mod=moderation") { $true = 1; echo "<option selected>Moderation</option>"; }
if (!$true) { echo "<option selected>"; if($cid) echo "Node $cid"; else if($id) echo "Node $id"; else echo "Other"; echo"</option>"; } ?>
</select>
<noscript><input
type=
"submit"
value=
"Go!"
></noscript>
</td>
</form>
</tr>
<tr><td
colspan=
"3"
class=
"spacer1"
><img
src=
"themes/jeroen2/images/pixel.gif"
width=
"1"
height=
"1"
alt=
""
border=
"0"
/></td></tr>
<tr>
<td
align=
"center"
valign=
"top"
width=
"20%"
>
<br
/>
<?php
theme_account($this);
theme_blocks("all", $this);
?>
</td>
<td
class=
"spacer1"
><img
src=
"themes/jeroen2/images/pixel.gif"
width=
"1"
height=
"1"
alt=
""
border=
"0"
/></td>
<td
align=
"center"
valign=
"top"
bgcolor=
"#f4f4f4"
width=
"80%"
height=
"100%"
>
<br
/>
<table
border=
"0"
cellpadding=
"0"
cellspacing=
"0"
width=
"95%"
>
<tr>
<td>
<?php
} // close header function
function story($story, $main = 0) {
switch ($story->tid) {
case 0: $color = "#c4a2a2"; $img = "square2.gif"; break;
case 1: $color = "#a2c4a7"; $img = "square3.gif"; break;
case 2: $color = "#c2c4a2"; $img = "square4.gif"; break;
case 3: $color = "#ad4322"; $img = "square5.gif"; break;
case 4: $color = "#6c6c23"; $img = "square6.gif"; break;
case 5: $color = "#d31717"; $img = "square7.gif"; break;
case 6: $color = "#383838"; $img = "square8.gif"; break;
default: $color = "#a3b1c7"; $img = "square.gif";
}
?>
<table
border=
"0"
cellpadding=
"0"
cellspacing=
"1"
width=
"100%"
>
<tr>
<td>
<a
href=
"index.php?topic=<?php echo $story->tid; ?>"
><img
src=
"themes/jeroen2/images/<?php echo $img; ?>"
border=
"0"
/></a>
<b
style=
"font-size: 12pt"
>
<?php echo check_output($story->title); ?>
</b>
<?php echo strtr(t("by %a on %b"), array("%a" => format_username($story->userid), "%b" => format_date($story->timestamp), "small")); echo $story->cid; ?>
</td>
</tr>
<tr><td
bgcolor=
"<?php echo $color; ?>"
><img
src=
"themes/jeroen2/images/pixel.gif"
width=
"1"
height=
"1"
alt=
""
border=
"0"
/></td></tr>
<tr>
<td>
<?php
echo "<br />". check_output($story->abstract, 1) ."<br />";
if (!$main && $story->body)
echo "<br />". check_output($story->body, 1) ."<br />";
echo" </td>
</tr>
<tr>
<td align=\"right\">
<font color=\"". $color ."\">";
if ($main)
echo "". theme_morelink($this, $story) ."";
echo"</font>";
?>
<br>
</td>
</tr>
</table>
<?php
} // close story function
function comment($comment, $link = "") {
echo "<a name=\"$comment->cid\"></a>\n";
?>
<table
width=
"90%"
border=
"0"
cellpadding=
"0"
cellspacing=
"1"
heigth=
"100%"
>
<tr>
<td
valign=
"bottom"
class=
"box"
>
<img
src=
"themes/jeroen2/images/square.gif"
/>
<b>
<?php echo check_output($comment->subject); ?>
</b>
<font
size=
"-1"
>
<?php echo strtr(t(" by %a on %b"), array("%a" => format_username($comment->userid), "%b" => format_date($comment->timestamp), "small")); ?>
</font>
</td>
<td
align=
"right"
>
<?php echo comment_moderation($comment); ?>
</td>
</tr>
<tr><td
colspan=
"2"
class=
"spacer1"
><img
src=
"themes/jeroen2/images/pixel.gif"
width=
"1"
height=
"1"
alt=
""
border=
"0"
/><br></td></tr>
<tr>
<td
colspan=
"2"
>
<br
/>
<?php echo check_output($comment->comment, 1); ?>
</td>
</tr>
<tr>
<td
align=
"right"
colspan=
"2"
>
<br
/>
[
<?php echo $link; ?>
]
<br
/>
</td>
</tr>
</table>
<?php
} // close comment function
function box($subject, $content, $options = "") {
switch (rand(0,7)) {
case 0: $img = "square.gif"; break;
case 1: $img = "square2.gif"; break;
case 2: $img = "square3.gif"; break;
case 3: $img = "square4.gif"; break;
case 4: $img = "square5.gif"; break;
case 6: $img = "square6.gif"; break;
case 7: $img = "square7.gif"; break;
default: $img = "square.gif";
}
?>
<table
width=
"90%"
border=
"0"
cellpadding=
"0"
cellspacing=
"1"
>
<tr>
<td
class=
"box"
><img
src=
"themes/jeroen2/images/square.gif"
/>
<b>
<?php echo $subject; ?>
</b></td>
</tr>
<tr><td
class=
"spacer1"
><img
src=
"themes/jeroen2/images/pixel.gif"
width=
"1"
height=
"1"
alt=
""
border=
"0"
/><br></td></tr>
<tr>
<td>
<br
/>
<?php echo $content; ?>
</td>
</tr>
<tr><td
align=
"right"
class=
"box"
><img
src=
"themes/jeroen2/images/<?php echo $img; ?>"
/><br
/>
</td></tr>
</table>
<?php
} // close box function
function footer() {
?>
</td>
</tr>
</table>
<!-- I call this the super-space, withouth it, the comment section looks crappy at the bottom :) -->
</td>
</tr>
<tr><td
colspan=
"3"
class=
"spacer1"
><img
src=
"themes/jeroen2/images/pixel.gif"
width=
"1"
height=
"1"
alt=
""
border=
"0"
/></td></tr>
<tr>
<td
align=
"left"
>
<a
href=
"mailto:<?php echo variable_get(site_email,"
root
@
localhost
");
?
>
">
<?php echo variable_get(site_email,"root@localhost"); ?>
</a>
</font>
</td>
<td
class=
"spacer1"
><img
src=
"themes/jeroen2/images/pixel.gif"
width=
"1"
height=
"1"
alt=
""
border=
"0"
/></td>
<td
align=
"right"
>
<?php echo variable_get(site_footer, ""); ?>
</td>
</tr>
</table>
</body>
</html>
<?php
} // close footer function
}
?>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment