Skip to content

Commit

Permalink
v1.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
kennibc committed Feb 20, 2017
1 parent f12b51d commit 28b9310
Show file tree
Hide file tree
Showing 12 changed files with 6,827 additions and 2,500 deletions.
4 changes: 3 additions & 1 deletion README.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ Click on the button to "Clone or Download" https://github.com/kennibc/moodle-the

## Fordson v1.2.5
*Added language strings for default text of icon navigation
*Changed font awesome icons from text field to drop down select.
*Changed font awesome icons from text field to drop down select to make things very simple. Also included the option to remove the icons next to section and header titles from the drop down.
*Upgraded to font awesome 4.7


## Fordson v1.2.4
*Fixed issue with header information getting distorted on smaller screen sizes with small header image height set. The text would sometimes get cut off.
Expand Down
2 changes: 1 addition & 1 deletion classes/output/core/course_renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,5 @@ public function course_search_form($value = '', $format = 'plain') {

return $this->render_from_template('theme_boost/course_search_form', $data);
}

}
Binary file modified fonts/FontAwesome.otf
100755 → 100644
Binary file not shown.
Binary file modified fonts/fontawesome-webfont.eot
100755 → 100644
Binary file not shown.
3,350 changes: 2,668 additions & 682 deletions fonts/fontawesome-webfont.svg
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified fonts/fontawesome-webfont.ttf
100755 → 100644
Binary file not shown.
Binary file modified fonts/fontawesome-webfont.woff
100755 → 100644
Binary file not shown.
Binary file modified fonts/fontawesome-webfont.woff2
100755 → 100644
Binary file not shown.
8 changes: 2 additions & 6 deletions lang/en/theme_fordson.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,9 @@
$string['slidetextbox'] = 'Slide Textbox';
$string['slidetextbox_desc'] = 'This textbox content will be displayed when the Slide Button is pressed.';
$string['sectionicon'] = 'Course Section Icon';
$string['sectionicon_desc'] = 'This allows you to change the icon that appears next to each section in a course. You must include parenthesis " and the unicode for the Font Awesome icon. Example including parenthesis: "\f07c"';
$string['sectionicon_desc'] = 'This allows you to change the icon that appears next to each section in a course. These are Font-Awesome icons. These appear in the following presets: Default and Evolve-D.';
$string['headericon'] = 'Header Title Icon';
$string['headericon_desc'] = 'This allows you to change the icon that appears in the header area next to the page title. You must include parenthesis " and the unicode for the Font Awesome icon. Example including parenthesis: "\f02d"';


$string['headericon_desc'] = 'This allows you to change the icon that appears in the header area next to the page title. These are Font-Awesome icons. These appear in the following presets: Default and Evolve-D.';

// Menu Settings
$string['menusettings'] = 'Menu settings';
Expand All @@ -190,7 +188,6 @@
$string['activitylistingmenu'] = 'Show Activity Listings';
$string['activitylistingmenu_desc'] = 'Include a link to show activities in This Course drop down menu.';


//FP Icon Nav
$string['navicon1'] = 'Homepage Icon One';
$string['navicon2'] = 'Homepage Icon Two';
Expand Down Expand Up @@ -227,7 +224,6 @@
$string['naviconbuttonurl'] = 'Link URL';
$string['naviconbuttonurldesc'] = 'URL the button will point to. You can link to anywhere including outside websites just enter the proper URL. If your Moodle site is in a subdirectory the default URL will not work. Please adjust the URL to reflect the subdirectory. Example if "moodle" was your subdirectory folder then the URL would need to be changed to /moodle/my/ ';


//Edit Button Text
$string['editon'] = 'Turn Edit On';
$string['editoff'] = 'Turn Edit Off';
Expand Down
8 changes: 4 additions & 4 deletions settings/content_settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,8 @@
$name = 'theme_fordson/headericon';
$title = get_string('headericon','theme_fordson');
$description = get_string('headericon_desc', 'theme_fordson');
$default = 'Clone';
$default = '"\f24d"';
$choices = array(
'""' => 'None - No Icon',
'"\f24d"' => 'Clone',
'"\f02e"' => 'Bookmark',
'"\f02d"' => 'Book',
Expand Down Expand Up @@ -72,6 +71,7 @@
'"\f054"' => 'Chevron Right',
'"\f005"' => 'Star',
'"\f2bd"' => 'User Circle',
'""' => 'None - No Icon',
);
$setting = new admin_setting_configselect($name, $title, $description, $default, $choices);
$setting->set_updatedcallback('theme_reset_all_caches');
Expand All @@ -81,9 +81,8 @@
$name = 'theme_fordson/sectionicon';
$title = get_string('sectionicon','theme_fordson');
$description = get_string('sectionicon_desc', 'theme_fordson');
$default = 'Folder Open';
$default = '"\f07c"';
$choices = array(
'""' => 'None - No Icon',
'"\f24d"' => 'Clone',
'"\f02e"' => 'Bookmark',
'"\f02d"' => 'Book',
Expand Down Expand Up @@ -113,6 +112,7 @@
'"\f054"' => 'Chevron Right',
'"\f005"' => 'Star',
'"\f2bd"' => 'User Circle',
'""' => 'None - No Icon',
);
$setting = new admin_setting_configselect($name, $title, $description, $default, $choices);
$setting->set_updatedcallback('theme_reset_all_caches');
Expand Down
Loading

0 comments on commit 28b9310

Please sign in to comment.