mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
99061152af
This patch includes a big set of changes that are all designed to work together to provide a better way to navigate in the new theme, and a different way of working with blocks. Blocks have been moved to a "drawer" that can be opened and closed (this is remembered in a user pref). A new "flat navigation" element is also available in a drawer - which should let you do 90% of things without needing to open the "blocks" drawer. The flat navigation is build from specific parts of the nav tree - the top nodes like "calendar, dashboard" are hand picked. There is a mycourses node listing your enrolled courses. There is a node for the current course, built from the top nodes in the current course node in the nav tree. Administrators have a link to the Site admin settings here too. These nav elements are used by the templates for the new theme, which also has a resigned layout for login and signup. There have also been some additional fixes / improvements to the scss for the new theme which goes along with these layout changes. This set of changes is a collaboration between Martin, Damyon and Alberto (thanks!).
76 lines
5.0 KiB
PHP
76 lines
5.0 KiB
PHP
<?php
|
|
// This file is part of Moodle - http://moodle.org/
|
|
//
|
|
// Moodle is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
//
|
|
// Moodle is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU General Public License
|
|
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
/**
|
|
* Strings for component 'block', language 'en', branch 'MOODLE_20_STABLE'
|
|
*
|
|
* @package core_block
|
|
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
|
|
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
|
*/
|
|
|
|
$string['addtodock'] = 'Move this to the dock';
|
|
$string['anypagematchingtheabove'] = 'Any page matching the above';
|
|
$string['appearsinsubcontexts'] = 'Appears in sub-contexts';
|
|
$string['assignrolesinblock'] = 'Assign roles in {$a} block';
|
|
$string['blocksdrawertoggle'] = 'Hide/show blocks drawer';
|
|
$string['blocksettings'] = 'Block settings';
|
|
$string['bracketfirst'] = '{$a} (first)';
|
|
$string['bracketlast'] = '{$a} (last)';
|
|
$string['configureblock'] = 'Configure {$a} block';
|
|
$string['contexts'] = 'Page contexts';
|
|
$string['contexts_help'] = 'Contexts are more specific types of pages where this block can be displayed within the original block location. You will have different options here depending on the original block location and your current location. For example, you can restrict a block to only appearing on forum pages in a course by adding the block to the course (making it appear on all sub-pages), then going into a forum and editing the block settings again to restrict display to just forum pages.';
|
|
$string['createdat'] = 'Original block location';
|
|
$string['createdat_help'] = 'The original location where the block was created. Block settings may cause it to appear in other locations (contexts) within the original location. For example, a block created on a course page could be displayed in activities within that course. A block created on the front page can be displayed throughout the site.';
|
|
$string['defaultregion'] = 'Default region';
|
|
$string['defaultregion_help'] = 'Themes may define one or more named block regions where blocks are displayed. This setting defines which of these you want this block to appear in by default. The region may be overridden on specific pages if required.';
|
|
$string['defaultweight'] = 'Default weight';
|
|
$string['defaultweight_help'] = 'The default weight allows you to choose roughly where you want the block to appear in the chosen region, either at the top or the bottom. The final location is calculated from all the blocks in that region (for example, only one block can actually be at the top). This value can be overridden on specific pages if required.';
|
|
$string['deletecheck'] = 'Delete {$a} block?';
|
|
$string['deleteblock'] = 'Delete {$a} block';
|
|
$string['deleteblockcheck'] = 'Are you sure that you want to delete this block titled {$a}?';
|
|
$string['deleteblockwarning'] = '<p>You are about to delete a block that appears elsewhere.</p><p>Original block location: {$a->location}<br />Display on page types: {$a->pagetype}</p><p>Are you sure you want to continue?</p>';
|
|
$string['dockblock'] = 'Dock {$a} block';
|
|
$string['hideblock'] = 'Hide {$a} block';
|
|
$string['hidedockpanel'] = 'Hide the dock panel';
|
|
$string['hidepanel'] = 'Hide panel';
|
|
$string['moveblock'] = 'Move {$a} block';
|
|
$string['moveblockafter'] = 'Move block to after {$a} block';
|
|
$string['moveblockbefore'] = 'Move block to before {$a} block';
|
|
$string['moveblockinregion'] = 'Move block to {$a} region';
|
|
$string['movingthisblockcancel'] = 'Moving this block ({$a})';
|
|
$string['myblocks'] = 'My blocks';
|
|
$string['onthispage'] = 'On this page';
|
|
$string['pagetypes'] = 'Page types';
|
|
$string['pagetypewarning'] = 'The previously specified page type is no longer selectable. Please choose the most appropriate page type below.';
|
|
$string['region'] = 'Region';
|
|
$string['showblock'] = 'Show {$a} block';
|
|
$string['showoncontextandsubs'] = 'Display on \'{$a}\' and any pages within it';
|
|
$string['showoncontextonly'] = 'Display on \'{$a}\' only';
|
|
$string['showonentiresite'] = 'Display throughout the entire site';
|
|
$string['showonfrontpageandsubs'] = 'Display on the front page and any pages added to the front page';
|
|
$string['showonfrontpageonly'] = 'Display on the front page only';
|
|
$string['site-*'] = 'Any top-level site page';
|
|
$string['subpages'] = 'Select pages';
|
|
$string['restrictpagetypes'] = 'Display on page types';
|
|
$string['thisspecificpage'] = 'This specific page';
|
|
$string['undockall'] = 'Undock all';
|
|
$string['undockblock'] = 'Undock {$a} block';
|
|
$string['undockitem'] = 'Undock this item';
|
|
$string['visible'] = 'Visible';
|
|
$string['weight'] = 'Weight';
|
|
$string['wherethisblockappears'] = 'Where this block appears';
|