Added search engines, images, new CSS for v2.0.

This commit is contained in:
mike.morgan%oregonstate.edu 2005-12-22 02:28:25 +00:00
Родитель 956776f722
Коммит 45213867ca
14 изменённых файлов: 97 добавлений и 959 удалений

Просмотреть файл

@ -1,99 +0,0 @@
body, td, th, h3, input { /* redundant rules for bad browsers */
font-family: verdana, sans-serif;
font-size: x-small;
voice-family: "\"}\"";
voice-family: inherit;
font-size: small;
}
body {
color: #333;
line-height: 140%;
}
a:link { color: #039; }
a:visited { color: #609; }
a:hover { color: #333; }
a:active { color: #000; }
#header a:visited { color: #039; }
#header a:hover { color: #333; }
#mBody li { padding-bottom: 0.5em; }
.sidebar_content > h1,.sidebar_content > h2,.sidebar_content > h3,.sidebar_content > h4,.sidebar_content > h5,.sidebar_content > h6,.sidebar > h1,.sidebar_general > h2,.sidebar_general > h3,.sidebar_general > h4,.sidebar_general > h5,.sidebar_general > h6 {
margin-top: 0;
}
.sidebar_right {
margin-left: 65%;
}
.sidebar_general ul {
margin-left: 0;
padding-left: 20px;
}
.sidebar_general li {
padding: 0.2em 0;
}
img.imgright {
float: right;
}
img {
border: 0;
}
dt {
font-weight: bold;
}
dd {
margin: 0 0 1em 1em;
}
.skipLink {
position: absolute;
left: -1200px;
width: 990px;
}
.hide {
display: none;
}
ul.compact {
margin-left: 0;
padding-left: 20px;
}
img.rss {
float: right;
margin: 0;
padding: 4px 4px 0 0;
}
.first { margin-top: 0.2em; }
.requires img {
vertical-align: middle;
}
/* Headers */
#mainContent > h1:first-child,
#mainContent > h2:first-child,
#mainContent > h3:first-child,
#mainContent > h4:first-child,
#mainContent > h5:first-child,
#mainContent > h6:first-child,
#side > h1:first-child,
#side > h2:first-child,
#side > h3:first-child,
#side > h4:first-child,
#side > h5:first-child,
#side > h6:first-child {
margin-top: 0;
}

Просмотреть файл

@ -1,168 +0,0 @@
body {
min-width: 700px;
margin: 0 30px 2em 30px;
}
#container {
max-width: 70em;
margin: 0 auto;
}
#mBody {
clear: both;
padding: 1em 0;
}
.sidebar_content {
width: 60%;
float: left;
}
#footer {
clear: both;
}
#side {
float: left;
width: 23%;
margin-bottom: 1em;
}
#mainContent {
margin-left: 25%;
}
.nomenu #mainContent {
margin-left: 0;
}
.bodyleft {
margin-left: 25% ! important
}
#mainContent.right {
float: left;
width: 62%;
margin-bottom: 1em;
margin-left: 0;
}
#side.right {
float: none;
width: auto;
margin-left: 65%;
}
p.security-update {
padding-left: 35px;
background: url(../../img/security-update.png) no-repeat;
margin-top: 0;
min-height: 30px;
}
/* Sidebar */
#nav:before {
line-height: 0.1;
font-size: 1px;
background: transparent url("../../img/menu_tr.gif") no-repeat top right;
margin: 0;
height: 9px;
display: block;
border-bottom: 1px solid #ddd;
content: url("../../img/key-point_tl.gif");
}
#nav {
background: #E0E9E9 url("../../img/menu_back.gif") right repeat-y;
}
#nav:after {
display: block;
padding-top: 0;
line-height: 0.1;
font-size: 1px;
content: url("../../img/key-point_bl.gif");
margin: 0 0 0 0;
height: 8px;
background: transparent url("../../img/menu_br.gif") scroll no-repeat bottom right ;
border-top: 1px solid #fff;
}
#nav, #nav ul {
margin: 0;
padding: 0;
list-style: none;
}
#nav {
margin-bottom: 1em;
}
#nav li {
display: inline;
padding: 0;
margin: 0;
}
#nav li span { /* used for un-linked menu items */
display: block;
padding: 6px 10px;
font-weight: bold;
color: #666;
}
#nav li span#configParent, #nav li span #configuration {
display: inline;
font-weight: normal;
padding: 0;
}
#nav li a {
display: block;
padding: 6px 10px;
text-decoration: none;
background: #EDF2F2;
border-bottom: 1px solid #ddd;
border-top: 1px solid #fff;
border-right: 1px solid #ddd;
}
#nav li a:hover {
background: #E0E9E9;
}
#nav ul li span,#nav ul li a {
padding: 4px 8px 4px 20px;
}
.tabs {
height: 2em;
margin: .5em 0;
padding: 0;
}
.tabs ul {
font: 11px verdana, arial, sans-serif;
list-style-type: none;
padding: 0 0 24px 7px;
border-bottom: 1px solid #000;
margin: 0;
}
.tabs ul li {
float: left;
margin: 0;
padding: 0;
}
.tabs a.active-tab {
border-bottom: 1px solid #fff;
background-color: #fff;
color: #000;
}
.tabs a {
float: left;
font-weight:bold;
display: inline;
border: 1px solid #000;
background-color: #69c;
color: #333;
text-decoration: none;
margin: 0 5px;
padding: 5px 7px;
}
.tabs a:hover {
background: #fff;
}

Просмотреть файл

@ -1,331 +0,0 @@
#mBody h2 {
font: 140% arial,helvetica,verdana,sans-serif;
border-bottom: 1px solid #ccc;
margin-bottom: 0;
}
#mBody h2 a {
margin: 0;
padding: 0;
text-decoration: none;
}
#mBody h3 {
font: 120% arial,helvetica,verdana,sans-serif;
border-bottom: 1px solid #ccc;
margin-bottom: 0;
}
#mBody h1 {
font: 180% arial,helvetica,sans-serif;
border-bottom: 1px solid #ccc;
margin-bottom: 0;
}
.key-point:before {
line-height: 0.1;
font-size: 1px;
background: transparent url("../../img/key-point_tr.gif") no-repeat top right;
margin: -15px -15px 0 -15px;
height: 15px;
display: block;
border: none;
content: url("../../img/key-point_tl.gif");
}
.key-point {
background: #EFF8CE url("../../img/key-point_back.gif") right repeat-y;
padding: 15px;
margin-top: 18px;
}
.key-point:after {
display: block;
padding-top: 15px;
line-height: 0.1;
font-size: 1px;
content: url("../../img/key-point_bl.gif");
margin: -15px;
height: 8px;
background: transparent url("../../img/key-point_br.gif") scroll no-repeat bottom right ;
}
#header form #submit {
font-size: 100%;
padding: 1px;
font-family: tahoma, arial, sans-serif;
}
#header form #q {
width: 90px;
font-size: 100%;
font-weight: normal;
border: 1px solid #9097A2;
padding: 2px;
font-family: tahoma, arial, sans-serif;
}
#sectionsearch {
font-size: 100%;
font-weight: normal;
font-family: tahoma, arial, sans-serif;
}
#search {
margin-top: 15px;
}
#search-side {
padding: 10px;
}
.pages {
color: #999;
font-weight: bold;
height: 2em;
}
.next {
border-left: 1px solid #000;
display: inline;
padding-left: 5px;
}
.prev {
display: inline;
}
.pages a {
color: blue;
text-decoration: none;
}
.popularlist {
font-size: 85%;
}
.popularlist span {
color: #666;
white-space: nowrap;
}
.install a {
background: url(../../img/install.png) no-repeat;
padding: 3px 0 8px 30px;
display: block;
text-decoration: none;
}
.install a strong {
text-decoration: underline;
}
.install-box {
width: 18em;
}
#opinions {
list-style-type: none;
margin: 0;
padding: 0;
}
#opinions h4 {
border-top: 1px solid #999;
clear: right;
margin: 0;
padding: .5em 0 0 0;
}
.opinions-info {
color: #666;
margin: 0;
padding: 0 0 .5em 0;
}
.opinions-info a {
text-decoration: none;
color: #666;
}
.opinions-info a:hover {
text-decoration: underline;
}
.opinions-text {
margin: .8em 0 0 0;
padding: 0;
}
.opinions-vote {
background-color: #cfc;
border: 1px solid #000;
float: left;
font-style: italic;
font-weight: bold;
font-size: x-large;
padding: 5px;
margin: 4px;
text-align: center;
}
.opinions-caption {
display: block;
font-size: x-small;
font-weight: normal;
margin: 0;
padding: 0;
}
.opinions-rating {
margin: 0;
padding: .5em 0;
}
.opinions-helpful {
font-style: italic;
border: 1px dashed #eee;
padding: .2em;
margin: .7em 0;
}
.rating {
float: right;
font-size: 85%;
font-weight: bold;
}
.rating img {
vertical-align: middle;
}
.more-links {
margin: 0.5em 0 0 0;
padding: 0;
}
.more-links li {
display: inline;
margin: 0;
padding: 5px;
}
.screenshot {
float: right;
background: #fff;
padding: 0 0 2em 2em;
}
.screenshot a {
text-align: center;
display: block;
}
/* Remaining Original Update Styles */
.item {
border: #D2D6D6 1px solid;
padding-left: 5px;
padding-right: 6px;
MARGIN-bottom: 10px;
-moz-border-radius: 10px;
}
.item a {
color: #00129c;
text-decoration: none;
}
.item a:visited {
color: #00129c;
text-decoration: none;
}
.item a:hover {
color: #fc5900;
}
.iconbar {
padding-right: 15px;
float: left;
width: auto;
height: 34px;
text-align: top;
}
.iconbar img {
float:left;
}
.iconbar a {
text-decoration: none;
}
.selected a, .selected a:visited {
color: #fc5900;
}
.baseline {
margin-top: 5px;
border-top: #ccc 1px solid;
padding: 3px;
padding-left: 10px;
font-size: 8pt;
clear: right;
color: #333;
}
.tooltip {
cursor: help;
border-bottom: 1px dotted;
}
#search-block:before {
line-height: 0.1;
font-size: 1px;
background: transparent url("../../img/key-point_tr.gif") no-repeat top right;
margin: -10px -10px 0 -10px;
height: 10px;
display: block;
border: none;
content: url("../../img/key-point_tl.gif");
}
#search-block{
background: #EFF8CE url("../../img/key-point_back.gif") right repeat-y;
padding: 10px;
}
#search-block label{
font-weight: bold;
}
#search-block select {
width: 13em;
}
#search-block input[type=text] {
width: 9.2em;
}
.right #search-block select {
width: 20em;
}
.right #search-block input[type=text] {
width: 16.2em;
}
#search-block:after {
display: block;
padding-top: 10px;
line-height: 0.1;
font-size: 1px;
content: url("../../img/key-point_bl.gif");
margin: -10px;
height: 8px;
background: transparent url("../../img/key-point_br.gif") scroll no-repeat bottom right ;
}
#comment-rate {
margin: .5em;
padding: .5em;
background-color: #eee;
border: 1px solid #999;
}

Просмотреть файл

@ -1,152 +0,0 @@
body {
background: #fff url("../../img/body_back.gif") repeat-x;
}
#footer {
border-top: 1px solid #666;
margin: 2em 0;
padding: 1em 0;
text-align: center;
}
#footer ul {
margin: 0;
padding: 0;
list-style: none;
}
#footer li {
display: inline;
}
#footer span,#footer a {
white-space: nowrap;
padding: 0 1em;
}
#footer p span,#footer p a {
white-space: nowrap;
padding: 0 0.3em;
}
#footer span a {
padding: 0;
}
#footer p,#footer p a {
color: #666;
}
#footer p a:hover {
color: #000;
}
/* Site Header */
#header {
clear: both;
}
#header h1 {
height: 46px;
margin: 0;
font-size: 2px;
position: relative;
top: 7px;
}
#header h1 a,#header h1 a:hover {
display: block;
width: 250px;
height: 46px;
background: url("../../img/title.gif") no-repeat;
text-indent: -700em;
text-decoration: none;
}
#key-title { /* fixes background issue in IE6 */
position: relative;
}
#header ul {
position: absolute;
right: 0;
top: 6px;
margin-left: 200px;
font-family: tahoma, arial, sans-serif;
}
#header li {
float: left;
list-style: none;
padding-left: 1em;
font-size: 85%;
font-weight: bold;
}
#header dl {
margin: 0 1em 0 0;
padding: 4px 0 4px 40px;
float: left;
min-height: 35px;
}
#header #menu-firefox {
background: url("../../img/s-firefox.png") no-repeat 0 8px;
}
#header #menu-thunderbird {
background: url("../../img/s-thunderbird.png") no-repeat 0 8px;
}
#header #menu-mozillasuite {
background: url("../../img/s-mozillasuite.png") no-repeat 0 8px;
margin-right: 0;
}
#header dt {
font-size: 85%;
}
#header dd {
margin: 0;
}
#key-menu:before {
line-height: 0.1;
font-size: 1px;
background: transparent url("../../img/key-menu_tr.gif") no-repeat top right;
margin: -8px -8px 0 -8px;
height: 8px;
display: block;
border: none;
content: url("../../img/key-menu_tl.gif");
}
#key-menu {
background: #B2C1C8 url("../../img/key-menu_back.gif") right top no-repeat;
padding: 8px;
}
#key-menu:after {
display: block;
clear: both;
padding-top: 8px;
line-height: 0.1;
font-size: 1px;
content: url("../../img/key-menu_bl.gif");
margin: -8px;
height: 8px;
background: transparent url("../../img/key-menu_br.gif") scroll no-repeat bottom right ;
}
.ie-clear-menu { /* needed to clear floats in IE */
clear: both;
height: 5px;
font-size: 2px;
}
#mozilla-org a {
float: right;
display: block;
text-indent: -5000em;
width: 110px;
height: 25px;
text-decoration: none;
background: url(../../img/mozilla-org.gif) no-repeat;
}
/* End Site Header */

Просмотреть файл

Просмотреть файл

Просмотреть файл

@ -38,8 +38,6 @@ $db->query("
SELECT DISTINCT
TM.ID ID,
TM.Name name,
TM.Rating,
LEFT(TM.Description,96) as Description,
TM.downloadcount dc
FROM
main TM
@ -59,81 +57,13 @@ $db->query("
$popularExtensions = $db->record;
// Get most popular themes based on application.
$db->query("
SELECT DISTINCT
TM.ID ID,
TM.Name name,
TM.Rating,
LEFT(TM.Description,96) as Description,
TM.downloadcount dc
FROM
main TM
INNER JOIN version TV ON TM.ID = TV.ID
INNER JOIN applications TA ON TV.AppID = TA.AppID
INNER JOIN os TOS ON TV.OSID = TOS.OSID
WHERE
AppName = '{$sql['app']}' AND
downloadcount > '0' AND
approved = 'YES' AND
Type = 'T'
ORDER BY
downloadcount DESC
LIMIT
5
", SQL_ALL, SQL_ASSOC);
$popularThemes = $db->record;
// Get newest addons based on application.
$db->query("
SELECT
TM.ID,
TM.Type,
TM.Name,
TM.Rating,
LEFT(TM.Description,96) as Description,
MAX(TV.Version) Version,
MAX(TV.DateAdded) DateAdded
FROM
`main` TM
INNER JOIN version TV ON TM.ID = TV.ID
INNER JOIN applications TA ON TV.AppID = TA.AppID
INNER JOIN os TOS ON TV.OSID = TOS.OSID
WHERE
AppName = '{$sql['app']}' AND
`approved` = 'YES'
GROUP BY
TM.ID
ORDER BY
DateAdded DESC
LIMIT
5
", SQL_ALL, SQL_ASSOC);
$newest = $db->record;
$tabs = array(
array(
'app' => 'Firefox'
),
array(
'app' => 'Thunderbird'
),
array(
'app' => 'Mozilla'
)
);
// Assign template variables.
$tpl->assign(
array( 'popularExtensions' => $popularExtensions,
'popularThemes' => $popularThemes,
'newest' => $newest,
'app' => $clean['app'],
array( 'popularExtensions' => $popularExtensions,
'title' => $clean['app'].' Addons',
'tabs' => $tabs,
'content' => 'index.tpl')
'content' => 'index.tpl',
'currentTab' => 'home')
);
$wrapper = 'inc/wrappers/nonav.tpl';

Просмотреть файл

Просмотреть файл

Просмотреть файл

@ -1,12 +0,0 @@
<div id="footer">
<ul id="bn">
<li><a href="/about/policies/">Terms of Use</a></li>
<li><a href="/about/contact/">Contact Us</a></li>
<li><a href="http://www.mozilla.org/foundation/donate.html">Donate to Mozilla</a></li>
</ul>
<p>Copyright &copy; 2004-2005 The Mozilla Organization</p>
<p>256-bit SSL Encryption provided by <a href="http://www.xramp.com/">XRamp</a></p>
</div>
<!-- end footer -->

Просмотреть файл

@ -12,38 +12,56 @@
<link rel="stylesheet" type="text/css" href="{$config.webpath}/css/cavendish/template.css" title="Cavendish" media="screen">
<link rel="home" title="Home" href="https://addons.mozilla.org/">
<link rel="alternate" type="application/rss+xml" title="New Firefox Extensions Additions" href="{$config.webpath}/rss/?app=firefox&amp;type=E&amp;list=newest">
<link rel="icon" href="/favicon.ico" type="image/png">
<link rel="icon" href="{$config.webpath}/favicon.ico" type="image/png">
<script src="{$config.webpath}/js/install.js" type="text/javascript"></script>
<script src="{$config.webpath}/js/search-plugin.js" type="text/javascript"></script>
</head>
<body id="update-mozilla-org">
<body>
<div id="container">
<p class="skipLink"><a href="#firefox-feature" accesskey="2">Skip to main content</a></p>
<div id="mozilla-org"><a href="http://www.mozilla.org/">Visit Mozilla.org</a></div>
<div id="mozilla-com"><a href="http://www.mozilla.com/">Visit Mozilla.com</a></div>
<div id="header">
<div id="key-title">
<h1><a href="{$config.webpath}/" title="Return to home page" accesskey="1">Mozilla Update: Beta</a></h1>
<ul>
<li><a href="{$config.webpath}/login.php" title="Log in to MyUpdate">Login</a></li>
<li><a href="{$config.webpath}/register.php" title="Register your MyUpdate account">Register</a></li>
<li><a href="{$config.webpath}/faq.php" title="Frequently Asked Questions">FAQ</a></li>
<li><a href="{$config.webpath}/search.php" title="Find an Addon">Search</a></li>
</ul>
</div>
<!-- end key-title -->
<div id="key-title">
<div id="key-menu" class="earth">
<form id="search" method="get" action="{$config.webpath}/search.php" title="Search Mozilla Update">
<div>
<input type="text" id="q" name="q" accesskey="s" size="10" value="{$clean.q}">
<input type="submit" id="submit" value="Search Addons">
{assign var="app" value=$smarty.get.app|lower|default:"firefox"}
{if $app eq "firefox"}
<h1><a href="{$config.webpath}/?app=firefox" title="Return to home page" accesskey="1"><img src="{$config.webpath}/images/title-firefox.gif" width="276" height="54" alt="Firefox Add-ons Beta"></a></h1>
{elseif $app eq "thunderbird"}
<h1><a href="{$config.webpath}/?app=thunderbird" title="Return to home page" accesskey="1"><img src="{$config.webpath}/images/title-thunderbird.gif" width="355" height="54" alt="Thunderbird Add-ons Beta"></a></h1>
{elseif $app eq "mozilla"}
<h1><a href="{$config.webpath}/?app=mozilla" title="Return to home page" accesskey="1"><img src="{$config.webpath}/images/title-suite.gif" width="370" height="54" alt="Mozilla Suite Add-ons Beta"></a></h1>
{/if}
<form id="search" method="get" action="{$config.webpath}/quicksearch.php" title="Search Mozilla Update">
<div>
<label for="q" title="Search Mozilla Update">search:</label>
<input type="text" id="q" name="q" accesskey="s" size="10">
<select name="section" id="sectionsearch">
<option value="A">Entire Site</option>
<option value="E">Extensions</option>
<option value="T">Themes</option>
</select>
<input type="hidden" name="app" value="{$app}">
<input type="submit" id="submit" value="Go">
</div>
</form>
</div>
<div id="key-menu">
<ul id="menu-firefox">
<li{if $currentTab eq "home"} class="current"{/if}><a href="{$config.webpath}/?app={$app}">Home</a></li>
<li{if $currentTab eq "extensions"} class="current"{/if}><a href="{$config.webpath}/extensions/?app={$app}">Extensions</a></li>
<li{if $currentTab eq "pfs"} class="current"{/if}><a href="https://pfs.mozilla.org/plugins/?app={$app}">Plugins</a></li>
<li{if $currentTab eq "search-engines"} class="current"{/if}><a href="{$config.webpath}/search-engines.php?app={$app}">Search Engines</a></li>
<li{if $currentTab eq "themes"} class="current"{/if}><a href="{$config.webpath}/themes/?app={$app}">Themes</a></li>
</ul>
</div>
</form>
<div class="ie-clear-menu">&nbsp;</div>
</div>
<!-- end key-menu -->
<!-- end key-menu -->
</div>
<!-- end header -->

Просмотреть файл

@ -1,35 +0,0 @@
{include file="inc/header.tpl"}
<hr class="hide">
{if $systemMessage}
<div class="key-point">
<h2>{$systemMesage.header}</h2>
<p>{$systemMessage.text|nl2br}</p>
</div>
{/if}
<div id="mBody">
{if $content}
{include file=$content}
{else}
<p>Error loading content.</p>
{if $error}
<div id="error">{$error}</div>
{/if}
<p><a href="mailto:umo-admins@mozilla.org?Subject=Broken page at {$smarty.server.PHP_SELF}">Report this problem</a></p>
{/if}
<hr class="hide">
</div>
<!-- close mBody -->
</div>
<!-- close container -->
{include file="inc/footer.tpl"}
</body>
</html>

Просмотреть файл

@ -1,75 +1,62 @@
<div class="tabs">
<ul>
{section name=tabs loop=$tabs}
{if $tabs[tabs].app eq $app}
<li><a href="./?app={$tabs[tabs].app|escape}" class="active-tab">{$tabs[tabs].app|escape}</a></li>
{else}
<li><a href="./?app={$tabs[tabs].app|escape}">{$tabs[tabs].app|escape}</a></li>
{/if}
<div class="split-feature">
<div class="split-feature-one">
<div class="feature-download">
<!-- Feature Image must be 200px wide... any height is fine, but around 170-200 is preferred -->
<a href="./addon.php?id=1532"><img src="./images/features/del.icio.us.png" width="200" height="213" alt="del.icio.us Extension"></a>
<h3><a href="http://releases.mozilla.org/pub/mozilla.org/extensions/del.icio.us/del.icio.us-1.0.2-fx.xpi" onclick="return install(event,'del.icio.us 1.0.2', '/images/default.png');" title="Install del.icio.us 1.0.2 (Right-Click to Download)">Install Extension (62 KB)</a> </h3>
</div>
<h2>Featured Extension</h2>
<h2><a href="./addon.php?id=1532">del.icio.us</a></h2>
<p class="first">Harness the power of social bookmarking right in your browser with the del.icio.us Firefox extension! The del.icio.us extension for Firefox offers everything you need to seamlessly integrate the del.icio.us service with your Firefox browser. <a href="./addon.php?id=1532">Learn more...</a></p>
</div>
<a class="top-feature" href="./recommended.php"><img src="./images/feature-recommend.png" width="213" height="128" style="padding-left: 12px;" alt="We Recommend: See some of our favorite extensions to get you started."></a>
<div class="split-feature-two">
<h2><img src="images/title-topdownloads.gif" width="150" height="24" alt="Top 10 Downloads"></h2>
<ol class="top-10">
{section name=pe loop=$popularExtensions step=1 start=0}
<li class="top-10-{$smarty.section.pe.iteration}"><a href="./addon.php?id={$popularExtensions[pe].ID}"><strong>{$popularExtensions[pe].name}</strong> {$popularExtensions[pe].dc}</a></li>
{/section}
</ul>
</ol>
</div>
</div>
<div id="mainContent" class="right">
<h2>Newest {$app} Addons</h2>
<ol class="popularlist">
{section name=new loop=$newest}
<li>
<a href="./addon.php?id={$newest[new].ID}">{$newest[new].Name} {$newest[new].Version}</a> ({$newest[new].DateAdded|date_format}) - {$newest[new].Description|escape} <a href="./addon.php?id={$newest[new].ID}">more...</a>
</li>
{/section}
</ol>
<p><strong><a href="./search.php?app={$app}&amp;sort=newest">More ...</a></strong></p>
<form id="front-search" method="get" action="/quicksearch.php" title="Search Mozilla Update">
<div>
<label for="q2" title="Search mozilla.org&quot;s sites">search:</label>
<input type="hidden" name="cof" value="">
<input type="hidden" name="domains" value="mozilla.org">
<input type="hidden" name="sitesearch" value="mozilla.org">
<input id="q2" type="text" name="q" accesskey="s" size="40">
<select name="section">
<option value="A">Entire Site</option>
<option value="E">Extensions</option>
<option value="T">Themes</option>
</select>
<input type="submit" value="Go">
</div>
</form>
<h2>Popular {$app} Extensions</h2>
<ol class="popularlist">
{section name=pe loop=$popularExtensions}
<li>
<a href="./addon.php?id={$popularExtensions[pe].ID}">{$popularExtensions[pe].name}</a> <span class="downloads">({$popularExtensions[pe].Rating} rating, {$popularExtensions[pe].dc} downloads)</span> - {$popularExtensions[pe].Description|escape} <a href="./addon.php?id={$popularExtensions[pe].ID}">more...</a>
</li>
{/section}
</ol>
<p><strong><a href="./search.php?app={$app}&amp;sort=popular&amp;type=E">More ...</a></strong></p>
<h2>Popular {$app} Themes</h2>
<ol class="popularlist">
{section name=pt loop=$popularThemes}
<li><a href="./addon.php?id={$popularThemes[pt].ID}">{$popularThemes[pt].name}</a> <span class="downloads">({$popularThemes[pt].Rating} rating, {$popularThemes[pt].dc} downloads)</span> - {$popularThemes[pt].Description|escape} <a href="./addon.php?id={$popularThemes[pt].ID}">more...</a>
</li>
{/section}
</ol>
<p><strong><a href="./search.php?app={$app}&amp;sort=popular&amp;type=T">More ...</a></strong></p>
<div class="front-section-left">
<h2><img src="images/title-browse.gif" width="168" height="22" alt="Browse By Category"></h2>
<ul>
<li><a href="./extensions/showlist.php?application=firefox&amp;category=Popular">Most Popular Add-ons</a></li>
<li><a href="./extensions/showlist.php?application=firefox&amp;category=Newest">Recently Added</a></li>
<li><a href="./extensions/showlist.php?application=firefox&amp;category=All">All Categories</a></li>
</ul>
</div>
<!-- end mainContent -->
<div id="side" class="right">
<h2>What is <kbd>addons.mozilla.org</kbd>?</h2>
<p><a href="./"><kbd>addons.mozilla.org</kbd></a> is the place to get updates and extras for
your <a href="http://www.mozilla.org/">Mozilla</a> products.</p>
<h2>What can I find here?</h2>
<dl>
<dt><a href="./search.php?app={$app}&amp;type=E">Extensions</a></dt>
<dd>Extensions are small add-ons that add new functionality to your
Mozilla program. They can add anything from a toolbar button to a
completely new feature.</dd>
<dt><a href="./search.php?app={$app}&amp;type=T">Themes</a></dt>
<dd>Themes allow you to change the way your Mozilla program looks.
New graphics and colors.</dd>
<dt><a href="https://pfs.mozilla.org/plugins/">Plugins</a></dt>
<dd>Plugins are programs that allow websites to provide content to
you and have it appear in your browser. Examples of Plugins are Flash,
RealPlayer, and Java.</dd>
</dl>
<h2>How can I contribute?</h2>
<ul>
<li><a href="#">Help us review new Addons.</a></li>
<li><a href="#">Develop your own Addon.</a></li>
<li><a href="#">Report a problem with an Addon.</a></li>
<li><a href="#">Make suggestions or comments about this site.</a></li>
</ul>
<div class="front-section-right">
<h2><img src="images/title-develop.gif" width="152" height="22" alt="Develop Your Own"></h2>
<ul>
<li><a href="./developers/">Login to Submit</a></li>
<li><a href="http://developer.mozilla.org/en/docs/Extensions">Documentation</a></li>
<li><a href="http://developer.mozilla.org/en/docs/Building_an_Extension">Develop Your Own</a></li>
</ul>
</div>
<!-- end side -->

Просмотреть файл