Gibt es eigentlich schon einen Hack mit dem man die Schriftgröße ändern kann ?
Ort: / Boardübersicht / Code Hack Requests / Schriftgröße ? -> Hack ?
Seite 1 von 1
Gibt es eigentlich schon einen Hack mit dem man die Schriftgröße ändern kann ?
thwbcode.inc.php
// [size] $a_thwbcode[SEARCH][] = '/\[size=([1-7]+)\](.*)\[\/size\]/Uis'; $a_thwbcode[REPLACE][] = '<font size="\1">\2</font>';
size between 1-7 and doesnt include -1 -2 -3 etc someone got a regex for this?
What will happen in this case, if someone uses 8 or -1 ???
I will only user 3 Params -> small / medium / big
would show the incorrect code ie
[size=-1]text[/size] or [size=8]text[/size]
but that is a user error
k k , i'll try it in my new version of the tagbar !
Seite 1 von 1