448 Commits

Author SHA1 Message Date
skodak
e1c8b46a9d more cleaning of url parameter in redirect() - SC#100 2005-04-20 20:45:43 +00:00
julmis
572fe9ab57 Load htmlarea script only once. 2005-04-20 19:12:28 +00:00
gustav_delius
52d55cfc51 improved navigation bar for module editing form 2005-04-19 14:58:16 +00:00
moodler
0f7d4e5e8a Cleaner updating of buttons and scales 2005-04-15 13:41:57 +00:00
urs_hunkler
a691a4ba92 I added class="active" to the tabs function. With this class each kind of tab has a special class and so the hover effect can be applied only to normal tabs, not to the selected and not to the inactive ones. I think it is a better signal for the user to get feedback for those tabs only which will react and change something on a click.
The behavior of the existing tabs in "standard" are not affected.
2005-04-14 21:43:18 +00:00
moodler
560811bbc9 Header and footer need to come from current_theme Always 2005-04-14 18:27:48 +00:00
moodler
dc28eedec4 button_to_popup_window can now return a string 2005-04-14 13:56:29 +00:00
moodler
ce50cc7018 Don't have a cow when a Wiki text is encountered 2005-04-12 03:14:29 +00:00
thepurpleblob
6a6495ff8f Removed wiki-like from list of formatting options. Any that shows up now
will simply generate an error.
2005-04-11 13:46:06 +00:00
defacer
fdae5b1314 The strict type checking was causing trouble. In any case, forcing arrays to
NOT mix integer and string keys is a good workaround.
2005-04-10 09:19:28 +00:00
defacer
97e28cc66d Make choose_from_menu behave correctly in the obscure case where an array
contains a zero key and the "selected" variable is a string. Argh.
2005-04-08 19:32:31 +00:00
martinlanghoff
853df85e56 Performance/footprint profiling patch complete -- is enabled by CFG->default>7 or by a few defines in your config.php. 2005-04-07 00:11:28 +00:00
martinlanghoff
c2fd9e955a Improved performance info reporting and logging. Needs some work on the configuration front still. 2005-04-06 07:34:05 +00:00
julmis
a2b3f884b8 Fixing Bug #2830 - HTML editor not working at all in current HEAD 2005-04-03 12:15:45 +00:00
moodler
b8cea9b2de Added some performance monitoring functions into the core 2005-04-01 10:00:18 +00:00
moodler
5485e65387 Remove a notice 2005-04-01 09:25:45 +00:00
martinlanghoff
a9a9bdba55 Merged from MOODLE_14_STABLE - insert_record() - major efficiency improvements for Postgres databases on insert. Also fixed many calls to insert_record() which discard the returned record id to not ask for the record id. 2005-04-01 05:55:10 +00:00
moodler
a4a65bf6f6 Added cellspacing to sideblock 2005-04-01 02:26:28 +00:00
moodler
fd9d1ff316 Make the ID of textarea more unique 2005-03-30 13:32:39 +00:00
moodler
36c446cbe8 Removing excess styles 2005-03-30 12:31:00 +00:00
moodler
b3ab80aad2 Restoring extra span to navmenulist 2005-03-30 11:54:58 +00:00
moodler
cc7cd917d4 Removed some German, and added styles and icons to the navmenulist 2005-03-30 03:41:37 +00:00
urs_hunkler
143211e5da I expanded the list navmenulist for better handling with:
_ a header
_ spans for the section titles

It's still work in progress
2005-03-29 21:08:17 +00:00
moodler
2507b2f5ea OK,the navbarlist is no longer meant to be called directly ... it's
rather more efficient and useful to piggy-back it onto the navbar function.

You can control it with

$THEME->makenavmenulist = true;

/// By setting this to true, then you will have access to a
/// new variable in your header.html and footer.html called
/// $navmenulist ... this contains a simple XHTML menu of
/// all activities in the current course, mostly useful for
/// creating popup navigation menus and so on.
2005-03-29 14:22:13 +00:00
moodler
f713e27052 Forgot a tag 2005-03-29 13:48:25 +00:00
moodler
dfe6617484 Better XHTML on my new function 2005-03-29 13:46:20 +00:00
moodler
f3a74e6817 A new function navmenulist which simply returns a UL list containing
all the modules in a course.

This is so theme designers can start experimenting with popup menus etc

From header.html or footer.html, you can use code like this to get the data:

<?php  if (is_object($course)) {
           $list = navmenulist($course, 50);
           echo '<div id="floatnav">'.$list.'</div>';
       }
?>
2005-03-29 13:37:08 +00:00
stronk7
188e4dd9a3 Now print_recent_activity_note() supports filterall (in text). 2005-03-27 23:48:15 +00:00
stronk7
2a3affe991 Now format_string() uses an in-memory cache per request to make
things faster. Really noticeable in logs page!
2005-03-27 20:57:50 +00:00
moodler
a77ac3dc49 Added homelink and sitelink style distinction 2005-03-27 17:07:09 +00:00
moodler
031f8487b0 Added row classes to the tab rows 2005-03-27 15:28:35 +00:00
moodler
c01f71d4a4 FIxed some XHTML compliance ... Bug 2798 2005-03-27 05:43:49 +00:00
moodler
9e0d19831b Fixed footer navigation 2005-03-27 05:23:39 +00:00
stronk7
9870dbe5b6 Now the "jump to" menu (navmenu) supports filterall. 2005-03-26 19:02:56 +00:00
defacer
45daee10f3 Fix some notices. 2005-03-26 13:38:21 +00:00
moodler
f940ee41b8 Need to rename variables in footer nav menu .... urgh, not pretty but works 2005-03-26 07:26:27 +00:00
moodler
0d741155df A slightly yucky hack where variables in the header are kept around
until the footer is shown, allowing them to be used there too
2005-03-26 06:51:33 +00:00
stronk7
3e6691eebb Added option to format_string to take out all the links in the string.
Useful because a lot of times the string itself is showed like a link
and we cannot nest links.
2005-03-26 01:07:23 +00:00
moodler
d45fd4ddbd Removed styles_moz.css from default (it doesn't validate and prevents
validation in fact)
2005-03-25 17:15:02 +00:00
stronk7
7b2c5e72ce Added the format_string() function to allow filter processing
to small texts when $CFG->filterall is enabled.
2005-03-25 16:24:43 +00:00
moodler
6ba172fb18 Print the names of the included files at the top of the style sheets 2005-03-24 13:41:42 +00:00
moodler
08396bb270 New function to close current window: close_window 2005-03-22 17:31:04 +00:00
moodler
e299f862a6 When in editing mode, add "editing" class to the body. bug 2781 2005-03-21 08:26:14 +00:00
moodler
3f1f367d04 Add "header" class to headingblocks 2005-03-18 14:35:05 +00:00
moodler
3a1eca0433 New function print_error accepts an error code instead of a string
(from error.php)
2005-03-18 12:10:00 +00:00
moodler
027b0fe755 pritn_tabs will output by default 2005-03-15 09:47:41 +00:00
moodler
f88ddd6741 New class and function to print tabs (SE) 2005-03-15 08:49:14 +00:00
moodler
2d40fc054f Use $CFG->themedir and $CFG->themewww everywhere 2005-03-14 13:29:51 +00:00
moodler
6ee8277fc1 Moved print_headingblock to proper place 2005-03-13 14:54:24 +00:00
moodler
7ff9860db0 This change will break themes for sideblock, but now all the main TH cells that use
the standard kind of look (eg gradient) have a consistent class "th.header"
2005-03-13 13:50:23 +00:00