A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Also show the filename to locate parsing errors, not only the line number
[simgrid.git]
/
tools
/
doxygen
/
index_php.pl
diff --git
a/tools/doxygen/index_php.pl
b/tools/doxygen/index_php.pl
index
567b95a
..
3a2e614
100755
(executable)
--- a/
tools/doxygen/index_php.pl
+++ b/
tools/doxygen/index_php.pl
@@
-14,13
+14,14
@@
my($body) = "";
open FILE,$inputhtml;
while(defined($line=<FILE>)) {
open FILE,$inputhtml;
while(defined($line=<FILE>)) {
- if($line =~/<div class="tabs">/) {
+ if($line =~/<div
id=".*"
class="tabs">/) {
$onglets = $line;
while(defined($line=<FILE>) && !($line =~/<\/div>/)) {
$onglets = $line;
while(defined($line=<FILE>) && !($line =~/<\/div>/)) {
+ $line =~ s/ class="current"//g;
$onglets.=$line;
}
$onglets.=$line;
$onglets.=$line;
}
$onglets.=$line;
- $onglets.="<center></center><p><br>\n"
+
#
$onglets.="<center></center><p><br>\n"
}
if($line =~/<!-- ______BODY_BEGIN______ --!>(.*)$/) {
$tmp=$1;
}
if($line =~/<!-- ______BODY_BEGIN______ --!>(.*)$/) {
$tmp=$1;
@@
-53,6
+54,7
@@
open OUTPUT,"> $output";
while(defined($line=<FILE>)) {
chomp $line;
if($line =~/______ONGLETS______/) {
while(defined($line=<FILE>)) {
chomp $line;
if($line =~/______ONGLETS______/) {
+ $onglets =~ s/<li><a href=\"http:\/\/simgrid/<li class=\"current\"><a href=\"http:\/\/simgrid/g;
$line =~ s/______ONGLETS______/$onglets/g;
} elsif($line =~/______BODY______/) {
$line =~ s/______BODY______/$body/g;
$line =~ s/______ONGLETS______/$onglets/g;
} elsif($line =~/______BODY______/) {
$line =~ s/______BODY______/$body/g;