Smarty Plugin: str2img

In diesem Board könnt Ihr alle "allgemeinen" Fragen zum Thema MyOOS stellen.
Antworten
r23
Beiträge: 2624
Registriert: 18.09.2008, 05:56
Wohnort: Hagen
Kontaktdaten:

Beitrag von r23 »

Hallo,

Tipp
str2img: a library/plugin for displaying a string as an image.
Great for displaying email addresses, captchas, etc.
http://www.phpinsider.com/php/code/str2img/


Anwendung

SMARTY PLUGIN:
To use the Smarty plugin, copy the Smarty plugin file
function.str2img.php into your Smarty plugins folder.
examples:

<!--c1--><div class='codetop'>QUELLTEXT[/align]<div class='codemain'><!--ec1--> {str2img text="john@doe.com"}
{str2img text="john@doe.com" font="arial.ttf"}
{str2img text="john@doe.com" fontsize="10"}
{str2img text="john@doe.com" fontangle="45"}
{str2img text="john@doe.com" textcolor="eeffee"}
{str2img text="john@doe.com" bgcolor="000000"}<!--c2-->[/align]<!--ec2-->


Vermutlich nehmen wir dieses Plugin in MyOOS auf.

cu

ralf
Antworten