Version 4.1.2
This commit is contained in:
1 parent
3ba79295ee
commit
28bd025b35
1131 files changed
+63658
-20579
No files matched your search
@@ -103,7 +103,7 @@ class _advertisements extends \IPS\Dispatcher\Controller
|
||||
},
|
||||
'ad_active' => function( $val, $row )
|
||||
{
|
||||
return \IPS\Theme::i()->getTemplate( 'promotion' )->activeBadge( $row['ad_id'], ( $val == -1 ) ? 'ad_filters_pending' : ( ( $val == 0 ) ? 'ad_filters_inactive' : 'ad_filters_active' ), $val );
|
||||
return \IPS\Theme::i()->getTemplate( 'promotion' )->activeBadge( $row['ad_id'], ( $val == -1 ) ? 'ad_filters_pending' : ( ( $val == 0 ) ? 'ad_filters_inactive' : 'ad_filters_active' ), $val, $row );
|
||||
},
|
||||
'ad_clicks' => function( $val, $row )
|
||||
{
|
||||
@@ -622,4 +622,15 @@ class _advertisements extends \IPS\Dispatcher\Controller
|
||||
|
||||
\IPS\Output::i()->sendOutput( \IPS\Theme::i()->getTemplate( 'global', 'core', 'admin' )->blankTemplate( $preview ) );
|
||||
}
|
||||
|
||||
/**
|
||||
* Adsense Help
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function adsense()
|
||||
{
|
||||
\IPS\Output::i()->title = \IPS\Member::loggedIn()->language()->addToStack('google_adsense_header');
|
||||
\IPS\Output::i()->output = \IPS\Theme::i()->getTemplate('promotion')->adsenseHelp();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user