Merge branch '2.0' of github.com:s9y/Serendipity into 2.0
This commit is contained in:
commit
feb1a8325d
@ -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']));
|
||||
}
|
||||
|
@ -39,10 +39,11 @@
|
||||
{$config}
|
||||
</form>
|
||||
{elseif $adminAction == 'addnew'}
|
||||
<h2>{if $type == 'event'}{$CONST.EVENT_PLUGINS}{else}{$CONST.SIDEBAR_PLUGINS}{/if}{if $only_group != UPGRADE} <span class="plugins_available">{$CONST.PLUGIN_AVAILABLE_COUNT|sprintf:$count_pluginstack}</span>{/if}</h2>
|
||||
<h2>{if $type == 'event'}{$CONST.EVENT_PLUGINS}{else}{$CONST.SIDEBAR_PLUGINS}{/if}{if $only_group != UPGRADE} <span class="plugins_available">({$CONST.PLUGIN_AVAILABLE_COUNT|sprintf:$count_pluginstack})</span>{/if}</h2>
|
||||
{foreach $errorstack as $e_idx => $e_name}
|
||||
<span class="msg_error"><span class="icon-attention-circled"></span> {$CONST.ERROR}: {$e_name}</span>
|
||||
{/foreach}
|
||||
|
||||
<form action="serendipity_admin.php" method="get">
|
||||
{$formToken}
|
||||
<input name="serendipity[adminModule]" type="hidden" value="plugins">
|
||||
@ -54,10 +55,10 @@
|
||||
<label for="only_group">{$CONST.GROUP}</label>
|
||||
<select id="only_group" name="serendipity[only_group]">
|
||||
{foreach $groupnames as $available_group => $available_name}
|
||||
<option value="{$available_group}"{if $only_group == $available_group} selected{/if}>{$available_name}</option>
|
||||
<option value="{$available_group}"{if $only_group == $available_group} selected{/if}>{$available_name|default:$CONST.ALL_CATEGORIES}</option>
|
||||
{/foreach}
|
||||
<option value="ALL"{if $only_group == ALL} selected{/if}>{$CONST.ALL_CATEGORIES}</option>
|
||||
<option value="UPGRADE"{if $only_group == UPGRADE} selected{/if}>{$CONST.WORD_NEW}</option>
|
||||
{if $only_group != UPGRADE}<option value="UPGRADE"{if $only_group == UPGRADE} selected{/if}>{$CONST.WORD_NEW}</option>{/if}
|
||||
|
||||
</select>
|
||||
|
||||
<div class="form_buttons">
|
||||
|
@ -513,6 +513,9 @@ form > button,
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.plugins_available {
|
||||
font-size: .75em;
|
||||
}
|
||||
|
||||
.plugin_desc {
|
||||
margin-top: .25em;
|
||||
|
Loading…
x
Reference in New Issue
Block a user