~ubuntu-branches/ubuntu/jaunty/moodle/jaunty

« back to all changes in this revision

Viewing changes to enrol/authorize/index.php

  • Committer: Bazaar Package Importer
  • Author(s): Jordan Mantha, Matt Oquist
  • Date: 2009-02-25 15:16:22 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20090225151622-0ekt1liwhv2obfza
Tags: 1.9.4.dfsg-0ubuntu1
* Merge with Debian git (Closes LP: #322961, #239481, #334611):
  - use Ubuntu's smarty lib directory for linking
  - use internal yui library 
  - add update-notifier support back in

[Matt Oquist]
  * renamed prerm script
  * significantly rewrote postinst and other maintainer scripts to improve
    user experience and package maintainability
    (Closes LP: #225662, #325450, #327843, #303078, #234609)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?php // $Id: index.php,v 1.39 2006/11/12 13:26:14 ethem Exp $
 
1
<?php // $Id: index.php,v 1.40.2.1 2008/02/11 15:39:13 ethem Exp $
2
2
 
3
3
/// Load libraries
4
4
    require_once('../../config.php');
 
5
    require_once('const.php');
5
6
    require_once('locallib.php');
 
7
    require_once('localfuncs.php');
 
8
    require_once('authorizenetlib.php');
6
9
 
7
10
/// Parameters
8
11
    $orderid  = optional_param('order', 0, PARAM_INT);
31
34
 
32
35
/// Print header
33
36
    $strpaymentmanagement = get_string('paymentmanagement', 'enrol_authorize');
34
 
    print_header_simple($strpaymentmanagement, "", "<a href=\"index.php\">$strpaymentmanagement</a>");
 
37
    $navlinks = array();
 
38
    $navlinks[] = array('name' => $strpaymentmanagement, 'link' => 'index.php', 'type' => 'misc');
 
39
    $navigation = build_navigation($navlinks);
 
40
 
 
41
    print_header_simple($strpaymentmanagement, "", $navigation);
35
42
 
36
43
/// If orderid is empty, user wants to see all orders
37
44
    if (empty($orderid)) {