зеркало из https://github.com/mozilla/pjs.git
nightly checkin. adjustments in some naming conventions.
This commit is contained in:
Родитель
37141c50fd
Коммит
d3df583818
|
@ -250,7 +250,6 @@ class AddOn extends AMO_Object
|
|||
// Gather addon categories.
|
||||
$this->db->query("
|
||||
SELECT DISTINCT
|
||||
categories.CatID,
|
||||
categories.CatName
|
||||
FROM
|
||||
categoryxref
|
||||
|
@ -262,7 +261,7 @@ class AddOn extends AMO_Object
|
|||
categories.CatName
|
||||
", SQL_ALL, SQL_ASSOC);
|
||||
|
||||
$this->AddonCats = $this->db->record;
|
||||
$this->setVar('AddonCats',$this->db->record);
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<h2><strong>{$addon->Name}</strong> » 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">
|
||||
<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>
|
||||
<li>Categories:
|
||||
<ul>
|
||||
{section name=cats loop=$addon->Cats}
|
||||
<li><a href="./search.php?cat={$addon->Cats[cats].CatName}" title="See other Addons in this category.">{$addon->Cats[cats].CatName}</a></li>
|
||||
{section name=cats loop=$addon->AddonCats}
|
||||
<li><a href="./search.php?cat={$addon->AddonCats[cats].CatName}" title="See other Addons in this category.">{$addon->AddonCats[cats].CatName}</a></li>
|
||||
{/section}
|
||||
</ul>
|
||||
</li>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
<dt>Email</dt>
|
||||
<dd>
|
||||
{if $user->UserEmailHide}
|
||||
{if $user->UserEmailHide eq 1}
|
||||
Email not disclosed
|
||||
{else}
|
||||
<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">
|
||||
<div>
|
||||
<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>
|
||||
</form>
|
||||
<div class="ie-clear-menu"> </div>
|
||||
|
|
Загрузка…
Ссылка в новой задаче