Smarty
[ class tree: Smarty ] [ index: Smarty ] [ all elements ]

Source for file function.adsense.php

Documentation is available at function.adsense.php

  1. <?php
  2. /**
  3.  * Smarty plugin
  4.  * @package Smarty
  5.  * @subpackage plugins
  6.  */
  7.  
  8. /**
  9. * smarty_function_adsense
  10. */
  11. function smarty_function_adsense( $params, &$gBitSmarty ) {
  12.     global $gBitSystem, $gLibertySystem;
  13.     if( $gBitSystem->isFeatureActive( 'liberty_plugin_status_dataadsense' ) ) {
  14.         echo data_adsense( '', $params );
  15.     } else {
  16.         echo "You need to activate the adsense liberty plugin to use this.";
  17.     }
  18. }
  19. ?>

Documentation generated on Wed, 29 Jul 2015 13:56:36 +0000 by phpDocumentor 1.5.0-lsces