⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 openlitepublish.php

📁 很棒的在线教学系统
💻 PHP
字号:
<?php // $Id: openlitepublish.php,v 1.3 2007/10/09 21:43:30 iarenaza Exp $    require_once("../../../../../config.php");    if (empty($CFG->hivehost) or empty($CFG->hiveport) or empty($CFG->hiveprotocol) or empty($CFG->hivepath)) {        print_header();        notify('A Hive repository is not yet configured in Moodle.  Please see Resource settings.');        print_footer();        die;    }    if (empty($SESSION->HIVE_SESSION)) {        print_header();        notify('You do not have access to the Hive repository. Moodle signs you into Hive when you log in. This process may have failed.');        close_window_button();        print_footer();        die;    }//================================================    $stylesheets = '';    foreach ($CFG->stylesheets as $stylesheet) {        if(empty($stylesheets)) {          $stylesheets = $stylesheet;        } else {          $stylesheets .= '%26'.$stylesheet;        }    }$query  = '';$query .= 'HIVE_REF=hin:hive@LMS%20Publish';$query .= '&HIVE_RET=ORG';$query .= '&HIVE_REQ=2113';$query .= '&HIVE_PROD=0';$query .= '&HIVE_CURRENTBUREAUID='.$CFG->decsbureauid;$query .= '&HIVE_BUREAU='.$CFG->decsbureauid;$query .= '&HIVE_ITEMTYPE='.$CFG->decsitemtypeid;$query .= '&mkurl='.$CFG->wwwroot.'/mod/resource/type/repository/hive/makelink.php';$query .= '&mklms=Moodle';$query .= '&HIVE_SEREF='.$CFG->wwwroot.'/sso/hive/expired.php';$query .= '&HIVE_SESSION='.$SESSION->HIVE_SESSION;$query .= '&mklmsstyle='.$stylesheets;redirect($CFG->hiveprotocol .'://'. $CFG->hivehost .':'. $CFG->hiveport .''. $CFG->hivepath .'?'.$query);?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -