Minor (but widespread) changes of <i> to <em> for WCAG support - refs CT#7898

1.10.x
Yannick Warnier 9 years ago
parent c36786bb1a
commit 44ab79dc46
  1. 6
      main/admin/access_url_edit_courses_to_url.php
  2. 6
      main/admin/access_url_edit_usergroup_to_url.php
  3. 6
      main/admin/access_url_edit_users_to_url.php
  4. 6
      main/admin/add_courses_to_usergroup.php
  5. 6
      main/admin/add_sessions_to_promotion.php
  6. 6
      main/admin/add_sessions_to_usergroup.php
  7. 8
      main/admin/add_users_to_group.php
  8. 6
      main/admin/add_users_to_usergroup.php
  9. 6
      main/admin/configure_homepage.php
  10. 2
      main/admin/course_list.php
  11. 4
      main/admin/dashboard_add_courses_to_user.php
  12. 6
      main/admin/dashboard_add_sessions_to_user.php
  13. 6
      main/admin/dashboard_add_users_to_user.php
  14. 4
      main/admin/event_type.php
  15. 8
      main/admin/index.php
  16. 6
      main/admin/settings.lib.php
  17. 2
      main/admin/subscribe_user2course.php
  18. 2
      main/auth/courses_controller.php
  19. 2
      main/blog/blog.php
  20. 4
      main/course_info/tools.php
  21. 2
      main/coursecopy/copy_course_session.php
  22. 4
      main/document/showinframes.php
  23. 6
      main/document/webcam_clip.php
  24. 2
      main/exercice/exercise.php
  25. 10
      main/exercice/hotspot_admin.inc.php
  26. 10
      main/forum/viewthread_flat.inc.php
  27. 10
      main/forum/viewthread_nested.inc.php
  28. 2
      main/inc/ajax/user_manager.ajax.php
  29. 4
      main/inc/global_error_message.inc.php
  30. 12
      main/inc/introductionSection.inc.php
  31. 8
      main/inc/lib/AnnouncementManager.php
  32. 2
      main/inc/lib/dashboard.lib.php
  33. 14
      main/inc/lib/javascript/chat/js/chat.js
  34. 2
      main/inc/lib/nanogong.lib.php
  35. 2
      main/inc/lib/pear/HTML/QuickForm/advanced_settings.php
  36. 4
      main/inc/lib/pear/HTML/QuickForm/advmultiselect.php
  37. 2
      main/inc/lib/pear/HTML/QuickForm/button.php
  38. 2
      main/inc/lib/pear/HTML/QuickForm/text.php
  39. 6
      main/inc/lib/social.lib.php
  40. 6
      main/inc/lib/template.lib.php
  41. 6
      main/install/index.php
  42. 30
      main/install/install.lib.php
  43. 2
      main/newscorm/blank.php
  44. 2
      main/newscorm/embed.php
  45. 2
      main/newscorm/learnpath.class.php
  46. 6
      main/session/add_courses_to_session.php
  47. 4
      main/session/add_many_session_to_category.php
  48. 6
      main/session/add_users_to_session.php
  49. 2
      main/session/session_category_add.php
  50. 2
      main/session/session_category_list.php
  51. 2
      main/session/session_course_edit.php
  52. 4
      main/session/session_course_user.php
  53. 2
      main/social/friends.php
  54. 10
      main/social/invitations.php
  55. 2
      main/social/profile.php
  56. 4
      main/social/search.php
  57. 2
      main/template/default/admin/resource_sequence.tpl
  58. 2
      main/template/default/auth/courses_categories.php
  59. 16
      main/template/default/auth/session_catalog.tpl
  60. 16
      main/template/default/chat/video.tpl
  61. 2
      main/template/default/course_description/edit.tpl
  62. 10
      main/template/default/course_description/index.tpl
  63. 2
      main/template/default/course_description/upload.tpl
  64. 8
      main/template/default/create_course/add_course.tpl
  65. 8
      main/template/default/gamification/my_progress.tpl
  66. 4
      main/template/default/gradebook/certificate_report.tpl
  67. 4
      main/template/default/gradebook/my_certificates.tpl
  68. 6
      main/template/default/gradebook/search.tpl
  69. 2
      main/template/default/layout/menu.tpl
  70. 12
      main/template/default/learnpath/view.tpl
  71. 2
      main/template/default/link/edit_category.tpl
  72. 2
      main/template/default/link/edit_link.tpl
  73. 26
      main/template/default/link/index.tpl
  74. 6
      main/template/default/sequence_resource/session_requirements.tpl
  75. 16
      main/template/default/session/about.tpl
  76. 4
      main/template/default/skill/badge_create.tpl
  77. 2
      main/template/default/skill/drh_report.tpl
  78. 10
      main/template/default/skill/list.tpl
  79. 2
      main/template/default/skill/profile.tpl
  80. 26
      main/template/default/skill/skill_wheel.tpl
  81. 10
      main/template/default/skill/skill_wheel_student.tpl
  82. 2
      main/template/default/social/form_modals.tpl
  83. 2
      main/template/default/social/user_block.tpl
  84. 2
      main/template/default/user_portal/session.tpl
  85. 6
      main/user/add_users_to_session.php
  86. 4
      main/work/add_user.php
  87. 2
      main/work/work.php
  88. 4
      plugin/advanced_subscription/views/open_session.tpl
  89. 18
      plugin/buycourses/view/catalog.tpl
  90. 12
      plugin/buycourses/view/configuration.tpl
  91. 2
      plugin/buycourses/view/paymentsetup.tpl
  92. 4
      plugin/buycourses/view/process.tpl
  93. 4
      plugin/buycourses/view/process_confirm.tpl
  94. 4
      plugin/buycourses/view/sales_report.tpl
  95. 4
      plugin/buycourses/view/success.tpl
  96. 2
      plugin/dashboard/block_course/block_course.class.php
  97. 2
      plugin/dashboard/block_daily/block_daily.class.php
  98. 2
      plugin/dashboard/block_evaluation_graph/block_evaluation_graph.class.php
  99. 2
      plugin/dashboard/block_global_info/block_global_info.class.php
  100. 2
      plugin/dashboard/block_session/block_session.class.php
  101. Some files were not shown because too many files have changed in this diff Show More

@ -226,17 +226,17 @@ $url_list = UrlManager::get_url_data();
if($ajax_search) {
?>
<button class="btn btn-default" type="button" onclick="remove_item(document.getElementById('destination_users'))" >
<i class="fa fa-arrow-left"></i>
<em class="fa fa-arrow-left"></em>
</button>
<?php
} else {
?>
<button class="btn btn-default" type="button" onclick="moveItem(document.getElementById('origin_users'), document.getElementById('destination_users'))" >
<i class="fa fa-arrow-right"></i>
<em class="fa fa-arrow-right"></em>
</button>
<br /><br />
<button class="btn btn-default" type="button" onclick="moveItem(document.getElementById('destination_users'), document.getElementById('origin_users'))" >
<i class="fa fa-arrow-left"></i>
<em class="fa fa-arrow-left"></em>
</button>
<?php
}

@ -219,17 +219,17 @@ if (!empty($errorMsg)) {
if ($ajax_search) {
?>
<button class="btn btn-default" type="button" onclick="remove_item(document.getElementById('destination_users'))" >
<i class="fa fa-arrow-left"></i>
<em class="fa fa-arrow-left"></em>
</button>
<?php
} else {
?>
<button class="btn btn-default" type="button" onclick="moveItem(document.getElementById('origin_users'), document.getElementById('destination_users'))" >
<i class="fa fa-arrow-right"></i>
<em class="fa fa-arrow-right"></em>
</button>
<br /><br />
<button class="btn btn-default" type="button" onclick="moveItem(document.getElementById('destination_users'), document.getElementById('origin_users'))" >
<i class="fa fa-arrow-left"></i>
<em class="fa fa-arrow-left"></em>
</button>
<?php
}

@ -273,15 +273,15 @@ if (!empty($errorMsg)) {
<td width="10%" valign="middle" align="center">
<?php if ($ajax_search) { ?>
<button class="btn btn-default" type="button" onclick="remove_item(document.getElementById('destination_users'))">
<i class="fa fa-arrow-left"></i>
<em class="fa fa-arrow-left"></em>
</button>
<?php } else { ?>
<button class="btn btn-default" type="button" onclick="moveItem(document.getElementById('origin_users'), document.getElementById('destination_users'))" >
<i class="fa fa-arrow-right"></i>
<em class="fa fa-arrow-right"></em>
</button>
<br /><br />
<button class="btn btn-default" type="button" onclick="moveItem(document.getElementById('destination_users'), document.getElementById('origin_users'))" >
<i class="fa fa-arrow-left"></i>
<em class="fa fa-arrow-left"></em>
</button>
<?php } ?>

@ -249,17 +249,17 @@ if (!empty($errorMsg)) {
if ($ajax_search) {
?>
<button class="btn bt-default" type="button" onclick="remove_item(document.getElementById('elements_in'))" >
<i class="fa fa-arrow-left"></i>
<em class="fa fa-arrow-left"></em>
</button>
<?php
} else {
?>
<button class="btn btn-default" type="button" onclick="moveItem(document.getElementById('elements_not_in'), document.getElementById('elements_in'))" onclick="moveItem(document.getElementById('elements_not_in'), document.getElementById('elements_in'))">
<i class="fa fa-arrow-right"></i>
<em class="fa fa-arrow-right"></em>
</button>
<br /><br />
<button class="btn btn-default" type="button" onclick="moveItem(document.getElementById('elements_in'), document.getElementById('elements_not_in'))" onclick="moveItem(document.getElementById('elements_in'), document.getElementById('elements_not_in'))">
<i class="fa fa-arrow-left"></i>
<em class="fa fa-arrow-left"></em>
</button>
<?php
}

@ -227,17 +227,17 @@ if (!empty($errorMsg)) {
if ($ajax_search) {
?>
<button class="btn btn-default" type="button" onclick="remove_item(document.getElementById('session_in_promotion'))" >
<i class="fa fa-arrow-left"></i>
<em class="fa fa-arrow-left"></em>
</button>
<?php
} else {
?>
<button class="btn btn-default" type="button" onclick="moveItem(document.getElementById('session_not_in_promotion'), document.getElementById('session_in_promotion'))" onclick="moveItem(document.getElementById('session_not_in_promotion'), document.getElementById('session_in_promotion'))">
<i class="fa fa-arrow-right"></i>
<em class="fa fa-arrow-right"></em>
</button>
<br /><br />
<button class="btn btn-default" type="button" onclick="moveItem(document.getElementById('session_in_promotion'), document.getElementById('session_not_in_promotion'))" onclick="moveItem(document.getElementById('session_in_promotion'), document.getElementById('session_not_in_promotion'))">
<i class="fa fa-arrow-left"></i>
<em class="fa fa-arrow-left"></em>
</button>
<?php
}

@ -262,17 +262,17 @@ if(!empty($errorMsg)) {
if ($ajax_search) {
?>
<button class="btn btn-default" type="button" onclick="remove_item(document.getElementById('elements_in'))" >
<i class="fa fa-arrow-left"></i>
<em class="fa fa-arrow-left"></em>
</button>
<?php
} else {
?>
<button class="btn btn-default" type="button" onclick="moveItem(document.getElementById('elements_not_in'), document.getElementById('elements_in'))" onclick="moveItem(document.getElementById('elements_not_in'), document.getElementById('elements_in'))">
<i class="fa fa-arrow-right"></i>
<em class="fa fa-arrow-right"></em>
</button>
<br /><br />
<button class="btn btn-default" type="button" onclick="moveItem(document.getElementById('elements_in'), document.getElementById('elements_not_in'))" onclick="moveItem(document.getElementById('elements_in'), document.getElementById('elements_not_in'))">
<i class="fa fa-arrow-left"></i>
<em class="fa fa-arrow-left"></em>
</button>
<?php
}

@ -441,13 +441,13 @@ if (!empty($errorMsg)) {
<?php
if ($ajax_search) {
?>
<button class="btn btn-default" type="button" onclick="remove_item(document.getElementById('destination_users'))" ><i class="fa fa-arrow-left"></i></button>
<button class="btn btn-default" type="button" onclick="remove_item(document.getElementById('destination_users'))" ><em class="fa fa-arrow-left"></em></button>
<?php
} else {
?>
<button class="btn btn-default" type="button" onclick="moveItem(document.getElementById('origin_users'), document.getElementById('destination_users'))" onclick="moveItem(document.getElementById('origin_users'), document.getElementById('destination_users'))"><i class="fa fa-arrow-right"></i></button>
<button class="btn btn-default" type="button" onclick="moveItem(document.getElementById('origin_users'), document.getElementById('destination_users'))" onclick="moveItem(document.getElementById('origin_users'), document.getElementById('destination_users'))"><em class="fa fa-arrow-right"></em></button>
<br /><br />
<button class="btn btn-default" type="button" onclick="moveItem(document.getElementById('destination_users'), document.getElementById('origin_users'))" onclick="moveItem(document.getElementById('destination_users'), document.getElementById('origin_users'))"><i class="fa fa-arrow-left"></i></button>
<button class="btn btn-default" type="button" onclick="moveItem(document.getElementById('destination_users'), document.getElementById('origin_users'))" onclick="moveItem(document.getElementById('destination_users'), document.getElementById('origin_users'))"><em class="fa fa-arrow-left"></em></button>
<?php
}
?>
@ -473,7 +473,7 @@ if (!empty($errorMsg)) {
<td colspan="3" align="center">
<br />
<?php
echo '<button class="btn btn-success" type="button" value="" onclick="valide()" ><i class="fa fa-floppy-o"></i> '.get_lang('SubscribeUsersToGroup').'</button>';
echo '<button class="btn btn-success" type="button" value="" onclick="valide()" ><em class="fa fa-floppy-o"></em> '.get_lang('SubscribeUsersToGroup').'</button>';
?>
</td>
</tr>

@ -427,11 +427,11 @@ echo Display::input('hidden', 'add_type', null);
<div class="col-md-2">
<div style="padding-top:54px;width:auto;text-align: center;">
<button class="btn btn-default" type="button" onclick="moveItem(document.getElementById('elements_not_in'), document.getElementById('elements_in'))" onclick="moveItem(document.getElementById('elements_not_in'), document.getElementById('elements_in'))">
<i class="fa fa-arrow-right"></i>
<em class="fa fa-arrow-right"></em>
</button>
<br /><br />
<button class="btn btn-default" type="button" onclick="moveItem(document.getElementById('elements_in'), document.getElementById('elements_not_in'))" onclick="moveItem(document.getElementById('elements_in'), document.getElementById('elements_not_in'))">
<i class="fa fa-arrow-left"></i>
<em class="fa fa-arrow-left"></em>
</button>
</div>
</div>
@ -453,7 +453,7 @@ echo Display::input('hidden', 'add_type', null);
</div>
<?php
echo '<button class="btn btn-primary" type="button" value="" onclick="valide()" ><i class="fa fa-check"></i>'.
echo '<button class="btn btn-primary" type="button" value="" onclick="valide()" ><em class="fa fa-check"></em>'.
get_lang('SubscribeUsersToClass').'</button>';
?>
</form>

@ -472,7 +472,7 @@ if (!empty($action)) {
// If the requested action is to create a link, make some room
// for the new link in the home_menu array at the requested place
// and insert the new link there
$icon = '<i class="fa fa-external-link"></i>';
$icon = '<em class="fa fa-external-link"></em>';
if ($action == 'insert_link' || $action == 'insert_tabs') {
for ($i = sizeof($home_menu); $i; $i--) {
if ($i > $insert_where) {
@ -1012,11 +1012,11 @@ switch ($action) {
<?php echo api_display_language_form(); ?>
<form id="formLogin" class="form-horizontal">
<div class="input-group">
<div class="input-group-addon"><i class="fa fa-user"></i></div>
<div class="input-group-addon"><em class="fa fa-user"></em></div>
<input class="form-control" type="text" id="login" value="" disabled="disabled" />
</div>
<div class="input-group">
<div class="input-group-addon"><i class="fa fa-lock"></i></div>
<div class="input-group-addon"><em class="fa fa-lock"></em></div>
<input type="password" id="password"class="form-control" value="" disabled="disabled" />
</div>
<button class="btn btn-primary btn-block" type="button" name="submitAuth" value="<?php echo get_lang('Ok'); ?>" disabled="disabled"><?php echo get_lang('Ok'); ?></button>

@ -368,7 +368,7 @@ if (isset ($_GET['search']) && $_GET['search'] == 'advanced') {
$form = new FormValidator('search_simple', 'get', '', '', array(), FormValidator::LAYOUT_INLINE);
$form->addElement('text', 'keyword', null, array('id' => 'course-search-keyword'));
$form->addButtonSearch(get_lang('SearchCourse'));
$advanced = '<a class="btn btn-default" href="'. api_get_path(WEB_CODE_PATH).'admin/course_list.php?search=advanced"><i class="fa fa-search"></i> '.get_lang('AdvancedSearch').'</a>';
$advanced = '<a class="btn btn-default" href="'. api_get_path(WEB_CODE_PATH).'admin/course_list.php?search=advanced"><em class="fa fa-search"></i> '.get_lang('AdvancedSearch').'</a>';
// Create a filter by session
$sessionFilter = new FormValidator('course_filter', 'get', '', '', array(), FormValidator::LAYOUT_INLINE);

@ -272,11 +272,11 @@ if(!empty($msg)) {
<td width="10%" valign="middle" align="center">
<button class="btn-default" type="button" onclick="moveItem(document.getElementById('origin'), document.getElementById('destination'))" onclick="moveItem(document.getElementById('origin'), document.getElementById('destination'))">
<i class="fa fa-arrow-right"></i>
<em class="fa fa-arrow-right"></em>
</button>
<br /><br />
<button class="btn-default" type="button" onclick="moveItem(document.getElementById('destination'), document.getElementById('origin'))" onclick="moveItem(document.getElementById('destination'), document.getElementById('origin'))">
<i class="fa fa-arrow-left"></i>
<em class="fa fa-arrow-left"></em>
</button>
<br /><br /><br /><br /><br /><br />
<?php

@ -260,7 +260,7 @@ $result = Database::query($sql);
if ($ajax_search) {
?>
<button class="btn btn-default" type="button" onclick="remove_item(document.getElementById('destination'))">
<i class="fa fa-arrow-left"></i>
<em class="fa fa-arrow-left"></em>
</button>
<?php
}
@ -268,11 +268,11 @@ $result = Database::query($sql);
{
?>
<button class="btn btn-default" type="button" onclick="moveItem(document.getElementById('origin'), document.getElementById('destination'))" onclick="moveItem(document.getElementById('origin'), document.getElementById('destination'))">
<i class="fa fa-arrow-right"></i>
<em class="fa fa-arrow-right"></em>
</button>
<br /><br />
<button class="btn btn-default" type="button" onclick="moveItem(document.getElementById('destination'), document.getElementById('origin'))" onclick="moveItem(document.getElementById('destination'), document.getElementById('origin'))">
<i class="fa fa-arrow-left"></i>
<em class="fa fa-arrow-left"></em>
</button>
<?php
}

@ -313,7 +313,7 @@ if ($userStatus != STUDENT_BOSS) {
);
}
$actionsRight = Display::url('<i class="fa fa-search"></i> ' . get_lang('AdvancedSearch'), '#', array('class' => 'btn btn-default advanced_options', 'id' => 'advanced_search'));
$actionsRight = Display::url('<em class="fa fa-search"></em> ' . get_lang('AdvancedSearch'), '#', array('class' => 'btn btn-default advanced_options', 'id' => 'advanced_search'));
$toolbar = Display::toolbarAction('toolbar-dashboard', $content = array( 0 => $actionsLeft, 1 => $actionsRight ));
echo $toolbar;
@ -439,11 +439,11 @@ if(!empty($msg)) {
<button class="btn btn-primary" type="button" onclick="remove_item(document.getElementById('destination'))"></button>
<?php } else { ?>
<button class="btn btn-primary" type="button" onclick="moveItem(document.getElementById('origin'), document.getElementById('destination'))" onclick="moveItem(document.getElementById('origin'), document.getElementById('destination'))">
<i class="fa fa-chevron-right"></i>
<em class="fa fa-chevron-right"></em>
</button>
<br /><br />
<button class="btn btn-primary" type="button" onclick="moveItem(document.getElementById('destination'), document.getElementById('origin'))" onclick="moveItem(document.getElementById('destination'), document.getElementById('origin'))">
<i class="fa fa-chevron-left"></i>
<em class="fa fa-chevron-left"></em>
</button>
<?php
}

@ -323,10 +323,10 @@ echo Display::actions($action_array);
</div>
<div class="col-md-4">
<div class="registration_case">
<button class="btn btn-default" onclick='moveUsers($("#usersList"),$("#usersSubList")); return false;'><i class="fa fa-arrow-left"></i></button>
<button class="btn btn-default" onclick='moveUsers($("#usersList"),$("#usersSubList")); return false;'><em class="fa fa-arrow-left"></em></button>
<br />
<br />
<button class="btn btn-default" onclick='moveUsers($("#usersSubList"),$("#usersList")); return false;'><i class="fa fa-arrow-right"></i></button>
<button class="btn btn-default" onclick='moveUsers($("#usersSubList"),$("#usersList")); return false;'><em class="fa fa-arrow-right"></em></button>
</div>
</div>
<div class="col-md-4">

@ -96,7 +96,7 @@ if (api_is_platform_admin()) {
<div class="form-group">
<input class="form-control" type="text" name="keyword" value="">
<button class="btn btn-default" type="submit">
<i class="fa fa-search"></i> ' . get_lang('Search') . '
<em class="fa fa-search"></em> ' . get_lang('Search') . '
</button>
</div>
</form>';
@ -149,7 +149,7 @@ if (api_is_platform_admin()) {
<div class="form-group">
<input class="form-control" type="text" name="keyword" value="">
<button class="btn btn-default" type="submit">
<i class="fa fa-search"></i> ' . get_lang('Search') . '
<em class="fa fa-search"></em> ' . get_lang('Search') . '
</button>
</div>
</form>';
@ -209,7 +209,7 @@ if (api_is_platform_admin()) {
<input class="form-control" type="text" name="search_field" value="" >
<input type="hidden" value="search_setting" name="category">
<button class="btn btn-default" type="submit">
<i class="fa fa-search"></i> ' . get_lang('Search') . '
<em class="fa fa-search"></em> ' . get_lang('Search') . '
</button>
</div>
</form>';
@ -282,7 +282,7 @@ $search_form = ' <form method="GET" class="form-inline" action="'.$sessionPath.'
<div class="form-group">
<input class="form-control" type="text" name="keyword" value="">
<button class="btn btn-default" type="submit">
<i class="fa fa-search"></i> ' . get_lang('Search') . '
<em class="fa fa-search"></em> ' . get_lang('Search') . '
</button>
</div>
</form>';

@ -173,13 +173,13 @@ function handle_plugins()
echo '<div class="btn-group">';
if (in_array($plugin, $installed_plugins)) {
echo Display::url('<i class="fa fa-cogs"></i> '.get_lang('Configure'), 'configure_plugin.php?name='.$plugin, array('class' => 'btn btn-default'));
echo Display::url('<i class="fa fa-th-large"></i> '.get_lang('Regions'), 'settings.php?category=Regions&name='.$plugin, array('class' => 'btn btn-default'));
echo Display::url('<em class="fa fa-cogs"></em> '.get_lang('Configure'), 'configure_plugin.php?name='.$plugin, array('class' => 'btn btn-default'));
echo Display::url('<em class="fa fa-th-large"></em> '.get_lang('Regions'), 'settings.php?category=Regions&name='.$plugin, array('class' => 'btn btn-default'));
}
if (file_exists(api_get_path(SYS_PLUGIN_PATH).$plugin.'/readme.txt')) {
echo Display::url(
"<i class='fa fa-file-text-o'></i> readme.txt",
"<em class='fa fa-file-text-o'></em> readme.txt",
api_get_path(WEB_PLUGIN_PATH) . $plugin . "/readme.txt",
[
'class' => 'btn btn-default ajax',

@ -304,7 +304,7 @@ if (is_array($extra_field_list)) {
</td>
<td width="20%" valign="middle" align="center">
<button type="submit" class="btn btn-primary" value="<?php echo get_lang('AddToThatCourse'); ?> &gt;&gt;">
<i class="fa fa-plus"></i> <?php echo get_lang('AddToThatCourse'); ?>
<em class="fa fa-plus"></em> <?php echo get_lang('AddToThatCourse'); ?>
</button>
</td>
<td width="40%" align="center">

@ -590,7 +590,7 @@ class CoursesController
*/
public function getAlreadyRegisteredInSessionLabel()
{
$icon = '<i class="fa fa-smile-o"></i>';
$icon = '<em class="fa fa-smile-o"></em>';
return Display::div(
$icon . ' ' . get_lang("AlreadyRegisteredToSession"),

@ -333,7 +333,7 @@ Display::display_introduction_section(TOOL_BLOGS);
<input type="hidden" name="action" value="view_search_result" />
<input type="text" class="form-control" size="20" name="q" value="<?php echo isset($_GET['q']) ? Security::remove_XSS($_GET['q']) : ''; ?>" />
</div>
<button class="btn btn-default btn-block" type="submit"><i class="fa fa-search"></i> <?php echo get_lang('Search'); ?></button>
<button class="btn btn-default btn-block" type="submit"><em class="fa fa-search"></em> <?php echo get_lang('Search'); ?></button>
</form>
</div>
</div>

@ -145,8 +145,8 @@ switch ($action) {
$delete = (!empty($tool['custom_icon'])) ? "<a class=\"btn btn-default\" onclick=\"javascript:
if(!confirm('".addslashes(api_htmlentities(get_lang('ConfirmYourChoice'), ENT_QUOTES, $charset)).
"')) return false;\" href=\"". api_get_self() . '?action=delete_icon&id=' . $tool['iid'] . '&'.api_get_cidreq()."\">
<i class=\"fa fa-trash-o\"></i></a>" : "";
$edit = '<a class="btn btn-default" href="' . api_get_self() . '?action=edit_icon&id=' . $tool['iid'] . '&'.api_get_cidreq().'"><i class="fa fa-pencil"></i></a>';
<em class=\"fa fa-trash-o\"></em></a>" : "";
$edit = '<a class="btn btn-default" href="' . api_get_self() . '?action=edit_icon&id=' . $tool['iid'] . '&'.api_get_cidreq().'"><em class="fa fa-pencil"></em></a>';
$iconsTools .= '<div class="icon-tools">'. $icon . '</div>';
$iconsTools .= '<div class="name-tools">' . $toolIconName . '</div>';

@ -128,7 +128,7 @@ function display_form()
$html .= Display::panel($options, get_lang('TypeOfCopy'));
$html .= '<div class="form-group"><div class="col-sm-12">';
$html .= '<button class="btn btn-success" type="submit" onclick="javascript:if(!confirm('."'".addslashes(api_htmlentities(get_lang('ConfirmYourChoice'), ENT_QUOTES))."'".')) return false;"><i class="fa fa-files-o"></i> '.get_lang('CopyCourse').'</button>';
$html .= '<button class="btn btn-success" type="submit" onclick="javascript:if(!confirm('."'".addslashes(api_htmlentities(get_lang('ConfirmYourChoice'), ENT_QUOTES))."'".')) return false;"><em class="fa fa-files-o"></em> '.get_lang('CopyCourse').'</button>';
// Add Security token
$html .= '<input type="hidden" value="' . Security::get_token() . '" name="sec_token">';

@ -350,7 +350,7 @@ if ($show_web_odf) {
echo '</div>';
} else {
// ViewerJS already have download button
echo '<a class="btn btn-default" href="'.$file_url_web.'" target="_blank"><i class="fa fa-download"></i>
echo '<a class="btn btn-default" href="'.$file_url_web.'" target="_blank"><em class="fa fa-download"></em>
'.get_lang('Download').'</a>';
}
@ -430,7 +430,7 @@ if ($is_freemind_available) {
if ($is_nanogong_available) {
$file_url_web = DocumentManager::generateAudioTempFolder($file_url_sys);
echo '<div align="center">';
echo '<a class="btn btn-default" href="'.$file_url_web.'" target="_blank"><i class="fa fa-download"></i> '.get_lang('Download').'</a>';
echo '<a class="btn btn-default" href="'.$file_url_web.'" target="_blank"><em class="fa fa-download"></em> '.get_lang('Download').'</a>';
echo '<br/>';
echo '<br/>';
echo DocumentManager::readNanogongFile($to_url);

@ -237,15 +237,15 @@ echo '</div>';
<form>
<br/>
<button id="btnCapture" class="btn btn-danger">
<i class="fa fa-camera"></i>
<em class="fa fa-camera"></em>
<?php echo get_lang('Snapshot'); ?>
</button>
<button id="btnClean" class="btn btn-success">
<i class="fa fa-refresh"></i>
<em class="fa fa-refresh"></em>
<?php echo get_lang('Clean'); ?>
</button>
<button id="btnSave" class="btn btn-primary">
<i class="fa fa-save"></i>
<em class="fa fa-save"></em>
<?php echo get_lang('Save'); ?>
</button>
&nbsp;&nbsp;||&nbsp;&nbsp;

@ -1011,7 +1011,7 @@ if (empty($exercise_list) && $hotpotatoes_exist == false) {
echo '<h3>'.get_lang('Quiz').'</h3>';
echo Display::return_icon('quiz.png', '', array(), 64);
echo '<div class="controls">';
echo Display::url('<i class="fa fa-plus"></i> '.get_lang('NewEx'), 'exercise_admin.php?'.api_get_cidreq(), array('class' => 'btn btn-primary'));
echo Display::url('<em class="fa fa-plus"></em> '.get_lang('NewEx'), 'exercise_admin.php?'.api_get_cidreq(), array('class' => 'btn btn-primary'));
echo '</div>';
echo '</div>';
}

@ -567,21 +567,21 @@ if ($modifyAnswers) {
<div class="col-sm-12">
<?php if ($answerType == HOT_SPOT_DELINEATION) { ?>
<button type="submit" class="btn btn-danger" name="lessAnswers" value="lessAnswers">
<i class="fa fa-trash"></i> <?php echo get_lang('LessOAR'); ?>
<em class="fa fa-trash"></em> <?php echo get_lang('LessOAR'); ?>
</button>
<button type="submit" name="moreOARAnswers" value="moreOARAnswers">
<i class="fa fa-plus"></i> <?php echo get_lang('MoreOAR'); ?>
<em class="fa fa-plus"></em> <?php echo get_lang('MoreOAR'); ?>
</button>
<?php } else { ?>
<button type="submit" class="btn btn-danger" name="lessAnswers" value="lessAnswers">
<i class="fa fa-trash"></i> <?php echo get_lang('LessHotspots'); ?>
<em class="fa fa-trash"></em> <?php echo get_lang('LessHotspots'); ?>
</button>
<button type="submit" class="btn btn-primary" name="moreAnswers" value="moreAnswers">
<i class="fa fa-plus"></i> <?php echo get_lang('MoreHotspots'); ?>
<em class="fa fa-plus"></em> <?php echo get_lang('MoreHotspots'); ?>
</button>
<?php } ?>
<button type="submit" class="btn btn-primary" name="submitAnswers" value="submitAnswers">
<i class="fa fa-save"></i> <?php echo get_lang('AddQuestionToExercise'); ?>
<em class="fa fa-save"></em> <?php echo get_lang('AddQuestionToExercise'); ?>
</button>
</div>
</div>

@ -55,7 +55,7 @@ if (isset($current_thread['thread_id'])) {
$buttonReply = Display::tag(
'a',
'<i class="fa fa-reply"></i> ' . get_lang('ReplyToMessage'),
'<em class="fa fa-reply"></em> ' . get_lang('ReplyToMessage'),
array(
'href' => 'reply.php?' . api_get_cidreq()
. "&forum=$clean_forum_id&thread=$clean_thread_id&post="
@ -66,7 +66,7 @@ if (isset($current_thread['thread_id'])) {
$buttonQuote = Display::tag(
'a',
'<i class="fa fa-quote-left"></i> ' . get_lang('QuoteMessage'),
'<em class="fa fa-quote-left"></em> ' . get_lang('QuoteMessage'),
array(
'href' => 'reply.php?' . api_get_cidreq()
. "&forum=$clean_forum_id&thread=$clean_thread_id"
@ -81,21 +81,21 @@ if (isset($current_thread['thread_id'])) {
if (($current_forum_category && $current_forum_category['locked'] == 1)) {
$closedPost = Display::tag(
'div',
'<i class="fa fa-exclamation-triangle"></i> ' . get_lang('ForumcategoryLocked'),
'<em class="fa fa-exclamation-triangle"></em> ' . get_lang('ForumcategoryLocked'),
array('class' => 'alert alert-warning post-closed')
);
}
if ($current_forum['locked'] == 1) {
$closedPost = Display::tag(
'div',
'<i class="fa fa-exclamation-triangle"></i> ' . get_lang('ForumLocked'),
'<em class="fa fa-exclamation-triangle"></em> ' . get_lang('ForumLocked'),
array('class' => 'alert alert-warning post-closed')
);
}
if ($current_thread['locked'] == 1) {
$closedPost = Display::tag(
'div',
'<i class="fa fa-exclamation-triangle"></i> ' . get_lang('ThreadLocked'),
'<em class="fa fa-exclamation-triangle"></em> ' . get_lang('ThreadLocked'),
array('class' => 'alert alert-warning post-closed')
);
}

@ -179,7 +179,7 @@ foreach ($rows as $post) {
$buttonReply = Display::tag(
'a',
'<i class="fa fa-reply"></i> ' . get_lang('ReplyToMessage'),
'<em class="fa fa-reply"></em> ' . get_lang('ReplyToMessage'),
array(
'href' => 'reply.php?' . api_get_cidreq()
. "&forum=$clean_forum_id'&thread=$clean_thread_id"
@ -190,7 +190,7 @@ foreach ($rows as $post) {
$buttonQuote = Display::tag(
'a',
'<i class="fa fa-quote-left"></i> ' . get_lang('QuoteMessage'),
'<em class="fa fa-quote-left"></em> ' . get_lang('QuoteMessage'),
array(
'href' => 'reply.php?' . api_get_cidreq()
. "&forum=$clean_forum_id&thread=$clean_thread_id"
@ -204,21 +204,21 @@ foreach ($rows as $post) {
if ($current_forum_category && $current_forum_category['locked'] == 1) {
$closedPost = Display::tag(
'div',
'<i class="fa fa-exclamation-triangle"></i> ' . get_lang('ForumcategoryLocked'),
'<em class="fa fa-exclamation-triangle"></em> ' . get_lang('ForumcategoryLocked'),
array('class' => 'alert alert-warning post-closed')
);
}
if ($current_forum['locked'] == 1) {
$closedPost = Display::tag(
'div',
'<i class="fa fa-exclamation-triangle"></i> ' . get_lang('ForumLocked'),
'<em class="fa fa-exclamation-triangle"></em> ' . get_lang('ForumLocked'),
array('class' => 'alert alert-warning post-closed')
);
}
if ($current_thread['locked'] == 1) {
$closedPost = Display::tag(
'div',
'<i class="fa fa-exclamation-triangle"></i> ' . get_lang('ThreadLocked'),
'<em class="fa fa-exclamation-triangle"></em> ' . get_lang('ThreadLocked'),
array('class' => 'alert alert-warning post-closed')
);
}

@ -58,7 +58,7 @@ switch ($action) {
<div class="row">
<div class="col-sm-10 col-sm-offset-2">
<a class="btn btn-primary" id="send_message_link">
<i class="fa fa-envelope"></i> ' . get_lang('Send') . '
<em class="fa fa-envelope"></em> ' . get_lang('Send') . '
</a>
</div>
</div>

@ -130,8 +130,8 @@ if (is_int($global_error_code) && $global_error_code > 0) {
<h2 class="title">Welcome to the Chamilo installation wizard</h2>
<p class="text">Let\'s start hunting skills down with Chamilo LMS! This wizard will guide you through the Chamilo installation and configuration process.</p>
<p class="download-info">
<button class="btn btn-primary btn-lg" type="submit" value="INSTALL Chamilo" ><i class="fa fa-download"></i> Install Chamilo</button>
<a class="btn btn-success btn-lg" href="'.$installation_guide_url.'" target="_blank"> <i class="fa fa-file-text-o"></i> '.$read_installation_guide.'</a>
<button class="btn btn-primary btn-lg" type="submit" value="INSTALL Chamilo" ><em class="fa fa-download"></em> Install Chamilo</button>
<a class="btn btn-success btn-lg" href="'.$installation_guide_url.'" target="_blank"> <em class="fa fa-file-text-o"></em> '.$read_installation_guide.'</a>
</p>
</div>
</form>';

@ -309,7 +309,7 @@ if (!empty($thematic_advance_info)) {
$editIconButton = '';
if (api_is_allowed_to_edit() && empty($session_id)) {
$editIconButton = Display::url(
'<i class="fa fa-wrench"></i> ',
'<em class="fa fa-wrench"></em> ',
api_get_path(WEB_CODE_PATH).'course_info/tools.php?'.api_get_cidreq(),
['class' => 'btn btn-default', 'title' => get_lang('CustomizeIcons') ]
);
@ -323,7 +323,7 @@ if ($intro_dispCommand) {
$toolbar = '<div class="btn-group pull-right" role="group">';
if (!empty($courseId)) {
$textIntro = '<a class="btn btn-default" title="' . get_lang('AddIntro') . '" href="'.api_get_self().'?' . api_get_cidreq().'&intro_cmdAdd=1">';
$textIntro .= '<i class="fa fa-file-text"></i> ';
$textIntro .= '<em class="fa fa-file-text"></em> ';
$textIntro .= "</a>";
$toolbar .= $textIntro . $editIconButton;
} else {
@ -338,21 +338,21 @@ if ($intro_dispCommand) {
if (!empty($courseId)) {
$toolbar .=
'<a class="btn btn-default" href="'.api_get_self().'?'.api_get_cidreq().'&intro_cmdEdit=1" title="'.get_lang('Modify').'">
<i class="fa fa-pencil"></i></a>';
<em class="fa fa-pencil"></em></a>';
$toolbar .= $editIconButton;
$toolbar .="<a class=\"btn btn-default\" href=\"".api_get_self()."?".api_get_cidreq()."&intro_cmdDel=1\" onclick=\"javascript:
if(!confirm('".addslashes(api_htmlentities(get_lang('ConfirmYourChoice'), ENT_QUOTES, $charset)).
"')) return false;\"><i class=\"fa fa-trash-o\"></i></a>";
"')) return false;\"><em class=\"fa fa-trash-o\"></em></a>";
} else {
$toolbar .=
'<a class="btn btn-default" href="'.api_get_self().'?intro_cmdEdit=1" title="'.get_lang('Modify').'">
<i class="fa fa-pencil"></i>
<em class="fa fa-pencil"></em>
</a>"';
$toolbar .= $editIconButton;
$toolbar .= "<a class=\"btn btn-default\" href=\"".api_get_self()."?".api_get_cidreq()."&intro_cmdDel=1\" onclick=\"javascript:
if(!confirm('".addslashes(api_htmlentities(get_lang('ConfirmYourChoice'), ENT_QUOTES, $charset)).
"')) return false;\"><i class=\"fa fa-trash-o\"></i></a>";
"')) return false;\"><em class=\"fa fa-trash-o\"></em></a>";
}
$toolbar .= "</div>";
// Fix for chrome XSS filter for videos in iframes - BT#7930

@ -801,9 +801,9 @@ class AnnouncementManager
// the buttons for adding or removing groups/users
echo '<td valign="middle">';
echo '<button class="btn btn-default" type="button" onClick="javascript: move(this.form.elements[1], this.form.elements[4])" onClick="javascript: move(this.form.elements[1], this.form.elements[4])"><i class="fa fa-arrow-right"></i></button>';
echo '<button class="btn btn-default" type="button" onClick="javascript: move(this.form.elements[1], this.form.elements[4])" onClick="javascript: move(this.form.elements[1], this.form.elements[4])"><em class="fa fa-arrow-right"></em></button>';
echo '<br /> <br />';
echo '<button class="btn btn-default" type="button" onClick="javascript: move(this.form.elements[4], this.form.elements[1])" onClick="javascript: move(this.form.elements[4], this.form.elements[1])"><i class="fa fa-arrow-left"></i></button>';
echo '<button class="btn btn-default" type="button" onClick="javascript: move(this.form.elements[4], this.form.elements[1])" onClick="javascript: move(this.form.elements[4], this.form.elements[1])"><em class="fa fa-arrow-left"></em></button>';
echo "</td>";
echo "<td>";
@ -836,9 +836,9 @@ class AnnouncementManager
// the buttons for adding or removing groups/users
echo "<td valign=\"middle\">";
echo '<button class="btn btn-default" type="button" onClick="javascript: move(this.form.elements[1], this.form.elements[4])" onClick="javascript: move(this.form.elements[1], this.form.elements[4])"><i class="fa fa-arrow-right"></i></button>';
echo '<button class="btn btn-default" type="button" onClick="javascript: move(this.form.elements[1], this.form.elements[4])" onClick="javascript: move(this.form.elements[1], this.form.elements[4])"><em class="fa fa-arrow-right"></em></button>';
echo '<br /> <br />';
echo '<button class="btn btn-default" type="button" onClick="javascript: move(this.form.elements[4], this.form.elements[1])" onClick="javascript: move(this.form.elements[4], this.form.elements[1])"><i class="fa fa-arrow-left"></i></button>';
echo '<button class="btn btn-default" type="button" onClick="javascript: move(this.form.elements[4], this.form.elements[1])" onClick="javascript: move(this.form.elements[4], this.form.elements[1])"><em class="fa fa-arrow-left"></em></button>';
echo "</td>";
echo "<td>";

@ -399,7 +399,7 @@ class DashboardManager
echo '</table>';
echo '<div class="row"><div class="col-md-12">';
echo '<button class="btn btn-default" type="submit" name="submit_dashboard_list" value="'.get_lang('EnableDashboardBlock').'"><i class="fa fa-check-square"></i> '.
echo '<button class="btn btn-default" type="submit" name="submit_dashboard_list" value="'.get_lang('EnableDashboardBlock').'"><em class="fa fa-check-square"></em> '.
get_lang('EnableDashboardBlock').'</button></form>';
echo '</div></div>';
} else {

@ -389,13 +389,13 @@ function createChatBox(user_id, chatboxtitle, minimizeChatBox, online, userImage
href: ajax_url + '?action=create_room&to=' + user_id
})
.data({
title: '<i class="fa fa-video-camera"></i>',
title: '<em class="fa fa-video-camera"></em>',
size: 'sm'
})
.on('click', function () {
$(this).data('title', $('.chatboxtitle').text());
})
.html('<i class="fa fa-video-camera"></i>')
.html('<em class="fa fa-video-camera"></em>')
.appendTo(chatboxoptions);
}
@ -405,7 +405,7 @@ function createChatBox(user_id, chatboxtitle, minimizeChatBox, online, userImage
href: 'javascript:void(0)',
rel: user_id
})
.html('<i class="fa fa-toggle-down"></i>')
.html('<em class="fa fa-toggle-down"></em>')
.appendTo(chatboxoptions);
$('<a>')
@ -414,7 +414,7 @@ function createChatBox(user_id, chatboxtitle, minimizeChatBox, online, userImage
href: 'javascript:void(0)',
rel: user_id
})
.html('<i class="fa fa-close"></i>')
.html('<em class="fa fa-close"></em>')
.appendTo(chatboxoptions);
$('<br>')
@ -471,7 +471,7 @@ function createChatBox(user_id, chatboxtitle, minimizeChatBox, online, userImage
}
if (minimize == 1) {
$('.togglelink').html('<i class="fa fa-toggle-up"></i>');
$('.togglelink').html('<em class="fa fa-toggle-up"></em>');
$('#chatbox_'+user_id+' .chatboxcontent').css('display','none');
$('#chatbox_'+user_id+' .chatboxinput').css('display','none');
}
@ -556,7 +556,7 @@ function toggleChatBoxGrowth(user_id) {
$('#chatbox_'+user_id+' .chatboxinput').css('display','block');
$("#chatbox_"+user_id+" .chatboxcontent").scrollTop($("#chatbox_"+user_id+" .chatboxcontent")[0].scrollHeight);
$('.togglelink').html('<i class="fa fa-toggle-down"></i>');
$('.togglelink').html('<em class="fa fa-toggle-down"></em>');
} else {
var newCookie = user_id;
if ($.cookie('chatbox_minimized')) {
@ -566,7 +566,7 @@ function toggleChatBoxGrowth(user_id) {
$('#chatbox_'+user_id+' .chatboxcontent').css('display','none');
$('#chatbox_'+user_id+' .chatboxinput').css('display','none');
$('.togglelink').html('<i class="fa fa-toggle-up"></i>');
$('.togglelink').html('<em class="fa fa-toggle-up"></em>');
}
}

@ -606,7 +606,7 @@ class Nanogong
//$html .= Display::return_message(get_lang('BrowserNotSupportNanogongSend'), 'warning');
$html .= '<form id="form_nanogong_simple" class="form-search" action="'.$url.'" name="form_nanogong" method="POST" enctype="multipart/form-data">';
$html .= '<input type="file" name="file">';
$html .= '<a href="#" class="btn btn-default" onclick="upload_file()" /><i class="fa fa-upload"></i> '.get_lang('UploadFile').'</a>';
$html .= '<a href="#" class="btn btn-default" onclick="upload_file()" /><em class="fa fa-upload"></em> '.get_lang('UploadFile').'</a>';
$html .= '</form>';
$html .= '</div>';
$html .= '</center>';

@ -50,7 +50,7 @@ class HTML_QuickForm_advanced_settings extends HTML_QuickForm_static
<label class="col-sm-2 control-label"></label>
<div class="col-sm-10">
<a id="'.$name.'" class="btn btn-default advanced_options" href="#">
<i class="fa fa-bars"></i> '.$text.'
<em class="fa fa-bars"></em> '.$text.'
</a>
</div>
</div>';

@ -865,7 +865,7 @@ class HTML_QuickForm_advmultiselect extends HTML_QuickForm_select
$this->_removeButtonAttributes
= array_merge($this->_removeButtonAttributes, $attributes);
$attrStrRemove = $this->_getAttrString($this->_removeButtonAttributes);
$strHtmlRemove = "<button $attrStrRemove /> <i class='fa fa-arrow-left'></i></button>";
$strHtmlRemove = "<button $attrStrRemove /> <em class='fa fa-arrow-left'></em></button>";
// build the add button with all its attributes
$attributes
@ -877,7 +877,7 @@ class HTML_QuickForm_advmultiselect extends HTML_QuickForm_select
"'add', '{$this->_sort}'); return false;");
$this->_addButtonAttributes = array_merge($this->_addButtonAttributes, $attributes);
$attrStrAdd = $this->_getAttrString($this->_addButtonAttributes);
$strHtmlAdd = "<button $attrStrAdd /> <i class='fa fa-arrow-right'></i></button><br /><br />";
$strHtmlAdd = "<button $attrStrAdd /> <em class='fa fa-arrow-right'></em></button><br /><br />";
// build the select all button with all its attributes
$attributes

@ -94,7 +94,7 @@ class HTML_QuickForm_button extends HTML_QuickForm_input
$icon = $this->getIcon();
if (!empty($icon)) {
$icon = '<i class="' . $this->getIcon() . '"></i> ';
$icon = '<em class="' . $this->getIcon() . '"></em> ';
}
$class = $this->getClass().' '.$this->getStyle().' '.$this->getSize();

@ -90,7 +90,7 @@ class HTML_QuickForm_text extends HTML_QuickForm_input
return '
<div class="input-group-addon">
<i class="fa fa-'.$icon.'"></i>
<em class="fa fa-'.$icon.'"></em>
</div>';
}

@ -1411,7 +1411,7 @@ class SocialManager extends UserManager
<textarea placeholder="'.get_lang('SocialWriteNewComment').
'" name="social_wall_new_msg" rows="1" style="width:80%;" ></textarea>
<button type="submit" name="social_wall_new_msg_submit"
class="pull-right btn btn-default" /><i class="fa fa-pencil"></i> '.get_lang('Post').'</button>
class="pull-right btn btn-default" /><em class="fa fa-pencil"></em> '.get_lang('Post').'</button>
</form>';
$formattedList .= '</div>';
@ -1746,7 +1746,7 @@ class SocialManager extends UserManager
$friendHtml.='</ul>';
} else {
$friendHtml.= '<div class="">'.get_lang('NoFriendsInYourContactList').'<br />'
.'<a class="btn btn-primary" href="'.api_get_path(WEB_PATH).'whoisonline.php"><i class="fa fa-search"></i> '. get_lang('TryAndFindSomeFriends').'</a></div>';
.'<a class="btn btn-primary" href="'.api_get_path(WEB_PATH).'whoisonline.php"><em class="fa fa-search"></em> '. get_lang('TryAndFindSomeFriends').'</a></div>';
}
$friendHtml = Display::panel($friendHtml, get_lang('SocialFriend').' (' . $number_friends . ')' );
@ -1811,7 +1811,7 @@ class SocialManager extends UserManager
$friendHtml.='</div>';
} else {
$friendHtml.= '<div class="help">'.get_lang('NoFriendsInYourContactList').' '
.'<a href="'.api_get_path(WEB_PATH).'whoisonline.php"><i class="fa fa-search"></i> '. get_lang('TryAndFindSomeFriends').'</a></div>';
.'<a href="'.api_get_path(WEB_PATH).'whoisonline.php"><em class="fa fa-search"></em> '. get_lang('TryAndFindSomeFriends').'</a></div>';
}
return $friendHtml;

@ -862,9 +862,9 @@ class Template
if (api_get_setting('accessibility_font_resize') == 'true') {
$resize .= '<div class="resize_font">';
$resize .= '<div class="btn-group">';
$resize .= '<a title="'.get_lang('DecreaseFontSize').'" href="#" class="decrease_font btn btn-default"><i class="fa fa-font"></i></a>';
$resize .= '<a title="'.get_lang('ResetFontSize').'" href="#" class="reset_font btn btn-default"><i class="fa fa-font"></i></a>';
$resize .= '<a title="'.get_lang('IncreaseFontSize').'" href="#" class="increase_font btn btn-default"><i class="fa fa-font"></i></a>';
$resize .= '<a title="'.get_lang('DecreaseFontSize').'" href="#" class="decrease_font btn btn-default"><em class="fa fa-font"></em></a>';
$resize .= '<a title="'.get_lang('ResetFontSize').'" href="#" class="reset_font btn btn-default"><em class="fa fa-font"></em></a>';
$resize .= '<a title="'.get_lang('IncreaseFontSize').'" href="#" class="increase_font btn btn-default"><em class="fa fa-font"></em></a>';
$resize .= '</div>';
$resize .= '</div>';
}

@ -416,7 +416,7 @@ if ($encryptPassForm == '1') {
</div>
<div id="note">
<a class="btn btn-default" href="<?php echo $installationGuideLink; ?>" target="_blank">
<i class="fa fa-file-text-o"></i> <?php echo get_lang('ReadTheInstallationGuide'); ?>
<em class="fa fa-file-text-o"></em> <?php echo get_lang('ReadTheInstallationGuide'); ?>
</a>
</div>
</div>
@ -636,14 +636,14 @@ if (@$_POST['step2']) {
<tr>
<td>
<button type="submit" class="btn btn-default" name="step4" value="&lt; <?php echo get_lang('Previous'); ?>" >
<i class="fa fa-backward"> </i> <?php echo get_lang('Previous'); ?>
<em class="fa fa-backward"> </em> <?php echo get_lang('Previous'); ?>
</button>
</td>
<td align="right">
<input type="hidden" name="is_executable" id="is_executable" value="-" />
<input type="hidden" name="step6" value="1" />
<button id="button_step6" class="btn btn-success" type="submit" name="button_step6" value="<?php echo get_lang('InstallChamilo'); ?>">
<i class="fa fa-floppy-o"> </i>
<em class="fa fa-floppy-o"> </em>
<?php echo get_lang('InstallChamilo'); ?>
</button>
<button class="btn btn-save" id="button_please_wait"></button>

@ -646,7 +646,7 @@ function display_language_selection()
</div>
<div class="col-sm-6">
<button type="submit" name="step1" class="btn btn-success" value="<?php echo get_lang('Next'); ?>">
<i class="fa fa-forward"> </i>
<em class="fa fa-forward"> </em>
<?php echo get_lang('Next'); ?></button>
</div>
</div>
@ -988,11 +988,11 @@ function display_requirements(
</p>
<p>
<button type="submit" class="btn btn-default" name="step1" value="<?php echo get_lang('Back'); ?>" >
<i class="fa fa-backward"> <?php echo get_lang('Back'); ?></i>
<em class="fa fa-backward"> <?php echo get_lang('Back'); ?></em>
</button>
<input type="hidden" name="is_executable" id="is_executable" value="-" />
<button type="submit" class="btn btn-success" name="<?php echo (isset($_POST['step2_update_6']) ? 'step2_update_6' : 'step2_update_8'); ?>" value="<?php echo get_lang('Next'); ?> &gt;" >
<i class="fa fa-forward"> </i> <?php echo get_lang('Next'); ?>
<em class="fa fa-forward"> </em> <?php echo get_lang('Next'); ?>
</button>
</p>
</div>
@ -1061,17 +1061,17 @@ function display_requirements(
?>
<p align="center" style="padding-top:15px">
<button type="submit" name="step1" class="btn btn-default" onclick="javascript: window.location='index.php'; return false;" value="<?php echo get_lang('Previous'); ?>" >
<i class="fa fa-backward"> </i> <?php echo get_lang('Previous'); ?>
<em class="fa fa-backward"> </em> <?php echo get_lang('Previous'); ?>
</button>
<button type="submit" name="step2_install" class="btn btn-success" value="<?php echo get_lang("NewInstallation"); ?>" <?php if ($error) echo 'disabled="disabled"'; ?> >
<i class="fa fa-forward"> </i> <?php echo get_lang('NewInstallation'); ?>
<em class="fa fa-forward"> </em> <?php echo get_lang('NewInstallation'); ?>
</button>
<input type="hidden" name="is_executable" id="is_executable" value="-" />
<?php
// Real code
echo '<button type="submit" class="btn btn-default" name="step2_update_8" value="Upgrade from Chamilo 1.9.x"';
if ($error) echo ' disabled="disabled"';
echo ' ><i class="fa fa-forward"> </i> '.get_lang('UpgradeFromLMS19x').'</button>';
echo ' ><em class="fa fa-forward"> </em> '.get_lang('UpgradeFromLMS19x').'</button>';
echo '</p>';
}
@ -1102,11 +1102,11 @@ function display_license_agreement()
</label>
</div>
<button type="submit" class="btn btn-default" name="step1" value="&lt; <?php echo get_lang('Previous'); ?>" >
<i class="fa fa-backward"> </i> <?php echo get_lang('Previous'); ?>
<em class="fa fa-backward"> </em> <?php echo get_lang('Previous'); ?>
</button>
<input type="hidden" name="is_executable" id="is_executable" value="-" />
<button type="submit" class="btn btn-success" name="step3" onclick="javascript: if(!document.getElementById('accept_licence').checked) { alert('<?php echo get_lang('YouMustAcceptLicence')?>');return false;}" value="<?php echo get_lang('Next'); ?> &gt;" >
<i class="fa fa-forward"> </i> <?php echo get_lang('Next'); ?>
<em class="fa fa-forward"> </em> <?php echo get_lang('Next'); ?>
</button>
</div>
@ -1242,7 +1242,7 @@ function get_contact_registration_form()
<div class="clear"></div>
<div class="form-group">
<div class="col-sm-3">&nbsp;</div>
<div class="col-sm-9"><button type="button" class="btn btn-default" onclick="javascript:send_contact_information();" value="'.get_lang('SendInformation').'" ><i class="fa fa-floppy-o"> </i> '.get_lang('SendInformation').'</button></div>
<div class="col-sm-9"><button type="button" class="btn btn-default" onclick="javascript:send_contact_information();" value="'.get_lang('SendInformation').'" ><em class="fa fa-floppy-o"> </i> '.get_lang('SendInformation').'</button></div>
</div>
<div class="form-group">
<div class="col-sm-3">&nbsp;</div>
@ -1405,7 +1405,7 @@ function display_database_settings_form(
<div class="col-sm-3"></div>
<div class="col-sm-9">
<button type="submit" class="btn btn-primary" name="step3" value="step3">
<i class="fa fa-refresh"> </i>
<em class="fa fa-refresh"> </em>
<?php echo get_lang('CheckDatabaseConnection'); ?>
</button>
</div>
@ -1458,18 +1458,18 @@ function display_database_settings_form(
<div class="form-group">
<div class="col-sm-6">
<button type="submit" name="step2" class="btn btn-default pull-right" value="&lt; <?php echo get_lang('Previous'); ?>" >
<i class="fa fa-backward"> </i> <?php echo get_lang('Previous'); ?>
<em class="fa fa-backward"> </em> <?php echo get_lang('Previous'); ?>
</button>
</div>
<div class="col-sm-6">
<input type="hidden" name="is_executable" id="is_executable" value="-" />
<?php if ($manager) { ?>
<button type="submit" class="btn btn-success" name="step4" value="<?php echo get_lang('Next'); ?> &gt;" >
<i class="fa fa-forward"> </i> <?php echo get_lang('Next'); ?>
<em class="fa fa-forward"> </em> <?php echo get_lang('Next'); ?>
</button>
<?php } else { ?>
<button disabled="disabled" type="submit" class="btn btn-success disabled" name="step4" value="<?php echo get_lang('Next'); ?> &gt;" >
<i class="fa fa-forward"> </i> <?php echo get_lang('Next'); ?>
<em class="fa fa-forward"> </em> <?php echo get_lang('Next'); ?>
</button>
<?php } ?>
</div>
@ -1715,11 +1715,11 @@ function display_configuration_settings_form(
?>
<div class='form-group'>
<div class="col-sm-6">
<button type="submit" class="btn btn-default pull-right" name="step3" value="&lt; <?php echo get_lang('Previous'); ?>" ><i class="fa fa-backward"> </i> <?php echo get_lang('Previous'); ?></button>
<button type="submit" class="btn btn-default pull-right" name="step3" value="&lt; <?php echo get_lang('Previous'); ?>" ><em class="fa fa-backward"> </em> <?php echo get_lang('Previous'); ?></button>
<input type="hidden" name="is_executable" id="is_executable" value="-" />
</div>
<div class="col-sm-6">
<button class="btn btn-success" type="submit" name="step5" value="<?php echo get_lang('Next'); ?> &gt;" ><i class="fa fa-forward"> </i> <?php echo get_lang('Next'); ?></button>
<button class="btn btn-success" type="submit" name="step5" value="<?php echo get_lang('Next'); ?> &gt;" ><em class="fa fa-forward"> </em> <?php echo get_lang('Next'); ?></button>
</div>
</div>

@ -36,7 +36,7 @@ if (isset($_GET['error'])) {
case 'x_frames_options':
if (isset($_SESSION['x_frame_source'])) {
$src = $_SESSION['x_frame_source'];
$icon = '<i class="icon-play-sign icon-2x"></i>&nbsp;';
$icon = '<em class="icon-play-sign icon-2x"></em>&nbsp;';
echo Display::return_message(
Display::url($icon.$src, $src, ['class' => 'btn generated', 'target' => '_blank']),

@ -24,7 +24,7 @@ switch ($type) {
$iframe .= '</div>';
break;
case 'nonhttps':
$icon = '&nbsp;<i class="icon-external-link icon-2x"></i>';
$icon = '&nbsp;<em class="icon-external-link icon-2x"></em>';
$iframe = Display::return_message(
Display::url($src.$icon, $src, ['class' => 'btn', 'target' => '_blank']),
'normal',

@ -5461,7 +5461,7 @@ class learnpath
// We need to close the form when we are updating the mp3 files.
if ($update_audio == 'true') {
$return .= '<div class="footer-audio">';
$return .= Display::button('save_audio','<i class="fa fa-file-audio-o"></i> '. get_lang('SaveAudioAndOrganization'),array('class'=>'btn btn-primary','type'=>'submit'));
$return .= Display::button('save_audio','<em class="fa fa-file-audio-o"></em> '. get_lang('SaveAudioAndOrganization'),array('class'=>'btn btn-primary','type'=>'submit'));
$return .= '</div>';
//$return .= '<div><button class="btn btn-primary" type="submit" name="save_audio" id="save_audio">' . get_lang('SaveAudioAndOrganization') . '</button></div>'; // TODO: What kind of language variable is this?
}

@ -261,7 +261,7 @@ unset($Courses);
?>
<div class="separate-action">
<button class="btn btn-primary" type="button" onclick="remove_item(document.getElementById('destination'))">
<i class="fa fa-chevron-left"></i>
<em class="fa fa-chevron-left"></em>
</button>
</div>
<?php
@ -269,12 +269,12 @@ unset($Courses);
?>
<div class="separate-action">
<button class="btn btn-primary" type="button" onclick="moveItem(document.getElementById('origin'), document.getElementById('destination'))" onclick="moveItem(document.getElementById('origin'), document.getElementById('destination'))">
<i class="fa fa-chevron-right"></i>
<em class="fa fa-chevron-right"></em>
</button>
</div>
<div class="separate-action">
<button class="btn btn-primary" type="button" onclick="moveItem(document.getElementById('destination'), document.getElementById('origin'))" onclick="moveItem(document.getElementById('destination'), document.getElementById('origin'))">
<i class="fa fa-chevron-left"></i>
<em class="fa fa-chevron-left"></em>
</button>
</div>

@ -230,11 +230,11 @@ if (!empty($OkMsg)) {
</td>
<td width="10%" valign="middle" align="center">
<button class="btn btn-default" type="button" onclick="moveItem(document.getElementById('origin'), document.getElementById('destination'))" onclick="moveItem(document.getElementById('origin'), document.getElementById('destination'))">
<i class="fa fa-arrow-right"></i>
<em class="fa fa-arrow-right"></em>
</button>
<br /><br />
<button class="btn btn-default" type="button" onclick="moveItem(document.getElementById('destination'), document.getElementById('origin'))" onclick="moveItem(document.getElementById('destination'), document.getElementById('origin'))">
<i class="fa fa-arrow-left"></i>
<em class="fa fa-arrow-left"></em>
</button>
<br /><br /><br /><br /><br /><br />
<?php

@ -656,7 +656,7 @@ if (!empty($errorMsg)) {
?>
<div class="separate-action">
<button class="btn btn-primary" type="button" onclick="remove_item(document.getElementById('destination_users'))" >
<i class="fa fa-chevron-left"></i>
<em class="fa fa-chevron-left"></em>
</button>
</div>
@ -665,12 +665,12 @@ if (!empty($errorMsg)) {
?>
<div class="separate-action">
<button class="btn btn-primary" type="button" onclick="moveItem(document.getElementById('origin_users'), document.getElementById('destination_users'))" onclick="moveItem(document.getElementById('origin_users'), document.getElementById('destination_users'))">
<i class="fa fa-chevron-right"></i>
<em class="fa fa-chevron-right"></em>
</button>
</div>
<div class="separate-action">
<button class="btn btn-primary" type="button" onclick="moveItem(document.getElementById('destination_users'), document.getElementById('origin_users'))" onclick="moveItem(document.getElementById('destination_users'), document.getElementById('origin_users'))">
<i class="fa fa-chevron-left"></i>
<em class="fa fa-chevron-left"></em>
</button>
</div>

@ -221,7 +221,7 @@ if (!empty($return)) {
</div>
<div class="form-group">
<div class="col-sm-offset-3 col-sm-6">
<button class="btn btn-success" type="submit" value="<?php echo get_lang('AddACategory') ?>"><i class="fa fa-plus"></i> <?php echo get_lang('AddACategory') ?></button>
<button class="btn btn-success" type="submit" value="<?php echo get_lang('AddACategory') ?>"><em class="fa fa-plus"></em> <?php echo get_lang('AddACategory') ?></button>
</div>
<div class="col-md-3"></div>
</div>

@ -118,7 +118,7 @@ if (isset($_GET['search']) && $_GET['search'] == 'advanced') {
<form method="POST" action="session_category_list.php" class="form-inline">
<div class="form-group">
<input class="form-control" type="text" name="keyword" value="<?php echo $keyword; ?>"/>
<button class="btn btn-default" type="submit" name="name" value="<?php echo get_lang('Search') ?>"><i class="fa fa-search"></i> <?php echo get_lang('Search') ?></button>
<button class="btn btn-default" type="submit" name="name" value="<?php echo get_lang('Search') ?>"><em class="fa fa-search"></em> <?php echo get_lang('Search') ?></button>
<!-- <a href="session_list.php?search=advanced"><?php echo get_lang('AdvancedSearch'); ?></a> -->
</div>
</form>

@ -182,7 +182,7 @@ api_display_tool_title($tool_name);
</select>
<div class="control">
<button class="btn btn-success" type="submit" name="name" value="<?php echo get_lang('AssignCoach') ?>">
<i class="fa fa-plus"></i>
<em class="fa fa-plus"></em>
<?php echo get_lang('AssignCoach') ?>
</button>
</div>

@ -196,11 +196,11 @@ unset($Courses);
</select></td>
<td width="10%" valign="middle" align="center">
<button class="btn btn-default" type="button" onclick="moveItem(document.getElementById('origin'), document.getElementById('destination'))" onclick="moveItem(document.getElementById('origin'), document.getElementById('destination'))">
<i class="fa fa-arrow-right"></i>
<em class="fa fa-arrow-right"></em>
</button>
<br /><br />
<button class="btn btn-default" type="button" onclick="moveItem(document.getElementById('destination'), document.getElementById('origin'))" onclick="moveItem(document.getElementById('destination'), document.getElementById('origin'))">
<i class="fa fa-arrow-left"></i>
<em class="fa fa-arrow-left"></em>
</button>
<br /><br /><br /><br /><br /><br />
<?php

@ -95,7 +95,7 @@ $social_right_content = '<div class="col-md-9">';
if (count($friends) == 0) {
$social_right_content .= get_lang('NoFriendsInYourContactList').'<br />';
$social_right_content .= '<a class="btn btn-success" href="search.php">
<i class="fa fa-search"></i> '.get_lang('TryAndFindSomeFriends').'</a>';
<em class="fa fa-search"></em> '.get_lang('TryAndFindSomeFriends').'</a>';
} else {
$social_right_content .= get_lang('Search').'&nbsp;&nbsp; : &nbsp;&nbsp;';
$social_right_content .= '<input class="social-search-image" type="text" id="id_search_image" name="id_search_image" onkeyup="search_image_social()" />';

@ -86,7 +86,7 @@ $total_invitations = $number_loop + count($list_get_invitation_sent) + count($pe
if ($total_invitations == 0 && count($_GET) <= 0) {
$socialInvitationsBlock .= '<div class="row">
<div class="col-md-12">
<a class="btn btn-success" href="search.php"><i class="fa fa-search"></i> '.
<a class="btn btn-success" href="search.php"><em class="fa fa-search"></em> '.
get_lang('TryAndFindSomeFriends').'
</a>
</div>
@ -116,9 +116,9 @@ if ($number_loop != 0) {
$invitationHtml .= '<div class="date-invitation">'.get_lang('DateSend').' : '.$date.'</div>';
$invitationHtml .= '<div class="btn-group" role="group">
<button class="btn btn-success" type="submit" id="btn_accepted_'.$sender_user_id.'" onclick="javascript:register_friend(this)">
<i class="fa fa-check"></i> '.get_lang('AcceptInvitation').'</button>
<em class="fa fa-check"></em> '.get_lang('AcceptInvitation').'</button>
<button class="btn btn-danger" type="submit" id="btn_deniedst_'.$sender_user_id.' " onclick="javascript:denied_friend(this)" >
<i class="fa fa-times"></i> '.get_lang('DenyInvitation').'</button>
<em class="fa fa-times"></em> '.get_lang('DenyInvitation').'</button>
';
$invitationHtml .= '</div>';
$invitationHtml .= '</div>';
@ -174,8 +174,8 @@ if (count($pending_invitations) > 0) {
$waitingInvitation .= '<h4 class="tittle-profile">'.$invitation['name'].'</h4>';
$waitingInvitation .= '<div class="description-group">'.$invitation['description'].'</div>';
$waitingInvitation .= '<div class="btn-group" role="group">';
$waitingInvitation .= '<a class="btn btn-success" href="invitations.php?accept='.$invitation['id'].'"><i class="fa fa-check"></i> '.get_lang('AcceptInvitation').'</a>';
$waitingInvitation .= '<a class="btn btn-danger" href="invitations.php?deny='.$invitation['id'].'"><i class="fa fa-times"></i> '.get_lang('DenyInvitation').'</a>';
$waitingInvitation .= '<a class="btn btn-success" href="invitations.php?accept='.$invitation['id'].'"><em class="fa fa-check"></em> '.get_lang('AcceptInvitation').'</a>';
$waitingInvitation .= '<a class="btn btn-danger" href="invitations.php?deny='.$invitation['id'].'"><em class="fa fa-times"></em> '.get_lang('DenyInvitation').'</a>';
$waitingInvitation .='</div>';
$waitingInvitation .= '</div></div>';
}

@ -302,7 +302,7 @@ $(document).ready(function() {
$(".panel-preview").hide();
$(".spinner").html("'.
'<div class=\'text-center\'>'.
'<i class=\'fa fa-spinner fa-pulse fa-1x\'></i>'.
'<em class=\'fa fa-spinner fa-pulse fa-1x\'></em>'.
'<p>'. get_lang('Loading') . ' ' . get_lang('Preview') .'</p>'.
'</div>'.
'");

@ -77,7 +77,7 @@ if ($query != '' || ($query_vars['search_type']=='1' && count($query_vars)>2) )
$results .= '<div class="row">';
$buttonClass = 'btn btn-default btn-sm';
foreach ($users as $user) {
$send_inv = '<button class="'.$buttonClass.' disabled "><i class="fa fa-user"></i> '.get_lang('SendInvitation').'</button>';
$send_inv = '<button class="'.$buttonClass.' disabled "><em class="fa fa-user"></em> '.get_lang('SendInvitation').'</button>';
$relation_type = intval(SocialManager::get_relation_between_contacts(api_get_user_id(), $user['user_id']));
$user_info = api_get_user_info($user['user_id'], true);
$url = api_get_path(WEB_PATH).'main/social/profile.php?u='.$user['user_id'];
@ -85,7 +85,7 @@ if ($query != '' || ($query_vars['search_type']=='1' && count($query_vars)>2) )
// Show send invitation icon if they are not friends yet
if ($relation_type != 3 && $relation_type != 4 && $user['user_id'] != api_get_user_id()) {
$send_inv = '<a href="#" class="'.$buttonClass.' btn-to-send-invitation" data-send-to="' . $user['user_id'] . '">
<i class="fa fa-user"></i> '.get_lang('SendInvitation').'</a>';
<em class="fa fa-user"></em> '.get_lang('SendInvitation').'</a>';
}
$sendMesssageUrl = api_get_path(WEB_AJAX_PATH)

@ -54,7 +54,7 @@
$('#parents').append(arguments[i][0]);
if (i !== arguments.length - 1) {
$('#parents').append('<i class="fa fa-plus fa-3x sequence-plus-icon"></i>');
$('#parents').append('<em class="fa fa-plus fa-3x sequence-plus-icon"></em>');
}
}
});

@ -118,7 +118,7 @@ $code = isset($code) ? $code : null;
<input class="form-control" type="text" name="search_term" value="<?php echo (empty($_POST['search_term']) ? '' : api_htmlentities(Security::remove_XSS($_POST['search_term']))); ?>" />
<div class="input-group-btn">
<button class="btn btn-default" type="submit">
<i class="fa fa-search"></i> <?php echo get_lang('Search'); ?>
<em class="fa fa-search"></em> <?php echo get_lang('Search'); ?>
</button>
</div>
</div>

@ -23,7 +23,7 @@
<div class="input-group">
<input type="text" name="search_term" class="form-control" />
<span class="input-group-btn">
<button class="btn btn-default" type="submit"><i class="fa fa-search"></i> {{ 'Search'|get_lang }}</button>
<button class="btn btn-default" type="submit"><em class="fa fa-search"></em> {{ 'Search'|get_lang }}</button>
</span>
</div>
</div>
@ -46,7 +46,7 @@
<div class="input-group">
<input type="date" name="date" id="date" class="form-control" value="{{ search_date }}" readonly>
<span class="input-group-btn">
<button class="btn btn-default" type="submit"><i class="fa fa-search"></i> {{ 'Search'|get_lang }}</button>
<button class="btn btn-default" type="submit"><em class="fa fa-search"></em> {{ 'Search'|get_lang }}</button>
</span>
</div>
</div>
@ -61,7 +61,7 @@
<div class="input-group">
<input type="text" name="search_tag" class="form-control" value="{{ search_tag }}" />
<span class="input-group-btn">
<button class="btn btn-default" type="submit"><i class="fa fa-search"></i> {{ 'Search'|get_lang }}</button>
<button class="btn btn-default" type="submit"><em class="fa fa-search"></em> {{ 'Search'|get_lang }}</button>
</span>
</div>
</div>
@ -91,15 +91,15 @@
<ul class="list-unstyled">
{% if show_tutor %}
<li class="author-session">
<i class="fa fa-user"></i> {{ session.coach_name }}
<em class="fa fa-user"></em> {{ session.coach_name }}
</li>
{% endif %}
<li class="date-session">
<i class="fa fa-calendar-o"></i> {{ session.date }}
<em class="fa fa-calendar-o"></em> {{ session.date }}
</li>
{% if session.tags %}
<li class="tags-session">
<i class="fa fa-tags"></i> {{ session.tags|join(', ')}}
<em class="fa fa-tags"></em> {{ session.tags|join(', ')}}
</li>
{% endif %}
</ul>
@ -138,7 +138,7 @@
content += '<p class="lead">{{ sequence.name }}</p>';
{% if sequence.requirements %}
content += '<p><i class="fa fa-sort-amount-desc"></i> {{ 'RequiredSessions'|get_lang }}</p>';
content += '<p><em class="fa fa-sort-amount-desc"></em> {{ 'RequiredSessions'|get_lang }}</p>';
content += '<ul>';
{% for requirement in sequence.requirements %}
@ -151,7 +151,7 @@
{% endif %}
{% if sequence.dependencies %}
content += '<p><i class="fa fa-sort-amount-desc"></i> {{ 'DependentSessions'|get_lang }}</p>';
content += '<p><em class="fa fa-sort-amount-desc"></em> {{ 'DependentSessions'|get_lang }}</p>';
content += '<ul>';
{% for dependency in sequence.dependencies %}

@ -5,7 +5,7 @@
</button>
<h4>{{ 'Warning'|get_lang }}</h4>
<p>
<i class="fa fa-warning"></i> {{ 'AvoidChangingPageAsThisWillCutYourCurrentVideoChatSession'|get_lang }}
<em class="fa fa-warning"></em> {{ 'AvoidChangingPageAsThisWillCutYourCurrentVideoChatSession'|get_lang }}
</p>
</div>
<div class="row">
@ -80,29 +80,29 @@
case 'checking':
alertDiv
.addClass('alert-info')
.html('<i class="fa fa-spinner fa-spin"></i> ' + "{{ 'ConnectingToPeer'|get_lang }}");
.html('<em class="fa fa-spinner fa-spin"></em> ' + "{{ 'ConnectingToPeer'|get_lang }}");
break;
case 'connected':
//no break
case 'completed':
alertDiv
.addClass('alert-success')
.html('<i class="fa fa-commenting"></i> ' + "{{ 'ConnectionEstablished'|get_lang }}");
.html('<em class="fa fa-commenting"></em> ' + "{{ 'ConnectionEstablished'|get_lang }}");
break;
case 'disconnected':
alertDiv
.addClass('alert-info')
.html('<i class="fa fa-frown-o"></i> ' + "{{ 'Disconnected'|get_lang }}");
.html('<em class="fa fa-frown-o"></em> ' + "{{ 'Disconnected'|get_lang }}");
break;
case 'failed':
alertDiv
.addClass('alert-danger')
.html('<i class="fa fa-times"></i> ' + "{{ 'ConnectionFailed'|get_lang }}");
.html('<em class="fa fa-times"></em> ' + "{{ 'ConnectionFailed'|get_lang }}");
break;
case 'closed':
alertDiv
.addClass('alert-danger')
.html('<i class="fa fa-close"></i> ' + "{{ 'ConnectionClosed'|get_lang }}");
.html('<em class="fa fa-close"></em> ' + "{{ 'ConnectionClosed'|get_lang }}");
break;
}
@ -116,14 +116,14 @@
webRTC.on('iceFailed', function (peer) {
var alertDiv = $('<div>')
.addClass('alert-danger')
.html('<i class="fa fa-close"></i> ' + "{{ 'LocalConnectionFailed'|get_lang }}");
.html('<em class="fa fa-close"></em> ' + "{{ 'LocalConnectionFailed'|get_lang }}");
$('#connection-status').html(alertDiv);
});
webRTC.on('connectivityError', function (peer) {
var alertDiv = $('<div>')
.addClass('alert-danger')
.html('<i class="fa fa-close"></i> ' + "{{ 'RemoteConnectionFailed'|get_lang }}");
.html('<em class="fa fa-close"></em> ' + "{{ 'RemoteConnectionFailed'|get_lang }}");
$('#connection-status').html(alertDiv);
});

@ -8,7 +8,7 @@
<div class="btn-toolbar actions-bar" >
<div class="btn-group">
<a href="{{root}}&amp;action=listing" class="btn btn-default" title="{{'ImportCSV'|get_lang}}">
<i class="size-32 icon-back"></i>
<em class="size-32 icon-back"></em>
</a>
</div>
<div class="btn-group edit new">

@ -60,13 +60,13 @@
</div>
<div class="btn-group edit">
<a href="{{root}}&amp;action=import_csv" class="btn btn-default" title="{{'ImportCSV'|get_lang}}">
<i class="size-32 icon-import-csv"></i>
<em class="size-32 icon-import-csv"></em>
</a>
<a href="{{root}}&amp;action=export_csv" class="btn btn-default" title="{{'ExportAsCSV'|get_lang}}">
<i class="size-32 icon-export-csv"></i>
<em class="size-32 icon-export-csv"></em>
</a>
<a href="javascript:void(0)" onclick="delete_all();return false;" class="btn btn-default" title="{{'DeleteAll'|get_lang}}">
<i class="size-32 icon-delete-all"></i>
<em class="size-32 icon-delete-all"></em>
</a>
</div>
</div>
@ -82,12 +82,12 @@
<a href="{{root}}&amp;action=delete&amp;id={{description.id}}"
onclick="delete_entry('description_{{description.id}}', this); return false;"
title="{{'Delete'|get_lang}}">
<i class="size-22 icon-delete"></i>
<em class="size-22 icon-delete"></em>
</a>
<a href="{{root}}&amp;action=edit&amp;id={{description.id}}"
title="{{'Edit'|get_lang}}">
<i class="size-22 icon-edit"></i>
<em class="size-22 icon-edit"></em>
</a>
{% else %}
<img title="{{'EditionNotAvailableFromSession'|get_lang}}"

@ -7,7 +7,7 @@
<div class="btn-toolbar actions-bar" >
<div class="btn-group">
<a href="{{root}}&amp;action=listing" class="btn" title="{{'ImportCSV'|get_lang}}">
<i class="size-32 icon-back"></i>
<em class="size-32 icon-back"></em>
</a>
</div>
</div>

@ -13,7 +13,7 @@
<img src="{{ _p.web_img }}icons/64/info.png"/>
<div class="caption">
<a href="{{ _p.web_main }}course_description/?cidReq={{ course_id }}" class="btn btn-default">
<i class="fa fa-info-circle"></i> {{'AddCourseDescription'|get_lang}}
<em class="fa fa-info-circle"></em> {{'AddCourseDescription'|get_lang}}
</a>
</div>
</div>
@ -23,7 +23,7 @@
<img src="{{ _p.web_img }}icons/64/folder_document.png"/>
<div class="caption">
<a href="{{ _p.web_main }}document/document.php?cidReq={{ course_id }}" class="btn btn-default">
<i class="fa fa-paper-plane"></i> {{'UploadADocument'|get_lang}}
<em class="fa fa-paper-plane"></em> {{'UploadADocument'|get_lang}}
</a>
</div>
</div>
@ -33,7 +33,7 @@
<img src="{{ _p.web_img }}icons/64/forum.png"/>
<div class="caption">
<a href="{{ _p.web_main }}forum/index.php?cidReq={{ course_id }}" class="btn btn-default">
<i class="fa fa-users"></i> {{ 'AddForum'|get_lang }}
<em class="fa fa-users"></em> {{ 'AddForum'|get_lang }}
</a>
</div>
</div>
@ -44,7 +44,7 @@
<img src="{{ _p.web_img }}icons/64/user.png"/>
<div class="caption">
<a href="{{ _p.web_main }}user/subscribe_user.php?cidReq={{ course_id }}" class="btn btn-default">
<i class="fa fa-user-plus"></i> {{ 'SubscribeUserToCourse'|get_lang }}
<em class="fa fa-user-plus"></em> {{ 'SubscribeUserToCourse'|get_lang }}
</a>
</div>
</div>

@ -10,13 +10,13 @@
{% if gamification_stars > 0 %}
{% for i in 1..gamification_stars %}
<i class="fa fa-star"></i>
<em class="fa fa-star"></em>
{% endfor %}
{% endif %}
{% if 4 - gamification_stars > 0 %}
{% for i in 1..(4 - gamification_stars) %}
<i class="fa fa-star in"></i>
<em class="fa fa-star in"></em>
{% endfor %}
{% endif %}
</div>
@ -39,7 +39,7 @@
<ul class="list-course">
{% for session in sessions %}
<li><a href="{{ _p.self ~ '?' ~ {"session_id": session.getId}|url_encode() }}" class="list-course-item {{ current_session and session.getId == current_session.getId ? 'active' }}">
<i class="fa fa-chevron-circle-right"></i> {{ session.getName }}
<em class="fa fa-chevron-circle-right"></em> {{ session.getName }}
</a>
</li>
{% endfor %}
@ -52,7 +52,7 @@
{% if current_session %}
<div class="panel panel-default">
<div class="panel-heading"><i class="fa fa-book"></i> {{ current_session.getName() }}</div>
<div class="panel-heading"><em class="fa fa-book"></em> {{ current_session.getName() }}</div>
<div class="panel-body">
{% for course_id, course in session_data %}
<h3><img src="{{ 'blackboard_blue.png'|icon(32) }}"/> {{ course.title }}</h3>

@ -43,7 +43,7 @@
{% if not exportAllLink is null %}
<div class="actions">
<a href="{{ exportAllLink }}" class="btn btn-info">
<i class="fa fa-check"></i> {{ 'ExportAllCertificatesToPDF' | get_lang }}
<em class="fa fa-check"></em> {{ 'ExportAllCertificatesToPDF' | get_lang }}
</a>
</div>
{% endif %}
@ -80,7 +80,7 @@
</td>
<td>
{% for certificate in student.certificates %}
<a href="{{ _p.web }}certificates/index.php?id={{ certificate.id }}" class="btn btn-default"><i class="fa fa-floppy-o"></i> {{ 'Certificate' | get_lang }}</a>
<a href="{{ _p.web }}certificates/index.php?id={{ certificate.id }}" class="btn btn-default"><em class="fa fa-floppy-o"></em> {{ 'Certificate' | get_lang }}</a>
{% endfor %}
</td>
</tr>

@ -19,7 +19,7 @@
<td class="text-center">{{ row.date }}</td>
<td class="text-right">
<a href="{{ row.link }}" target="_blank" class="btn btn-default">
<i class="fa fa-external-link"></i> {{ 'Certificate'|get_lang }}
<em class="fa fa-external-link"></em> {{ 'Certificate'|get_lang }}
</a>
</td>
</tr>
@ -52,7 +52,7 @@
<td class="text-center">{{ row.date }}</td>
<td class="text-right">
<a href="{{ row.link }}" target="_blank" class="btn btn-default">
<i class="fa fa-external-link"></i> {{ 'Certificate'|get_lang }}
<em class="fa fa-external-link"></em> {{ 'Certificate'|get_lang }}
</a>
</td>
</tr>

@ -17,7 +17,7 @@
<td>{{ user.lastname }}</td>
<td class="text-right">
<a href="{{ _p.web_main }}gradebook/search.php?id={{ user.id }}" class="btn btn-default">
<i class="fa fa-external-link"></i> {{ "Certificates"|get_lang }}
<em class="fa fa-external-link"></em> {{ "Certificates"|get_lang }}
</a>
</td>
</tr>
@ -51,7 +51,7 @@
<td class="text-center">{{ row.date }}</td>
<td class="text-right">
<a href="{{ row.link }}" target="_blank" class="btn btn-default">
<i class="fa fa-external-link"></i> {{ 'Certificate'|get_lang }}
<em class="fa fa-external-link"></em> {{ 'Certificate'|get_lang }}
</a>
</td>
</tr>
@ -84,7 +84,7 @@
<td class="text-center">{{ row.date }}</td>
<td class="text-right">
<a href="{{ row.link }}" target="_blank" class="btn btn-default">
<i class="fa fa-external-link"></i> {{ 'Certificate'|get_lang }}
<em class="fa fa-external-link"></em> {{ 'Certificate'|get_lang }}
</a>
</td>
</tr>

@ -34,7 +34,7 @@
{% if logout_link is not null %}
<li>
<a id="logout_button" title="{{ "Logout"|get_lang }}" href="{{ logout_link }}" >
<i class="fa fa-sign-out"></i> {{ "Logout"|get_lang }}
<em class="fa fa-sign-out"></em> {{ "Logout"|get_lang }}
</a>
</li>
{% endif %}

@ -13,14 +13,14 @@
<div id="scorm-info" class="panel panel-default">
<div class="panel-heading">
<a id="ui-option">
<i id="icon-down" class="fa fa-chevron-down hidden"></i>
<i id="icon-up" class="fa fa-chevron-up"></i>
<em id="icon-down" class="fa fa-chevron-down hidden"></em>
<em id="icon-up" class="fa fa-chevron-up"></em>
</a>
</div>
{# Author image preview #}
<div id="panel-scorm" class="panel-body">
<a href="{{ button_home_url }}" class="btn btn-primary btn-block" target="_self" onclick="javascript: window.parent.API.save_asset();">
<i class="fa fa-home"></i> {{ button_home_text }}
<em class="fa fa-home"></em> {{ button_home_text }}
</a>
<div class="image-avatar">
<div class="row">
@ -49,13 +49,13 @@
<div class="col-xs-8">
{% if gamification_stars > 0 %}
{% for i in 1..gamification_stars %}
<i class="fa fa-star level"></i>
<em class="fa fa-star level"></em>
{% endfor %}
{% endif %}
{% if gamification_stars < 4 %}
{% for i in 1..4 - gamification_stars %}
<i class="fa fa-star"></i>
<em class="fa fa-star"></em>
{% endfor %}
{% endif %}
</div>
@ -90,7 +90,7 @@
{# TOC layout #}
<div id="toc_id" class="scorm-body" name="toc_name">
<div class="scorm-title"> <i class="fa fa-book"></i> {{ lp_title_scorm }}</div>
<div class="scorm-title"> <em class="fa fa-book"></em> {{ lp_title_scorm }}</div>
<div id="learning_path_toc" class="scorm-list">
{{ lp_html_toc }}
</div>

@ -4,7 +4,7 @@
<div class="btn-toolbar actions-bar" >
<div class="btn-group">
<a href="{{root}}&amp;action=listing" class="btn">
<i class="size-32 icon-back"></i>
<em class="size-32 icon-back"></em>
</a>
</div>
</div>

@ -4,7 +4,7 @@
<div class="btn-toolbar actions-bar" >
<div class="btn-group">
<a href="{{root}}&amp;action=listing" class="btn">
<i class="size-32 icon-back"></i>
<em class="size-32 icon-back"></em>
</a>
</div>
</div>

@ -191,28 +191,28 @@ function validate_link(name, btn){
{% if is_allowed_to_edit %}
<div class="btn-group edit">
<a href="{{root}}&amp;action=add_category" class="btn new_folder" title="{{'AddCategory'|get_lang}}">
<i class="size-32 icon-new-folder"></i>
<em class="size-32 icon-new-folder"></em>
</a>
<a href="{{root}}&amp;action=add_link" class="btn new_link" title="{{'AddLink'|get_lang}}">
<i class="size-32 icon-new-link"></i>
<em class="size-32 icon-new-link"></em>
</a>
<a href="javascript:void(0)" onclick="delete_all();return false;" class="btn btn-default" title="{{'DeleteAll'|get_lang}}">
<i class="size-32 icon-delete-all"></i>
<em class="size-32 icon-delete-all"></em>
</a>
<a href="{{root}}&amp;action=import_csv" class="btn import_csv" title="{{'ImportCSV'|get_lang}}">
<i class="size-32 icon-import-csv"></i>
<em class="size-32 icon-import-csv"></em>
</a>
<a href="{{root}}&amp;action=export_csv" class="btn" title="{{'ExportAsCSV'|get_lang}}">
<i class="size-32 icon-export-csv"></i>
<em class="size-32 icon-export-csv"></em>
</a>
</div>
{% endif %}
<div class="btn-group">
<a href="javascript:void(0)" onclick="expand_all();return false;" class="btn btn-default" title="{{'ShowAll'|get_lang}}">
<i class="size-32 icon-expand"></i>
<em class="size-32 icon-expand"></em>
</a>
<a href="javascript:void(0)" onclick="collapse_all();return false;" class="btn btn-default" title="{{'ShowNone'|get_lang}}">
<i class="size-32 icon-collapse"></i>
<em class="size-32 icon-collapse"></em>
</a>
</div>
</div>
@ -248,14 +248,14 @@ function validate_link(name, btn){
<a href="{{root}}&amp;action=edit_link&amp;id={{link.id}}&amp;c_id={{link.c_id}}"
title="{{'Edit'|get_lang}}"
class="">
<i class="size-22 icon-edit"></i>
<em class="size-22 icon-edit"></em>
</a>
<a href="javascript:void(0)" onclick="switch_li_visibility('link_{{link.id}}', this);return false;"
class="btn visibility {%if link.visibility == 1%}hide{%else%}show{%endif%}">
</a>
<a href="javascript:void(0)" onclick="delete_link('link_{{link.id}}', this);return false;" title="{{'Delete'|get_lang}}" class="">
<i class="size-22 icon-delete"></i>
<em class="size-22 icon-delete"></em>
</a>
</div>
{% endif %}
@ -274,13 +274,13 @@ function validate_link(name, btn){
onclick="event.stopPropagation();"
title="{{'Edit'|get_lang}}"
class="">
<i class="size-22 icon-edit"></i>
<em class="size-22 icon-edit"></em>
</a>
<a href="javascript:void(0)"
onclick="delete_category('category_{{category.id}}');event.stopPropagation();return false;"
title="{{'Delete'|get_lang}}"
class="">
<i class="size-22 icon-delete"></i>
<em class="size-22 icon-delete"></em>
</a>
</div>
{% endif %}
@ -319,7 +319,7 @@ function validate_link(name, btn){
onclick=""
title="{{'Edit'|get_lang}}"
class="">
<i class="size-22 icon-edit"></i>
<em class="size-22 icon-edit"></em>
</a>
<a href="javascript:void(0)"
onclick="switch_li_visibility('link_{{link.id}}', this);return false;"
@ -328,7 +328,7 @@ function validate_link(name, btn){
onclick="delete_link('link_{{link.id}}', this);return false;"
title="{{'Delete'|get_lang}}"
class="">
<i class="size-22 icon-delete"></i>
<em class="size-22 icon-delete"></em>
</a>
</div>
{% endif %}

@ -13,9 +13,9 @@
{% if _u.logged %}
<span class="label {{ session.status ? 'label-success' : 'label-danger' }}">
{% if session.status %}
<i class="fa fa-check"></i> {{ 'Complete'|get_lang }}
<em class="fa fa-check"></em> {{ 'Complete'|get_lang }}
{% else %}
<i class="fa fa-exclamation-triangle"></i> {{ 'Incomplete'|get_lang }}
<em class="fa fa-exclamation-triangle"></em> {{ 'Incomplete'|get_lang }}
{% endif %}
</span>
{% endif %}
@ -23,7 +23,7 @@
</div>
{% if loop.index != item.requirements|length %}
<i class="fa fa-plus fa-3x sequence-plus-icon"></i>
<em class="fa fa-plus fa-3x sequence-plus-icon"></em>
{% endif %}
{% endfor %}
</div>

@ -1,11 +1,11 @@
<div id="about-session">
<div class="row">
<div class="col-xs-12">
<p><i class="fa fa-clock-o"></i> <em>{{ session_date.display }}</em></p>
<p><em class="fa fa-clock-o"></em> <em>{{ session_date.display }}</em></p>
{% if show_tutor %}
<p>
<i class="fa fa-user"></i> {{ 'SessionGeneralCoach'|get_lang }}: <em>{{ session.generalCoach.getCompleteName() }}</em>
<em class="fa fa-user"></em> {{ 'SessionGeneralCoach'|get_lang }}: <em>{{ session.generalCoach.getCompleteName() }}</em>
</p>
{% endif %}
@ -92,7 +92,7 @@
<div class="panel-body">
{% if course_data.objectives %}
<div class="objective-course">
<h4 class="title-info"><i class="fa fa-book"></i> {{ "Objectives"|get_lang }}</h4>
<h4 class="title-info"><em class="fa fa-book"></em> {{ "Objectives"|get_lang }}</h4>
<div class="content-info">
{{ course_data.objectives.getContent }}
</div>
@ -101,7 +101,7 @@
{% if course_data.topics %}
<div class="topics">
<h4 class="title-info"><i class="fa fa-book"></i> {{ "Topics"|get_lang }}</h4>
<h4 class="title-info"><em class="fa fa-book"></em> {{ "Topics"|get_lang }}</h4>
<div class="content-info">
{{ course_data.topics.getContent }}
</div>
@ -161,13 +161,13 @@
<div class="panel-body">
<div class="icons-social text-center">
<a href="https://www.facebook.com/sharer/sharer.php?{{ {'u': pageUrl}|url_encode }}" target="_blank" class="btn bnt-link btn-lg">
<i class="fa fa-facebook fa-2x"></i>
<em class="fa fa-facebook fa-2x"></em>
</a>
<a href="https://twitter.com/home?{{ {'status': session.getName() ~ ' ' ~ pageUrl}|url_encode }}" target="_blank" class="btn bnt-link btn-lg">
<i class="fa fa-twitter fa-2x"></i>
<em class="fa fa-twitter fa-2x"></em>
</a>
<a href="https://www.linkedin.com/shareArticle?{{ {'mini': 'true', 'url': pageUrl, 'title': session.getName() }|url_encode }}" target="_blank" class="btn bnt-link btn-lg">
<i class="fa fa-linkedin fa-2x"></i>
<em class="fa fa-linkedin fa-2x"></em>
</a>
</div>
</div>
@ -185,7 +185,7 @@
{% elseif not _u.logged %}
{% if 'allow_registration'|get_setting == 'true' %}
<a href="{{ _p.web_main ~ 'auth/inscription.php' }}" class="btn btn-info btn-lg">
<i class="fa fa-sign-in fa-fw"></i> {{ 'SignUp'|get_lang }}
<em class="fa fa-sign-in fa-fw"></em> {{ 'SignUp'|get_lang }}
</a>
{% endif %}
{% endif %}

@ -98,7 +98,7 @@
</fieldset>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-primary btn-large"><i class="fa fa-floppy-o"></i> {{ 'SaveBadge'| get_lang }}</button>
<button type="submit" class="btn btn-primary btn-large"><em class="fa fa-floppy-o"></em> {{ 'SaveBadge'| get_lang }}</button>
</div>
</div>
</form>
@ -106,7 +106,7 @@
<div class="col-md-3">
<div class="create-openbadges">
<button id="btn-open-designer" class="help-badges btn btn-primary btn-large btn-block" data-toggle="tooltip" data-placement="bottom" title="{{ 'DesignANewBadgeComment' | get_lang }}" type="button">
<i class="fa fa-plus"></i> {{ 'DesignNewBadge' | get_lang }}
<em class="fa fa-plus"></em> {{ 'DesignNewBadge' | get_lang }}
</button>
</div>
<p class="openbadges-text">{{'BadgePreview' | get_lang }}</p>

@ -31,7 +31,7 @@
<option value="{{ skill.id }}" {{ (skill.id == selectedSkill) ? 'selected' : '' }}>{{ skill.name }}</option>
{% endfor %}
</select>
<button type="submit" class="btn btn-default"><i class="fa fa-filter"></i>{{ 'Filter' | get_lang }}</button>
<button type="submit" class="btn btn-default"><em class="fa fa-filter"></em>{{ 'Filter' | get_lang }}</button>
</form>
</div>
</div>

@ -38,22 +38,22 @@
<td width="500">{{ skill.description }}</td>
<td class="text-right">
<a href="{{ _p.web_main }}admin/skill_edit.php?id={{ skill.id }}" class="btn btn-primary btn-sm" title="{{ "Edit" | get_lang }}">
<i class="fa fa-edit fa-fw"></i>
<em class="fa fa-edit fa-fw"></em>
</a>
<a href="{{ _p.web_main }}admin/skill_create.php?parent={{ skill.id }}" class="btn btn-primary btn-sm" title="{{ "CreateChildSkill" | get_lang }}">
<i class="fa fa-plus fa-fw"></i>
<em class="fa fa-plus fa-fw"></em>
</a>
<a href="{{ _p.web_main }}admin/skill_badge_create.php?id={{ skill.id }}" class="btn btn-primary btn-sm" title="{{ "CreateBadge" | get_lang }}">
<i class="fa fa-shield fa-fw"></i>
<em class="fa fa-shield fa-fw"></em>
</a>
{% if skill.status == 0 %}
<a href="{{ _p.web_self ~ '?' ~ {"action": "enable", "id": skill.id}|url_encode() }}" class="btn btn-success btn-sm" title="{{ 'Enable' }}">
<i class="fa fa-check-circle-o fa-fw"></i>
<em class="fa fa-check-circle-o fa-fw"></em>
</a>
{% else %}
<a href="{{ _p.web_self ~ '?' ~ {"action": "disable", "id": skill.id}|url_encode() }}" class="btn btn-danger btn-sm" title="{{ 'Disable' }}">
<i class="fa fa-ban fa-fw"></i>
<em class="fa fa-ban fa-fw"></em>
</a>
{% endif %}
</td>

@ -9,7 +9,7 @@
</li>
{% endfor %}
</ul>
<a id="add_profile" class="btn btn-default" href="#"><i class="fa fa-floppy-o"></i> {{"SaveThisSearch"|get_lang}}</a>
<a id="add_profile" class="btn btn-default" href="#"><em class="fa fa-floppy-o"></em> {{"SaveThisSearch"|get_lang}}</a>
</div>
{% endif %}

@ -452,7 +452,7 @@
<div class="col-md-3 skill-options">
<div class="skill-home">
<a class="btn btn-large btn-block btn-success" href="{{ _p.web }}user_portal.php">
<i class="fa fa-home"></i> {{ "ReturnToCourseList"|get_lang }}
<em class="fa fa-home"></em> {{ "ReturnToCourseList"|get_lang }}
</a>
</div>
<div class="panel panel-primary">
@ -469,13 +469,13 @@
<ul id="profile_search" class="holder holder_simple"></ul>
<form id="search_profile_form" class="form-search">
<button class="btn btn-default btn-block" type="submit">
<i class="fa fa-search"></i> {{ "SearchProfileMatches"|get_lang }}
<em class="fa fa-search"></em> {{ "SearchProfileMatches"|get_lang }}
</button>
</form>
<p class="text">{{ 'IsThisWhatYouWereLookingFor'|get_lang }}</p>
<form id="save_profile_form_button" class="form-search">
<button class="btn btn-default btn-block" type="submit">
<i class="fa fa-floppy-o"></i> {{ "SaveThisSearch"|get_lang }}
<em class="fa fa-floppy-o"></em> {{ "SaveThisSearch"|get_lang }}
</button>
</form>
</div>
@ -483,7 +483,7 @@
<p class="clearfix">
<a class="btn btn-block btn-default load_root" rel="0" href="#">
<i class="fa fa-eye"></i> {{ "ViewSkillsWheel"|get_lang }}
<em class="fa fa-eye"></em> {{ "ViewSkillsWheel"|get_lang }}
</a>
</p>
</div>
@ -501,13 +501,13 @@
<div class="panel-body">
<ul class="fa-ul">
<li>
<i class="fa fa-li fa-square skill-legend-basic"></i> {{ "BasicSkills"|get_lang }}
<em class="fa fa-li fa-square skill-legend-basic"></em> {{ "BasicSkills"|get_lang }}
</li>
<li>
<i class="fa fa-li fa-square skill-legend-add"></i> {{ "SkillsYouCanLearn"|get_lang }}
<em class="fa fa-li fa-square skill-legend-add"></em> {{ "SkillsYouCanLearn"|get_lang }}
</li>
<li>
<i class="fa fa-li fa-square skill-legend-search"></i> {{ "SkillsSearchedFor"|get_lang }}
<em class="fa fa-li fa-square skill-legend-search"></em> {{ "SkillsSearchedFor"|get_lang }}
</li>
</ul>
</div>
@ -559,16 +559,16 @@
</div>
<div class="modal-footer">
<button id="form-button-edit" class="btn btn-primary">
<i class="fa fa-edit"></i> {{ "Edit" | get_lang }}
<em class="fa fa-edit"></em> {{ "Edit" | get_lang }}
</button>
<button id="form-button-create-child" class="btn btn-primary">
<i class="fa fa-plus"></i> {{ "CreateChildSkill" | get_lang }}
<em class="fa fa-plus"></em> {{ "CreateChildSkill" | get_lang }}
</button>
<button id="form-button-add-to-profile" class="btn btn-primary">
<i class="fa fa-check"></i> {{ "AddSkillToProfileSearch" | get_lang }}
<em class="fa fa-check"></em> {{ "AddSkillToProfileSearch" | get_lang }}
</button>
<button type="button" class="btn btn-primary" data-dismiss="modal">
<i class="fa fa-close"></i> {{ "Close" | get_lang }}
<em class="fa fa-close"></em> {{ "Close" | get_lang }}
</button>
</div>
</div>
@ -589,10 +589,10 @@
</div>
<div class="modal-footer">
<button id="form-button-save-profile" class="btn btn-primary">
<i class="fa fa-save"></i> {{ "Save" | get_lang }}
<em class="fa fa-save"></em> {{ "Save" | get_lang }}
</button>
<button type="button" class="btn btn-primary" data-dismiss="modal">
<i class="fa fa-close"></i> {{ "Close" | get_lang }}
<em class="fa fa-close"></em> {{ "Close" | get_lang }}
</button>
</div>
</div>

@ -149,7 +149,7 @@
<div class="col-md-3 skill-options">
<p class="skill-home">
<a class="btn btn-large btn-block btn-success" href="{{ _p.web }}user_portal.php">
<i class="fa fa-home"></i> {{ "ReturnToCourseList"|get_lang }}
<em class="fa fa-home"></em> {{ "ReturnToCourseList"|get_lang }}
</a>
</p>
<div class="panel panel-default">
@ -204,7 +204,7 @@
<!-- END INFO SKILL -->
<p>
<a class="btn btn-default btn-block load_root" rel="0" href="#">
<i class="fa fa-eye"></i> {{ "ViewSkillsWheel"|get_lang }}
<em class="fa fa-eye"></em> {{ "ViewSkillsWheel"|get_lang }}
</a>
</p>
</div>
@ -224,13 +224,13 @@
<div class="panel-body">
<ul class="fa-ul">
<li>
<i class="fa fa-li fa-square skill-legend-badges"></i> {{ "SkillsYouAcquired"|get_lang }}
<em class="fa fa-li fa-square skill-legend-badges"></em> {{ "SkillsYouAcquired"|get_lang }}
</li>
<li>
<i class="fa fa-li fa-square skill-legend-add"></i> {{ "SkillsYouCanLearn"|get_lang }}
<em class="fa fa-li fa-square skill-legend-add"></em> {{ "SkillsYouCanLearn"|get_lang }}
</li>
<li>
<i class="fa fa-li fa-square skill-legend-search"></i> {{ "SkillsSearchedFor"|get_lang }}
<em class="fa fa-li fa-square skill-legend-search"></em> {{ "SkillsSearchedFor"|get_lang }}
</li>
</ul>
</div>

@ -13,7 +13,7 @@
</div>
<div class="modal-footer">
<button type="button" id="btn-send-invitation" class="btn btn-primary">
<i class="fa fa-send"></i> {{ 'Send' | get_lang }}
<em class="fa fa-send"></em> {{ 'Send' | get_lang }}
</button>
</div>
</div>

@ -49,7 +49,7 @@
{% if not profile_edition_link is empty %}
<li class="item">
<a class="btn link btn-sm btn-block" href="{{ profile_edition_link }}">
<i class="fa fa-edit"></i>{{ "EditProfile" | get_lang }}
<em class="fa fa-edit"></em>{{ "EditProfile" | get_lang }}
</a>
</li>
{% endif %}

@ -60,7 +60,7 @@
<div class="col-md-12">
{% if session.subtitle %}
<div class="subtitle-session">
<i class="fa fa-clock-o"></i> {{ session.subtitle }}
<em class="fa fa-clock-o"></em> {{ session.subtitle }}
</div>
{% endif %}
{% if session.show_description %}

@ -565,16 +565,16 @@ if($allowTutors == 'true') {
<?php
if ($ajax_search) {
?>
<button class="btn btn-default" type="button" onclick="remove_item(document.getElementById('destination_users'))" ><i class="fa fa-arrow-left"></i></button>
<button class="btn btn-default" type="button" onclick="remove_item(document.getElementById('destination_users'))" ><em class="fa fa-arrow-left"></em></button>
<?php
} else {
?>
<button class="btn btn-default" type="button" onclick="moveItem(document.getElementById('origin_users'), document.getElementById('destination_users'))" onclick="moveItem(document.getElementById('origin_users'), document.getElementById('destination_users'))">
<i class="fa fa-arrow-right"></i>
<em class="fa fa-arrow-right"></em>
</button>
<br /><br />
<button class="btn btn-default" type="button" onclick="moveItem(document.getElementById('destination_users'), document.getElementById('origin_users'))" onclick="moveItem(document.getElementById('destination_users'), document.getElementById('origin_users'))">
<i class="fa fa-arrow-left"></i>
<em class="fa fa-arrow-left"></em>
</button>
<?php
}

@ -74,7 +74,7 @@ if (!empty($items)) {
$usersAdded[] = $myUserId;
$userInfo = api_get_user_info($myUserId);
$url = api_get_path(WEB_CODE_PATH).'work/add_user.php?action=delete&id='.$workId.'&user_id='.$myUserId;
$link = Display::url('<i class="fa fa-trash"></i> ' . get_lang('Delete'), $url, array('class' => 'btn btn-danger btn-sm'));
$link = Display::url('<em class="fa fa-trash"></em> ' . get_lang('Delete'), $url, array('class' => 'btn btn-danger btn-sm'));
echo '<li class="list-group-item">' . $userInfo['complete_name_with_username'] . '<div class="pull-right">' . $link . '</div></li>';
}
echo '</ul>';
@ -108,7 +108,7 @@ if (!empty($userToAddList)) {
foreach ($userToAddList as $user) {
$userName = api_get_person_name($user['firstname'], $user['lastname']).' ('.$user['username'].') ';
$url = api_get_path(WEB_CODE_PATH).'work/add_user.php?action=add&id='.$workId.'&user_id='.$user['user_id'];
$link = Display::url('<i class="fa fa-plus"></i> ' . get_lang('Add'), $url, array('class' => 'btn btn-primary btn-sm'));
$link = Display::url('<em class="fa fa-plus"></em> ' . get_lang('Add'), $url, array('class' => 'btn btn-primary btn-sm'));
echo '<li class="list-group-item">' . $userName . '<div class="pull-right"> ' . $link . '</div></li>';
}
echo '</ul>';

@ -330,7 +330,7 @@ switch ($action) {
$content .= '</div>';
$content .= '</div>';
$content .= '<div id="student-list-work" style="display: none" class="table-responsive">';
$content .= '<div class="toolbar"><a id="closed-view-list" href="#"><i class="fa fa-times-circle"></i> ' .get_lang('Close'). '</a></div>';
$content .= '<div class="toolbar"><a id="closed-view-list" href="#"><em class="fa fa-times-circle"></em> ' .get_lang('Close'). '</a></div>';
$content .= showStudentList($work_id);
$content .= '</div>';
} else {

@ -34,7 +34,7 @@
<a
class="btn btn-success btn-advanced-subscription btn-accept"
href="#" id="asp-close-window">
<i class="fa fa-check"></i>
<em class="fa fa-check"></em>
{{ "AcceptInfinitive"|get_plugin_lang('AdvancedSubscriptionPlugin') }}
</a>
</div>
@ -47,7 +47,7 @@
<a
class="btn btn-success btn-advanced-subscription btn-accept"
href="#" id="asp-go-to">
<i class="fa fa-external-link"></i>
<em class="fa fa-external-link"></em>
{{ "GoToSessionX"|get_plugin_lang('AdvancedSubscriptionPlugin')|format(session.name) }}
</a>
</div>

@ -32,21 +32,21 @@
</h3>
<ul class="list-unstyled">
{% for teacher in course.teachers %}
<li><i class="fa fa-user"></i> {{ teacher }}</li>
<li><em class="fa fa-user"></em> {{ teacher }}</li>
{% endfor %}
</ul>
<p class="lead text-right">{{ course.currency }} {{ course.price }}</p>
{% if course.enrolled == "YES" %}
<div class="alert alert-success">
<i class="fa fa-check-square-o fa-fw"></i> {{ 'TheUserIsAlreadyRegisteredInTheCourse'|get_plugin_lang('BuyCoursesPlugin') }}
<em class="fa fa-check-square-o fa-fw"></em> {{ 'TheUserIsAlreadyRegisteredInTheCourse'|get_plugin_lang('BuyCoursesPlugin') }}
</div>
{% elseif course.enrolled == "NO" %}
<div class="text-center">
<a class="ajax btn btn-primary" title="" href="{{ course_description_url }}" data-title="{{ course.title }}">
<i class="fa fa-file-text"></i> {{ 'SeeDescription'|get_plugin_lang('BuyCoursesPlugin') }}
<em class="fa fa-file-text"></em> {{ 'SeeDescription'|get_plugin_lang('BuyCoursesPlugin') }}
</a>
<a class="btn btn-success" title="" href="{{ _p.web_plugin ~ 'buycourses/src/process.php?' ~ {'i': course.id, 't': 1}|url_encode() }}">
<i class="fa fa-shopping-cart"></i> {{ 'Buy'|get_plugin_lang('BuyCoursesPlugin') }}
<em class="fa fa-shopping-cart"></em> {{ 'Buy'|get_plugin_lang('BuyCoursesPlugin') }}
</a>
</div>
{% elseif course.enrolled == "TMP" %}
@ -68,14 +68,14 @@
<a href="{{ _p.web ~ 'session/' ~ session.id ~ '/about/' }}">{{ session.name }}</a>
</h3>
{% if 'show_session_coach'|get_setting == 'true' %}
<p><i class="fa fa-user fa-fw"></i> {{ session.coach }}</p>
<p><em class="fa fa-user fa-fw"></em> {{ session.coach }}</p>
{% endif %}
<p><i class="fa fa-calendar fa-fw"></i> {{ session.dates.display }}</p>
<p><em class="fa fa-calendar fa-fw"></em> {{ session.dates.display }}</p>
<p class="lead text-right">{{ session.currency }} {{ session.price }}</p>
<ul class="list-unstyled">
{% for course in session.courses %}
<li>
<i class="fa fa-book fa-fw"></i> {{ course.title }}
<em class="fa fa-book fa-fw"></em> {{ course.title }}
{% if course.coaches|length %}
<ul>
{% for coach in course.coaches %}
@ -88,12 +88,12 @@
</ul>
{% if session.enrolled == "YES" %}
<div class="alert alert-success">
<i class="fa fa-check-square-o fa-fw"></i> {{ 'TheUserIsAlreadyRegisteredInTheSession'|get_plugin_lang('BuyCoursesPlugin') }}
<em class="fa fa-check-square-o fa-fw"></em> {{ 'TheUserIsAlreadyRegisteredInTheSession'|get_plugin_lang('BuyCoursesPlugin') }}
</div>
{% elseif session.enrolled == "NO" %}
<div class="text-center">
<a class="btn btn-success" href="{{ _p.web_plugin ~ 'buycourses/src/process.php?' ~ {'i': session.id, 't': 2}|url_encode() }}">
<i class="fa fa-shopping-cart"></i> {{ 'Buy'|get_plugin_lang('BuyCoursesPlugin') }}
<em class="fa fa-shopping-cart"></em> {{ 'Buy'|get_plugin_lang('BuyCoursesPlugin') }}
</a>
</div>
{% elseif session.enrolled == "TMP" %}

@ -51,9 +51,9 @@
</td>
<td class="text-center">
{% if item.visible %}
<i class="fa fa-fw fa-check-square-o"></i>
<em class="fa fa-fw fa-check-square-o"></em>
{% else %}
<i class="fa fa-fw fa-square-o"></i>
<em class="fa fa-fw fa-square-o"></em>
{% endif %}
</td>
<td width="200" class="text-right">
@ -61,7 +61,7 @@
</td>
<td class="text-right">
<a href="{{ _p.web_plugin ~ 'buycourses/src/configure_course.php?' ~ {'i': item.course_id, 't':product_type_course}|url_encode() }}" class="btn btn-info btn-sm">
<i class="fa fa-wrench fa-fw"></i> {{ 'Configure'|get_lang }}
<em class="fa fa-wrench fa-fw"></em> {{ 'Configure'|get_lang }}
</a>
</td>
</tr>
@ -111,9 +111,9 @@
</td>
<td class="text-center">
{% if item.visible %}
<i class="fa fa-fw fa-check-square-o"></i>
<em class="fa fa-fw fa-check-square-o"></em>
{% else %}
<i class="fa fa-fw fa-square-o"></i>
<em class="fa fa-fw fa-square-o"></em>
{% endif %}
</td>
<td class="text-right" width="200">
@ -121,7 +121,7 @@
</td>
<td class="text-right">
<a href="{{ _p.web_plugin ~ 'buycourses/src/configure_course.php?' ~ {'i': item.session_id, 't': product_type_session}|url_encode() }}" class="btn btn-info btn-sm">
<i class="fa fa-wrench fa-fw"></i> {{ 'Configure'|get_lang }}
<em class="fa fa-wrench fa-fw"></em> {{ 'Configure'|get_lang }}
</a>
</td>
</tr>

@ -61,7 +61,7 @@
<td>{{ account.swift }}</td>
<td>
<a href="{{ _p.web_self ~ '?' ~ {'action':'delete_taccount', 'id': account.id}|url_encode() }}" class="btn btn-danger btn-sm">
<i class="fa fa-remove"></i> {{ 'Delete'|get_lang }}
<em class="fa fa-remove"></em> {{ 'Delete'|get_lang }}
</a>
</td>
</tr>

@ -15,7 +15,7 @@
<h3 class="page-header">{{ course.title }}</h3>
<ul class="items-teacher list-unstyled">
{% for teacher in course.teachers %}
<li><i class="fa fa-user"></i> {{ teacher }}</li>
<li><em class="fa fa-user"></em> {{ teacher }}</li>
{% endfor %}
</ul>
<p>
@ -38,7 +38,7 @@
{% for course in session.courses %}
<dt>{{ course.title }}</dt>
{% for coach in course.coaches %}
<dd><i class="fa fa-user fa-fw"></i> {{ coach }}</dd>
<dd><em class="fa fa-user fa-fw"></em> {{ coach }}</dd>
{% endfor %}
{% endfor %}
</dl>

@ -23,7 +23,7 @@
<h3 class="page-header">{{ course.title }}</h3>
<ul class="items-teacher list-unstyled">
{% for teacher in course.teachers %}
<li><i class="fa fa-user"></i> {{ teacher }}</li>
<li><em class="fa fa-user"></em> {{ teacher }}</li>
{% endfor %}
</ul>
<p>
@ -48,7 +48,7 @@
{% for course in session.courses %}
<dt>{{ course.title }}</dt>
{% for coach in course.coaches %}
<dd><i class="fa fa-user fa-fw"></i> {{ coach }}</dd>
<dd><em class="fa fa-user fa-fw"></em> {{ coach }}</dd>
{% endfor %}
{% endfor %}
</dl>

@ -37,10 +37,10 @@
<td class="text-center">
{% if sale.status == sale_status_pending %}
<a href="{{ _p.web_self ~ '?' ~ {'order': sale.id, 'action': 'confirm'}|url_encode() }}" class="btn btn-success btn-sm">
<i class="fa fa-user-plus fa-fw"></i> {{ 'SubscribeUser'|get_plugin_lang('BuyCoursesPlugin') }}
<em class="fa fa-user-plus fa-fw"></em> {{ 'SubscribeUser'|get_plugin_lang('BuyCoursesPlugin') }}
</a>
<a href="{{ _p.web_self ~ '?' ~ {'order': sale.id, 'action': 'cancel'}|url_encode() }}" class="btn btn-danger btn-sm">
<i class="fa fa-times fa-fw"></i> {{ 'DeleteOrder'|get_plugin_lang('BuyCoursesPlugin') }}
<em class="fa fa-times fa-fw"></em> {{ 'DeleteOrder'|get_plugin_lang('BuyCoursesPlugin') }}
</a>
{% endif %}
</td>

@ -26,7 +26,7 @@
<h3 class="page-header">{{ course.title }}</h3>
<ul class="items-teacher list-unstyled">
{% for teacher in course.teachers %}
<li><i class="fa fa-user"></i> {{ teacher }}</li>
<li><em class="fa fa-user"></em> {{ teacher }}</li>
{% endfor %}
</ul>
<p>
@ -51,7 +51,7 @@
{% for course in session.courses %}
<dt>{{ course.title }}</dt>
{% for coach in course.coaches %}
<dd><i class="fa fa-user fa-fw"></i> {{ coach }}</dd>
<dd><em class="fa fa-user fa-fw"></em> {{ coach }}</dd>
{% endfor %}
{% endfor %}
</dl>

@ -71,7 +71,7 @@ class BlockCourse extends Block
$charset
)
) . '\')) return false;" href="index.php?action=disable_block&path=' . $this->path . '">
<i class="fa fa-times"></i>
<em class="fa fa-times"></em>
</a></div>
</div>
<div class="panel-body">

@ -80,7 +80,7 @@ class BlockDaily extends Block
$charset
)
) . '\')) return false;" href="index.php?action=disable_block&path=' . $this->path . '">
<i class="fa fa-times"></i>
<em class="fa fa-times"></em>
</a></div>
</div>
<div class="panel-body">

@ -79,7 +79,7 @@ class BlockEvaluationGraph extends Block
<div class="panel-heading">
'.get_lang('EvaluationsGraph').'
<div class="pull-right"><a class="btn btn-danger btn-xs" onclick="javascript:if(!confirm(\''.addslashes(api_htmlentities(get_lang('ConfirmYourChoice'),ENT_QUOTES,$charset)).'\')) return false;" href="index.php?action=disable_block&path='.$this->path.'">
<i class="fa fa-times"></i>
<em class="fa fa-times"></em>
</a></div>
</div>
<div class="panel-body">';

@ -70,7 +70,7 @@ class BlockGlobalInfo extends Block
<div class="panel panel-default" id="intro">
<div class="panel-heading">'.get_lang('GlobalPlatformInformation').'
<div class="pull-right"><a class="btn btn-danger btn-xs" onclick="javascript:if(!confirm(\''.addslashes(api_htmlentities(get_lang('ConfirmYourChoice'),ENT_QUOTES,$charset)).'\')) return false;" href="index.php?action=disable_block&path='.$this->path.'">
<i class="fa fa-times"></i>
<em class="fa fa-times"></em>
</a></div>
</div>
<div class="panel-body">

@ -67,7 +67,7 @@ class BlockSession extends Block
<div class="panel-heading">
'.get_lang('SessionsInformation').'
<div class="pull-right"><a class="btn btn-danger btn-xs" onclick="javascript:if(!confirm(\''.addslashes(api_htmlentities(get_lang('ConfirmYourChoice'),ENT_QUOTES,$charset)).'\')) return false;" href="index.php?action=disable_block&path='.$this->path.'">
<i class="fa fa-times"></i>
<em class="fa fa-times"></em>
</a></div>
</div>
<div class="panel-body">

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save