479 Commits

Author SHA1 Message Date
skodak
95bfd2078b merged from MOODLE_15_STABLE 2005-07-04 20:23:53 +00:00
gustav_delius
fe88b99237 selected tab should not automatically become inactive. 2005-07-01 19:03:42 +00:00
defacer
20cbef6390 Merging from STABLE:
Improving Eloy's radio- and checkbox- generating functions to automagically
use <label>s with unique ids for improved usability. See discussion at
http://moodle.org/mod/forum/discuss.php?d=26139
2005-07-01 03:57:03 +00:00
stronk7
62af9bf9bb SC#126.
Merged from MOODLE_15_STABLE
2005-06-29 16:17:11 +00:00
stronk7
2481037f64 Added a function to print a standard html checkbox
Merged from MOODLE_15_STABLE
2005-06-28 16:55:01 +00:00
bawjaws
57e31b6b06 adding CSS class to default user picture so that it can be styled at the
same time as user uploaded images
2005-06-27 12:14:24 +00:00
stronk7
1c58f4402c Solved a problem where the '1' string was being cached to ''
because we concatenate true and it's evaluated like 1.
Bug 3623.
(http://moodle.org/bugs/bug.php?op=show&bugid=3623)
2005-06-27 00:24:04 +00:00
stronk7
531a3cb2a9 Added the choose_from_radio() function to
display groups of radiobuttons in a central way.
Part of bug 1430.
(http://moodle.org/bugs/bug.php?op=show&bugid=1430)

Merged from MOODLE_15_STABLE
2005-06-27 00:17:39 +00:00
stronk7
5982740d30 Now $CFG->allowobjectembed is working properly. Admins
will ignore this setting. Bug 3608.
(http://moodle.org/bugs/bug.php?op=show&bugid=3608)

Merged from MOODLE_15_STABLE
2005-06-25 15:42:44 +00:00
moodler
d046ae55ad Merged $CFG->allowobjectembed from stable 2005-06-05 05:40:24 +00:00
moodler
f941df22a0 Added mms as a protocol 2005-05-28 13:28:20 +00:00
moodler
255804071d Custom pix work again .... bug 3319 2005-05-22 15:34:07 +00:00
dhawes
f4065b8c41 New argument added to the print_paging_bar() function of weblib. A new argument was added. You can now specify a var name other than 'page' as the variable to be attached to your baseurl. This function's phpdoc comments were updated. 2005-05-22 00:50:37 +00:00
thepurpleblob
4a28b5caac Added function to convert text format value to internal name and vice versa. 2005-05-16 10:08:18 +00:00
moodler
a169b5ee3c Fixing styles for recent activity 2005-05-14 03:23:05 +00:00
urs_hunkler
8be944a090 added $selected to the list of tabs without links. It is better not to offer a link to the active page. 2005-05-12 23:16:32 +00:00
moodler
0bd79a45ca Some changes to the tabs so the XHTML validates (SE) 2005-05-12 09:10:58 +00:00
defacer
4c58e0289b Removing dead commented code. 2005-05-10 17:32:01 +00:00
defacer
c4d951e1f8 Here be DIVs. 2005-05-10 04:00:56 +00:00
defacer
b1aa9a39a2 Switching blocks to table-less format; IT DOESN'T WORK CORRECTLY YET.
Changing width="22" for /pix/help.gif to width="17"
2005-05-10 00:20:18 +00:00
moodler
59552aab4d Whoops! Bad typo!!! :-( 2005-05-09 16:29:10 +00:00
moodler
417375b7e3 Added $CFG->pagetheme for special this-page-only themes 2005-05-09 12:59:06 +00:00
moodler
ff17bbebce Information wasn't being printed on-screen before the javascript redirect
was kicking in. It was either a problem with the PHP flush() function or
in a browsers handling of half output XHTML.
Either way the fix was to include the delay in the javascript.
Messages during a redirect should now be displayed correctly.

Bug 3118. (SE)
2005-05-06 09:29:02 +00:00
urs_hunkler
3e8506b62f On the admin user page you select "forum posts" which becomes the active selection in the second row. This should be visualized in the tabs. Therefore I added the parameter "$activetwo" to the tabs functions to be able to set the class "activetwo" for the active tab in the second row. 2005-05-05 09:32:33 +00:00
moodler
158de84670 Better loggedinas string for guest users 2005-05-05 04:22:26 +00:00
moodler
a756cf1d01 Fixed group link! 2005-05-05 02:15:21 +00:00
stronk7
4e8f2e6ba3 Changed call from preg_replace() to preg_replace_callback() to avoid
some double backslashes present yet. This method doesn't addslashes()
automatically like the old one (so kses_stripslashes() is not needed).

All we have to to is to stripslashes() before calling kses and addslashes()
after it. Only in clean_param(), because params arrive always slashed
to Moodle. This seems to be the correct approach documented in:
http://sourceforge.net/project/shownotes.php?group_id=81853&release_id=302996
2005-05-04 23:09:43 +00:00
moodler
0549198cf0 A fix for kses problems with quotes ... 2005-05-04 18:25:35 +00:00
moodler
5eecb8cb57 Fixes from Mits for bug 3101 to fix multi-byte search results 2005-05-03 16:37:01 +00:00
moodler
cd76de7edc Some more "protocols" actually CSS tags 2005-05-03 16:09:39 +00:00
moodler
55b734fb84 Better support for language styles 2005-04-24 04:13:18 +00:00
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