|
|
|
@ -7604,19 +7604,16 @@ class learnpath { |
|
|
|
|
$return .= '<th width="70" height="24" style="border:1px solid gray; background-color:#F0F0F0;">' . get_lang('Minimum') . '</th>'; |
|
|
|
|
$return .= '<th width="70" height="24" style="border:1px solid gray; background-color:#F0F0F0;">' . get_lang('Maximum') . '</th>'; |
|
|
|
|
$return .= '</tr>'; |
|
|
|
|
//$return .= '<tr >'; |
|
|
|
|
//$return .= '<td class="radio" style="border:1px solid gray;border-collapse:collapse;">'; |
|
|
|
|
//$return .= '<input checked="checked" id="idNone" name="prerequisites" style="margin-left:0; margin-right:10px;" type="radio" />'; |
|
|
|
|
//$return .= '<label for="idNone">' . get_lang('None') . '</label>'; |
|
|
|
|
//$return .= '</td><td colspan="2" />'; |
|
|
|
|
//$return .= '</tr>'; |
|
|
|
|
|
|
|
|
|
$sql = " |
|
|
|
|
SELECT * |
|
|
|
|
FROM " . $tbl_lp_item . " |
|
|
|
|
WHERE |
|
|
|
|
lp_id = " . $this->lp_id; |
|
|
|
|
//Adding the none option to the prerequisites see http://www.chamilo.org/es/node/146 |
|
|
|
|
$return .= '<tr >'; |
|
|
|
|
$return .= '<td colspan="3" class="radio" style="border:1px solid gray;border-collapse:collapse;">'; |
|
|
|
|
$return .= '<input checked="checked" id="idNone" name="prerequisites" style="margin-left:0; margin-right:10px;" type="radio" />'; |
|
|
|
|
$return .= '<label for="idNone">' . get_lang('None') . '</label>'; |
|
|
|
|
$return .= '</td><td />'; |
|
|
|
|
$return .= '</tr>'; |
|
|
|
|
|
|
|
|
|
$sql = "SELECT * FROM " . $tbl_lp_item . " WHERE lp_id = " . $this->lp_id; |
|
|
|
|
$result = Database::query($sql); |
|
|
|
|
$arrLP = array (); |
|
|
|
|
while ($row = Database :: fetch_array($result)) { |
|
|
|
|