fix float-right

pull/2818/head
Alex Aragón 6 years ago
parent 25d1ce2039
commit 134b69aa8a
  1. 2
      main/admin/configure_homepage.php
  2. 8
      main/admin/settings.lib.php
  3. 2
      main/admin/user_list.php
  4. 2
      main/attendance/attendance_calendar.php
  5. 2
      main/auth/profile.php
  6. 2
      main/dropbox/dropbox_functions.inc.php
  7. 2
      main/exercise/exercise.class.php
  8. 2
      main/forum/viewforumcategory.php
  9. 2
      main/gradebook/lib/fe/displaygradebook.php
  10. 2
      main/inc/lib/agenda.lib.php
  11. 4
      main/inc/lib/banner.lib.php
  12. 6
      main/inc/lib/career.lib.php
  13. 2
      main/inc/lib/course.lib.php
  14. 2
      main/inc/lib/course_home.lib.php
  15. 2
      main/inc/lib/exercise.lib.php
  16. 2
      main/inc/lib/formvalidator/FormValidator.class.php
  17. 2
      main/inc/lib/glossary.lib.php
  18. 2
      main/inc/lib/javascript/badge-studio/media/js/studio.js
  19. 4
      main/inc/lib/message.lib.php
  20. 8
      main/inc/lib/social.lib.php
  21. 2
      main/inc/lib/userportal.lib.php
  22. 2
      main/install/install.lib.php
  23. 2
      main/session/session_category_list.php
  24. 4
      main/session/session_list.php
  25. 8
      main/social/group_view.php
  26. 2
      main/social/invitations.php
  27. 2
      main/social/profile.php
  28. 2
      main/survey/meeting.php
  29. 2
      main/template/default/agenda/event_list.html.twig
  30. 2
      main/template/default/blog/post.html.twig
  31. 2
      main/template/default/course_progress/progress.html.twig
  32. 2
      main/template/default/gamification/my_progress.html.twig
  33. 2
      main/template/default/user_portal/classic_courses_with_category.html.twig
  34. 2
      main/template/default/user_portal/classic_session.html.twig
  35. 2
      main/template/default/user_portal/grid_session.html.twig
  36. 2
      main/template/default/user_portal/session_category.html.twig
  37. 2
      main/ticket/ticket_details.php
  38. 2
      main/tracking/courseLog.php
  39. 2
      main/tracking/messages.php
  40. 2
      main/tracking/total_time.php
  41. 2
      main/user/user.php
  42. 4
      main/work/add_user.php

@ -992,7 +992,7 @@ switch ($action) {
<a role="button" data-toggle="collapse" data-parent="#notice-block"
href="#notice-list" aria-expanded="true" aria-controls="notice-list">
<?php echo get_lang('Notice'); ?>
<a class="pull-right"
<a class="float-right"
href="<?php echo $selfUrl; ?>?action=edit_notice"><?php Display::display_icon('edit.png', get_lang('Edit'), [], ICON_SIZE_SMALL); ?></a>
</a>
</h4>

@ -1404,13 +1404,13 @@ function generateSettingsForm($settings, $settings_by_access_list)
if ($row['access_url_changeable'] == '1') {
$form->addElement(
'html',
'<div class="pull-right"><a class="share_this_setting" data_status = "0" data_to_send = "'.$row['variable'].'" href="javascript:void(0);">'.
'<div class="float-right"><a class="share_this_setting" data_status = "0" data_to_send = "'.$row['variable'].'" href="javascript:void(0);">'.
Display::return_icon('shared_setting.png', get_lang('ChangeSharedSetting'), null, ICON_SIZE_MEDIUM).'</a></div>'
);
} else {
$form->addElement(
'html',
'<div class="pull-right"><a class="share_this_setting" data_status = "1" data_to_send = "'.$row['variable'].'" href="javascript:void(0);">'.
'<div class="float-right"><a class="share_this_setting" data_status = "1" data_to_send = "'.$row['variable'].'" href="javascript:void(0);">'.
Display::return_icon('shared_setting_na.png', get_lang('ChangeSharedSetting'), null, ICON_SIZE_MEDIUM).'</a></div>'
);
}
@ -1418,13 +1418,13 @@ function generateSettingsForm($settings, $settings_by_access_list)
if ($row['access_url_changeable'] == '1') {
$form->addElement(
'html',
'<div class="pull-right">'.
'<div class="float-right">'.
Display::return_icon('shared_setting.png', get_lang('ChangeSharedSetting'), null, ICON_SIZE_MEDIUM).'</div>'
);
} else {
$form->addElement(
'html',
'<div class="pull-right">'.
'<div class="float-right">'.
Display::return_icon('shared_setting_na.png', get_lang('ChangeSharedSetting'), null, ICON_SIZE_MEDIUM).'</div>'
);
}

@ -993,7 +993,7 @@ $actionsLeft = '';
$actionsCenter = '';
$actionsRight = '';
if (api_is_platform_admin()) {
$actionsRight .= '<a class="pull-right" href="'.api_get_path(WEB_CODE_PATH).'admin/user_add.php">'.
$actionsRight .= '<a class="float-right" href="'.api_get_path(WEB_CODE_PATH).'admin/user_add.php">'.
Display::return_icon('new_user.png', get_lang('AddUsers'), '', ICON_SIZE_MEDIUM).'</a>';
}

@ -170,7 +170,7 @@ if (isset($action) && $action == 'calendar_add') {
if (!$is_locked_attendance || api_is_platform_admin()) {
if (api_is_allowed_to_edit()) {
echo '<div class="pull-right">';
echo '<div class="float-right">';
echo '<a href="index.php?'.api_get_cidreq().'&action=calendar_edit&calendar_id='.intval($calendar['id']).'&attendance_id='.$attendance_id.'">'.
Display::return_icon('edit.png', get_lang('Edit'), ['style' => 'vertical-align:middle'], ICON_SIZE_SMALL).'</a>&nbsp;';
echo '<a onclick="javascript:if(!confirm(\''.get_lang('AreYouSureToDelete').'\')) return false;" href="index.php?'.api_get_cidreq().'&action=calendar_delete&calendar_id='.intval($calendar['id']).'&attendance_id='.$attendance_id.'">'.

@ -714,7 +714,7 @@ if (api_get_setting('allow_social_tool') === 'true') {
$normalImage = UserManager::getUserPicture(api_get_user_id(), USER_IMAGE_SIZE_ORIGINAL);
$imageToShow = '<div id="image-message-container">';
$imageToShow .= '<a class="expand-image pull-right" href="'.$bigImage.'" /><img src="'.$normalImage.'"></a>';
$imageToShow .= '<a class="expand-image float-right" href="'.$bigImage.'" /><img src="'.$normalImage.'"></a>';
$imageToShow .= '</div>';
$content = $imageToShow.$form->returnForm();

@ -1189,7 +1189,7 @@ function feedback_form($url)
$return .= '<textarea name="feedback" class="form-control" rows="4"></textarea>';
$return .= '</div>';
$return .= '<div class="col-sm-3">';
$return .= '<div class="pull-right"><a class="btn btn-default btn-sm" href="'.$url.'"><i class="fa fa-times" aria-hidden="true"></i></a></div>';
$return .= '<div class="float-right"><a class="btn btn-default btn-sm" href="'.$url.'"><i class="fa fa-times" aria-hidden="true"></i></a></div>';
$return .= '<button type="submit" class="btn btn-primary btn-sm" name="store_feedback" value="'.get_lang('Ok').'"
onclick="javascript: document.form_dropbox.attributes.action.value = document.location;">'.get_lang('AddComment').'</button>';
$return .= '</div>';

@ -7475,7 +7475,7 @@ class Exercise
}
}
echo '<div class="row"><div class="pull-right">'.$paginationCounter.'</div></div>';
echo '<div class="row"><div class="float-right">'.$paginationCounter.'</div></div>';
echo Display::div($exercise_actions, ['class' => 'form-actions']);
echo '</div>';
}

@ -217,7 +217,7 @@ if ($action != 'add') {
$html .= Display::tag(
'div',
$iconsEdit,
['class' => 'pull-right']
['class' => 'float-right']
);
}

@ -333,7 +333,7 @@ class DisplayGradebook
if ((!$catobj->get_id() == '0') && (!isset($_GET['studentoverview'])) && (!isset($_GET['search']))) {
$additionalButtons = null;
if (!empty($certificateLinkInfo)) {
$additionalButtons .= '<div class="btn-group pull-right">';
$additionalButtons .= '<div class="btn-group float-right">';
$additionalButtons .= isset($certificateLinkInfo['certificate_link']) ? $certificateLinkInfo['certificate_link'] : '';
$additionalButtons .= isset($certificateLinkInfo['badge_link']) ? $certificateLinkInfo['badge_link'] : '';
$additionalButtons .= '</div>';

@ -3741,7 +3741,7 @@ class Agenda
'',
[
'onclick' => "load_calendar('".$user_id."','".$prev_month."', '".$prev_year."'); ",
'class' => 'pull-right btn ui-button ui-widget ui-state-default',
'class' => 'float-right btn ui-button ui-widget ui-state-default',
]
);
}

@ -537,7 +537,7 @@ function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
// View as student/teacher link
if (!empty($view_as_student_link)) {
$html .= Display::tag('div', $view_as_student_link, ['id' => 'view_as_link', 'class' => 'pull-right']);
$html .= Display::tag('div', $view_as_student_link, ['id' => 'view_as_link', 'class' => 'float-right']);
}
if (!empty($navigation_right)) {
@ -546,7 +546,7 @@ function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
$lis .= Display::tag(
'li',
$item['title'],
['class' => $extra_class.' pull-right']
['class' => $extra_class.' float-right']
);
}
}

@ -838,8 +838,8 @@ class Career extends Model
if (!empty($vertex->getAttribute('DefinedColor'))) {
$color = $vertex->getAttribute('DefinedColor');
}
$content = '<div class="pull-left">'.$vertex->getAttribute('Notes').'</div>';
$content .= '<div class="pull-right">['.$id.']</div>';
$content = '<div class="float-left">'.$vertex->getAttribute('Notes').'</div>';
$content .= '<div class="float-right">['.$id.']</div>';
$title = $vertex->getAttribute('graphviz.label');
if (!empty($vertex->getAttribute('LinkedElement'))) {
@ -1123,7 +1123,7 @@ class Career extends Model
$color = $vertex->getAttribute('DefinedColor');
}
$content = $vertex->getAttribute('Notes');
$content .= '<div class="pull-right">['.$id.']</div>';
$content .= '<div class="float-right">['.$id.']</div>';
$title = $vertex->getAttribute('graphviz.label');
if (!empty($vertex->getAttribute('LinkedElement'))) {

@ -3672,7 +3672,7 @@ class CourseManager
$html .= '</div>';
$params['right_actions'] = isset($params['right_actions']) ? $params['right_actions'] : null;
$html .= '<div class="pull-right course-box-actions">'.$params['right_actions'].'</div>';
$html .= '<div class="float-right course-box-actions">'.$params['right_actions'].'</div>';
$html .= '</div>';
$html .= '</div>';

@ -460,7 +460,7 @@ class CourseHome
}
}
if (is_array($lnk)) {
$html .= '<div class="pull-right">';
$html .= '<div class="float-right">';
$html .= '<div class="btn-options">';
$html .= '<div class="btn-group btn-group-sm" role="group">';
foreach ($lnk as &$this_link) {

@ -2363,7 +2363,7 @@ HOTSPOT;
$roundValues
);
$actions = '<div class="pull-right">';
$actions = '<div class="float-right">';
if ($is_allowedToEdit) {
if (isset($teacher_id_list)) {
if (in_array(

@ -93,7 +93,7 @@ class FormValidator extends HTML_QuickForm
*/
$renderer->setElementTemplate($templateSimple, 'buttons_in_action');
$templateSimpleRight = '<div class="form-actions"> <div class="pull-right">{label} {element}</div></div>';
$templateSimpleRight = '<div class="form-actions"> <div class="float-right">{label} {element}</div></div>';
$renderer->setElementTemplate($templateSimpleRight, 'buttons_in_action_right');
}

@ -484,7 +484,7 @@ class GlossaryManager
foreach ($glossaryList as $key => $glossary_item) {
$actions = '';
if (api_is_allowed_to_edit(null, true)) {
$actions = '<div class="pull-right">'.self::actions_filter($glossary_item[2], '', $glossary_item).'</div>';
$actions = '<div class="float-right">'.self::actions_filter($glossary_item[2], '', $glossary_item).'</div>';
}
$content .= Display::panel($glossary_item[1], $glossary_item[0].' '.$actions);
}

@ -86,7 +86,7 @@ function initGlyphSelector() {
var glyphLog = [];
$glyphSelectorButton = document.createElement('button');
$glyphSelectorButton.className = 'btn btn-default pull-right';
$glyphSelectorButton.className = 'btn btn-default float-right';
$glyphSelectorButton.id = 'search-glyphs';
$glyphSelectorButton.type = 'button';
$glyphSelectorButton.innerHTML = '<em class="fa fa-search"></em> Search';

@ -1650,7 +1650,7 @@ class MessageManager
$topic_page_nr = isset($_GET['topics_page_nr']) ? intval($_GET['topics_page_nr']) : null;
$links .= '<div class="pull-right">';
$links .= '<div class="float-right">';
$links .= '<div class="btn-group btn-group-sm">';
if (($my_group_role == GROUP_USER_PERMISSION_ADMIN ||
@ -1782,7 +1782,7 @@ class MessageManager
$_GET['items_'.$topic['id'].'_page_nr']
) : null;
$links = '';
$links .= '<div class="pull-right">';
$links .= '<div class="float-right">';
$html_items = '';
$user_sender_info = api_get_user_info($topic['user_sender_id']);
$files_attachments = self::getAttachmentLinkList($topic['id']);

@ -1639,7 +1639,7 @@ class SocialManager extends UserManager
$media = '';
$media .= '<div class="rep-post">';
$media .= '<div class="col-md-2 col-xs-2 social-post-answers">';
$media .= '<div class="user-image pull-right">';
$media .= '<div class="user-image float-right">';
$media .= '<a href="'.$url.'" ><img src="'.$users[$userIdLoop]['avatar'].
'" alt="'.$users[$userIdLoop]['complete_name'].'" class="avatar-thumb"></a>';
$media .= '</div>';
@ -1656,7 +1656,7 @@ class SocialManager extends UserManager
$media .= '</div>';
if ($isOwnWall) {
$media .= '<div class="col-md-1 col-xs-1 social-post-answers">';
$media .= '<div class="pull-right deleted-mgs">';
$media .= '<div class="float-right deleted-mgs">';
$url = api_get_path(WEB_CODE_PATH).'social/profile.php?messageId='.$message['id'];
$media .= Display::url(
Display::returnFontAwesomeIcon('trash'),
@ -1679,7 +1679,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" /><em class="fa fa-pencil"></em> '.get_lang('Post').'</button>
class="float-right btn btn-default" /><em class="fa fa-pencil"></em> '.get_lang('Post').'</button>
</form>';
$formattedList .= '</div>';
@ -2195,7 +2195,7 @@ class SocialManager extends UserManager
$html = '';
$html .= '<div class="top-mediapost" >';
if ($isOwnWall) {
$html .= '<div class="pull-right deleted-mgs">';
$html .= '<div class="float-right deleted-mgs">';
$html .= $htmlDelete;
$html .= '</div>';
}

@ -2308,7 +2308,7 @@ class IndexManager
// notification
if (!empty($courseParams['right_actions'])) {
$rightActions = '<div class="pull-right">'.$courseParams['right_actions'].'</div>';
$rightActions = '<div class="float-right">'.$courseParams['right_actions'].'</div>';
}
$notifications = isset($courseParams['notifications']) ? $courseParams['notifications'] : '';

@ -1580,7 +1580,7 @@ function display_database_settings_form(
<div class="btn-group" role="group">
<button type="submit" name="step2"
class="btn btn-secondary pull-right" value="&lt; <?php echo get_lang('Previous'); ?>" >
class="btn btn-secondary float-right" 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="-" />

@ -109,7 +109,7 @@ if (isset($_GET['search']) && $_GET['search'] == 'advanced') {
Display::return_icon('session.png', get_lang('ListSession'), '', ICON_SIZE_MEDIUM).'</a>'; ?>
</div>
<div class="col-md-6">
<div class="pull-right">
<div class="float-right">
<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; ?>"

@ -377,7 +377,7 @@ if ($list_type == 'complete') {
echo $actions;
if (api_is_platform_admin()) {
echo '<div class="pull-right">';
echo '<div class="float-right">';
// Create a search-box
$form = new FormValidator(
'search_simple',
@ -394,7 +394,7 @@ if (api_is_platform_admin()) {
$form->display();
echo '</div>';
echo '<div class="pull-right">';
echo '<div class="float-right">';
echo $sessionFilter->returnForm();
echo '</div>';
}

@ -180,14 +180,14 @@ if ($is_group_member || $groupInfo['visibility'] == GROUP_PERMISSION_OPEN) {
[GROUP_USER_PERMISSION_PENDING_INVITATION_SENT_BY_USER, GROUP_USER_PERMISSION_PENDING_INVITATION]
)) {
$social_right_content .= '<div class="group-tool">';
$social_right_content .= '<div class="pull-right">';
$social_right_content .= '<div class="float-right">';
$social_right_content .= '<a class="btn btn-default btn-sm" href="group_view.php?id='.$group_id.'&action=join&u='.api_get_user_id().'">'.
get_lang('JoinGroup').'</a>';
$social_right_content .= '</div>';
$social_right_content .= '</div>';
} elseif ($role == GROUP_USER_PERMISSION_PENDING_INVITATION) {
$social_right_content .= '<div class="group-tool">';
$social_right_content .= '<div class="pull-right">';
$social_right_content .= '<div class="float-right">';
$social_right_content .= '<a class="btn btn-default btn-sm" href="group_view.php?id='.$group_id.'&action=join&u='.api_get_user_id().'">'.
Display::returnFontAwesomeIcon('envelope').' '.
get_lang('YouHaveBeenInvitedJoinNow').'</a>';
@ -246,7 +246,7 @@ if ($is_group_member || $groupInfo['visibility'] == GROUP_PERMISSION_OPEN) {
if (count($members) > 0) {
if ($role == GROUP_USER_PERMISSION_ADMIN) {
$member_content .= '<div class="group-tool">';
$member_content .= '<div class="pull-right">';
$member_content .= '<div class="float-right">';
$member_content .= Display::url(
Display::returnFontAwesomeIcon('pencil').' '.get_lang('EditMembersList'),
'group_members.php?id='.$group_id,
@ -293,7 +293,7 @@ if ($is_group_member || $groupInfo['visibility'] == GROUP_PERMISSION_OPEN) {
}
if (!empty($create_thread_link)) {
$create_thread_link = Display::div($create_thread_link, ['class' => 'pull-right']);
$create_thread_link = Display::div($create_thread_link, ['class' => 'float-right']);
}
$listTopic = $content;

@ -128,7 +128,7 @@ if ($number_loop != 0) {
$invitationHtml .= '</div>';
$invitationHtml .= '<div class="col-md-10">';
$invitationHtml .= '<div class="pull-right">';
$invitationHtml .= '<div class="float-right">';
$invitationHtml .= '<div class="btn-group btn-group-sm" role="group">';
$invitationHtml .= Display::toolbarButton(
null,

@ -621,7 +621,7 @@ if ($show_full_profile) {
$invitations .= '<a href="'.api_get_path(WEB_PATH).'main/social/profile.php?u='.$user_invitation_id.'">'
.api_get_person_name($userInfo['firstname'], $userInfo['lastname']).'</a>';
$invitations .= '<div class="pull-right">';
$invitations .= '<div class="float-right">';
$invitations .= Display::toolbarButton(
get_lang('SocialAddToFriends'),
api_get_path(WEB_AJAX_PATH).'social.ajax.php?'.http_build_query([

@ -275,7 +275,7 @@ if ($action === 'edit') {
$content .= $table->toHtml();
if ($action === 'edit') {
$content .= '<div class="pull-right">
$content .= '<div class="float-right">
<button name="submit" type="submit" class="btn btn-primary btn-lg">'.get_lang('Save').'</button></div>';
$content .= '</form>';
}

@ -7,7 +7,7 @@
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="heading-{{ event.id }}">
{% if is_allowed_to_edit and show_action %}
<div class="pull-right">
<div class="float-right">
{% if event.visibility == 1 %}
<a class="btn btn-default btn-xs"
href="{% if url %}{{ url }}{% else %}{{ event.url }}{% endif %}&action=change_visibility&visibility=0&id={{ event.real_id }}&type={{ event.type }}">

@ -9,7 +9,7 @@
</a>
</div>
<div class="media-body">
<div class="pull-right">
<div class="float-right">
{{ item.actions }}
</div>
<h4 class="media-heading"

@ -6,7 +6,7 @@
<div class="row">
<div class="col-md-12">
<div class="bar-progress">
<div class="pull-right">
<div class="float-right">
<div class="score-progress">
<h3>{{ 'Progress' | get_lang }}: <span id="div_result">{{ score_progress }}</span> %</h3>
</div>

@ -6,7 +6,7 @@
{{ user_avatar }}
<div class="username">{{ user|format_user_full_name }}</div>
<div class="star-progress">
<span class="pull-right">{{ 'XPoints'|get_lang|format(gamification_points) }}</span>
<span class="float-right">{{ 'XPoints'|get_lang|format(gamification_points) }}</span>
{% if gamification_stars > 0 %}
{% for i in 1..gamification_stars %}

@ -34,7 +34,7 @@
</div>
<div class="col-md-10">
{% if item.edit_actions != '' %}
<div class="pull-right">
<div class="float-right">
{% if item.document == '' %}
<a class="btn btn-default btn-sm" href="{{ item.edit_actions }}">
<i class="fa fa-pencil" aria-hidden="true"></i>

@ -32,7 +32,7 @@
{% set collapsable = 'collapse' %}
{% endif %}
{% if row.show_actions %}
<div class="pull-right">
<div class="float-right">
<a href="{{ _p.web_main ~ "session/resume_session.php?id_session=" ~ row.id }}">
<img src="{{ "edit.png"|icon(22) }}" width="22" height="22" alt="{{ "Edit"|get_lang }}"
title="{{ "Edit"|get_lang }}">

@ -123,7 +123,7 @@
alt="{{ row.title }}" title="{{ row.title }}"/>
{{ row.title }}
{% if row.edit_actions != '' %}
<div class="pull-right">
<div class="float-right">
<a class="btn btn-default btn-sm" href="{{ row.edit_actions }}">
<i class="fa fa-pencil" aria-hidden="true"></i>
</a>

@ -16,7 +16,7 @@
</div>
<div class="col-md-10">
{% if session_category.show_actions %}
<div class="pull-right">
<div class="float-right">
<a href="{{ _p.web_main ~ 'session/session_category_edit.php?id=' ~ session_category.id }}">
<img src="{{ "edit.png"|icon(22) }}" width="22" height="22" alt="{{ "Edit"|get_lang }}"
title="{{ "Edit"|get_lang }}">

@ -194,7 +194,7 @@ foreach ($messages as $message) {
$message['user_info']['complete_name_with_message_link']
);
$messageToShow .= ' '.$date.' <span class="pull-right">'.$counterLink.'</span></h4>';
$messageToShow .= ' '.$date.' <span class="float-right">'.$counterLink.'</span></h4>';
$messageToShow .= '<hr />';
if (!empty($entireMessage)) {

@ -206,7 +206,7 @@ Display::display_header($nameTools, 'Tracking');
$actionsLeft = TrackingCourseLog::actionsLeft('users', $sessionId);
$actionsRight = '<div class="pull-right">';
$actionsRight = '<div class="float-right">';
$actionsRight .= '<a href="javascript: void(0);" onclick="javascript: window.print();">'.
Display::return_icon('printer.png', get_lang('Print'), '', ICON_SIZE_MEDIUM).'</a>';

@ -82,7 +82,7 @@ foreach ($messages as $message) {
$message['title'].
$subText = get_lang('From').': '.$usersData[$message['user_sender_id']]['complete_name'];
$title = empty($message['title']) ? get_lang('Untitled') : $message['title'];
$title = $title.' - '.$subText.'<span class="pull-right">'.Display::dateToStringAgoAndLongDate($message['send_date']).'</span>';
$title = $title.' - '.$subText.'<span class="float-right">'.Display::dateToStringAgoAndLongDate($message['send_date']).'</span>';
$messageId = $message['id'];
$hash = sha1($message['title'].$message['content'].$message['send_date']);

@ -167,7 +167,7 @@ if (!empty($sessionId)) {
);
}
$actionsRight = '<div class="pull-right">';
$actionsRight = '<div class="float-right">';
$actionsRight .= '<a href="javascript: void(0);" onclick="javascript: window.print();">'.
Display::return_icon('printer.png', get_lang('Print'), '', ICON_SIZE_MEDIUM).'</a>';

@ -614,7 +614,7 @@ if (api_is_allowed_to_edit(null, true)) {
echo '</div>';
echo '<div class="col-md-6">';
echo '<div class="pull-right">';
echo '<div class="float-right">';
// Build search-form
$form = new FormValidator(
'search_user',

@ -78,7 +78,7 @@ if (!empty($items)) {
['class' => 'btn btn-danger btn-sm']
);
echo '<li class="list-group-item">'.
$userInfo['complete_name_with_username'].'<div class="pull-right">'.$link.'</div></li>';
$userInfo['complete_name_with_username'].'<div class="float-right">'.$link.'</div></li>';
}
echo '</ul>';
}
@ -115,7 +115,7 @@ if (!empty($userToAddList)) {
$url,
['class' => 'btn btn-primary btn-sm']
);
echo '<li class="list-group-item">'.$userName.'<div class="pull-right"> '.$link.'</div></li>';
echo '<li class="list-group-item">'.$userName.'<div class="float-right"> '.$link.'</div></li>';
}
echo '</ul>';
} else {

Loading…
Cancel
Save