Пример #1
0
/**
 * Registers default themes.
 * 
 * We don't need to include the file containing the file OPanda_ThemeManager because this function will
 * be called from the hook defined inside the class OPanda_ThemeManager.
 * 
 * @see onp_sl_register_themes
 * @see OPanda_ThemeManager
 * 
 * @since 1.0.0
 * @return void 
 */
function opanda_register_social_locker_themes()
{
    OPanda_ThemeManager::registerTheme(array('name' => 'starter', 'title' => 'Starter', 'path' => OPANDA_BIZPANDA_DIR . '/themes/starter', 'items' => array('social-locker')));
    OPanda_ThemeManager::registerTheme(array('name' => 'secrets', 'title' => 'Secrets', 'path' => OPANDA_BIZPANDA_DIR . '/themes/secrets', 'items' => array('social-locker')));
    OPanda_ThemeManager::registerTheme(array('name' => 'dandyish', 'title' => 'Dandyish', 'path' => OPANDA_BIZPANDA_DIR . '/themes/dandyish', 'items' => array('social-locker')));
    OPanda_ThemeManager::registerTheme(array('name' => 'glass', 'title' => 'Glass', 'path' => OPANDA_BIZPANDA_DIR . '/themes/glass', 'items' => array('social-locker')));
    OPanda_ThemeManager::registerTheme(array('name' => 'flat', 'title' => 'Flat', 'path' => OPANDA_BIZPANDA_DIR . '/themes/flat', 'items' => array('social-locker')));
}
Пример #2
0
/**
 * Registers default themes.
 * 
 * We don't need to include the file containing the file OPanda_ThemeManager because this function will
 * be called from the hook defined inside the class OPanda_ThemeManager.
 * 
 * @see onp_sl_register_themes
 * @see OPanda_ThemeManager
 * 
 * @since 1.0.0
 * @return void 
 */
function opanda_register_social_locker_themes()
{
    OPanda_ThemeManager::registerTheme(array('name' => 'starter', 'title' => 'Starter', 'path' => OPANDA_BIZPANDA_DIR . '/themes/starter', 'items' => array('social-locker')));
    OPanda_ThemeManager::registerTheme(array('name' => 'secrets', 'title' => 'Secrets', 'path' => OPANDA_BIZPANDA_DIR . '/themes/secrets', 'items' => array('social-locker')));
    OPanda_ThemeManager::registerTheme(array('name' => 'dandyish', 'title' => 'Dandyish [Premium]', 'preview' => 'https://cconp.s3.amazonaws.com/bizpanda/social-locker/preview/dansyish.png', 'hint' => sprintf(__('This theme is available only in the <a href="%s" target="_blank">premium version</a> of the plugin', 'sociallocker'), opanda_get_premium_url(null, 'themes')), 'items' => array('social-locker')));
    OPanda_ThemeManager::registerTheme(array('name' => 'glass', 'title' => 'Glass [Premium]', 'preview' => 'https://cconp.s3.amazonaws.com/bizpanda/social-locker/preview/glass.png', 'hint' => sprintf(__('This theme is available only in the <a href="%s" target="_blank">premium version</a> of the plugin', 'sociallocker'), opanda_get_premium_url(null, 'themes')), 'items' => array('social-locker')));
    OPanda_ThemeManager::registerTheme(array('name' => 'flat', 'title' => 'Flat [Premium]', 'preview' => 'https://cconp.s3.amazonaws.com/bizpanda/social-locker/preview/flat.png', 'hint' => sprintf(__('This theme is available only in the <a href="%s" target="_blank">premium version</a> of the plugin', 'sociallocker'), opanda_get_premium_url(null, 'themes')), 'items' => array('social-locker')));
}
Пример #3
0
/**
 * Registers default themes.
 * 
 * We don't need to include the file containing the file OPanda_ThemeManager because this function will
 * be called from the hook defined inside the class OPanda_ThemeManager.
 * 
 * @see onp_sl_register_themes
 * @see OPanda_ThemeManager
 * 
 * @since 1.0.0
 * @return void 
 */
function opanda_register_signin_locker_themes($item = 'signin-locker')
{
    OPanda_ThemeManager::registerTheme(array('name' => 'great-attractor', 'title' => 'Great Attractor', 'path' => OPANDA_BIZPANDA_DIR . '/themes/great-attractor', 'items' => array('signin-locker', 'email-locker')));
    OPanda_ThemeManager::registerTheme(array('name' => 'friendly-giant', 'title' => 'Friendly Giant [Premium]', 'preview' => 'https://cconp.s3.amazonaws.com/bizpanda/signin-locker/preview/friendly-giant.png', 'previewHeight' => 400, 'hint' => sprintf(__('This theme is available only in the <a href="%s" target="_blank">premium version</a> of the plugin', 'signinlocker'), opanda_get_premium_url(null, 'themes')), 'items' => array('signin-locker', 'email-locker')));
    OPanda_ThemeManager::registerTheme(array('name' => 'dark-force', 'title' => 'Dark Force [Premium]', 'preview' => 'https://cconp.s3.amazonaws.com/bizpanda/signin-locker/preview/dark-force.png', 'previewHeight' => 400, 'hint' => sprintf(__('This theme is available only in the <a href="%s" target="_blank">premium version</a> of the plugin', 'signinlocker'), opanda_get_premium_url(null, 'themes')), 'items' => array('signin-locker', 'email-locker')));
}
Пример #4
0
/**
 * Registers default themes.
 * 
 * We don't need to include the file containing the file OPanda_ThemeManager because this function will
 * be called from the hook defined inside the class OPanda_ThemeManager.
 * 
 * @see onp_sl_register_themes
 * @see OPanda_ThemeManager
 * 
 * @since 1.0.0
 * @return void 
 */
function opanda_register_signin_locker_themes($item = 'signin-locker')
{
    OPanda_ThemeManager::registerTheme(array('name' => 'great-attractor', 'title' => 'Great Attractor', 'path' => OPANDA_BIZPANDA_DIR . '/themes/great-attractor', 'items' => array('signin-locker', 'email-locker')));
    OPanda_ThemeManager::registerTheme(array('name' => 'friendly-giant', 'title' => 'Friendly Giant', 'path' => OPANDA_BIZPANDA_DIR . '/themes/friendly-giant', 'items' => array('signin-locker', 'email-locker')));
    OPanda_ThemeManager::registerTheme(array('name' => 'dark-force', 'title' => 'Dark Force', 'path' => OPANDA_BIZPANDA_DIR . '/themes/dark-force', 'items' => array('signin-locker', 'email-locker')));
}