# LiveJournal.com-specific library # # This file is NOT licensed under the GPL. As with everything in the # "ljcom" CVS repository, this file is the property of Danga # Interactive and is made available to the public only as a reference # as to the best way to modify/extend the base LiveJournal server code # (which is licensed under the GPL). # # Feel free to read and learn from things in "ljcom", but don't use # our schemes because we don't want your site looking like # LiveJournal.com (our logo and site scheme are our identity and we # don't want to confuse users) # # Instead, use/modify one of the schemes in the "livejournal" repository. # (Ideally you'd make your own entirely) # _parent=>global.look help=>{Ds}(<?_ml Help _ml?>) h1=>{D}

%%data%% h1/follow_choices=>{D}%%data%% h2=>{D}

%%data%% # Banner Header: search results banner, content desriptor, etc... bh=>{D}

%%data%% grin=>{S}<grin> hr=>{S}

*

newline=>{S}
     p=>{DRp}
%%data%% p/follow_p=>{DRps}

%%data%% emcolor=>{S}#a7c7e8 emcolorlite=>{S}#d9e9f9 altcolor1=>{S}#d9e9f9 altcolor2=>{S}#a7c7e8 de=>{DRp}%%data%% standout<= {DRps}

/ \
%%data%%
\ /
<=standout warningbar<= {DRps}
%%data%%
<=warningbar errorbar<= {DRps}
%%data%%
<=errorbar soerror=>
%%data%%
emailex=>
%%data%%
######################### choices stuff choice=>{PRps}
%%data1%%
%%data3%% choices<= {FRp}

%%items%%
%%itemsb%%
<=choices ENTRYFORMCSS<= {Ss} <=ENTRYFORMCSS ################################################################################## ################################### MAIN PAGE #################################### ################################################################################## PAGE<= {Fps} {r}); } _code?> <?_code { my $elhash = $_[2]; return $elhash->{'WINDOWTITLE'} || $elhash->{'TITLE'}; } _code?> [0]' href='$parentcrumb->[1]' />"; } return $crumb_up; _code?> %%head%%
   
/dys/logo3-lang.gif" width="122" height="52" border="0" ismap="ismap" usemap="#setlang">'; } else { return ''; } _code?>
 
  "; $ret .= '
LJ::get_remote()->{'user'} })); } else { return BML::noparse(BML::ml("dystopia.hello_anonymous")) } _code?> | | | | | {'user'}&sessid=$r->{'_session'}->{'sessid'}" . '">' . BML::ml("dystopia.nav.logout") . ''); } return; _code?>
BML::ml('dystopia.navhead.journal'), 'links' => [ { 'url' => '/update.bml', 'text' => BML::ml('dystopia.nav.updatejournal'), }, { 'url' => "/users/$remote->{'user'}/", 'text' => BML::ml('dystopia.nav.journalrecent'), }, { 'url' => "/users/$remote->{'user'}/calendar", 'text' => BML::ml('dystopia.nav.journalcalendar'), }, { 'url' => "/users/$remote->{'user'}/friends", 'text' => BML::ml('dystopia.nav.journalfriends'), 'extra' => '/friends/filter.bml', }, { 'url' => "/userinfo.bml?user=$remote->{'user'}", 'text' => BML::ml('dystopia.nav.journalinfo'), 'extra' => "/userinfo.bml?user=$remote->{'user'}&mode=full", }, { 'url' => "/tools/memories.bml?user=$remote->{'user'}", 'text' => BML::ml('dystopia.nav.memories'), }, { 'url' => "/editjournal.bml", 'text' => BML::ml('dystopia.nav.editentries'), }, ], }; push @nav, { 'name' => BML::ml('dystopia.navhead.settings'), 'links' => [ { 'url' => '/manage/', 'text' => BML::ml('dystopia.nav.manage') }, { 'url' => '/editinfo.bml', 'text' => BML::ml('dystopia.nav.personalinfo') }, { 'url' => "/friends/edit.bml", 'text' => BML::ml('dystopia.nav.editfriends'), }, { 'url' => "/editpics.bml", 'text' => BML::ml('dystopia.nav.editpics'), }, { 'url' => "/changepassword.bml", 'text' => BML::ml('dystopia.nav.editpassword'), }, { 'url' => "/modify.bml", 'text' => BML::ml('dystopia.nav.modifyjournal'), }, { 'url' => "/styles/edit.bml", 'text' => BML::ml('dystopia.nav.editstyle'), }, ], }; } else { push @nav, { 'name' => BML::ml('dystopia.navhead.welcome'), 'links' => [ { 'url' => '/login.bml', 'text' => BML::ml('dystopia.nav.login'), }, { 'url' => '/create.bml', 'text' => BML::ml('dystopia.nav.createjournal'), }, { 'url' => "/update.bml", 'text' => BML::ml('dystopia.nav.updatejournal'), }, ], }; } push @nav, { 'name' => BML::ml('dystopia.navhead.findusers'), 'links' => [ { 'url' => '/random.bml', 'text' => BML::ml('dystopia.nav.findrandom'), }, $LJ::DISABLED{'directory'} ? () : ( { 'url' => '/directory.bml', 'text' => BML::ml('dystopia.nav.findregion'), } ), { 'url' => '/community/', 'text' => BML::ml('dystopia.nav.findcomm'), }, { 'url' => '/interests.bml', 'text' => BML::ml('dystopia.nav.findint'), }, $LJ::DISABLED{'directory'} ? () : ( { 'url' => '/directorysearch.bml', 'text' => BML::ml('dystopia.nav.finddir'), } ), ], }; push @nav, { 'name' => 'LiveJournal', 'links' => [ { 'url' => '/download/', 'text' => BML::ml('dystopia.nav.download'), }, { 'url' => '/paidaccounts/', 'text' => BML::ml('dystopia.nav.paidaccts'), }, { 'url' => '/pay/', 'text' => BML::ml('dystopia.nav.paymentarea'), }, ], }; push @nav, { 'name' => BML::ml('dystopia.navhead.help'), 'links' => [ { 'url' => '/support/faq.bml', 'text' => BML::ml('dystopia.nav.faq'), }, { 'url' => '/support/', 'text' => BML::ml('dystopia.nav.support'), }, { 'url' => '/lostinfo.bml', 'text' => BML::ml('dystopia.nav.lostinfo'), }, { 'url' => '/developer/', 'text' => BML::ml('dystopia.nav.developer'), }, { 'url' => '/press/staff.bml', 'text' => BML::ml('dystopia.nav.contact'), }, ], }; push @nav, { 'name' => BML::ml('dystopia.navhead.legal'), 'links' => [ { 'url' => '/legal/tos.bml', 'text' => BML::ml('dystopia.nav.legaltos'), }, { 'url' => '/legal/privacy.bml', 'text' => BML::ml('dystopia.nav.legalprivacy'), }, { 'url' => '/legal/dmca.bml', 'text' => BML::ml('dystopia.nav.legaldmca'), }, ], }; my $ret = $LJ::DYS_LEFT_TOP; foreach my $sec (@nav) { $ret .= ""; } return BML::noparse($ret); _code?>

$sec->{'name'}
"; foreach my $l (@{$sec->{'links'}}) { $ret .= "{'url'}\">$l->{'text'}"; if ($l->{'extra'}) { $ret .= " {'extra'}\">..."; } $ret .= "
"; } $ret .= "

 
 
 

 

 

"; } else { $button = ""; } } else { if (! $LJ::IS_SSL) { $button = ""; } else { $button = ""; } } my $chal = LJ::challenge_generate(300); return <<"END_LOGIN_BAR"; END_LOGIN_BAR } return; _code?>
 $ML{'Username'}:   $ML{'Password'}:   $button
%%pretitle%% %%title%%

%%body%%

<=PAGE