Commit graph

2099 commits

Author SHA1 Message Date
moodler
a5c411d4c2 Smaller font 2003-04-25 09:01:01 +00:00
moodler
583a7283e9 Edit my profile link goes straight to the edit screen 2003-04-25 08:59:10 +00:00
moodler
4d4267739c Some minor visual improvements - firstname/lastname separated, initialised some variables 2003-04-25 07:15:12 +00:00
moodler
a282d0ffda Adding user's name at the top of the course page.
Just experimenting with it there for a while ... feedback welcome
2003-04-25 06:40:30 +00:00
moodler
67b0821af9 Fixed a typo, see bug 361 2003-04-24 14:37:22 +00:00
stronk7
fec5a6a63f Changed the get_array_of_activities function to return the visible property too 2003-04-23 16:37:37 +00:00
stronk7
c7da6f7a8f Bug #363. When everyting is hidden at main-menu, error occurs. Changed the get_all_mods function to check this. 2003-04-22 20:46:12 +00:00
stronk7
e6cf424727 Bug #261 closed. Appended course short-name to distinguish courses
when assigning teacher.
2003-04-22 19:27:11 +00:00
moodler
32dcc87484 Fixed new bug that was preventing news being shown on course page 2003-04-18 07:25:58 +00:00
moodler
fc6a91994e Robustness on a variable 2003-04-18 07:25:32 +00:00
moodler
bf3bc898ac Assigned $strsearchresults 2003-04-18 01:57:24 +00:00
moodler
a00283d6cd Clear a variable, just in case 2003-04-17 15:46:39 +00:00
moodler
c1d9daca3c Clear the variable, just in case 2003-04-17 15:45:57 +00:00
moodler
7226ce02b1 Robustness for $course variable 2003-04-17 13:20:26 +00:00
moodler
1acfbce5b6 Hide/show individual activities in any section
Code submitted by Eloy Lafuente (thanks!) for 1.0.8 ... I hand-merged it
into 1.0.9.
2003-04-14 15:11:09 +00:00
paca70
5e776a02ad To check string sizes 2003-04-11 12:05:21 +00:00
moodler
be09831ac3 More info about admin location and a fix 2003-04-10 13:57:21 +00:00
moodler
dae73c05e9 New $CFG->admin directory can override the location of the admin
directory.

Useful because some web hosts use /admin for other things.
2003-04-10 13:46:52 +00:00
moodler
6a3461ad1c Links to admin page in header are now relative 2003-03-21 04:56:05 +00:00
moodler
746665838a More robustness on checking sequence variables 2003-03-21 04:53:08 +00:00
moodler
f8430195d9 Small fix to avoid PHP warnings 2003-03-21 04:49:29 +00:00
moodler
3ac1dedc35 Added some popup help for topic/week summaries 2003-03-11 05:57:00 +00:00
moodler
1e5a2bf584 You can now use Richtext editor to edit section texts, plus the page is a
bit more consistent now
2003-03-11 05:43:39 +00:00
moodler
068e57cebc Courses are forced to have unique shortnames (see bug 299) 2003-03-01 12:52:04 +00:00
moodler
7a361c8b55 Removed save_session() - no longer needed. 2003-02-27 02:46:37 +00:00
moodler
ff20ee79f6 Use caching if necessary, so that teachers can't lock themselves out
accidentally during the current session.
2003-02-26 05:58:44 +00:00
moodler
d92a53d182 No need for ismainteacher() ... it's enough to check that the user is
a teacher in a course, and a creator.
2003-02-26 05:55:31 +00:00
moodler
c0f271aa5c Cleanups for course creator. 2003-02-26 04:18:46 +00:00
paca70
d7466bdecb Redirect teachers to course after coursecreation. 2003-02-25 10:45:37 +00:00
moodler
5b337cdf3b No need for course creators to have a link to the admin page. 2003-02-25 04:22:57 +00:00
moodler
8b2fc31ce0 Fix link in admin links 2003-02-25 03:57:14 +00:00
paca70
1924074c76 Added support for nonadmin course creation.
Course creators are managed by /admin/creator.php , same way that admins.
Or if authetication module have 'auth_iscreator'-function (right now only ldap-module have) ,
users are added to creators at login time.
2003-02-24 18:48:55 +00:00
moodler
2a231ed650 Remove English word 'ago' 2003-02-16 09:22:52 +00:00
moodler
de5aabd2d2 Password had no default 2003-01-20 09:30:24 +00:00
moodler
fdf5a1e2fb Changes to Course catagery editor to prevent duplicates 2003-01-17 02:03:42 +00:00
moodler
722d4d1e14 Cleaned up the logic a bit 2003-01-16 11:57:34 +00:00
moodler
dcde9f020a Displayed time formats are now stored in lang files
(see the new strftime* strings) so they can be customised per language
2003-01-15 10:55:54 +00:00
moodler
7af6281f22 Don't bother working with empty course modules (can happen when an
module is uninstalled improperly)
2003-01-14 14:56:57 +00:00
moodler
9ae687afb0 A little more robustness 2003-01-13 14:11:05 +00:00
moodler
13770d0c36 More fixes for robustness 2003-01-13 12:16:46 +00:00
moodler
ce78926df0 Small robustness fixes 2003-01-06 13:55:37 +00:00
moodler
3bd402300e Shot down some rebel strings 2003-01-06 02:43:50 +00:00
moodler
b0e3a92523 Clean sweep through all the important changing all include(), include_once()
and require() to require_once()
2003-01-05 14:19:20 +00:00
moodler
8b3235f57f Fixes to use new mysql module with frame 2003-01-05 12:00:57 +00:00
moodler
607809b3ba OK a number of small changes here.
Firstly, I'm replacing all use of old-style global variables like
$HTTY_REFERER with their new-style equivalent $_SERVER["HTTP_REFERER"]
Also using $_POST instead $HTTP_POST_VARS  etc

Secondly, if gdversion == 0 (ie GD is not installed) then:

 - users are not even allowed to upload new images
 - graphs now just print a message instead of failing.

this allows Moodle to still be used even if GD is not present
2003-01-05 06:45:20 +00:00
moodler
15ac90653d Replaced &sect with &sect to avoid some buggy browsers 2003-01-03 05:33:17 +00:00
moodler
14217044a5 Some little fixes 2003-01-02 15:25:51 +00:00
moodler
36b4f9852e buggy_referer is dead! Long live buggy_referer!
Should be fixed now.  As a bonus, I've removed all the uses of
HTTP_POST_VARS from all scripts.

All forms should use the new data_submitted() function to collect
form data (it does the match_referer thing internally now).

Much nicer.
2003-01-02 14:49:23 +00:00
moodler
a44d18e70e More consistency when printing editing stuff in section 2003-01-02 06:44:20 +00:00
moodler
1c0200e074 More little robustness things 2003-01-01 08:21:19 +00:00