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
moodler
4419aa8007
Added classes to major headings
2005-03-13 12:56:36 +00:00
moodler
5741a394ac
Added footer to maintenance message
2005-03-13 07:28:19 +00:00
moodler
8f7dc7f1c7
Variety of small fixes, but mostly related to how the recent activity
...
block is constructed. A new function exists to pump these notes out
in a standard way : print_recent_activity_note.
Module dependencies also updated because of this.
2005-03-10 13:30:57 +00:00
defacer
1656bb3e2f
Fix for bug 2701.
...
Credits for the report and the patch go to Samuli Karevaara.
2005-03-09 21:16:38 +00:00
moodler
430c6392a0
Just some tiny style fixes
2005-03-07 11:53:00 +00:00
moodler
27d2521242
Style for help link is "helplink"
2005-03-07 05:02:25 +00:00
defacer
591052a446
Doing away with generaltableheader
2005-03-06 20:26:42 +00:00
moodler
7885772188
Fixed sideblock styles to fit new simple naming scheming and added finer control
2005-03-05 12:22:33 +00:00
moodler
32d4301be8
Added callto: as an allowed protocol
2005-03-05 06:01:05 +00:00
moodler
01af49bb2d
WHoops!! Forgot to check this in!
2005-03-05 04:08:29 +00:00
moodler
c44d5d4215
Some cleaning up of user_login_string and SITE
2005-03-03 04:41:46 +00:00
gustav_delius
009f39beab
fixed bug caused by user_login_string() being called with course id instead of course object
2005-03-02 19:49:04 +00:00
moodler
0e18f8278b
FIxed the logininfo classes in some situations (bug 2657)
2005-03-01 02:49:10 +00:00
stronk7
68796e6b60
Avoid one notice at installation time (when wwwroot isn't set) and
...
the new qualified_me() needs it.
2005-03-01 00:11:35 +00:00
stronk7
b6e2260398
Experimental way to get the server name from wwwroot instead of
...
using such SERVER_NAME and HTTP_HOST variables.
It should help in servers having wrong Apache configurations, being
the cause of bad logins, referer problems....
Seems to work both under PHP 4.3 (linux) and PHP 5 (MacOS X).
Please, TEST it, specially in installation, upgrade and cron!
2005-02-28 09:04:37 +00:00
moodler
f685bf2eef
Fixed missing tag
2005-02-27 07:20:03 +00:00
skodak
48283ff638
slashargument test fix
2005-02-26 20:43:30 +00:00
moodler
bc01a2b8ea
Some little cleanups ... all auto-links to external URLs now use _blank
2005-02-25 13:11:18 +00:00
moodler
d3593a675d
user login string now always this style added
2005-02-25 06:20:53 +00:00
skodak
39ba6d586a
Slasharguments test for health center, please test
2005-02-24 21:14:32 +00:00
defacer
36b51cb5d1
Move the dimensions of the collapse/uncollapse graphic image to CSS.
2005-02-17 14:33:30 +00:00
moodler
ed3136ff1e
Adding styles to the user information
2005-02-16 10:34:02 +00:00
moodler
ee331e511f
Style for paging
2005-02-16 07:40:22 +00:00
moodler
3538a79693
New admin config variable 'allowuserblockhiding' will enable/disable the
...
collapsible blocks feature. It's on by default.
Also, removed thead/tbody from blocks (using th instead for the header).
2005-02-14 16:42:52 +00:00
moodler
56766f8592
More fixes to make custom themes work as expected.
...
I think it's pretty much perfect now.
2005-02-13 09:02:43 +00:00
moodler
9c4e6e2177
Really big cleanup of how "forced" themes were implemented.
...
Course themes now work better.
theme/xxxx/styles.php is now really short because all the logic
is in weblib.php.
2005-02-13 08:34:10 +00:00
gustav_delius
48e535bc35
Activities can now be hidden/shown from the activity editing page. Also for modules that know about groups the groupmode can be set from there. See bug 2533. This required adding to the mod.html files calls to new functions print_visible_setting() and print_groupmode_setting() which are combined in print_standard_coursemodule_settings().
...
The visibility of coursemodules is now always set through the function set_coursemodule_visible() in order to make sure that the associated events get updated in the calendar appropriately.
If moving a coursemodule to a hidden section then the module is set to hidden as well and its events are hidden in the calendar.
If deleting a coursemodule its events are deleted from the calendar.
The function choose_from_menu() has an extra optional argument $disabled which, when set to true, will disable the menu.
For the sake of consistency the function set_groupmode_for_module has been renamed to set_coursemodule_groupmode and the functions show_course_module() and hide_course_module() have been combined to set_coursemodule_visible().
2005-02-12 21:41:22 +00:00
defacer
9ecf051d4c
Styles and markup improvements.
2005-02-11 05:27:19 +00:00
moodler
32e2b30209
This more or less completes the PHP side of the 1.5 themes
...
Added $user->theme and $course->theme choices, controlled by admin
variables on the main config variables page.
By default this is all turned off, since multiple themes can be
a little disorienting.
A hidden feature is session themes ... you can change the theme
on any page by passing theme=xxxx as a parameter. By default this
requires sesskey (so that people don't change theme on each other),
but this security can be switched off using a hidden variable
$CFG->allowthemechangeonurl = true; Good for quick tests.
2005-02-10 10:28:27 +00:00
moodler
1695b68032
New feature: maintenance mode.
...
Admin can put a site on hold during an upgrade or theme changing etc
Controlled by a file in dataroot, so it can also be controlled via command line:
touch moodledata/1/maintenance.html
rm moodledata/1/maintenance.html
2005-02-10 05:11:34 +00:00
defacer
002ef48a50
Removing inline styles, adding a class.
2005-02-09 20:13:56 +00:00
moodler
4eac76f75a
Prevent some notices from bad calls to print_side_block_end
2005-02-09 16:17:03 +00:00
moodler
26ecdc5b93
Removed some variables from a copy/paste
2005-02-09 14:38:42 +00:00
moodler
bfca00947a
Improved styling of headings
2005-02-09 08:29:58 +00:00
defacer
d4f7a8152d
Redoing the hide/show thingy for blocks purely through CSS.
...
Instance id's next time, Urs! ;-)
2005-02-09 01:23:06 +00:00
moodler
a8f6842661
Fixing some of the standard notice functions, adding styles and buttons
2005-02-08 17:09:41 +00:00