1052 Commits

Author SHA1 Message Date
Dongsheng Cai
494bf5c8cf "MDL-16597, added more docs, clean up code and added maxbytes support" 2009-12-07 05:01:09 +00:00
Andrew Davis
42812ceb08 mnet admin MDL-12057 Added an entry to standard style css to make tables on admin/mnet/index.php the same width 2009-11-27 05:56:46 +00:00
Sam Hemelryk
7231e2de74 navigation MDL-20833 Moved has_navbar from OUTPUT to PAGE as it is logic 2009-11-16 01:12:16 +00:00
Petr Skoda
aa6c1ced0a MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-04 08:11:02 +00:00
Nicolas Connault
1c7b8b934b MDL-19676 MDL-14408 MDL-8776 Blog improvements 2009-10-30 07:25:50 +00:00
rwijaya
ddc660600a course/view MDL-20123 section 0 visibility and highlight 2009-10-21 06:25:21 +00:00
samhemelryk
204079e7b3 theme MDL-19824 Upgraded deprecated calls 2009-10-16 03:24:48 +00:00
samhemelryk
3ac8c04d3e navigation MDL-20233 Left aligned search box if js expansion has been enabled 2009-10-12 05:52:39 +00:00
dongsheng
c61274bfc1 "MDL-19118, comments interface css changes" 2009-10-08 06:39:01 +00:00
dongsheng
75d07096d3 "MDL-14651, improved chat module interface" 2009-10-08 06:37:00 +00:00
nicolasconnault
c6fc16efbe MDL-16940 Applied the patch for visibility of dropdown menus in course view for IE6 when AJAX is on. Merged from MOODLE_19_STABLE 2009-10-03 02:32:13 +00:00
dongsheng
22f6b8df6e "MDL-16597, trim filemanager UI" 2009-09-24 09:05:41 +00:00
tjhunt
e6fb2c603e quiz: MDL-19786 - Un-break the quiz edit page following the OUTPUT changes. 2009-09-21 16:53:45 +00:00
samhemelryk
849185cee9 groups MDL-19559 Just a little pre-tidy up before I clean up the group selection interface 2009-09-21 08:22:52 +00:00
dongsheng
56a7bf6837 " MDL-16597, ajax file manager element" 2009-09-17 08:47:23 +00:00
nicolasconnault
2367726155 MDL-20219 Deleted external blog block, and preferences link from blog_menu block. Placed these as links in settings block instead 2009-09-15 07:57:54 +00:00
nicolasconnault
284943fcd0 MDL-19756 Added $disabled value to html_link, which will be true if the link's URL compares with the $PAGE->url (order of params doesn't matter). A disabled link will render as italicised text by default. 2009-09-09 03:52:49 +00:00
nicolasconnault
a0ead5eb81 MDL-19756 Added $disabled value to html_link, which will be true if the link's URL compares with the $PAGE->url (order of params doesn't matter). A disabled link will render as italicised text by default. 2009-09-09 03:28:26 +00:00
nicolasconnault
b6bafda83a Fixed table width for "Edit categories and items" table 2009-09-08 03:20:21 +00:00
dongsheng
1a3f83348d "MDL-20221, hide header and navigation in embedded layout" 2009-09-05 18:22:36 +00:00
dongsheng
d8b3ca9bb1 "MDL-20221, fixed typo of embedded" 2009-09-04 05:38:03 +00:00
dongsheng
ff1b34157b "MDL-20221, create a embeded layout for iframe, or other embeded page, it doesn't have footer and header" 2009-09-04 05:26:18 +00:00
nicolasconnault
cae837087a MDL-19676 Blog improvements 2009-09-04 00:36:43 +00:00
samhemelryk
e120c61d24 navigation MDL-14632 Deprecate print_header menu argument and provide PAGE method 2009-09-01 03:47:07 +00:00
samhemelryk
9da1ec271f navigation MDL-14632 Minor tweaking as suggested on this issue.
* Fixed focus on search closing tab
 * Added spacing to refresh/moveto icons
 * Made all text in navigation tree's expandable
 * Final element on navbar no longer a link
2009-08-31 03:58:17 +00:00
samhemelryk
7d2a049292 navigation MDL-14632 Very significant navigation commit
This patch introduces two new blocks global_navigation_tree and settings_navigation_tree
both of which have been designed to make full use of the new navigation objects available through
the $PAGE object.
Bulk of this code is within lib/navigationlib.php
2009-08-28 08:47:31 +00:00
nicolasconnault
fd09397ee1 MDL-19824 upgraded calls to print_container* 2009-08-20 08:50:03 +00:00
skodak
aa54ed7b02 MDL-20065 new implementation of File module, modules sub-types are being migrated to separate modules; remaining issues to be listed as sub-tasks in tracker 2009-08-13 20:45:50 +00:00
tjhunt
00a24d44f7 blocks: MDL-19893 move blocks on page UI - part 1
This does all the UI. It does not yet update the DB when you click to complete the action.
2009-07-30 08:22:12 +00:00
moodler
4cd85cb1d3 standard/styles MDL-19839 Fixed indenting, tidied up comments CSS and made it a bit more plain for standard 2009-07-28 09:15:23 +00:00
dongsheng
526cf2e7d9 "MDL-19839, resize user picture in comments api" 2009-07-28 08:54:26 +00:00
dongsheng
2bc84518d4 "MDL-19839, limit maxium width of comments block" 2009-07-28 08:19:26 +00:00
dongsheng
b26bc253a1 "MDL-19839, use samller user picture, shorter date format, remove cancle button in block, change the position of deteling button" 2009-07-28 07:09:11 +00:00
nicolasconnault
f8065dd287 MDL-19756 Migrated the following functions from weblib to outputlib:
1. button_to_popup_window
2. link_to_popup_window
3. print_single_button
4. print_spacer
5. print_file_picture (deprecated)
6. print_user_picture
7. print_png (deprecated)
8. helpbutton
9. doclink
10. print_paging_bar
11. notice_yesno
2009-07-27 10:33:00 +00:00
dongsheng
1bcb7eb540 "MDL-19118, comments api" 2009-07-24 02:44:44 +00:00
tjhunt
d18675a8d7 quiz: MDL-19891 fix that quiz navigation block that was broken by the blocks changes.
Sadly it now requries JavaScript again, at least for best operation.
2009-07-23 09:20:33 +00:00
tjhunt
0f2d2de675 quiz: minor layout improvement. 2009-07-22 09:13:38 +00:00
tjhunt
fb3611a567 blocks MDL-19902: were seeing empty block columns on the front page when not logged in.
It turns out the only reliable way to find out whether blocks will appear is to get the contents. :-(
2009-07-22 06:38:26 +00:00
tjhunt
bc422e6955 blocks editing ui: MDL-19398 Make invisible blocks at least partly invisible. 2009-07-15 07:45:48 +00:00
skodak
ea87845660 MDL-16089 new general page type needed for framed resources, this is not accessible but unfortunately it works much better than object embedding; it will be also used by phpmyadmin integration 2009-07-14 06:33:34 +00:00
tjhunt
4625ab9a8c themes: MDL-19077 $OUTPUT->header does the main skip destination, layout.php should now. 2009-07-13 04:24:29 +00:00
tjhunt
99a70a7c08 Clarify comment. 2009-07-10 05:42:54 +00:00
tjhunt
d4a03c00ea themes & blocks - MDL-19077 & MDL-19010 blocks are now printed by the theme
The code to print blocks in now in theme layout.php files. (Or in
moodle_core_renderer::handle_legacy_theme)

Code for printing blocks everywhere else has been stripped out.
(Total diffstat 1225 insertions, 2019 deletions)

The way the HTML for a block instance is generated has been cleaned
up a lot. Now, the block_instance generates a block_contents
object which gives a structured representation of the block,
and then $OUTPUT->block builds all the HTML from that.

How theme config.php files specify the layout template and block
regions by page general type has been changed to be even more flexible.

Further refinement for how the theme and block code gets initialised.

Ability for scrits to add 'pretend blocks' to the page. That is,
things that look like blocks, but are not normal block_instances.
(Like the add a new block UI.)

Things that are still broken:
 * some pages in lesson, quiz and resource. I'm working on it.
 * lots of developer debug notices pointing out things that
   need to be updated.
2009-07-09 07:35:03 +00:00
tjhunt
fdeb7fa192 themes: MDL-19077 - more work on the theme_config class.
* Writing lots more PHPdoc comments for all the settings.
* Strip the comments from the standard theme config.php (see below)
* Move finding the layout template from moodle_core_renderer to the theme_config class
* Move loading meta.php files from moodle_core_renderer to the theme_config class
* MDL-19719 Remove support for $THEME->langsheets, and lang/.../styles.php
* MDL-19719 Put the Vietnamese-specific code into the standard theme
* Support for styles.php in all plugin types (at the theme's discretion). (c/f MDL-16438)
* More PHP doc comments for moodle_core_renderer methods.

About stripping comments from config.php: I'm not sure if this
is a good idea, and I may revert this bit. I am hoping that once
http://phpdocs.moodle.org/HEAD/moodlecore/theme_config.html has
been updated, that will be better than copying and pasting these
comments into every theme. I intend to post in the themes forum
to canvas opinions.
2009-07-07 05:05:06 +00:00
sam_marshall
e3568fde9c MDL-19692: Improvement to help icon for completion tickboxes, based on user testing 2009-07-02 09:18:26 +00:00
samhemelryk
ddbeb7a7ec chat ajax MDL-16706 Eliminated inline scripts to use PAGE methods 2009-07-02 06:00:59 +00:00
tjhunt
b70094743a themes: MDL-19077 change how the theme is initialised and CSS is served.
This is part of http://docs.moodle.org/en/Development:Theme_engines_for_Moodle%3F

$THEME is now initialised at the same time as $OUTPUT. Old functions like
theme_setup are deprecated in favour of methods on $PAGE. There is a new
theme_config class in outputlib.php that deals with loading the theme config.php file.

CSS used to be served by themes styles.php files calling a function in weblib.php.
Now it works by each theme's styles.php file doing
$themename = basename(dirname(__FILE__));
require_once(dirname(__FILE__) . '/../../theme/styles.php');
which is less code to be copied into each theme. (Old-style styles.php files still
work thanks to some code in deprecatedlib.php.)

Admin UI for choosing a theme cleaned up.

A couple of theme-specific hard-coded hacks like $THEME->cssconstants and
$THEME->CSSEdit have been replaced by a more generic $THEME->customcssoutputfunction
hook. See examples at the end of outputlib.php

Also:
* Fix setting the theme in the URL, which seems to have been broken since 1.9.
* Fix up errors on a few pages caused by the new initialisation order.
* MDL-19097 moodle_page::set_course should not set $COURSE unless it is $PAGE.
* httpsrequired() from moodlelib.php moved to $PAGE->https_required().
* Move has_started() method to the renderer base class.
* Further fixes to display of early errors.
* Remove print_header/footer_old from weblib. I did not mean to commit them before.
2009-07-01 05:54:26 +00:00
samhemelryk
a1b53dcf3f messages MDL-19664 Clean up the messages javascript code
I have cleaned up the message Javascript code, implementing the new PAGE methods
and at the same time implemented the new OUTPUT methods
2009-06-30 08:33:29 +00:00
samhemelryk
9262d2d30f formslib MDL-19626 Fixed broken show/hide advanced button
Updated formslib showadvanced inline JS to use new $PAGE methods
and replaced inline noscript with css handled display
2009-06-29 01:58:11 +00:00
ptrkmkl
583011c1f2 MDL-19547: Added CSS selector for .tag_cloud .s0 to styles_fonts.css 2009-06-26 18:14:43 +00:00