Merge pull request #56 from lpirl/pr_poweredby

This commit is contained in:
Martin Monperrus
2016-02-12 09:13:56 +01:00
+9 -8
View File
@@ -2455,15 +2455,16 @@ class IndependentYearMenu {
} }
} }
/** Returns the powered by part. @nodoc */ if (!function_exists('poweredby')) {
function poweredby() { /** Returns the powered by part. @nodoc */
$poweredby = "\n".'<div style="text-align:right;font-size: xx-small;opacity: 0.6;" class="poweredby">'; function poweredby() {
$poweredby .= '<!-- If you like bibtexbrowser, thanks to keep the link :-) -->'; $poweredby = "\n".'<div style="text-align:right;font-size: xx-small;opacity: 0.6;" class="poweredby">';
$poweredby .= 'Powered by <a href="http://www.monperrus.net/martin/bibtexbrowser/">bibtexbrowser</a><!--v__GITHUB__-->'; $poweredby .= '<!-- If you like bibtexbrowser, thanks to keep the link :-) -->';
$poweredby .= '</div>'."\n"; $poweredby .= 'Powered by <a href="http://www.monperrus.net/martin/bibtexbrowser/">bibtexbrowser</a><!--v__GITHUB__-->';
return $poweredby; $poweredby .= '</div>'."\n";
return $poweredby;
} }
}
/** ^^adds a touch of AJAX in bibtexbrowser to display bibtex entries inline. /** ^^adds a touch of AJAX in bibtexbrowser to display bibtex entries inline.
It uses the HIJAX design pattern: the Javascript code fetches the normal bibtex HTML page It uses the HIJAX design pattern: the Javascript code fetches the normal bibtex HTML page