forked from github/kensanata.oddmuse
(NewSvgGetEditForm): Allow editing older revisions.
This commit is contained in:
@@ -67,8 +67,10 @@ sub SvgDimensions {
|
||||
*GetEditForm = *NewSvgGetEditForm;
|
||||
|
||||
sub NewSvgGetEditForm {
|
||||
my ($page_name, $upload, $oldText, $revision) = @_;
|
||||
my $html = OldSvgGetEditForm(@_);
|
||||
my $link = ScriptLink('action=svg;id=' . UrlEncode($OpenPageName),
|
||||
my $link = ScriptLink('action=svg;id=' . UrlEncode($OpenPageName)
|
||||
. $revision ? ";revision=$revision" : "",
|
||||
T('Edit image in the browser'),
|
||||
'svg');
|
||||
my $text1 = T('Replace this file with text');
|
||||
|
||||
Reference in New Issue
Block a user