- Patch #53021 by Egon Bianchet: sort the node types.

5.x
Dries Buytaert 2006-05-15 06:18:01 +00:00
parent 9551bf08f4
commit 37a9229dba
2 changed files with 2 additions and 2 deletions

View File

@ -1742,7 +1742,7 @@ function node_add($type) {
} }
if (isset($item)) { if (isset($item)) {
uasort($item, 'strnatcasecmp'); uksort($item, 'strnatcasecmp');
$output = t('Choose the appropriate item from the list:') .'<dl>'. implode('', $item) .'</dl>'; $output = t('Choose the appropriate item from the list:') .'<dl>'. implode('', $item) .'</dl>';
} }
else { else {

View File

@ -1742,7 +1742,7 @@ function node_add($type) {
} }
if (isset($item)) { if (isset($item)) {
uasort($item, 'strnatcasecmp'); uksort($item, 'strnatcasecmp');
$output = t('Choose the appropriate item from the list:') .'<dl>'. implode('', $item) .'</dl>'; $output = t('Choose the appropriate item from the list:') .'<dl>'. implode('', $item) .'</dl>';
} }
else { else {