Foren / Cotonti / Support / How do I replace a tag with an image?

GHengeveld
#18083 22. Oktober 2009, 00:54
Changing your language file will work but it's not the nicest way to do it, because the language file is meant to be used only for text, not for html code. The only right way to do it is through the resource string system, so that's what I've done. I've fixed this in trunk, see changeset 1001 and 1002.

If you want to use an image instead of the default text, put the following line in your skinname/skinname.php file.

$R['frm_rowquote'] = '<a href="{$url}"><img src="skins/'.$skin.'/img/system/button-quote.gif"></a>';

Dieser Beitrag wurde von Koradhil (am 22. Oktober 2009, 01:05, vor 15 Jahre) bearbeitet