当前位置: 首页>>代码示例>>PHP>>正文


PHP getModuleEntry函数代码示例

本文整理汇总了PHP中getModuleEntry函数的典型用法代码示例。如果您正苦于以下问题:PHP getModuleEntry函数的具体用法?PHP getModuleEntry怎么用?PHP getModuleEntry使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了getModuleEntry函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: _

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
@session_start();
if (isActionAccessible($guid, $connection2, "/modules/External Assessment/externalAssessment_manage_details_delete.php") == FALSE) {
    //Acess denied
    print "<div class='error'>";
    print _("You do not have access to this action.");
    print "</div>";
} else {
    //Proceed!
    print "<div class='trail'>";
    print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/externalAssessment.php'>" . _('View All Assessments') . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/externalAssessment_details.php&gibbonPersonID=" . $_GET["gibbonPersonID"] . "'>" . _('Student Details') . "</a> > </div><div class='trailEnd'>" . _('Delete Assessment') . "</div>";
    print "</div>";
    if (isset($_GET["deleteReturn"])) {
        $deleteReturn = $_GET["deleteReturn"];
    } else {
        $deleteReturn = "";
    }
    $deleteReturnMessage = "";
    $class = "error";
    if (!($deleteReturn == "")) {
        if ($deleteReturn == "fail0") {
            $deleteReturnMessage = _("Your request failed because you do not have access to this action.");
        } else {
            if ($deleteReturn == "fail1") {
                $deleteReturnMessage = _("Your request failed because your inputs were invalid.");
            } else {
开发者ID:actcattest001,项目名称:core,代码行数:31,代码来源:externalAssessment_manage_details_delete.php

示例2: _

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
@session_start();
//Module includes
include "./modules/" . $_SESSION[$guid]["module"] . "/moduleFunctions.php";
if (isActionAccessible($guid, $connection2, "/modules/Finance/invoices_manage_add.php") == FALSE) {
    //Acess denied
    print "<div class='error'>";
    print _("You do not have access to this action.");
    print "</div>";
} else {
    //Proceed!
    print "<div class='trail'>";
    print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/Finance/invoices_manage.php&gibbonSchoolYearID=" . $_GET["gibbonSchoolYearID"] . "'>" . _('Manage Invoices') . "</a> > </div><div class='trailEnd'>" . _('Add Fees & Invoices') . "</div>";
    print "</div>";
    if (isset($_GET["addReturn"])) {
        $addReturn = $_GET["addReturn"];
    } else {
        $addReturn = "";
    }
    $addReturnMessage = "";
    $class = "error";
    if (!($addReturn == "")) {
        if ($addReturn == "fail0") {
            $addReturnMessage = _("Your request failed because you do not have access to this action.");
        } else {
            if ($addReturn == "fail2") {
                $addReturnMessage = _("Your request failed due to a database error.");
            } else {
开发者ID:actcattest001,项目名称:core,代码行数:30,代码来源:invoices_manage_add.php

示例3: _

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
@session_start();
if (isActionAccessible($guid, $connection2, "/modules/User Admin/medicalForm_manage_add.php") == FALSE) {
    //Acess denied
    print "<div class='error'>";
    print _("You do not have access to this action.");
    print "</div>";
} else {
    //Proceed!
    print "<div class='trail'>";
    print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/User Admin/medicalForm_manage.php'>" . _('Manage Medical Forms') . "</a> > </div><div class='trailEnd'>" . _('Add Medical Form') . "</div>";
    print "</div>";
    if (isset($_GET["addReturn"])) {
        $addReturn = $_GET["addReturn"];
    } else {
        $addReturn = "";
    }
    $addReturnMessage = "";
    $class = "error";
    if (!($addReturn == "")) {
        if ($addReturn == "fail0") {
            $addReturnMessage = _("Your request failed because you do not have access to this action.");
        } else {
            if ($addReturn == "fail2") {
                $addReturnMessage = _("Your request failed due to a database error.");
            } else {
开发者ID:dpredster,项目名称:core,代码行数:31,代码来源:medicalForm_manage_add.php

示例4: _

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
@session_start();
if (isActionAccessible($guid, $connection2, "/modules/User Admin/family_manage_edit_editChild.php") == FALSE) {
    //Acess denied
    print "<div class='error'>";
    print _("You do not have access to this action.");
    print "</div>";
} else {
    //Proceed!
    print "<div class='trail'>";
    print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/User Admin/family_manage.php'>" . _('Manage Families') . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/User Admin/family_manage_edit.php&gibbonFamilyID=" . $_GET["gibbonFamilyID"] . "'>" . _('Edit Family') . "</a> > </div><div class='trailEnd'>" . _('Edit Child') . "</div>";
    print "</div>";
    if (isset($_GET["updateReturn"])) {
        $updateReturn = $_GET["updateReturn"];
    } else {
        $updateReturn = "";
    }
    $updateReturnMessage = "";
    $class = "error";
    if (!($updateReturn == "")) {
        if ($updateReturn == "fail0") {
            $updateReturnMessage = _("Your request failed because you do not have access to this action.");
        } else {
            if ($updateReturn == "fail1") {
                $updateReturnMessage = _("Your request failed because your inputs were invalid.");
            } else {
开发者ID:actcattest001,项目名称:core,代码行数:31,代码来源:family_manage_edit_editChild.php

示例5: catch

         $sql = "SELECT gibbonCourse.nameShort AS course, gibbonCourseClass.nameShort AS class, gibbonCourseClass.gibbonCourseClassID, gibbonCourse.gibbonDepartmentID, gibbonYearGroupIDList FROM gibbonCourse, gibbonCourseClass, gibbonCourseClassPerson WHERE gibbonCourse.gibbonCourseID=gibbonCourseClass.gibbonCourseID AND gibbonCourseClass.gibbonCourseClassID=gibbonCourseClassPerson.gibbonCourseClassID AND gibbonCourseClassPerson.gibbonPersonID=:gibbonPersonID AND role='Teacher' AND gibbonCourseClass.gibbonCourseClassID=:gibbonCourseClassID ORDER BY course, class";
     }
     $result = $connection2->prepare($sql);
     $result->execute($data);
 } catch (PDOException $e) {
     print "<div class='error'>" . $e->getMessage() . "</div>";
 }
 if ($result->rowCount() != 1) {
     print "<div class='error'>";
     print _("The selected record does not exist, or you do not have access to it.");
     print "</div>";
 } else {
     //Let's go!
     $row = $result->fetch();
     print "<div class='trail'>";
     print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/markbook_view.php&gibbonCourseClassID=" . $_GET["gibbonCourseClassID"] . "'>" . _('View') . " " . $row["course"] . "." . $row["class"] . " " . _('Markbook') . "</a> > </div><div class='trailEnd'>" . _('Set Personalised Attainment Targets') . "</div>";
     print "</div>";
     if (isset($_GET["updateReturn"])) {
         $updateReturn = $_GET["updateReturn"];
     } else {
         $updateReturn = "";
     }
     $updateReturnMessage = "";
     $class = "error";
     if (!($updateReturn == "")) {
         if ($updateReturn == "fail0") {
             $updateReturnMessage = _("Your request failed because you do not have access to this action.");
         } else {
             if ($updateReturn == "fail1") {
                 $updateReturnMessage = _("Your request failed because your inputs were invalid.");
             } else {
开发者ID:actcattest001,项目名称:core,代码行数:31,代码来源:markbook_edit_targets.php

示例6: dateConvertBack

 } else {
     $extra = dateConvertBack($guid, $date);
 }
 $params = "";
 if ($_GET["date"] != "") {
     $params = $params . "&date=" . $_GET["date"];
 }
 if ($_GET["viewBy"] != "") {
     $params = $params . "&viewBy=" . $_GET["viewBy"];
 }
 if ($_GET["gibbonCourseClassID"] != "") {
     $params = $params . "&gibbonCourseClassID=" . $_GET["gibbonCourseClassID"];
 }
 $params = $params . "&subView={$subView}";
 print "<div class='trail'>";
 print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/planner.php{$params}'>" . _('Planner') . " {$extra}</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/planner_view_full.php{$params}&gibbonPlannerEntryID={$gibbonPlannerEntryID}'>" . _('View Lesson Plan') . "</a> > </div><div class='trailEnd'>" . _('Add Comment') . "</div>";
 print "</div>";
 if (isset($_GET["updateReturn"])) {
     $updateReturn = $_GET["updateReturn"];
 } else {
     $updateReturn = "";
 }
 $updateReturnMessage = "";
 $class = "error";
 if (!($updateReturn == "")) {
     if ($updateReturn == "fail0") {
         $updateReturnMessage = _("Your request failed because you do not have access to this action.");
     } else {
         if ($updateReturn == "fail1") {
             $updateReturnMessage = _("Your request failed because your inputs were invalid.");
         } else {
开发者ID:actcattest001,项目名称:core,代码行数:31,代码来源:planner_view_full_submit_edit.php

示例7: catch

     $sql2 = "SELECT * FROM gibbonInternalAssessmentColumn WHERE gibbonInternalAssessmentColumnID=:gibbonInternalAssessmentColumnID";
     $result2 = $connection2->prepare($sql2);
     $result2->execute($data2);
 } catch (PDOException $e) {
     print "<div class='error'>" . $e->getMessage() . "</div>";
 }
 if ($result2->rowCount() != 1) {
     print "<div class='error'>";
     print _("The selected record does not exist, or you do not have access to it.");
     print "</div>";
 } else {
     //Let's go!
     $row = $result->fetch();
     $row2 = $result2->fetch();
     print "<div class='trail'>";
     print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/internalAssessment_manage.php&gibbonCourseClassID=" . $_GET["gibbonCourseClassID"] . "'>" . _('Manage') . " " . $row["course"] . "." . $row["class"] . " " . _('Internal Assessments') . "</a> > </div><div class='trailEnd'>" . _('Delete Column') . "</div>";
     print "</div>";
     if (isset($_GET["deleteReturn"])) {
         $deleteReturn = $_GET["deleteReturn"];
     } else {
         $deleteReturn = "";
     }
     $deleteReturnMessage = "";
     $class = "error";
     if (!($deleteReturn == "")) {
         if ($deleteReturn == "fail0") {
             $deleteReturnMessage = _("Your request failed because you do not have access to this action.");
         } else {
             if ($deleteReturn == "fail1") {
                 $deleteReturnMessage = _("Your request failed because your inputs were invalid.");
             } else {
开发者ID:dpredster,项目名称:core,代码行数:31,代码来源:internalAssessment_manage_delete.php

示例8: _

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
@session_start();
if (isActionAccessible($guid, $connection2, "/modules/School Admin/schoolYearSpecialDay_manage_edit.php") == FALSE) {
    //Acess denied
    print "<div class='error'>";
    print _("You do not have access to this action.");
    print "</div>";
} else {
    //Proceed!
    print "<div class='trail'>";
    print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/schoolYearSpecialDay_manage.php&gibbonSchoolYearID=" . $_GET["gibbonSchoolYearID"] . "'>" . _('Manage Special Days') . "</a> > </div><div class='trailEnd'>" . _('Edit Special Day') . "</div>";
    print "</div>";
    if (isset($_GET["updateReturn"])) {
        $updateReturn = $_GET["updateReturn"];
    } else {
        $updateReturn = "";
    }
    $updateReturnMessage = "";
    $class = "error";
    if (!($updateReturn == "")) {
        if ($updateReturn == "fail0") {
            $updateReturnMessage = _("Your request failed because you do not have access to this action.");
        } else {
            if ($updateReturn == "fail1") {
                $updateReturnMessage = _("Your request failed because your inputs were invalid.");
            } else {
开发者ID:actcattest001,项目名称:core,代码行数:31,代码来源:schoolYearSpecialDay_manage_edit.php

示例9: array

 try {
     $data = array("gibbonTTColumnID" => $gibbonTTColumnID);
     $sql = "SELECT name AS columnName FROM gibbonTTColumn WHERE gibbonTTColumnID=:gibbonTTColumnID";
     $result = $connection2->prepare($sql);
     $result->execute($data);
 } catch (PDOException $e) {
     print "<div class='error'>" . $e->getMessage() . "</div>";
 }
 if ($result->rowCount() != 1) {
     print "<div class='error'>";
     print _("The specified record does not exist.");
     print "</div>";
 } else {
     $row = $result->fetch();
     print "<div class='trail'>";
     print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/ttColumn.php'>" . _('Manage Columns') . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/ttColumn_edit.php&gibbonTTColumnID={$gibbonTTColumnID}'>" . _('Edit Column') . "</a> > </div><div class='trailEnd'>" . _('Add Column Row') . "</div>";
     print "</div>";
     if (isset($_GET["addReturn"])) {
         $addReturn = $_GET["addReturn"];
     } else {
         $addReturn = "";
     }
     $addReturnMessage = "";
     $class = "error";
     if (!($addReturn == "")) {
         if ($addReturn == "fail0") {
             $addReturnMessage = _("Your request failed because you do not have access to this action.");
         } else {
             if ($addReturn == "fail2") {
                 $addReturnMessage = _("Your request failed due to a database error.");
             } else {
开发者ID:dpredster,项目名称:core,代码行数:31,代码来源:ttColumn_edit_row_add.php

示例10: _

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
@session_start();
if (isActionAccessible($guid, $connection2, "/modules/Timetable Admin/tt_delete.php") == FALSE) {
    //Acess denied
    print "<div class='error'>";
    print _("You do not have access to this action.");
    print "</div>";
} else {
    //Proceed!
    print "<div class='trail'>";
    print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/tt.php&gibbonSchoolYearID=" . $_GET["gibbonSchoolYearID"] . "'>" . _('Manage Timetables') . "</a> > </div><div class='trailEnd'>" . _('Import Timetable Data') . "</div>";
    print "</div>";
    if (isset($_GET["importReturn"])) {
        $importReturn = $_GET["importReturn"];
    } else {
        $importReturn = "";
    }
    $importReturnMessage = "";
    $class = "error";
    if (!($importReturn == "")) {
        if ($importReturn == "fail0") {
            $importReturnMessage = _("Your request failed because you do not have access to this action.");
        } else {
            if ($importReturn == "fail1") {
                $importReturnMessage = _("Your request failed because your inputs were invalid.");
            } else {
开发者ID:dpredster,项目名称:core,代码行数:31,代码来源:tt_import.php

示例11: array

     $data = array("gibbonSchoolYearID" => $_SESSION[$guid]["gibbonSchoolYearID"], "gibbonPersonID" => $_SESSION[$guid]["gibbonPersonID"], "gibbonCourseClassID" => $gibbonCourseClassID);
     $sql = "SELECT gibbonCourseClassID, gibbonCourseClass.name, gibbonCourseClass.nameShort, gibbonCourse.gibbonCourseID, gibbonCourse.name AS courseName, gibbonCourse.nameShort as courseNameShort, gibbonCourse.description AS courseDescription, gibbonCourse.gibbonSchoolYearID, gibbonSchoolYear.name as yearName, gibbonYearGroupIDList FROM gibbonCourse JOIN gibbonCourseClass ON (gibbonCourseClass.gibbonCourseID=gibbonCourse.gibbonCourseID) JOIN gibbonDepartment ON (gibbonCourse.gibbonDepartmentID=gibbonDepartment.gibbonDepartmentID) JOIN gibbonDepartmentStaff ON (gibbonDepartmentStaff.gibbonDepartmentID=gibbonDepartment.gibbonDepartmentID) JOIN gibbonSchoolYear ON (gibbonCourse.gibbonSchoolYearID=gibbonSchoolYear.gibbonSchoolYearID) WHERE (role='Coordinator' OR role='Assistant Coordinator') AND gibbonPersonID=:gibbonPersonID AND gibbonCourse.gibbonSchoolYearID=:gibbonSchoolYearID AND gibbonCourseClassID=:gibbonCourseClassID";
     $result = $connection2->prepare($sql);
     $result->execute($data);
 } catch (PDOException $e) {
     print "<div class='error'>" . $e->getMessage() . "</div>";
 }
 if ($result->rowCount() != 1) {
     print "<div class='error'>";
     print _("The specified record cannot be found.");
     print "</div>";
 } else {
     //Let's go!
     $row = $result->fetch();
     print "<div class='trail'>";
     print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/studentEnrolment_manage.php'>" . _('Manage Student Enrolment') . "</a> > </div><div class='trailEnd'>" . sprintf(_('Edit %1$s.%2$s Enrolment'), $row["courseNameShort"], $row["name"]) . "</div>";
     print "</div>";
     if (isset($_GET["updateReturn"])) {
         $updateReturn = $_GET["updateReturn"];
     } else {
         $updateReturn = "";
     }
     $updateReturnMessage = "";
     $class = "error";
     if (!($updateReturn == "")) {
         if ($updateReturn == "fail0") {
             $updateReturnMessage = _("Your request failed because you do not have access to this action.");
         } else {
             if ($updateReturn == "fail1") {
                 $updateReturnMessage = _("Your request failed because your inputs were invalid.");
             } else {
开发者ID:dpredster,项目名称:core,代码行数:31,代码来源:studentEnrolment_manage_edit.php

示例12: _

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
@session_start();
if (isActionAccessible($guid, $connection2, "/modules/Finance/expenseApprovers_manage_delete.php") == FALSE) {
    //Acess denied
    print "<div class='error'>";
    print _("You do not have access to this action.");
    print "</div>";
} else {
    //Proceed!
    print "<div class='trail'>";
    print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/expenseApprovers_manage.php'>" . _('Manage Expense Approvers') . "</a> > </div><div class='trailEnd'>" . _('Delete Expense Approver') . "</div>";
    print "</div>";
    if (isset($_GET["deleteReturn"])) {
        $deleteReturn = $_GET["deleteReturn"];
    } else {
        $deleteReturn = "";
    }
    $deleteReturnMessage = "";
    $class = "error";
    if (!($deleteReturn == "")) {
        if ($deleteReturn == "fail0") {
            $deleteReturnMessage = _("Your request failed because you do not have access to this action.");
        } else {
            if ($deleteReturn == "fail1") {
                $deleteReturnMessage = _("Your request failed because your inputs were invalid.");
            } else {
开发者ID:actcattest001,项目名称:core,代码行数:31,代码来源:expenseApprovers_manage_delete.php

示例13: _

if (isActionAccessible($guid, $connection2, "/modules/Finance/invoices_manage_edit.php") == FALSE) {
    //Acess denied
    print "<div class='error'>";
    print _("You do not have access to this action.");
    print "</div>";
} else {
    //Check if school year specified
    $gibbonSchoolYearID = $_GET["gibbonSchoolYearID"];
    $gibbonFinanceInvoiceID = $_GET["gibbonFinanceInvoiceID"];
    $status = $_GET["status"];
    $gibbonFinanceInvoiceeID = $_GET["gibbonFinanceInvoiceeID"];
    $monthOfIssue = $_GET["monthOfIssue"];
    $gibbonFinanceBillingScheduleID = $_GET["gibbonFinanceBillingScheduleID"];
    //Proceed!
    print "<div class='trail'>";
    print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/Finance/invoices_manage.php&gibbonSchoolYearID=" . $_GET["gibbonSchoolYearID"] . "&gibbonFinanceInvoiceID={$gibbonFinanceInvoiceID}&gibbonSchoolYearID={$gibbonSchoolYearID}&status={$status}&gibbonFinanceInvoiceeID={$gibbonFinanceInvoiceeID}&monthOfIssue={$monthOfIssue}&gibbonFinanceBillingScheduleID={$gibbonFinanceBillingScheduleID}'>" . _('Manage Invoices') . "</a> > </div><div class='trailEnd'>" . _('Edit Invoice') . "</div>";
    print "</div>";
    if (isset($_GET["updateReturn"])) {
        $updateReturn = $_GET["updateReturn"];
    } else {
        $updateReturn = "";
    }
    $updateReturnMessage = "";
    $class = "error";
    if (!($updateReturn == "")) {
        if ($updateReturn == "fail0") {
            $updateReturnMessage = _("Your request failed because you do not have access to this action.");
        } else {
            if ($updateReturn == "fail1") {
                $updateReturnMessage = _("Your request failed because your inputs were invalid.");
            } else {
开发者ID:actcattest001,项目名称:core,代码行数:31,代码来源:invoices_manage_edit.php

示例14: array

     $data = array("gibbonLibraryItemID" => $gibbonLibraryItemID, "gibbonLibraryItemEventID" => $gibbonLibraryItemEventID);
     $sql = "SELECT gibbonLibraryItemEvent.*, gibbonLibraryItem.name AS name, gibbonLibraryItem.id FROM gibbonLibraryItem JOIN gibbonLibraryItemEvent ON (gibbonLibraryItem.gibbonLibraryItemID=gibbonLibraryItemEvent.gibbonLibraryItemID) WHERE gibbonLibraryItemEvent.gibbonLibraryItemID=:gibbonLibraryItemID AND gibbonLibraryItemEvent.gibbonLibraryItemEventID=:gibbonLibraryItemEventID";
     $result = $connection2->prepare($sql);
     $result->execute($data);
 } catch (PDOException $e) {
     print "<div class='error'>" . $e->getMessage() . "</div>";
 }
 if ($result->rowCount() != 1) {
     print "<div class='error'>";
     print _("The specified record cannot be found.");
     print "</div>";
 } else {
     //Let's go!
     $row = $result->fetch();
     print "<div class='trail'>";
     print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/library_lending.php'>" . _('Lending & Activity Log') . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/library_lending_item.php&gibbonLibraryItemID={$gibbonLibraryItemID}'>" . _('View Item') . "</a> > </div><div class='trailEnd'>" . _('Renew Item') . "</div>";
     print "</div>";
     if (isset($_GET["updateReturn"])) {
         $updateReturn = $_GET["updateReturn"];
     } else {
         $updateReturn = "";
     }
     $updateReturnMessage = "";
     $class = "error";
     if (!($updateReturn == "")) {
         if ($updateReturn == "fail0") {
             $updateReturnMessage = _("Your request failed because you do not have access to this action.");
         } else {
             if ($updateReturn == "fail1") {
                 $updateReturnMessage = _("Your request failed because your inputs were invalid.");
             } else {
开发者ID:dpredster,项目名称:core,代码行数:31,代码来源:library_lending_item_renew.php

示例15: _

but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
@session_start();
if (isActionAccessible($guid, $connection2, "/modules/School Admin/schoolYearTerm_manage_edit.php") == FALSE) {
    //Acess denied
    print "<div class='error'>";
    print _("You do not have access to this action.");
    print "</div>";
} else {
    print "<div class='trail'>";
    print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/schoolYearTerm_manage.php'>" . _('Manage Terms') . "</a> > </div><div class='trailEnd'>" . _('Edit Term') . "</div>";
    print "</div>";
    if (isset($_GET["updateReturn"])) {
        $updateReturn = $_GET["updateReturn"];
    } else {
        $updateReturn = "";
    }
    $updateReturnMessage = "";
    $class = "error";
    if (!($updateReturn == "")) {
        if ($updateReturn == "fail0") {
            $updateReturnMessage = _("Your request failed because you do not have access to this action.");
        } else {
            if ($updateReturn == "fail1") {
                $updateReturnMessage = _("Your request failed because your inputs were invalid.");
            } else {
开发者ID:dpredster,项目名称:core,代码行数:31,代码来源:schoolYearTerm_manage_edit.php


注:本文中的getModuleEntry函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。