Merge branch '2.0' of github.com:s9y/Serendipity into 2.0
This commit is contained in:
commit
6f306c1622
@ -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') {
|
||||
|
@ -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}
|
||||
|
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user