class/utility.php 1 location
|
@@ 338-347 (lines=10) @@
|
| 335 |
|
/** |
| 336 |
|
* @return string |
| 337 |
|
*/ |
| 338 |
|
public static function sf_modFooter() |
| 339 |
|
{ |
| 340 |
|
$smartModule = sf_getModuleInfo(); |
| 341 |
|
|
| 342 |
|
$modfootertxt = 'Module ' . $smartModule->getInfo('name') . ' - Version ' . $smartModule->getInfo('version') . ''; |
| 343 |
|
|
| 344 |
|
$modfooter = "<a href='" . $smartModule->getInfo('support_site_url') . "' target='_blank'><img src='" . XOOPS_URL . "/modules/smartfaq/assets/images/sfcssbutton.gif' title='" . $modfootertxt . "' alt='" . $modfootertxt . "'></a>"; |
| 345 |
|
|
| 346 |
|
return $modfooter; |
| 347 |
|
} |
| 348 |
|
|
| 349 |
|
/** |
| 350 |
|
* Checks if a user is admin of Smartfaq |
include/functions.php 1 location
|
@@ 198-207 (lines=10) @@
|
| 195 |
|
/** |
| 196 |
|
* @return string |
| 197 |
|
*/ |
| 198 |
|
function sf_modFooter() |
| 199 |
|
{ |
| 200 |
|
$smartModule = sf_getModuleInfo(); |
| 201 |
|
|
| 202 |
|
$modfootertxt = 'Module ' . $smartModule->getInfo('name') . ' - Version ' . $smartModule->getInfo('version') . ''; |
| 203 |
|
|
| 204 |
|
$modfooter = "<a href='" . $smartModule->getInfo('support_site_url') . "' target='_blank'><img src='" . XOOPS_URL . "/modules/smartfaq/assets/images/sfcssbutton.gif' title='" . $modfootertxt . "' alt='" . $modfootertxt . "'></a>"; |
| 205 |
|
|
| 206 |
|
return $modfooter; |
| 207 |
|
} |
| 208 |
|
|
| 209 |
|
/** |
| 210 |
|
* Checks if a user is admin of Smartfaq |