Skip to content
This repository has been archived by the owner on Dec 2, 2022. It is now read-only.

Commit

Permalink
Commit 2.6.10
Browse files Browse the repository at this point in the history
  • Loading branch information
DBezemer committed Sep 3, 2014
1 parent a7109fb commit 45c0676
Show file tree
Hide file tree
Showing 143 changed files with 10,985 additions and 7,268 deletions.
95 changes: 78 additions & 17 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,15 +86,69 @@ It is essential that you provide as much information as possible, the critical i
'version.php' file. Other version information such as specific Moodle version, theme name and version also helps. A screen shot
can be really useful in visualising the issue along with any files you consider to be relevant.

New in 2.7.7
============
- FIX: Issue #173: Message menu shows wrong time difference in Russian.
- FIX: Issue #175: Gradebook several bugs.
- FIX: Issue #179: User picture error.
- FIX: Issue #189: Gradebook - column text and sorting doesn't fit the column.
- FIX: Issue #191: Blocks not showing on the right of the frontpage for non-admins.
- FIX: Issue #196: Gradebook - vertical size in fixed column view.
- FIX: Issue #200: Category Edit / Delete Missing in newest version of Essential.
- FIX: Issue #208: Bug: Undefined function is_loggedin().
- FIX: Issue #209: Showing white background.
- FIX: Issue #211: Image size in message menu.
- FIX: Issue #220: Standard Moodle Chat interface fails to load.
- FIX: Issue #221: Missing string 'unreadnewnotification'.
- FIX: Issue #225: Blank pages after some times.
- FIX: Issue #228: Incorrect z-index in menu.
- FIX: Issue #233: User image wrong in IE.
- FIX: Issue #237: Homepage main content block layout issues.
- FIX: Issue #238: Logged in user block styling.
- FIX: Issue #241: Background image appears as text box background.
- FIX: Issue #243: View Full toggle button not functional 2.6.9b.
- FIX: Issue #246: Menu bar down arrow caret causes shift of menu.
- NEW: Issue #74 : Fonts are CDN only.
- NEW: Issue #139: Enter own CDN font names.
- NEW: Issue #149: Add setting to not show the site shortname.
- NEW: Issue #170: Option in settings to choose how the site title in header appears.
- NEW: Issue #176: Option to Hide Calendar, Private Files, Forum Posts and Discussions from Dropdown.
- NEW: Issue #178: Error when editing user preferences.
- NEW: Issue #180: Same height marketing spots.
- NEW: Issue #181: Marketing spot header same as navbar.
- NEW: Issue #185: Custom background image dimensions.
- NEW: Issue #186: Add edit links to custom frontpage content items.
- NEW: Issue #197: Gradebook overall average font colour.
- NEW: Issue #204: Windows Mobile Apps.
- NEW: Issue #212: Upgrade FontAwesome 4.2.0.
- NEW: Issue #223: How to make a sub menu from custom menu.
- NEW: Issue #226: Move slideshow slides loading to function in lib.php.
- NEW: Issue #235: Color of course navigation block.
- NEW: Issue #240: Header title not wrapping in mobile view.

New in 2.7.6b
=============
- FIX: Issue #205: Has the eye icon used to Enable/Disable an element been reversed in functionality?
- FIX: Issue #207: Fixed solution for #175 #196 - thanks @ppv1979.
- FIX: main site regions clean-up to prevent issues with blocks.
- FIX: huge code rewrite for menu items.
- FIX: optimized more icons to be loaded from font.
- NEW: New loading gif, reducing size by 500%.
- NEW: Issue #198: Collapsed Topics and other course formats (like core weeks) need print single page the same.
Course formats catered for: Topics, Weeks, Collapsed Topics, Columns, Grid and Noticeboard. If you require others,
please let us know.
NOTE: If you are using the Collapsed Topics course format then you MUST have version 2.6.1.3 or above installed.
If you are using the Columns course format then you MUST have version 2.6.1.1 or above installed.

New in 2.7.6a
========================
=============
- FIX: Issue #159: Custom Category Icons not displaying in 2.7.5h (Build: 2014081404).
- FIX: Various code optimizations
- NEW: Issue #172: Google font character sets. Implemented in #174 - thanks @vgango
- NEW: Issue #194: Centred slide show caption.

New in 2.7.6
========================
============
- FIX: Issue #159: Custom Category Icons not displaying in 2.7.5h (Build: 2014081404).
- FIX: Issue #155: Social Icons Missing 2.7.5h
- FIX: Issue #156, #70, #56: Caption background colour frontpage slider & active slide colours
Expand All @@ -111,7 +165,7 @@ New in 2.7.6
- HELP WANTED: All language strings are now in AMOS (Moodle Language packs) please update your own language!

New in 2.7.5
========================
============
- FIX: Issue #96: 2.7.4 breaks 'oldnavbar' setting.
- FIX: Issue #98: Lang en/iosicondesc - Change 'them' to 'theme'. Thanks to Skylar Kelty.
- FIX: Issue #101: Navbar not expanding properly on android mobile and tablet.
Expand Down Expand Up @@ -153,7 +207,7 @@ New in 2.7.5
- NEW: Persistent link to your own grade report, available as long as you are enrolled in one visible course

New in 2.7.4
========================
============
- FIX: Issue #68. Expand all not showing on Edit course settings.
- FIX: Issue #58. Add font colour setting.
- FIX: Issue #63. Slider caption overlap.
Expand All @@ -180,7 +234,7 @@ New in 2.7.4
lots of redundant CSS. This presents problems when it comes to portable devices and bandwidth.

New in 2.7.3
========================
============
- FIX: Fixed slide show by replacing with Bootstrap 2.3.2 one. Issue #18.
- FIX: Make background image fixed and set a background transparent colour
- FIX: Permanently replace edit icons with FontAwesome icons
Expand All @@ -206,14 +260,14 @@ New in 2.7.3
- NEW: Transparent fixed background when setting a background image

New in 2.7.2
========================
============
- FIX: Slideshow CSS fixes
- FIX: Image alignment on slideshow
- NEW: Select slideshow background color
- NEW: Option to bring back the old navbar location

New in 2.7.1
========================
============
- FIX: Numerous CSS fixes
- FIX: Translation fixes
- FIX: Updated Google Analytics code
Expand All @@ -227,7 +281,7 @@ New in 2.7.1
- NEW: New slideshow design (WIP)

New in 2.6.3
========================
============
- FIX: Numerous CSS fixes
- FIX: Due to popular request reports are now 2 column again
- FIX: Significantly improved RTL support
Expand All @@ -239,7 +293,7 @@ New in 2.6.3
- NEW: Start Dutch translation

New in 2.6.2
========================
============
- FIX: Numerous CSS fixes
- FIX: Third level dropdown in custom menu now works
- FIX: iOS7 custom menu now works when changed to a sing dropdown in portrait view
Expand All @@ -248,7 +302,7 @@ New in 2.6.2
- NEW: Frontpage content now goes full width if all blocks removed.

New in 2.6.1
========================
============
- NEW: MAJOR UPDATES for 2.6 compatibility.
- NEW: Moved layouts to a more "Moodle standard" 1, 2 and 3 column layout.
- NEW: Can now add three columns of blocks to middle of the homepage under marketing spots.
Expand All @@ -263,7 +317,7 @@ New in 2.6.1
- FIX: Numerous CSS fixes and cleanup

New in 2.6
========================
==========
- Added ability to select from 21 preset Google Font combinations or disable their use completely.
- Now includes additional Bootstrap JS plugins to allow for more dynamic formatting as shown on http://getbootstrap.com/javascript/
- New Frontpage Slideshow settings to allow to display; all the time, only before login, only after login or never.
Expand All @@ -273,7 +327,7 @@ New in 2.6
- Further minor bug fixes and tidy up.

New in 2.5.4
========================
============
- Display current enrolled courses in dropdown menu and choose terminology (modules, courses, classes or units).
- New 'My Dashboard" in custommenu provides quick links to student tools. Can be disabled in theme settings.
- iOS home screen icons now built in. Can upload your own via settings.
Expand All @@ -286,15 +340,15 @@ New in 2.5.4
- New "Frontpage Content" box to add custom content in between the slideshow and marketing spots.

Fixes in 2.5.4
=======================
==============
- Fix to frontpage slideshow. First slide now loads properly.
- Updated include method to minimise conflicts with 3rd party plugins
- Code significantly optimised. (about 1/5 less lines!)
- Many CSS Fixes
- IMPORTANT: Theme requires Moodle 2.5.1 or higher

New in 2.5.3
========================
============
- New Settings screen just for colour selection
- Admin can now toggle to use "autohide" functionality in courses.
- Admin now upload their own background image
Expand All @@ -311,7 +365,7 @@ New in 2.5.3
- EXPERIMENTAL: New course editing icons formatted and built with Font Awesome can now be used.

New in 2.5.2
========================
=============
- New theme setting to have user image show in the header when logged in.
- Admin can choose to revert courses to a "standard" layout with blocks on the left and right sides
- Admin can choose the default Navbar/breadcrumb separator
Expand All @@ -321,18 +375,25 @@ New in 2.5.2
- Minor CSS fixes

See the theme in Action
========================
=======================
A video showing many of the core features is available for viewing at http://vimeo.com/69683774

Documentation
=============
As always, documentation is a work in progress. Available documentation is available at http://docs.moodle.org/25/en/Essential_theme
If you have questions you can post them in the issue tracker at https://github.com/DBezemer/moodle-theme_essential/issues

Original Author
===============
Julian Ridden
Moodle profile: https://moodle.org/user/profile.php?id=39680
Web profile: http://au.linkedin.com/in/eduridden/

Maintained by
========================
=============
David Bezemer
Moodle profile: https://moodle.org/user/profile.php?id=1416592
Web profile: http://www.davidbezemer.nl

G J Barnard MSc. BSc(Hons)(Sndw). MBCS. CEng. CITP. PGCE.
Moodle profile: http://moodle.org/user/profile.php?id=442195
Expand Down
66 changes: 35 additions & 31 deletions config.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,66 +42,71 @@
$THEME->sheets[] = 'essential';
}

if ((get_config('theme_essential', 'enablealternativethemecolors1')) ||
(get_config('theme_essential', 'enablealternativethemecolors2')) ||
(get_config('theme_essential', 'enablealternativethemecolors3')))
{
if ((get_config('theme_essential', 'enablealternativethemecolors1')) ||
(get_config('theme_essential', 'enablealternativethemecolors2')) ||
(get_config('theme_essential', 'enablealternativethemecolors3'))
) {
$THEME->sheets[] = 'alternative';
}

$THEME->sheets[] = 'custom';

$THEME->supportscssoptimisation = false;
$THEME->enable_dock = true;

if (intval($CFG->version) >= 2013111800) {
$THEME->enable_dock = true;
$THEME->javascripts_footer[] = 'dock';
}

$THEME->editor_sheets = array('editor');

if (get_config('theme_essential','frontpagemiddleblocks') == 1 ||
(get_config('theme_essential','frontpagemiddleblocks') == 2 && is_loggedin())) {
$addregions = array();
if (get_config('theme_essential', 'frontpagemiddleblocks') > 0) {
$addregions = array('home-left', 'home-middle', 'home-right');
} else {
$addregions = array();
}
if (is_siteadmin()){
$addregions[] = 'hidden-dock';
}


$THEME->layouts = array(
// Most backwards compatible layout without the blocks - this is the layout used by default.
'base' => array(
'file' => 'columns1.php',
'regions' => array(),
'regions' => array('footer-left', 'footer-middle', 'footer-right'),
'defaultregion' => '',
'options' => array('noblocks'=>true),
),
// Front page.
'frontpage' => array(
'file' => 'frontpage.php',
'regions' => array_merge(array('side-pre', 'footer-left', 'footer-middle', 'footer-right'), $addregions),
'regions' => array_merge(array('side-pre', 'footer-left', 'footer-middle', 'footer-right', 'hidden-dock'), $addregions),
'defaultregion' => 'side-pre',
),
// Standard layout with blocks, this is recommended for most pages with general information.
'standard' => array(
'file' => 'columns3.php',
'regions' => array('side-pre', 'side-post', 'footer-left', 'footer-middle', 'footer-right'),
'defaultregion' => 'side-post',
'file' => 'columns2.php',
'regions' => array('side-pre', 'footer-left', 'footer-middle', 'footer-right'),
'defaultregion' => 'side-pre',
),
// Standard layout with blocks, this is recommended for most pages with general information.
'message-index' => array(
'file' => 'columns2.php',
'regions' => array('side-pre', 'footer-left', 'footer-middle', 'footer-right'),
'defaultregion' => 'side-pre',
),
// Main course page.
'course' => array(
'file' => 'columns3.php',
'regions' => array('side-pre', 'side-post', 'footer-left', 'footer-middle', 'footer-right'),
'defaultregion' => 'side-post',
'options' => array('langmenu'=>true),
),
'coursecategory' => array(
'file' => 'columns3.php',
'regions' => array('side-pre', 'side-post', 'footer-left', 'footer-middle', 'footer-right'),
'defaultregion' => 'side-post',
'file' => 'columns2.php',
'regions' => array('side-pre', 'footer-left', 'footer-middle', 'footer-right'),
'defaultregion' => 'side-pre',
),
// part of course, typical for modules - default page layout if $cm specified in require_login().
'incourse' => array(
'file' => 'columns3.php',
'regions' => array('side-pre','side-post', 'footer-left', 'footer-middle', 'footer-right'),
'defaultregion' => 'side-post',
'file' => 'columns2.php',
'regions' => array('side-pre', 'footer-left', 'footer-middle', 'footer-right'),
'defaultregion' => 'side-pre',
),
// Server administration scripts.
'admin' => array(
Expand Down Expand Up @@ -138,7 +143,7 @@
'file' => 'columns1.php',
'regions' => array('footer-left', 'footer-middle', 'footer-right'),
'defaultregion' => 'footer-right',
'options' => array('nofooter'=>true, 'nocoursefooter'=>true),
'options' => array('nofooter' => true, 'nocoursefooter' => true),
),
// Embeded pages, like iframe/object embeded in moodleform - it needs as much space as possible.
'embedded' => array(
Expand All @@ -158,18 +163,18 @@
'print' => array(
'file' => 'columns1.php',
'regions' => array('footer-left', 'footer-middle', 'footer-right'),
'defaultregion' => 'footer-right',
'options' => array('nofooter'=>true),
'defaultregion' => '',
'options' => array('nofooter' => true),
),
// The pagelayout used when a redirection is occuring.
'redirect' => array(
'file' => 'embedded.php',
'file' => 'redirect.php',
'regions' => array(),
'defaultregion' => '',
),
// The pagelayout used for reports.
'report' => array(
'file' => 'columns2.php',
'file' => 'report.php',
'regions' => array('side-pre', 'footer-left', 'footer-middle', 'footer-right'),
'defaultregion' => 'side-pre',
),
Expand All @@ -182,7 +187,6 @@
);

$THEME->javascripts_footer[] = 'coloursswitcher';
$THEME->javascripts_footer[] = 'dock';

$THEME->rendererfactory = 'theme_overridden_renderer_factory';
$THEME->csspostprocess = 'theme_essential_process_css';
Binary file modified fonts/FontAwesome.otf
Binary file not shown.
Binary file modified fonts/fontawesome-webfont.eot
Binary file not shown.
Loading

0 comments on commit 45c0676

Please sign in to comment.