KaLGaN (kalgan) wrote in changelog,
KaLGaN
kalgan
changelog

[ljcom] r8235: LJSUP-5568: Created new static page "Ext...

Committer: akolganov
LJSUP-5568: Created new static page "ExtraLJ".
A   trunk/htdocs/extra/
A   trunk/htdocs/extra/index.bml
A   trunk/htdocs/extra/index.bml.text.local
Added: trunk/htdocs/extra/index.bml
===================================================================
--- trunk/htdocs/extra/index.bml	                        (rev 0)
+++ trunk/htdocs/extra/index.bml	2010-03-03 07:23:08 UTC (rev 8235)
@@ -0,0 +1,32 @@
+<?page
+title=><?_code return $ML{'.extra.title'}; _code?>
+body<=
+<?_code
+{
+    use strict;
+    use vars qw(%GET %POST);
+
+    return LJ::server_down_html() if $LJ::SERVER_DOWN;
+
+    LJ::set_active_crumb('extralj');
+
+    my $ret = '<p>'.$ML{'.extra.description'}.'</p>';
+    $ret .= '<h2>'.$ML{'.extra.ljapp.header'}.'</h2>';
+    $ret .= '<p>'.$ML{'.extra.ljapp.desc'}.'</p>';
+    $ret .= '<h2>'.$ML{'.extra.ljmob.header'}.'</h2>';
+    $ret .= '<p>'.$ML{'.extra.ljmob.desc'}.'</p>';
+    $ret .= '<h2>'.$ML{'.extra.tools.header'}.'</h2>';
+    $ret .= '<p>'.$ML{'.extra.tools.desc'}.'</p>';
+    $ret .= '<h2>'.$ML{'.extra.games.header'}.'</h2>';
+    $ret .= '<p>'.$ML{'.extra.games.desc'}.'</p>';
+    $ret .= '<p>'.$ML{'.extra.games.links'}.'</p>';
+    $ret .= '<h2>'.$ML{'.extra.classifieds.header'}.'</h2>';
+    $ret .= '<p>'.$ML{'.extra.classifieds.desc'}.'</p>';
+
+    return $ret;
+
+}
+_code?>
+
+<=body
+page?>

Added: trunk/htdocs/extra/index.bml.text.local
===================================================================
--- trunk/htdocs/extra/index.bml.text.local	                        (rev 0)
+++ trunk/htdocs/extra/index.bml.text.local	2010-03-03 07:23:08 UTC (rev 8235)
@@ -0,0 +1,34 @@
+;; -*- coding: utf-8 -*-
+.extra.title=ExtraLJ
+
+.extra.description=Some intro promo text.
+
+.extra.ljapp.header=LiveJournal.app
+
+.extra.ljapp.desc<<
+LiveJournal.app is a free native iPhone application, <a href="#">available at AppStore</a>, which allow LiveJournal users to post new entries to their journals, or communities, with photos taken with iPhone camera or images from Library.
+.
+
+.extra.ljmob.header=Mobile Version
+
+.extra.ljmob.desc<<
+Some promo about <a href="#">m.livejournal.com</a>.
+.
+
+.extra.tools.header=Useful Tools
+
+.extra.tools.desc<<
+Some promo about useful tools.
+.
+
+.extra.games.header=Games
+
+.extra.games.desc<<
+Some promo about games.<br /><a href="#">Game 1</a> | <a href="#">Game 2</a> | <a href="#">Game 3</a> | <a href="#">Game 4</a> | <a href="#">Game 5</a>
+.
+
+.extra.classifieds.header=Classifieds
+
+.extra.classifieds.desc<<
+Some promo text about classifieds.
+.
\ No newline at end of file

Tags: bml, kalgan, ljcom, local
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments