Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37e83a7
)
added enc_s()
author
Jason Woofenden
<jason283@herkamire.com>
Tue, 2 Jun 2009 11:19:12 +0000
(07:19 -0400)
committer
Jason Woofenden
<jason283@herkamire.com>
Tue, 2 Jun 2009 11:19:12 +0000
(07:19 -0400)
encode.php
patch
|
blob
|
history
diff --git
a/encode.php
b/encode.php
index
9aa09a6
..
cd1e0b4
100644
(file)
--- a/
encode.php
+++ b/
encode.php
@@
-370,3
+370,12
@@
function enc_thumb_height($str) {
list($a, $b, $c, $src, $width, $height) = explode(' ', $str);
return $height;
}
+
+# example template: Length: ~length.html~ day~length.s~
+function enc_s($str) {
+ if($str == '1') {
+ return '';
+ }
+
+ return 's';
+}