Example #1
0
<table class='table table-striped table-bordered table-hover'>
  <tr>
    <th width='16'>".icon('fa-globe')."</th>
    <td>" . manlink($langRegCourses, 'register_course', $language) . "</a></td>
  </tr>
  <tr>
    <th width='16'>".icon('fa-globe')."</th>
   <td>" . manlink($langUserPortfolio, 'personal_portfolio', $language) . "</a></td>
  </tr>
  <tr>
    <th width='16'>".icon('fa-globe')."</th>
    <td>" . manlink($langIntroToCourse, 'ecourse', $language) . "</a>
  </tr>
  <tr>
    <th width='16'>".icon('fa-globe')."</th>
    <td>" . manlink($langForumParticipation, 'forum', $language) . "</a>
  </tr>
</table>";


if (isset($uid) and $uid) {
    draw($tool_content, 1);
} else {
    draw($tool_content, 0);
}

/**
 * @brief create link to manuals
 * @param type $desc
 * @param type $link
 * @param type $language
Example #2
0
 *                  Network Operations Center, University of Athens,
 *                  Panepistimiopolis Ilissia, 15784, Athens, Greece
 *                  e-mail: info@openeclass.org
 * ======================================================================== */
$mail_ver_excluded = true;
require_once '../include/baseTheme.php';
$pageName = $langManuals;
$addon = '';
if (!in_array($language, array('el', 'en'))) {
    $language = 'en';
    $addon = "({$langOnlyInEnglish})";
}
$tool_content .= "<table class='table table-striped table-bordered table-hover'>\n  <tr>\n    <th width='16'>" . icon('fa-globe') . "</th>\n    <td>" . manlink($langFinalDesc, 'detail_descr', $language) . "</td>\n  </tr>\n  <tr>\n    <th width='16'>" . icon('fa-globe') . "</th>\n    <td> " . manlink($langShortDesc, 'short_descr', $language) . "</td>\n  </tr>\n  <tr>\n    <th width='16'>" . icon('fa-globe') . "</th>\n    <td>" . manlink($langManT, 'mant', $language) . "</td>\n  </tr>\n  <tr>\n    <th width='16'>" . icon('fa-globe') . "</th>\n    <td> " . manlink($langManS, 'mans', $language) . "</td>\n  </tr>\n</table>";
$tool_content .= "<br><p class='tool_title'>{$langTutorials} {$langOfTeacher} {$addon}";
$tool_content .= "</p><table class='table table-striped table-bordered table-hover'>\n  <tr>\n    <th width='16'>" . icon('fa-globe') . "</th>\n    <td>" . manlink($langCreateAccount, 'create_account', $language) . "</a></td>\n  </tr>\n  <tr>\n    <th width='16'>" . icon('fa-globe') . "</th>\n    <td>" . manlink($langCourseCreate, 'create_course', $language) . "</a></td>\n  </tr>\n  <tr>\n    <th width='16'>" . icon('fa-globe') . "</th>\n    <td>" . manlink($langPersonalisedBriefcase, 'portfolio_management', $language) . "</a></td>\n  </tr>\n  <tr>\n    <th width='16'>" . icon('fa-globe') . "</th>\n    <td>" . manlink($langAdministratorCourse, 'course_management', $language) . "</a></td>\n  </tr>\n  <tr>\n    <th width='16'>" . icon('fa-globe') . "</th>\n    <td>" . manlink($langAdministratorForum, 'forum_management', $language) . "</a></td>\n  </tr>\n  <tr>\n    <th width='16'>" . icon('fa-globe') . "</th>\n    <td>" . manlink($langAdministratorGroup, 'group_management', $language) . "</a></td>\n  </tr>\n</table>";
$tool_content .= "<br /><p class='tool_title'>{$langTutorials} {$langOfStudent} {$addon}</p>\n<table class='table table-striped table-bordered table-hover'>\n  <tr>\n    <th width='16'>" . icon('fa-globe') . "</th>\n    <td>" . manlink($langRegCourses, 'register_course', $language) . "</a></td>\n  </tr>\n  <tr>\n    <th width='16'>" . icon('fa-globe') . "</th>\n   <td>" . manlink($langPersonalisedBriefcase, 'personal_portfolio', $language) . "</a></td>\n  </tr>\n  <tr>\n    <th width='16'>" . icon('fa-globe') . "</th>\n    <td>" . manlink($langIntroToCourse, 'ecourse', $language) . "</a>\n  </tr>\n  <tr>\n    <th width='16'>" . icon('fa-globe') . "</th>\n    <td>" . manlink($langForumParticipation, 'forum', $language) . "</a>\n  </tr>\n</table>";
if (isset($uid) and $uid) {
    draw($tool_content, 1);
} else {
    draw($tool_content, 0);
}
/**
 * @brief create link to manuals
 * @param type $desc
 * @param type $link
 * @param type $language
 * @return type
 */
function manlink($desc, $link, $language)
{
    $url = 'http://wiki.openeclass.org/3.0/doku.php';