better empty message, based to constant NONE
This commit is contained in:
parent
5d5faddaa2
commit
af2c7efa21
@ -140,8 +140,8 @@
|
||||
</li>
|
||||
{/foreach}
|
||||
</ol>
|
||||
{if (!is_array($items) || empty($order_id))}
|
||||
{$none}
|
||||
{if isset($no_sequence)}
|
||||
{$no_sequence}
|
||||
{/if}
|
||||
</fieldset>
|
||||
{*** Smarty 3 has a new auto literal option which is enabled by default.
|
||||
|
@ -162,8 +162,8 @@
|
||||
</li>
|
||||
{/foreach}
|
||||
</ol>
|
||||
{if (!is_array($items) || empty($order_id))}
|
||||
{$none}
|
||||
{if isset($no_sequence)}
|
||||
{$no_sequence}
|
||||
{/if}
|
||||
{*** Smarty 3 has a new auto literal option which is enabled by default.
|
||||
When the { is surrounded by whitespace it is not interpreted as smarty delimiter but literal. e.g. ' } ;'
|
||||
|
@ -680,7 +680,7 @@ function serendipity_plugin_config(&$plugin, &$bag, &$name, &$desc, &$config_nam
|
||||
|
||||
if (!is_array($items) or empty($order)) {
|
||||
// Print the empty message
|
||||
$data['none'] = sprint(NONE);
|
||||
$data['no_sequence'] = sprint(NONE);
|
||||
}
|
||||
// Print the Javascript to drag-n-drop the list
|
||||
// Finish the row
|
||||
|
Loading…
x
Reference in New Issue
Block a user