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

« back to all changes in this revision

Viewing changes to mod/data/settings.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: settings.php,v 1.1.2.2 2007/12/19 17:38:47 skodak Exp $
 
2
 
 
3
if (empty($CFG->enablerssfeeds)) {
 
4
    $options = array(0 => get_string('rssglobaldisabled', 'admin'));
 
5
    $str = get_string('configenablerssfeeds', 'data').'<br />'.get_string('configenablerssfeedsdisabled2', 'admin');
 
6
 
 
7
} else {
 
8
    $options = array(0=>get_string('no'), 1=>get_string('yes'));
 
9
    $str = get_string('configenablerssfeeds', 'data');
 
10
}
 
11
$settings->add(new admin_setting_configselect('data_enablerssfeeds', get_string('enablerssfeeds', 'admin'),
 
12
                   $str, 0, $options));
 
13
 
 
14
?>