[pmwiki-users] Update Attachments
Patrick R. Michaud
pmichaud at pobox.com
Fri Feb 3 08:16:05 CST 2006
On Fri, Feb 03, 2006 at 02:59:43PM +0100, Dominique Faure wrote:
> > Sorry, no, doesn't help yet: What should I do to make the Delta appear
> > also next to attachments on the "view" page?
> >
>
> I'm affraid the "Delta" disparition from attachment link is a feature
> of the monobook skin. I'm currently working on it to give back the
> standard "Delta-features" to the replacing paper-clip.
> Be patient. For now, you may edit monobook.php and remove the link
> decoration comenting/deleting the lines 124-127 starting with:
>
> $IMapLinkFmt['Attach:'] =
> "...";
> $LinkUploadCreateFmt =
> "...";
Still better would be for monobook.php to use the SDV() function to
set these values, which would allow the admin to set a preference
over the skin's defaults.
SDV($IMapLinkFmt['Attach:'],
"<a class='attachlink' href='\$LinkUrl' rel='nofollow'>\$LinkText</a>");
SDV($LinkUploadCreateFmt,
"<a class='createlinkupload' href='\$LinkUpload'>\$LinkText</a>");
SDV($LinkPageCreateFmt,
"<a class='createlinktext' href='\$PageUrl?action=edit'>\$LinkText</a>");
Pm
More information about the pmwiki-users
mailing list