mirror of
https://github.com/dokuwiki/dokuwiki-plugin-xref.git
synced 2025-08-12 23:05:55 +00:00
initial checkin
darcs-hash:20081003153952-7ad00-e6c62cb9d0bc4cb0d6274e944174b5ed1110dfad.gz
This commit is contained in:
47
phpxref-0.7-javascriptfix.patch
Normal file
47
phpxref-0.7-javascriptfix.patch
Normal file
@ -0,0 +1,47 @@
|
||||
--- phpxref.pl.orig 2008-10-03 17:19:27.000000000 +0200
|
||||
+++ phpxref.pl 2008-10-03 17:39:07.000000000 +0200
|
||||
@@ -1657,7 +1657,7 @@
|
||||
$newheader =~ s/__STYLEFILE__/..\/$config{stylefile}/g if $config{'stylefile'};
|
||||
$newheader =~ s/__PRINTSTYLEFILE__/..\/$config{printstylefile}/g if $config{'printstylefile'};
|
||||
$newheader =~ s/__RELROOT__/..\//g;
|
||||
- $newheader.=javascript_header(1, '_variables', "index.$ext", "logVariable('$varname');");
|
||||
+ $newheader.=javascript_header(1, '_variables', $var_ids{$varname}.".$ext", "logVariable('$varname');");
|
||||
print $VARINDEX $newheader;
|
||||
print $VARINDEX &navtoggle_html('../');
|
||||
print $VARINDEX "[<a href=\"../index.$ext\">Top level directory</a>]<br>\n";
|
||||
@@ -1782,7 +1782,7 @@
|
||||
$newheader =~ s/__STYLEFILE__/..\/$config{stylefile}/g if $config{'stylefile'};
|
||||
$newheader =~ s/__PRINTSTYLEFILE__/..\/$config{printstylefile}/g if $config{'printstylefile'};
|
||||
$newheader =~ s/__RELROOT__/..\//g;
|
||||
- $newheader.=javascript_header(1, '_functions', "index.$ext", "logFunction('$funcname');");
|
||||
+ $newheader.=javascript_header(1, '_functions', $func_ids{$funcname}.".$ext", "logFunction('$funcname');");
|
||||
print $FUNCINDEX $newheader;
|
||||
print $FUNCINDEX &navtoggle_html('../');
|
||||
print $FUNCINDEX "[<a href=\"../index.$ext\">Top level directory</a>]<br>\n";
|
||||
@@ -1925,7 +1925,7 @@
|
||||
$newheader =~ s/__STYLEFILE__/..\/$config{stylefile}/g if $config{'stylefile'};
|
||||
$newheader =~ s/__PRINTSTYLEFILE__/..\/$config{printstylefile}/g if $config{'printstylefile'};
|
||||
$newheader =~ s/__RELROOT__/..\//g;
|
||||
- $newheader.=javascript_header(1, '_classes', "index.$ext", "logClass('$classname');");
|
||||
+ $newheader.=javascript_header(1, '_classes', $class_ids{$classname}.".$ext", "logClass('$classname');");
|
||||
print $CLASSINDEX $newheader;
|
||||
print $CLASSINDEX &navtoggle_html('../');
|
||||
print $CLASSINDEX "[<a href=\"../index.$ext\">Top level directory</a>]<br>\n";
|
||||
@@ -2025,7 +2025,7 @@
|
||||
$newheader =~ s/__STYLEFILE__/..\/$config{stylefile}/g if $config{'stylefile'};
|
||||
$newheader =~ s/__PRINTSTYLEFILE__/..\/$config{printstylefile}/g if $config{'printstylefile'};
|
||||
$newheader =~ s/__RELROOT__/..\//g;
|
||||
- $newheader.=javascript_header(1, '_constants', "index.$ext", "logConstant('$constname');");
|
||||
+ $newheader.=javascript_header(1, '_constants', $constname.".$ext", "logConstant('$constname');");
|
||||
print $CONSTINDEX $newheader;
|
||||
print $CONSTINDEX &navtoggle_html('../');
|
||||
print $CONSTINDEX "[<a href=\"../index.$ext\">Top level directory</a>]<br>\n";
|
||||
@@ -2123,7 +2123,7 @@
|
||||
$newheader =~ s/__STYLEFILE__/..\/$config{stylefile}/g if $config{'stylefile'};
|
||||
$newheader =~ s/__PRINTSTYLEFILE__/..\/$config{printstylefile}/g if $config{'printstylefile'};
|
||||
$newheader =~ s/__RELROOT__/..\//g;
|
||||
- $newheader.=javascript_header(1, '_tables', "index.$ext");
|
||||
+ $newheader.=javascript_header(1, '_tables', "$tablenameid.$ext");
|
||||
print $TABLEINDEX $newheader;
|
||||
print $TABLEINDEX &navtoggle_html('../');
|
||||
print $TABLEINDEX &javascript_search(1);
|
Reference in New Issue
Block a user