예제 #1
0
파일: index.php 프로젝트: rb2/MaxSite-CMS
function bbcode_uninstall($args = array())
{
    mso_delete_option('plugin_bbcode', 'plugins');
    // удалим созданные опции
    // mso_remove_allow('bbcode_edit'); // удалим созданные разрешения
    return $args;
}
예제 #2
0
파일: index.php 프로젝트: rb2/MaxSite-CMS
function smtp_mail_uninstall($args = array())
{
    mso_delete_option('plugin_smtp_mail', 'plugins');
    // удалим созданные опции
    // mso_remove_allow('smtp_mail_edit'); // удалим созданные разрешения
    return $args;
}
예제 #3
0
파일: index.php 프로젝트: rb2/MaxSite-CMS
function spoiler_uninstall($args = array())
{
    // константа
    $options_key = 'plugin_spoiler';
    mso_delete_option($options_key, 'plugins');
    return $args;
}
예제 #4
0
파일: index.php 프로젝트: Kmartynov/cms
function popup_uninstall($args = array())
{
    mso_delete_option('plugin_popup', 'plugins');
    // удалим созданные опции
    mso_remove_allow('popup_edit');
    // удалим созданные разрешения
    return $args;
}
예제 #5
0
파일: index.php 프로젝트: Kmartynov/cms
function mail_send_uninstall($args = array())
{
    mso_delete_option('mail_send', 'plugins');
    // удалим созданные опции
    mso_remove_allow('mail_send_edit');
    // удалим созданные разрешения
    return $args;
}
예제 #6
0
파일: index.php 프로젝트: Kmartynov/cms
function range_url_uninstall($args = array())
{
    mso_delete_option('plugin_range_url', 'plugins');
    // удалим созданные опции
    mso_remove_allow('range_url_edit');
    // удалим созданные разрешения
    return $args;
}
예제 #7
0
function upload_editor_uninstall($args = array())
{
    mso_delete_option('plugin_upload_editor', 'plugins');
    // удалим созданные опции
    mso_remove_allow('upload_editor_upload');
    // удалим созданные разрешения
    return $args;
}
예제 #8
0
파일: index.php 프로젝트: Kmartynov/cms
function redirect_uninstall($args = array())
{
    mso_remove_allow('redirect_edit');
    // удалим созданные разрешения
    mso_delete_option('redirect', 'plugins');
    // удалим созданные опции
    return $args;
}
예제 #9
0
파일: index.php 프로젝트: Kmartynov/cms
function internal_links_uninstall($args = array())
{
    mso_delete_option('plugin_internal_links', 'plugins');
    // удалим созданные опции
    mso_remove_allow('internal_links_edit');
    // удалим созданные разрешения
    return $args;
}
예제 #10
0
파일: index.php 프로젝트: Kmartynov/cms
function less_compiling_uninstall($args = array())
{
    mso_delete_option('plugin_less_compiling', 'plugins');
    // удалим созданные опции
    mso_remove_allow('less_compiling_edit');
    // удалим созданные разрешения
    return $args;
}
예제 #11
0
파일: index.php 프로젝트: Kmartynov/cms
function loginza_auth_uninstall($args = array())
{
    mso_delete_option('plugin_loginza_auth', 'plugins');
    // удалим созданные опции
    mso_remove_allow('loginza_auth_edit');
    // удалим созданные разрешения
    mso_delete_option_mask('loginza_auth_widget', 'plugins');
    //
    return $args;
}
예제 #12
0
파일: index.php 프로젝트: Kmartynov/cms
function theme_switch_uninstall($args = array())
{
    mso_delete_option_mask('theme_switch_widget_', 'plugins');
    // удалим созданные опции
    mso_delete_option('theme_switch', 'plugins');
    // удалим созданные опции
    mso_remove_allow('theme_switch_edit');
    // удалим созданные разрешения
    return $args;
}
예제 #13
0
파일: index.php 프로젝트: rb2/MaxSite-CMS
function guestbook_uninstall($args = array())
{
    mso_delete_option('plugin_guestbook', 'plugins');
    // удалим созданные опции
    mso_remove_allow('guestbook_edit');
    // удалим созданные разрешения
    // удалим таблицу
    $CI =& get_instance();
    $CI->load->dbforge();
    $CI->dbforge->drop_table('guestbook');
    return $args;
}
예제 #14
0
파일: index.php 프로젝트: Kmartynov/cms
function ushki_to_hook_deactivate($args = array())
{
    mso_delete_option('plugin_ushki_to_hook', 'plugins');
    // удалим созданные опции
    return $args;
}
예제 #15
0
파일: index.php 프로젝트: Kmartynov/cms
function cron_uninstall($args = array())
{
    mso_delete_option('plugin_cron', 'plugins');
    // удалим созданные опции
    return $args;
}
예제 #16
0
파일: index.php 프로젝트: Kmartynov/cms
function auth_content_uninstall($args = array())
{
    mso_delete_option('plugin_auth_content', 'plugins');
    # удалим созданные опции
    return $args;
}
예제 #17
0
파일: index.php 프로젝트: rb2/MaxSite-CMS
function editor_markitup_uninstall($args = array())
{
    mso_delete_option('editor_markitup', 'plugins');
    // удалим созданные опции
    return $args;
}
예제 #18
0
파일: index.php 프로젝트: LeonisX/cms
function xml_sitemap_to_hook_deactivate($args = array())
{
    mso_delete_option('plugin_xml_sitemap', 'plugins');
    # удалим созданные опции
    return $args;
}
예제 #19
0
파일: index.php 프로젝트: rb2/MaxSite-CMS
function paginator_uninstall($args = array())
{
    mso_delete_option('paginator', 'plugins');
    return $args;
}
예제 #20
0
파일: index.php 프로젝트: Kmartynov/cms
function down_count_uninstall($args = array())
{
    mso_delete_option('plugin_down_count', 'plugins');
    // удалим созданные опции
    return $args;
}
예제 #21
0
파일: index.php 프로젝트: rb2/MaxSite-CMS
function tweetmeme_com_uninstall($args = array())
{
    mso_delete_option('plugin_tweetmeme_com', 'plugins');
    // удалим созданные опции
    return $args;
}
예제 #22
0
파일: index.php 프로젝트: rb2/MaxSite-CMS
function feedburner_count_uninstall($args = array())
{
    mso_delete_option('samborsky_feedburner_count', 'plugins');
    return $args;
}
예제 #23
0
파일: index.php 프로젝트: rb2/MaxSite-CMS
function addzakl_uninstall($args = array())
{
    mso_delete_option('plugin_addzakl', 'plugins');
    // удалим созданные опции
    return $args;
}
예제 #24
0
파일: index.php 프로젝트: rb2/MaxSite-CMS
function pagination2_uninstall($args = array())
{
    mso_delete_option('pagination2', 'plugins');
    // удалим созданные опции
    return $args;
}
예제 #25
0
파일: index.php 프로젝트: Kmartynov/cms
function mkj_sc_uninstall($args = array())
{
    mso_delete_option('plugin_mkj_sc', 'plugins');
    return $args;
}
예제 #26
0
파일: common.php 프로젝트: rettebinu/cms
function mso_remove_allow($act = '')
{
    global $MSO;
    $d = mso_get_option('groups_allow', 'general');
    if (isset($d[$act])) {
        unset($d[$act]);
        mso_delete_option('groups_allow', 'general');
        mso_add_option('groups_allow', $d, 'general');
    }
}
예제 #27
0
파일: index.php 프로젝트: rb2/MaxSite-CMS
function feedburner_uninstall($args = array())
{
    mso_delete_option('plugin_feedburner', 'plugins');
    // удалим созданные опции
    return $args;
}
예제 #28
0
파일: index.php 프로젝트: Kmartynov/cms
function multipage_uninstall($args = array())
{
    mso_delete_option('plugin_multipage', 'plugins');
    return $args;
}
예제 #29
0
파일: index.php 프로젝트: Kmartynov/cms
function antispam_deactivate($args = array())
{
    mso_delete_option('plugin_antispam', 'plugins');
    // удалим созданные опции
    return $args;
}
예제 #30
0
파일: index.php 프로젝트: buyvolov/cms
function colorbox_uninstall($args = array())
{
    mso_delete_option('plugin_colorbox', 'plugins');
    return $args;
}