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

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

@ -133,7 +133,7 @@ function showResults($courseInfo, $weeksCount, $page)
if ($weeksCount == 14) { 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="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 .= '</form>';
$html .= '<table class="reports">'; $html .= '<table class="reports">';

Loading…
Cancel
Save