Smutty

MVC Framework

View Code: function.smutty_link

Browse: All · Classes · Plugins

1
<?php
2
3
function smutty_function_smutty_link( $params, $smarty ) {
4
5
$url = Smutty_Utils::getUrl(array(
6
'controller' => 'smutty',
7
'action' => 'resource',
8
'folder' => 'images',
9
'file' => 'smutty-logo.png'
10
));
11
12
return '<a href="http://smutty.pu-gh.com" title="Smutty Powered"><img ' .
13
'style="border:none;" ' .
14
'src="' . $url . '" alt="Smutty Logo" /></a>';
15
16
}
17
18
function smarty_function_smutty_link( $params, $smarty ) {
19
echo smutty_function_smutty_link( $params, $smarty );
20
}
21
22
?>

The code shown here is the code that is currently running this site. If you want to view the latest SVN version of the code then go to the Subversion repository.