diff options
| author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2005-08-29 12:10:12 +0000 |
|---|---|---|
| committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2005-08-29 12:10:12 +0000 |
| commit | 96d2531821c13a5962b09a5b130d93c8d8b8a987 (patch) | |
| tree | e257a4b90d1aadbfaec3763eefa1bf58dcab2af6 /wp-inst/wp-content/smarty-plugins/function.googleit.php | |
| parent | 04d51d5f3493a358f75449ac08425310978e5b24 (diff) | |
| download | wordpress-mu-96d2531821c13a5962b09a5b130d93c8d8b8a987.tar.gz wordpress-mu-96d2531821c13a5962b09a5b130d93c8d8b8a987.tar.xz wordpress-mu-96d2531821c13a5962b09a5b130d93c8d8b8a987.zip | |
Removed Smarty stuff
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@249 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-content/smarty-plugins/function.googleit.php')
| -rw-r--r-- | wp-inst/wp-content/smarty-plugins/function.googleit.php | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/wp-inst/wp-content/smarty-plugins/function.googleit.php b/wp-inst/wp-content/smarty-plugins/function.googleit.php deleted file mode 100644 index 1b896e1..0000000 --- a/wp-inst/wp-content/smarty-plugins/function.googleit.php +++ /dev/null @@ -1,38 +0,0 @@ -<?php - -/* $Id: function.googleit.php,v 1.1.1.1 2004/10/14 12:07:23 donncha Exp $ */ - -/* - Smarty plugin - ------------------------------------------------------------- - File: function.googleit.php - Type: function - Name: googleit - Purpose: Return google search for string. - ------------------------------------------------------------- - - COPYRIGHT Donncha O Caoimh. - - $Id: function.googleit.php,v 1.1.1.1 2004/10/14 12:07:23 donncha Exp $ -*/ - -function smarty_function_googleit($params, &$smarty) -{ - extract( $params ); - if( $search != '' ) - { - $search1 = str_replace( " ", "+", $search ); - echo '<a href="http://www.google.com/search?q=' . strip_tags( $search1 ).'" title="Search for '. strip_tags( $search ).'">'; - if( $link != '' ) - { - echo $link; - } - else - { - echo "Search"; - } - echo '</a>'; - } - -} -?> |
