$list[$head][$page] = $str;
}
- ksort($list);
+ ksort($list, SORT_STRING);
$cnt = 0;
$arr_index = array();
'"><strong>' . $head . '</strong></a>' . "\n" .
' <ul>' . "\n";
}
- ksort($pages);
+ ksort($pages, SORT_STRING);
$retval .= join("\n", $pages);
if ($list_index)
$retval .= "\n </ul>\n </li>\n";
$pages[$_page] = ' <option value="' . $s_page . '">' .
$s_page . '</option>';
}
- ksort($pages);
+ ksort($pages, SORT_STRING);
$s_pages = join("\n", $pages);
$template = <<<EOD
<select name="template_page">
$links = links_get_related($page);
if ($tag) {
- ksort($links);
+ ksort($links, SORT_STRING);
} else {
arsort($links);
}
// ´ÉÍý¼Ô¤¬ÅºÉÕ¥Õ¥¡¥¤¥ë¤òºï½ü¤¹¤ë¤È¤¤Ï¡¢¥Ð¥Ã¥¯¥¢¥Ã¥×¤òºî¤é¤Ê¤¤
// PLUGIN_ATTACH_DELETE_ADMIN_ONLY=TRUE¤Î¤È¤Í¸ú
-define('PLUGIN_ATTACH_DELETE_ADMIN_NOBACKUP', TRUE); // FALSE or TRUE
+define('PLUGIN_ATTACH_DELETE_ADMIN_NOBACKUP', FALSE); // FALSE or TRUE
// ¥¢¥Ã¥×¥í¡¼¥É/ºï½ü»þ¤Ë¥Ñ¥¹¥ï¡¼¥É¤òÍ׵᤹¤ë(ADMIN_ONLY¤¬Í¥Àè)
define('PLUGIN_ATTACH_PASSWORD_REQUIRE', FALSE); // FALSE or TRUE
if (! isset($_files[0])) {
$_files[0] = htmlsc($file);
}
- ksort($_files);
+ ksort($_files, SORT_NUMERIC);
$_file = $_files[0];
unset($_files[0]);
$ret .= " <li>$_file\n";
$ret = '';
$pages = array_keys($this->pages);
- sort($pages);
+ sort($pages, SORT_STRING);
foreach ($pages as $page) {
if (check_non_list($page)) continue;
$retval .= '<ul><li>No related pages found.</li></ul>' . "\n";
} else {
// Show count($data)?
- ksort($data);
+ ksort($data, SORT_STRING);
$retval .= '<ul>' . "\n";
foreach ($data as $page=>$time) {
$r_page = rawurlencode($page);
<p>{$_rename_messages['msg_confirm']}</p>
EOD;
- ksort($pages);
+ ksort($pages, SORT_STRING);
$ret['body'] .= '<ul>' . "\n";
foreach ($pages as $old=>$new)
$ret['body'] .= '<li>' . make_pagelink(decode($old)) .
$pages[$_page] = '<option value="' . $s_page . '"' . $selected . '>' .
$s_page . '</option>';
}
- ksort($pages);
+ ksort($pages, SORT_STRING);
$list = join("\n" . ' ', $pages);
return <<<EOD
<?php
-// $Id: versionlist.inc.php,v 1.15 2005/01/29 02:12:52 henoheno Exp $
-/*
- * PukiWiki versionlist plugin
- *
- * CopyRight 2002 S.YOSHIMURA GPL2
- * http://masui.net/pukiwiki/ yosimura@excellence.ac.jp
- */
+// PukiWiki - Yet another WikiWikiWeb clone
+// $Id: versionlist.inc.php,v 1.17 2007/05/12 08:37:38 henoheno Exp $
+// Copyright (C)
+// 2002-2006 PukiWiki Developers Team
+// 2002 S.YOSHIMURA GPL2 yosimura@excellence.ac.jp
+// License: GPL v2
+//
+// Listing cvs revisions of files
function plugin_versionlist_action()
{
{
return '';
}
- ksort($comments);
+ ksort($comments, SORT_STRING);
$retval = '';
foreach ($comments as $comment)
{