diff --git a/include/functions_installer.inc.php b/include/functions_installer.inc.php index 5ef02743..a55060db 100644 --- a/include/functions_installer.inc.php +++ b/include/functions_installer.inc.php @@ -580,6 +580,7 @@ function serendipity_checkInstallation() { } elseif (!is_writable($_POST['serendipityPath']) ) { $errs[] = sprintf(DIRECTORY_WRITE_ERROR, htmlspecialchars($_POST['serendipityPath'])); + } elseif (!is_dir($_POST['serendipityPath'] . $_POST['uploadPath'] ) && @mkdir($_POST['serendipityPath'] . $_POST['uploadPath'], $umask) !== true) { $errs[] = sprintf(DIRECTORY_CREATE_ERROR, htmlspecialchars($_POST['serendipityPath']) . htmlspecialchars($_POST['uploadPath'])); } diff --git a/templates/2k11/admin/plugins.inc.tpl b/templates/2k11/admin/plugins.inc.tpl index 66d2ddc1..c701bcbb 100644 --- a/templates/2k11/admin/plugins.inc.tpl +++ b/templates/2k11/admin/plugins.inc.tpl @@ -39,10 +39,11 @@ {$config} {elseif $adminAction == 'addnew'} -

{if $type == 'event'}{$CONST.EVENT_PLUGINS}{else}{$CONST.SIDEBAR_PLUGINS}{/if}{if $only_group != UPGRADE} {$CONST.PLUGIN_AVAILABLE_COUNT|sprintf:$count_pluginstack}{/if}

+

{if $type == 'event'}{$CONST.EVENT_PLUGINS}{else}{$CONST.SIDEBAR_PLUGINS}{/if}{if $only_group != UPGRADE} ({$CONST.PLUGIN_AVAILABLE_COUNT|sprintf:$count_pluginstack}){/if}

{foreach $errorstack as $e_idx => $e_name} {$CONST.ERROR}: {$e_name} {/foreach} +
{$formToken} @@ -54,10 +55,10 @@
diff --git a/templates/2k11/admin/style.css b/templates/2k11/admin/style.css index 9bd1be42..e6deb7c0 100644 --- a/templates/2k11/admin/style.css +++ b/templates/2k11/admin/style.css @@ -513,6 +513,9 @@ form > button, margin-top: 0; margin-bottom: 0; } +.plugins_available { + font-size: .75em; +} .plugin_desc { margin-top: .25em;