Minor - format code, removed unused readme file

pull/2487/head
jmontoyaa 7 years ago
parent c9788ce05f
commit 3a1ea989b5
  1. 10
      plugin/before_login/readme.txt
  2. 3
      plugin/buycourses/src/buy_course_plugin.class.php

@ -1,10 +0,0 @@
README
<br/><br/>
This plugins shows page before showing the login page.
This is useful if you want a question before a user has the opportunity to login.
<br/>
Example:
You're old enough to enter this site? If you accept the "option 1" then
you can enter to the campus (the login will appeared).
If you select "option 2" then you're redirected to another page.

@ -73,7 +73,7 @@ class BuyCoursesPlugin extends Plugin
Alex Aragón - BeezNest (Design icons and css styles) <br/>
Imanol Losada - BeezNest (introduction of sessions purchase) <br/>
Angel Fernando Quiroz Campos - BeezNest (cleanup and new reports) <br/>
José Loguercio Silva - BeezNest (Payouts and buy Services)
José Loguercio Silva - BeezNest (Payouts and buy Services) <br/>
Julio Montoya
",
array(
@ -201,7 +201,6 @@ class BuyCoursesPlugin extends Plugin
public function returnBuyCourseButton($productId, $productType)
{
$url = api_get_path(WEB_PLUGIN_PATH).'buycourses/src/process.php?i='.intval($productId).'&t='.$productType;
$html = '<a class="btn btn-success btn-sm" title="'.$this->get_lang('Buy').'" href="'.$url.'">'.
Display::returnFontAwesomeIcon('fa fa-shopping-cart').'</a>';

Loading…
Cancel
Save