function fncMenu($pi_name)
{
    global $_CONF;
    global $LANG_ADMIN;
    global $LANG_DATABOX_ADMIN;
    global $LANG_DATABOX;
    $retval = '';
    //
    $menu_arr[] = array('url' => $_CONF['site_admin_url'], 'text' => $LANG_ADMIN['admin_home']);
    $retval .= ADMIN_createMenu($menu_arr, $LANG_DATABOX_ADMIN['instructions'], plugin_geticon_databox());
    return $retval;
}
Beispiel #2
0
function fncMenu($pi_name)
{
    global $_CONF;
    global $LANG_ADMIN;
    global $LANG_DATABOX_ADMIN;
    global $LANG_DATABOX;
    $retval = '';
    //MENU1:管理画面
    $url1 = $_CONF['site_url'] . '/' . THIS_SCRIPT . '?mode=new';
    if ($template != "") {
        $url1 .= "&template=" . $template;
    }
    $url2 = $_CONF['site_url'] . '/databox/list.php';
    if ($_DATABOX_CONF['allow_data_insert'] or SEC_hasRights('databox.submit')) {
        $menu_arr[] = array('url' => $url1, 'text' => $LANG_DATABOX_ADMIN["new"]);
    }
    $menu_arr[] = array('url' => $url2, 'text' => $LANG_DATABOX['list']);
    $retval .= ADMIN_createMenu($menu_arr, $LANG_DATABOX_ADMIN['instructions'], plugin_geticon_databox());
    return $retval;
}
Beispiel #3
0
function fncMenu($pi_name)
{
    global $_CONF;
    global $LANG_ADMIN;
    global $LANG_DATABOX_ADMIN;
    global $LANG_DATABOX;
    $retval = '';
    //MENU1:管理画面
    $url1 = $_CONF['site_admin_url'] . '/plugins/' . THIS_SCRIPT . '?mode=new';
    $url7 = $_CONF['site_admin_url'] . '/plugins/' . THIS_SCRIPT . '?mode=changeset';
    $url2 = $_CONF['site_url'] . '/databox/list.php';
    $url3 = $_CONF['site_admin_url'] . '/plugins/' . THIS_SCRIPT . '?mode=drafton';
    $url4 = $_CONF['site_admin_url'] . '/plugins/' . THIS_SCRIPT . '?mode=draftoff';
    $url8 = $_CONF['site_admin_url'] . '/plugins/' . THIS_SCRIPT . '?mode=hitsclear';
    $url5 = $_CONF['site_admin_url'] . '/plugins/' . THIS_SCRIPT . '?mode=exportform';
    $url6 = $_CONF['site_admin_url'] . '/plugins/' . THIS_SCRIPT . '?mode=import';
    $url9 = $_CONF['site_admin_url'] . '/plugins/' . THIS_SCRIPT . '?mode=datadelete';
    $menu_arr[] = array('url' => $url1, 'text' => $LANG_DATABOX_ADMIN["new"]);
    $menu_arr[] = array('url' => $url7, 'text' => $LANG_DATABOX_ADMIN["registset"]);
    $menu_arr[] = array('url' => $url2, 'text' => $LANG_DATABOX['list']);
    $menu_arr[] = array('url' => $url3, 'text' => $LANG_DATABOX_ADMIN['drafton']);
    $menu_arr[] = array('url' => $url4, 'text' => $LANG_DATABOX_ADMIN['draftoff']);
    $menu_arr[] = array('url' => $url8, 'text' => $LANG_DATABOX_ADMIN['hitsclear']);
    $menu_arr[] = array('url' => $url5, 'text' => $LANG_DATABOX_ADMIN['export']);
    $menu_arr[] = array('url' => $url9, 'text' => $LANG_DATABOX_ADMIN['datadelete']);
    $menu_arr[] = array('url' => $_CONF['site_admin_url'], 'text' => $LANG_ADMIN['admin_home']);
    $retval .= ADMIN_createMenu($menu_arr, $LANG_DATABOX_ADMIN['instructions'], plugin_geticon_databox());
    return $retval;
}