[pmwiki-users] Update Attachments
Mike
mike at widowitz.com
Wed Feb 8 02:57:36 CST 2006
Thanks - with the updated monobook skin, it works the way it should!
Just brilliant, thanks a lot!
Mike
Dominique Faure wrote on 03.02.2006 17:29:
> 2006/2/3, Patrick R. Michaud <pmichaud at pobox.com>:
>
>>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>");
>>
>
>
> That's why, among others, I'm updating it... ;)
> But $LinkPage...Fmt and $UrlLinkFmt are neither being initialized
> using SDV() in pmwiki.php (lines 81-88).
>
> BTW, an updated Monobook skin (with forced $LinkPageCreateFmt) should
> be available this evening.
>
> Dom
>
More information about the pmwiki-users
mailing list