2346 |
{ |
{ |
2347 |
$total =~ s/<PLAYLISTS>.*<\/PLAYLISTS>//gsx; |
$total =~ s/<PLAYLISTS>.*<\/PLAYLISTS>//gsx; |
2348 |
} |
} |
2349 |
|
else |
2350 |
|
{ |
2351 |
|
$total =~ s/<\/?PLAYLISTS>//g; |
2352 |
|
} |
2353 |
|
|
2354 |
if ( $totalFiles eq 0 ) |
if ( $totalFiles eq 0 ) |
2355 |
{ |
{ |
2356 |
$total =~ s/<FILES>.*<\/FILES>//gsx; |
$total =~ s/<FILES>.*<\/FILES>//gsx; |
2357 |
} |
} |
2358 |
|
else |
2359 |
|
{ |
2360 |
|
$total =~ s/<\/?FILES>//g; |
2361 |
|
} |
2362 |
|
|
2363 |
if ( $totalSubdirs eq 0 ) |
if ( $totalSubdirs eq 0 ) |
2364 |
{ |
{ |
2365 |
$total =~ s/<DIRS>.*<\/DIRS>//gsx; |
$total =~ s/<DIRS>.*<\/DIRS>//gsx; |
2366 |
} |
} |
2367 |
|
else |
2368 |
|
{ |
2369 |
|
$total =~ s/<\/?DIRS>//g; |
2370 |
|
} |
2371 |
|
|
2372 |
if ( $totalMovies eq 0 ) |
if ( $totalMovies eq 0 ) |
2373 |
{ |
{ |
2374 |
$total =~ s/<MOVIES>.*<\/MOVIES>//gsx; |
$total =~ s/<MOVIES>.*<\/MOVIES>//gsx; |
2375 |
} |
} |
2376 |
|
else |
2377 |
|
{ |
2378 |
|
$total =~ s/<\/?MOVIES>//g; |
2379 |
|
} |
2380 |
|
|
2381 |
# |
# |
2382 |
# Return the directory contents as a formatted pretty HTML text file. |
# Return the directory contents as a formatted pretty HTML text file. |