зеркало из https://github.com/mozilla/pjs.git
Updated RSS links at top of lists in extensions/themes main page to point to an HTML page, see bug 336246.
This commit is contained in:
Родитель
88d55298bb
Коммит
0bfae16813
|
@ -50,6 +50,7 @@ $tpl->assign(
|
|||
'currentTab' => $currentTab,
|
||||
'content' => 'extensions.tpl',
|
||||
'sidebar' => 'inc/category-sidebar.tpl',
|
||||
'cats' => $amo->getCats('E'))
|
||||
'cats' => $amo->getCats('E'),
|
||||
'type' => 'E')
|
||||
);
|
||||
?>
|
||||
|
|
|
@ -50,6 +50,7 @@ $tpl->assign(
|
|||
'currentTab' => $currentTab,
|
||||
'content' => 'themes.tpl',
|
||||
'sidebar' => 'inc/category-sidebar.tpl',
|
||||
'cats' => $amo->getCats('T'))
|
||||
'cats' => $amo->getCats('T'),
|
||||
'type' => 'T')
|
||||
);
|
||||
?>
|
||||
|
|
|
@ -6,14 +6,14 @@ button to a completely new feature. They allow the application to be customized
|
|||
to fit the personal needs of each user if they need additional features,
|
||||
while minimizing the size of the application itself.</p>
|
||||
|
||||
<h2><a href="{$config.webpath}/rss/{$app}/extensions/updated/"><img class="rss" src="{$config.webpath}/images/rss.png" alt=""/>Recently Updated</a></h2>
|
||||
<h2><a href="{$config.webpath}/rss/{$app}/extensions/updated/"><img class="rss" src="{$config.webpath}/images/rss.png" alt=""/></a><a href="{$config.webpath}/search.php?app={$app}&appfilter={$app}&type=E&sort=newest">Recently Updated</a></h2>
|
||||
<ul>
|
||||
{section name=ne loop=$newestExtensions step=1 start=0}
|
||||
<li><a href="{$config.webpath}/{$app}/{$newestExtensions[ne].ID}/">{$newestExtensions[ne].name} {$newestExtensions[ne].version}</a> ({$newestExtensions[ne].dateupdated|date_format})</li>
|
||||
{/section}
|
||||
</ul>
|
||||
|
||||
<h2><a href="{$config.webpath}/rss/{$app}/extensions/popular/"><img class="rss" src="{$config.webpath}/images/rss.png" alt=""/>Top Extensions</a></h2>
|
||||
<h2><a href="{$config.webpath}/rss/{$app}/extensions/popular/"><img class="rss" src="{$config.webpath}/images/rss.png" alt=""/></a><a href="{$config.webpath}/search.php?app={$app}&appfilter={$app}&type=E&sort=rating">Top Extensions</a></h2>
|
||||
<ul>
|
||||
{section name=pe loop=$popularExtensions step=1 start=0}
|
||||
<li><a href="{$config.webpath}/{$app}/{$popularExtensions[pe].ID}/">{$popularExtensions[pe].name}</a> ({$popularExtensions[pe].dc} downloads)</li>
|
||||
|
|
|
@ -2,14 +2,14 @@
|
|||
|
||||
<p>Themes are skins for Mozilla applications. They allow you to change the look and feel of the user interface and personalize it to your tastes. A theme can simply change colors, or it can change every piece of its appearance.</p>
|
||||
|
||||
<h2><a href="{$config.webpath}/rss/{$app}/themes/updated/"><img class="rss" src="{$config.webpath}/images/rss.png" alt=""/>Recently Updated</a></h2>
|
||||
<h2><a href="{$config.webpath}/rss/{$app}/themes/updated/"><img class="rss" src="{$config.webpath}/images/rss.png" alt=""/></a><a href="{$config.webpath}/search.php?app={$app}&appfilter={$app}&type=T&sort=newest">Recently Updated</a></h2>
|
||||
<ul>
|
||||
{section name=nt loop=$newestThemes step=1 start=0}
|
||||
<li><a href="{$config.webpath}/{$app}/{$newestThemes[nt].ID}/">{$newestThemes[nt].name} {$newestThemes[nt].version}</a> ({$newestThemes[nt].dateupdated|date_format})</li>
|
||||
{/section}
|
||||
</ul>
|
||||
|
||||
<h2><a href="{$config.webpath}/rss/{$app}/themes/popular/"><img class="rss" src="{$config.webpath}/images/rss.png" alt=""/>Top Themes</a></h2>
|
||||
<h2><a href="{$config.webpath}/rss/{$app}/themes/popular/"><img class="rss" src="{$config.webpath}/images/rss.png" alt=""/></a><a href="{$config.webpath}/search.php?app={$app}&appfilter={$app}&type=T&sort=rating">Top Themes</a></h2>
|
||||
<ul>
|
||||
{section name=pt loop=$popularThemes step=1 start=0}
|
||||
<li><a href="{$config.webpath}/{$app}/{$popularThemes[pt].ID}/">{$popularThemes[pt].name}</a> ({$popularThemes[pt].dc} downloads)</li>
|
||||
|
|
Загрузка…
Ссылка в новой задаче