projects
/
infodrom.org
/
service.infodrom.org
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f0d87b
)
teaserlink() for the logbook
author
Joey Schulze
<joey@infodrom.org>
Wed, 10 Sep 2008 16:55:17 +0000
(16:55 +0000)
committer
Joey Schulze
<joey@infodrom.org>
Wed, 10 Sep 2008 16:55:17 +0000
(16:55 +0000)
Styles/phptools.inc
patch
|
blob
|
history
diff --git
a/Styles/phptools.inc
b/Styles/phptools.inc
index
64b686e
..
1edac5d
100644
(file)
--- a/
Styles/phptools.inc
+++ b/
Styles/phptools.inc
@@
-46,3
+46,12
@@
}
?>
</define-tag>
+
+<define-tag teaserlink>
+<?
+function teaserlink($teaser)
+{
+ return preg_replace('/[^a-zA-Z0-9-]/', '-', $teaser);
+}
+?>
+</define-tag>