r36214 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r36213‎ | r36214 | r36215 >
Date:01:00, 12 June 2008
Author:dale
Status:old
Tags:
Comment:
import simple front end page stub
Modified paths:
  • /branches/MetavidWiki-exp/frontend_pages/index.php (added) (history)

Diff [purge]

Index: branches/MetavidWiki-exp/frontend_pages/index.php
@@ -0,0 +1,141 @@
 2+<?php
 3+/* minninalist homepage
 4+* setup environment vars: */
 5+$wgScriptPath = '/mvw-exp';
 6+$wgScript = '/mvw-exp/index.php';
 7+$wgServer = '';
 8+$skin_path=$wgScriptPath.'/skins/mvpcf';
 9+$mvextension_path = $wgScriptPath.'/extensions/MetavidWiki';
 10+?>
 11+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 12+<html xmlns="http://www.w3.org/1999/xhtml">
 13+<head>
 14+<title>metavid.org - an open video archive of us congress</title>
 15+ <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
 16+ <meta name="author" content="" />
 17+ <meta name="keywords" content="" />
 18+ <meta name="description" content="" />
 19+ <meta name="robots" content="all" />
 20+ <link rel="stylesheet" href="<?=$skin_path?>/styles.css" type="text/css" media="screen" />
 21+ <!--[if lt IE 7]>
 22+ <link rel="stylesheet" href="<?=$skin_path?>/ie_styles.css" type="text/css" media="screen" />
 23+ <![endif]-->
 24+ <script type= "text/javascript">/*<![CDATA[*/
 25+var wgScriptPath = "<?=$wgScriptPath?>";
 26+var wgScript = "<?=$wgScript ?>";
 27+var wgServer = "<?=$wgServer ?>";
 28+/*]]>*/</script>
 29+<script type="text/javascript" src="<?=$mvextension_path?>/skins/mv_embed/mv_embed.js"></script>
 30+<script type="text/javascript" src="<?=$mvextension_path?>/skins/mv_embed/jquery/jquery-1.2.1.js"></script>
 31+<script type="text/javascript" src="<?=$mvextension_path?>/skins/mv_embed/jquery/plugins/jquery.autocomplete.js"></script>
 32+<script type="text/javascript" src="<?=$mvextension_path?>/skins/mv_embed/jquery/plugins/jquery.hoverIntent.js"></script>
 33+
 34+<script type="text/javascript" src="<?=$mvextension_path?>/skins/mv_allpages.js"></script>
 35+</head>
 36+<body id="frontPage">
 37+ <div id="metaLogin"><a href="#">login / create account</a></div>
 38+ <div id="frontPageTop">
 39+ <div id="searchSplash">
 40+ <div class="logo"><a href="#"><img src="<?=$skin_path?>/images/logo.png" alt="Metavid" /></a></div>
 41+ <p class="tagline">The Open Video archive of the US Congress</p>
 42+
 43+ <div class="form_search_row">
 44+ <input type="text" class="searchField" name="search[field]" id="search_field" />
 45+ <button class="grey_button" type="submit"><span>&nbsp;&nbsp; Video Search &nbsp;&nbsp;</span></button>
 46+ <a href="#" class="advanced_search_tag">advanced search</a>
 47+ </div>
 48+
 49+ <div id="suggestions" style="display:none">
 50+ <div id="suggestionsTop"></div>
 51+
 52+ <div id="suggestionsInner" class="suggestionsBox">
 53+
 54+ </div><!--suggestionsInner-->
 55+ <div id="suggestionsBot"></div>
 56+ </div><!--suggestions-->
 57+ </div><!--searchSplash-->
 58+ </div><!--frontPageTop-->
 59+
 60+
 61+ <div id="frontPageContent">
 62+ <h2>Today's Popular Searches</h2>
 63+ <ul class="popularSearches">
 64+ <li><a href="#">Barack Obama</a></li>
 65+ <li><a href="#">Health Care</a></li>
 66+ <li><a href="#">Gas Tax</a></li>
 67+ <li><a href="#">Hillary Clinton</a></li>
 68+
 69+ <li><a href="#">John McCain</a></li>
 70+ <li><a href="#">Iraq War</a></li>
 71+ <li class="last_li"><a href="#">Appropriations</a></li>
 72+ </ul>
 73+
 74+ <h2>Today's Popular Clips</h2>
 75+ <ul class="popularClips">
 76+ <li>
 77+
 78+ <img src="<?=$skin_path ?>/images/img1.jpg" alt="Clip Image" />
 79+ <span class="title"><a href="#">Sen. Barack Obama (D-IL)</a></span>
 80+ <span class="description">Senate Floor - June 3, 2008</span>
 81+ <span class="keywords">keywords: <a href="#">war</a>, <a href="#">iraq</a>, <a href="#">budget</a></span>
 82+ </li>
 83+
 84+
 85+ <li>
 86+ <img src="<?=$skin_path ?>/images/img1.jpg" alt="Clip Image" />
 87+ <span class="title"><a href="#">Sen. Barack Obama (D-IL)</a></span>
 88+ <span class="description">Senate Floor - June 3, 2008</span>
 89+ <span class="keywords">keywords: <a href="#">war</a>, <a href="#">iraq</a>, <a href="#">budget</a></span>
 90+
 91+ </li>
 92+
 93+ <li>
 94+ <img src="<?=$skin_path ?>/images/img1.jpg" alt="Clip Image" />
 95+ <span class="title"><a href="#">Sen. Barack Obama (D-IL)</a></span>
 96+ <span class="description">Senate Floor - June 3, 2008</span>
 97+ <span class="keywords">keywords: <a href="#">war</a>, <a href="#">iraq</a>, <a href="#">budget</a></span>
 98+
 99+ </li>
 100+
 101+ <li class="last_li">
 102+ <img src="<?=$skin_path ?>/images/img1.jpg" alt="Clip Image" />
 103+ <span class="title"><a href="#">Sen. Barack Obama (D-IL)</a></span>
 104+ <span class="description">Senate Floor - June 3, 2008</span>
 105+ <span class="keywords">keywords: <a href="#">war</a>, <a href="#">iraq</a>, <a href="#">budget</a></span>
 106+
 107+ </li>
 108+ </ul>
 109+ </div>
 110+ <!--frontPageContent-->
 111+
 112+ <div id="footer">
 113+ <h5>Sitemap</h5>
 114+ <ul class="footerLinks">
 115+ <li><a href="#">Home</a></li>
 116+ <li><a href="#">New Video Streams</a></li>
 117+
 118+ <li><a href="#">Advanced Search</a></li>
 119+ </ul>
 120+ <ul class="footerLinks">
 121+ <li><a href="#">Help</a></li>
 122+ <li><a href="#">Video Introduction</a></li>
 123+ <li><a href="#">FAQ</a></li>
 124+ </ul>
 125+
 126+ <ul class="footerLinks">
 127+ <li><a href="#">Home</a></li>
 128+ <li><a href="#">New Video Streams</a></li>
 129+ <li><a href="#">Advanced Search</a></li>
 130+ </ul>
 131+ <ul class="footerLinks">
 132+ <li><a href="#">About MetaVid</a></li>
 133+
 134+ <li><a href="#">MetaVid Blog</a></li>
 135+ <li><a href="#">MetaVid Software</a></li>
 136+ </ul>
 137+ </div>
 138+
 139+ <p id="copyInfo">MetaVid is a non-profit project of <a href="#">UC Santa Cruz</a> and the <a href="#">Sunlight Foundation</a>.</p>
 140+
 141+</body>
 142+</html>
\ No newline at end of file

Status & tagging log