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

Commit

Permalink
V2.8.1.11
Browse files Browse the repository at this point in the history
  • Loading branch information
gjb2048 committed Jun 2, 2017
1 parent fa03ee7 commit 4c7fde5
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 31 deletions.
1 change: 1 addition & 0 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ can be really useful in visualising the issue along with any files you consider

New in 2.8.1.11
===============
- NEW: Remove theme credit.

New in 2.8.1.10
===============
Expand Down
3 changes: 0 additions & 3 deletions essentials/layout/includes/footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,7 @@
<div class="footerperformance row-fluid">
<?php echo $OUTPUT->standard_footer_html(); ?>
</div>
<div class="footercredit row-fluid">
<?php echo get_string('credit' ,'theme_essential'); ?><a href="//about.me/gjbarnard" target="_blank">Gareth J Barnard</a>
</div>
</div>
</footer>
<a href="#top" class="back-to-top" ><i class="fa fa-angle-up "></i></a>
<?php } ?>
Expand Down
7 changes: 0 additions & 7 deletions lang/en/theme_essential.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@
<p>This theme is provided to you for free, and if you want to express your gratitude for using this theme, please consider sponsoring by:
<h4>PayPal</h4>
<p>Please contact me via my <a href="http://moodle.org/user/profile.php?id=442195" target="_blank">\'Moodle profile\'</a> for details as I am an individual and therefore am unable to have \'buy me now\' buttons under their terms.</p>
<h4>Flattr</h4>
<a href="https://flattr.com/profile/gjb2048" target="_blank">
click here to sponsor.
</a>
<br>Sponsorships help to facilitate maintenance and allow me to provide you with more and better features. Without your support the theme cannot be maintained.</p>
<p>
<h3>Sponsors</h3>
Expand Down Expand Up @@ -83,7 +79,6 @@
$string['logodesc'] = 'Please upload your custom logo here if you want to add it to the header.
<br>The image should be 65px high and any reasonable width that suits.
<br>If you upload a logo it will replace the standard icon and name that was displayed by default.';
$string['credit'] = 'The Essential theme is developed, enhanced and maintained by ';

// Font settings.
$string['fontsettings'] = 'Font';
Expand Down Expand Up @@ -190,9 +185,7 @@
$string['sponsor_desc'] = 'Please sponsor via PayPal by contacting me via my \'';
$string['sponsor_desc2'] = ' to keep the Essential development going, or simply to express your gratitude.';
$string['paypal_desc'] = '{$a->url}\' for details as I am an individual and therefore am unable to have \'buy me now\' buttons under their terms or ';
$string['flattr_desc'] = '{$a->url}';
$string['paypal_click'] = 'Moodle profile';
$string['flattr_click'] = 'sponsor via Flattr';

// Readme.
$string['readme_title'] = 'Essential read-me';
Expand Down
3 changes: 0 additions & 3 deletions layout/includes/footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,7 @@
<div class="footerperformance row-fluid">
<?php echo $OUTPUT->standard_footer_html(); ?>
</div>
<div class="ecredit row-fluid">
<?php echo get_string('credit', 'theme_essential'); ?><a href="//about.me/gjbarnard" target="_blank">Gareth J Barnard</a>
</div>
</div>
</footer>
<a href="#top" class="back-to-top" ><i class="fa fa-angle-up "></i></a>
<?php } ?>
Expand Down
5 changes: 0 additions & 5 deletions less/essential/footer.less
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,7 @@
padding-bottom: 6px;
margin-bottom: 4px;
}

.ecredit {
font-size: 8pt;
text-align: center;
}
}

#page-footer ul,
#greyboxright ul {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "theme-essential-tasks",
"version": "0.1.0",
"version": "0.1.1",
"description": "Grunt tasks for Moodle Essential theme.",
"main": "Gruntfile.js",
"author": {
Expand Down Expand Up @@ -33,5 +33,5 @@
"grunt-contrib-copy": "~0.7.0",
"grunt-svgmin": "~2.0.0"
},
"license": "GPLv3.0+"
"license": "GPL-3.0"
}
6 changes: 1 addition & 5 deletions settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,8 @@
$sponsor = new moodle_url('http://moodle.org/user/profile.php?id=442195');
$sponsor = html_writer::link($sponsor, get_string('paypal_click', 'theme_essential'), array('target' => '_blank'));

$flattr = new moodle_url('https://flattr.com/profile/gjb2048');
$flattr = html_writer::link($flattr, get_string('flattr_click', 'theme_essential'), array('target' => '_blank'));

$temp->add(new admin_setting_heading('theme_essential_generalsponsor', get_string('sponsor_title', 'theme_essential'),
get_string('sponsor_desc', 'theme_essential').get_string('paypal_desc', 'theme_essential', array('url' => $sponsor)).get_string('flattr_desc', 'theme_essential', array('url' => $flattr)).get_string('sponsor_desc2', 'theme_essential')));

get_string('sponsor_desc', 'theme_essential').get_string('paypal_desc', 'theme_essential', array('url' => $sponsor)).get_string('sponsor_desc2', 'theme_essential')));
$temp->add(new admin_setting_heading('theme_essential_generalheading', get_string('generalheadingsub', 'theme_essential'),
format_text(get_string('generalheadingdesc', 'theme_essential'), FORMAT_MARKDOWN)));

Expand Down
2 changes: 1 addition & 1 deletion style/essential-rtl.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions style/essential-rtl_ie9.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion style/essential.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions style/essential_ie9.css

Large diffs are not rendered by default.

0 comments on commit 4c7fde5

Please sign in to comment.