I have changed several config options in serendipity_plugin_staticpage.php, function generate_content() :
Code: Select all
/* configuration section*/
if (!serendipity_db_bool($this->get_config('useIcons'))) {
$str .= "fd_$fdid.config.useIcons = false;\n";
}
$str .= "fd_$fdid.config.useSelection = false;\n";
$str .= "fd_$fdid.config.useCookies = true;\n"; // was false
$str .= "fd_$fdid.config.useLines = true;\n"; // was false
$str .= "fd_$fdid.config.useStatusText = true;\n";
$str .= "fd_$fdid.config.closeSameLevel= true;\n";
$str .= "fd_$fdid.config.target = '_self'\n";
Another issue is that the link to the frontpage is always included in tree view, nevertheless it is disabled or not in the configuration of the plugin ($frontage bool config option). I suppose this is so, because this link is used as a tree root and thus must be present.
My environment: Windows XPSP2-Apache 2.0.55-PHP 5.0.2-MySQL 4.1.14-Firefox 1.5 - all in one box.