Version 4.3.0
This commit is contained in:
1 parent
96997ddd8e
commit
fe1acf984a
1349 files changed
+116159
-67711
No files matched your search
@@ -20,13 +20,19 @@ if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
/**
|
||||
* guestSignUp Widget
|
||||
*/
|
||||
class _guestSignUp extends \IPS\Widget\StaticCache
|
||||
class _guestSignUp extends \IPS\Widget
|
||||
{
|
||||
/**
|
||||
* @brief Widget Key
|
||||
*/
|
||||
public $key = 'guestSignUp';
|
||||
|
||||
|
||||
/**
|
||||
* @brief Language String Key used to store the editor content
|
||||
*/
|
||||
public static $editorKey = 'block_guestsignup_message';
|
||||
|
||||
|
||||
/**
|
||||
* @brief App
|
||||
*/
|
||||
@@ -36,12 +42,6 @@ class _guestSignUp extends \IPS\Widget\StaticCache
|
||||
* @brief Plugin
|
||||
*/
|
||||
public $plugin = '';
|
||||
|
||||
/**
|
||||
* @brief Cache Expiration
|
||||
* @note We allow this cache to be valid for 60 seconds
|
||||
*/
|
||||
public $cacheExpiration = 60;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
@@ -77,7 +77,7 @@ class _guestSignUp extends \IPS\Widget\StaticCache
|
||||
'key' => 'widget_guestsignup_text',
|
||||
'editor' => array(
|
||||
'app' => 'core',
|
||||
'key' => 'GuestSignupWidget',
|
||||
'key' => 'Widget',
|
||||
'autoSaveKey' => 'widget-' . $this->uniqueKey,
|
||||
'attachIds' => isset( $this->configuration['content'] ) ? array( 0, 0, 'widget_guestsignup_text' ) : NULL
|
||||
),
|
||||
@@ -150,7 +150,7 @@ class _guestSignUp extends \IPS\Widget\StaticCache
|
||||
return '';
|
||||
}
|
||||
|
||||
$login = new \IPS\Login( \IPS\Http\Url::internal( 'app=core&module=system&controller=login', 'front', 'login', NULL, \IPS\Settings::i()->logins_over_https ) );
|
||||
$login = new \IPS\Login( \IPS\Http\Url::internal( 'app=core&module=system&controller=login', 'front', 'login' ) );
|
||||
return $this->output( $login, $title, $text );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user