PDA

View Full Version : why hardcoded?


-okapi-
04-25-2006, 07:19 PM
it would be nice, if the "archive"-link to the paged archive would be a language variable, and not hardcoded in the addon itself.

line 466:

$tpl = str_replace("<LINK_TO_PAGED_ARCHIVE>",'<a href="index.php?x=browse&amp;pagenum=1">archives</a>',$tpl);

maybe the meaning of this is, that the archive should not be part of the core?

Connie
04-25-2006, 09:00 PM
I think the meaning is that we just oversaw it ;=)

thanks for the tip!