mhonarc-commits
[Top] [All Lists]

CVS: mhonarc/MHonArc/lib mhexternal.pl,2.12,2.13

2003-01-03 19:57:22
Update of /cvsroot/mhonarc/mhonarc/MHonArc/lib
In directory subversions:/tmp/cvs-serv10701/lib

Modified Files:
	mhexternal.pl 
Log Message:
Removed in preceding path component in link label to attachment file.


Index: mhexternal.pl
===================================================================
RCS file: /cvsroot/mhonarc/mhonarc/MHonArc/lib/mhexternal.pl,v
retrieving revision 2.12
retrieving revision 2.13
diff -C2 -r2.12 -r2.13
*** mhexternal.pl	11 Oct 2002 01:57:53 -0000	2.12
--- mhexternal.pl	4 Jan 2003 02:57:14 -0000	2.13
***************
*** 235,239 ****
  	    $desc .= mhonarc::htmlize($fields->{'content-description'}[0]) ||
  		     $type;
! 	    $namelabel = mhonarc::htmlize($nameparm || $urlfile);
  	}
  
--- 235,245 ----
  	    $desc .= mhonarc::htmlize($fields->{'content-description'}[0]) ||
  		     $type;
! 	    if ($nameparm) {
! 		$namelabel = mhonarc::htmlize($nameparm);
! 	    } else {
! 		$namelabel = $filename;
! 		$namelabel =~ s/^.*$mhonarc::DIRSEP//o;
! 		mhonarc::htmlize(\$namelabel);
! 	    }
  	}
  

---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-DEV