Merge branch '2.0' of github.com:s9y/Serendipity into 2.0

This commit is contained in:
Matthias Mees 2013-01-04 19:08:32 +01:00
commit 6f306c1622
3 changed files with 3 additions and 3 deletions

View File

@ -243,6 +243,7 @@ if (isset($_GET['serendipity']['plugin_to_conf'])) {
}
ksort($pluggroups);
$data['count_pluginstack'] = count($pluginstack);
$data['errorstack'] = $errorstack;
if ($serendipity['GET']['only_group'] == 'UPGRADE') {

View File

@ -41,8 +41,7 @@
{$config}
</form>
{elseif $adminAction == 'addnew'}
{* BUG: $pluginstack always is 0 in 2.0? *}
<h2>{if $type == 'event'}{$CONST.EVENT_PLUGINS}{else}{$CONST.SIDEBAR_PLUGINS}{/if} <span class="plugins_available">{$CONST.PLUGIN_AVAILABLE_COUNT|sprintf:"count({$pluginstack})"}</span></h2>
<h2>{if $type == 'event'}{$CONST.EVENT_PLUGINS}{else}{$CONST.SIDEBAR_PLUGINS}{/if} <span class="plugins_available">{$CONST.PLUGIN_AVAILABLE_COUNT|sprintf:$count_pluginstack}</span></h2>
{foreach $errorstack as $e_idx => $e_name}
<span class="msg_error"><span class="icon-attention"></span> {$CONST.ERROR}: {$e_name}</span>
{/foreach}

View File

@ -156,7 +156,7 @@
{/foreach}
{/foreach}
<tr>
<td colspan="2" align="right">{$CONST.PLUGIN_AVAILABLE_COUNT|sprintf:"count({$pluginstack})"}</td>
<td colspan="2" align="right">{$CONST.PLUGIN_AVAILABLE_COUNT|sprintf:$count_pluginstack}</td>
</tr>
</table>
{else}