public
Description: The ultra-lightweight ultra-flexible blogging engine with a fetish for birds and misspellings.
Homepage: http://chyrp.net/
Clone URL: git://github.com/vito/chyrp.git
Click here to lend your support to: chyrp and make a donation at www.pledgie.com !
Removed a redundancy.
vito (author)
Fri Nov 07 16:50:47 -0800 2008
commit  be6af1669a2ee60d574010a189872d19bd02cfdc
tree    8096932a79ac70ee2f6e70aeef004b7d853780e6
parent  1273063db3ff19fa5ebce372d4af58a7a1d77223
...
72
73
74
75
 
76
77
78
...
394
395
396
397
398
399
400
401
402
403
...
469
470
471
472
473
 
...
72
73
74
 
75
76
77
78
...
394
395
396
 
 
 
 
397
398
399
...
465
466
467
 
468
469
0
@@ -72,7 +72,7 @@ $twig_filters = array(
0
     // debugging
0
     'inspect' =>          'twig_inspect_filter',
0
 
0
-    'fallback' =>         'twig_fallback_filter',
0
+    'fallback' =>         'oneof',
0
     'selected' =>         'twig_selected_filter',
0
     'checked' =>          'twig_checked_filter',
0
     'option_selected' =>  'twig_option_selected_filter'
0
@@ -394,10 +394,6 @@ function twig_offset_filter($array, $offset = 0) {
0
     return $array[$offset];
0
 }
0
 
0
-function twig_fallback_filter($try, $fallback) {
0
-    return oneof($try, $fallback);
0
-}
0
-
0
 function twig_selected_filter($foo) {
0
     $try = func_get_args();
0
     array_shift($try);
0
@@ -469,4 +465,4 @@ function twig_truncate_filter($text, $length = 100, $ending = "...", $exact = fa
0
 function twig_sort_filter($array) {
0
     asort($array);
0
     return $array;
0
-}
0
\ No newline at end of file
0
+}

Comments