Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rebuild for jessie-backports
[git.ikiwiki.info.git]
/
IkiWiki
/
Plugin
/
editpage.pm
diff --git
a/IkiWiki/Plugin/editpage.pm
b/IkiWiki/Plugin/editpage.pm
index 3047869c4a0ad4da75f715937b8fff185dc80970..6ca4b589f507ae595d36bb802a97ee9640f0b9bd 100644
(file)
--- a/
IkiWiki/Plugin/editpage.pm
+++ b/
IkiWiki/Plugin/editpage.pm
@@
-305,7
+305,8
@@
sub cgi_editpage ($$) {
my @page_types;
if (exists $hooks{htmlize}) {
foreach my $key (grep { !/^_/ } keys %{$hooks{htmlize}}) {
my @page_types;
if (exists $hooks{htmlize}) {
foreach my $key (grep { !/^_/ } keys %{$hooks{htmlize}}) {
- push @page_types, [$key, $hooks{htmlize}{$key}{longname} || $key];
+ push @page_types, [$key, $hooks{htmlize}{$key}{longname} || $key]
+ unless $hooks{htmlize}{$key}{nocreate};
}
}
@page_types=sort @page_types;
}
}
@page_types=sort @page_types;
@@
-342,7
+343,7
@@
sub cgi_editpage ($$) {
else {
# save page
check_canedit($page, $q, $session);
else {
# save page
check_canedit($page, $q, $session);
- checksessionexpiry($q, $session
, $q->param('sid')
);
+ checksessionexpiry($q, $session);
my $exists=-e "$config{srcdir}/$file";
my $exists=-e "$config{srcdir}/$file";