56 lines
1.6 KiB
Plaintext
Executable File
56 lines
1.6 KiB
Plaintext
Executable File
###
|
|
### Lynx Scheme - Very simple for text browsers
|
|
###
|
|
|
|
_parent=>global.look
|
|
|
|
h1=>{D}<h1>%%DATA%%</h1>
|
|
h2=>{D}<h2>%%DATA%%</h2>
|
|
|
|
loginboxstyle=>{S}
|
|
commloginboxstyle=>{S}
|
|
|
|
page<=
|
|
{Fps}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<link rel="home" title="<?_ml lynx.nav.home _ml?>" href="/" />
|
|
<link rel="contents" title="<?_ml lynx.nav.sitemap _ml?>" href="/site/" />
|
|
<link rel="help" title="<?_ml lynx.nav.help _ml?>" href="/support/" />
|
|
<?_code
|
|
use strict;
|
|
my $crumb_up;
|
|
if(LJ::get_active_crumb() ne '')
|
|
{
|
|
my $parentcrumb = LJ::get_parent_crumb();
|
|
$crumb_up = "<link rel='up' title='$parentcrumb->[0]' href='$parentcrumb->[1]' />";
|
|
}
|
|
return $crumb_up;
|
|
_code?>
|
|
<style>
|
|
#Comments q { padding-left: 2.5em; font-style: italic; }
|
|
</style>
|
|
<title><?_code {
|
|
my $elhash = $_[2];
|
|
return $elhash->{'WINDOWTITLE'} || $elhash->{'TITLE'};
|
|
} _code?></title>
|
|
%%HEAD%%
|
|
</head>
|
|
|
|
<body %%bodyopts%%>
|
|
|
|
%%BODY%%
|
|
|
|
<hr />
|
|
|
|
<p>[ <a href='/'><?_ml lynx.nav.home _ml?></a> | <a href='/update.bml'><?_ml lynx.nav.update _ml?></a> | <?_code
|
|
use strict;
|
|
if(my $u = LJ::get_remote()) {
|
|
return "<a href='/users/$u->{'user'}/'>$ML{'lynx.nav.recent'}</a> | <a href='/users/$u->{'user'}/friends/'>$ML{'lynx.nav.friends'}</a> | ";
|
|
}
|
|
_code?><a href='/login.bml'><?_ml lynx.nav.login _ml?></a>/<a href='/logout.bml'><?_ml lynx.nav.logout _ml?></a> | <a href='/manage/siteopts.bml'><?_ml lynx.nav.siteopts _ml?></a> | <a href='/site/'><?_ml lynx.nav.sitemap _ml?></a> ]</p>
|
|
<?breadcrumbs?>
|
|
</body>
|
|
</html>
|
|
<=page
|