/[gnump3d]/gnump3d/bin/gnump3d2
ViewVC logotype

Diff of /gnump3d/bin/gnump3d2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.41 by skx, Sun Nov 2 14:22:12 2003 UTC revision 1.42 by skx, Sun Nov 2 19:15:07 2003 UTC
# Line 2346  sub serveDirectory( $ $ ) Line 2346  sub serveDirectory( $ $ )
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.

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.42

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26