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

« back to all changes in this revision

Viewing changes to course/editsection.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: editsection.php,v 1.24 2006/10/17 12:41:55 thepurpleblob Exp $
 
1
<?php // $Id: editsection.php,v 1.25 2007/08/17 19:09:11 nicolasconnault Exp $
2
2
      // Edit the introduction of a section
3
3
 
4
4
    require_once("../config.php");
29
29
        }
30
30
 
31
31
        add_to_log($course->id, "course", "editsection", "editsection.php?id=$section->id", "$section->section");
32
 
        
 
32
 
33
33
        redirect("view.php?id=$course->id");
34
34
        exit;
35
35
    }
57
57
        $strsummaryof = get_string('summaryof', '', " $sectionname $form->section");
58
58
    }
59
59
 
60
 
    print_header_simple($stredit, '', $stredit, 'theform.summary' );
 
60
    print_header_simple($stredit, '', build_navigation(array(array('name' => $stredit, 'link' => null, 'type' => 'misc'))), 'theform.summary' );
61
61
 
62
62
    print_heading($strsummaryof);
63
63
    print_simple_box_start('center');
64
64
    include('editsection.html');
65
65
    print_simple_box_end();
66
66
 
67
 
    if ($usehtmleditor) { 
 
67
    if ($usehtmleditor) {
68
68
        use_html_editor("summary");
69
69
    }
70
70
    print_footer($course);