Exemple #1
0
function google_analytics_admin()
{
    osc_admin_render_plugin('google_analytics/admin.php');
}
function allSeo_conf()
{
    osc_admin_render_plugin(osc_plugin_path(dirname(__FILE__)) . '/admin/listings.php');
}
Exemple #3
0
function breadcrumbs_help()
{
    if (osc_version() < 320) {
        osc_admin_render_plugin(osc_plugin_path(dirname(__FILE__)) . '/help.php');
    } else {
        osc_redirect_to(osc_route_admin_url('breadcrumbs-admin-help'));
    }
}
Exemple #4
0
function admanage_config()
{
    osc_admin_render_plugin(osc_plugin_path(dirname(__FILE__)) . '/admin.php');
}
Exemple #5
0
function fbc_conf()
{
    osc_admin_render_plugin(osc_plugin_path(dirname(__FILE__)) . '/admin/conf.php');
}
function nm_copypaste_plugin_admin()
{
    osc_admin_render_plugin('nm_copypaste_plugin/admin/settings.php');
}
Exemple #7
0
    /**
     * Save User form
     */
    $enable_user = Params::getParam('enable_user');
    if ($enable_user == 'on') {
        osc_set_preference('user_voting', '1', 'voting', 'BOOLEAN');
    } else {
        osc_set_preference('user_voting', '0', 'voting', 'BOOLEAN');
    }
    if (osc_version() < 300) {
        echo '<div style="text-align:center; font-size:22px; background-color:#00bb00;"><p>' . __('Congratulations. The plugin is now configured', 'voting') . '.</p></div>';
        osc_reset_preferences();
    } else {
        ob_get_clean();
        osc_add_flash_ok_message(__('Congratulations. The plugin is now configured', 'voting'), 'admin');
        osc_admin_render_plugin(osc_plugin_folder(__FILE__) . 'conf.php');
    }
}
?>

<div id="settings_form" style="padding-left: 15px; padding-right: 15px;">
    <div style="padding: 20px;">
        <div style="float: left; width: 100%;">
            <b style="font-size: 1.5em;"><?php 
_e('Items', 'voting');
?>
</b>
            <form action="<?php 
echo osc_admin_base_url(true);
?>
?page=plugins&action=renderplugin&file=<?php 
Exemple #8
0
function google_maps_admin()
{
    osc_admin_render_plugin('google_maps/admin.php');
}
function fb_page_plugin_admin()
{
    osc_admin_render_plugin('fb_page_plugin/admin.php');
}
Exemple #10
0
function minify_admin()
{
    osc_admin_render_plugin(osc_plugin_path(dirname(__FILE__)) . '/admin/index.php');
}
Exemple #11
0
function osclass_pm_config()
{
    osc_admin_render_plugin(osc_plugin_path(dirname(__FILE__)) . '/admin.php');
}
Exemple #12
0
function anr_render_admin()
{
    osc_admin_render_plugin(osc_plugin_folder(__FILE__) . 'admin/admin.php');
}
Exemple #13
0
function watchlist_help()
{
    osc_admin_render_plugin(osc_plugin_path(dirname(__FILE__)) . '/help.php');
}
Exemple #14
0
function map_ru_help()
{
    osc_admin_render_plugin(osc_plugin_path(dirname(__FILE__)) . '/help.php');
}
Exemple #15
0
function yandex_map_admin()
{
    osc_admin_render_plugin('yandex_maps/admin.php');
}
Exemple #16
0
function jqToolTip_help()
{
    osc_admin_render_plugin(osc_plugin_path(dirname(__FILE__)) . '/help.php');
}