nightly checkin. adjustments in some naming conventions.

This commit is contained in:
mike.morgan%oregonstate.edu 2005-07-25 07:35:01 +00:00
Родитель 47c08cb9e2
Коммит 1fd86e033d
4 изменённых файлов: 6 добавлений и 7 удалений

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

@ -250,7 +250,6 @@ class AddOn extends AMO_Object
// Gather addon categories. // Gather addon categories.
$this->db->query(" $this->db->query("
SELECT DISTINCT SELECT DISTINCT
categories.CatID,
categories.CatName categories.CatName
FROM FROM
categoryxref categoryxref
@ -262,7 +261,7 @@ class AddOn extends AMO_Object
categories.CatName categories.CatName
", SQL_ALL, SQL_ASSOC); ", SQL_ALL, SQL_ASSOC);
$this->AddonCats = $this->db->record; $this->setVar('AddonCats',$this->db->record);
} }
} }
?> ?>

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

@ -1,6 +1,6 @@
<h2><strong>{$addon->Name}</strong> &raquo; Overview</h2> <h2><strong>{$addon->Name}</strong> &raquo; Overview</h2>
<script language="Javascript" type="text/javascript" src="/js/auto.js"></script> <script type="text/javascript" src="/js/auto.js"></script>
<p class="first"> <p class="first">
<strong><a href="./addon.php?id={$addon->ID}">{$addon->Name} {$addon->Version}</a></strong>, <strong><a href="./addon.php?id={$addon->ID}">{$addon->Name} {$addon->Version}</a></strong>,
@ -48,8 +48,8 @@ Requires: {$addon->AppName} 1.0 - 1.0+ <img src="{$config.webpath}/img/{$addon->
<ul> <ul>
<li>Categories: <li>Categories:
<ul> <ul>
{section name=cats loop=$addon->Cats} {section name=cats loop=$addon->AddonCats}
<li><a href="./search.php?cat={$addon->Cats[cats].CatName}" title="See other Addons in this category.">{$addon->Cats[cats].CatName}</a></li> <li><a href="./search.php?cat={$addon->AddonCats[cats].CatName}" title="See other Addons in this category.">{$addon->AddonCats[cats].CatName}</a></li>
{/section} {/section}
</ul> </ul>
</li> </li>

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

@ -5,7 +5,7 @@
<dt>Email</dt> <dt>Email</dt>
<dd> <dd>
{if $user->UserEmailHide} {if $user->UserEmailHide eq 1}
Email not disclosed Email not disclosed
{else} {else}
<a href="mailt:{$user->UserEmail|escape}">{$user->UserEmail|escape}</a> <a href="mailt:{$user->UserEmail|escape}">{$user->UserEmail|escape}</a>

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

@ -37,7 +37,7 @@
<form id="search" method="get" action="{$config.webpath}/search.php" title="Search Mozilla Update"> <form id="search" method="get" action="{$config.webpath}/search.php" title="Search Mozilla Update">
<div> <div>
<input type="text" id="q" name="q" accesskey="s" size="10" value="{$clean.q}"> <input type="text" id="q" name="q" accesskey="s" size="10" value="{$clean.q}">
<input type="submit" id="submit" value="Search"> <input type="submit" id="submit" value="Search Addons">
</div> </div>
</form> </form>
<div class="ie-clear-menu">&nbsp;</div> <div class="ie-clear-menu">&nbsp;</div>