Change icon import to export and avoid inline css - refs #6715

1.9.x
Francis Gonzales 12 years ago
parent f228bbb9e1
commit 61c5f2ef8e
  1. 23
      plugin/ticket/src/myticket.php
  2. 2
      plugin/ticket/src/tutor_report.lib.php

@ -78,6 +78,13 @@ function display_advanced_search_form () {
width: 95px;
}
.label4 {
float: left;
text-align: left;
margin-top: 10px;
width: 75px;
}
.formw2 {
float: left;
margin-left: 4px;
@ -114,6 +121,10 @@ function display_advanced_search_form () {
.input-width {
width: 170px;
}
.fleft {
float: left;
}
</style>';
$this_section = 'tickets';
@ -248,15 +259,11 @@ if ($isAdmin) {
echo '<div class="actions" >';
if (api_is_platform_admin()) {
echo '<span style="float:right;">' .
'<a href="' . api_get_self() . '?action=export' . $get_parameter . $get_parameter2 . '">' .
Display::return_icon('import_excel.png', get_lang('Export'), '', '32') . '</a>' .
'</span>';
echo '<span style="float:right;">' .
echo '<span class="fleft">' .
'<a href="' . api_get_path(WEB_PLUGIN_PATH) . 'ticket/src/new_ticket.php">' .
Display::return_icon('add.png', $plugin->get_lang('TckNew'), '', '32') . '</a>' .
'</span>';
echo '<span style="float:right;">' .
'<a href="' . api_get_self() . '?action=export' . $get_parameter . $get_parameter2 . '">' .
Display::return_icon('export_excel.png', get_lang('Export'), '', '32') . '</a>' .
'</span>';
}
$form->display();
@ -325,7 +332,7 @@ if ($isAdmin) {
<tr>
<td>
<div >
<div class="label2">' . get_lang('Course') . ': </div>
<div class="label4">' . get_lang('Course') . ': </div>
<div class="formw2">
<input id="keyword_course" style="width: 170px;" name="keyword_course" type="text"></div>
</div>

@ -133,7 +133,7 @@ function showResults($courseInfo, $weeksCount, $page)
if ($weeksCount == 14) {
$html .= '<span style="float:right;"><a href="tutor.php?page=' . (($page == 1) ? 2 : 1) . '">' . (($page == 1) ? "Siguiente" : "Anterior") . '</a></span>';
}
$html .= '<span style="float:right;"><a href="' . api_get_self() . '?action=export' . $get_parameter . $get_parameter2 . '">' . Display::return_icon('import_excel.png', get_lang('Export'), '', '32') . '</a></span>';
$html .= '<span style="float:right;"><a href="' . api_get_self() . '?action=export' . $get_parameter . $get_parameter2 . '">' . Display::return_icon('export_excel.png', get_lang('Export'), '', '32') . '</a></span>';
$html .= '</form>';
$html .= '<table class="reports">';

Loading…
Cancel
Save