use the new very cool glyph button

This commit is contained in:
Felix Favre 2014-12-06 17:42:29 +01:00
parent de65cd64e1
commit 524acb15ba
2 changed files with 64 additions and 64 deletions

View File

@ -53,7 +53,7 @@ function display_news($news) {
$html .= '<div class="panel-footer text-muted">';
if (in_array("admin_news", $privileges))
$html .= '<div class="pull-right"><a class="btn btn-xs btn-default" href="' . page_link_to("admin_news") . '&action=edit&id=' . $news['ID'] . '">' . _("edit") . '</a></div>';
$html .= '<div class="pull-right">' . button_glyph(page_link_to("admin_news") . '&action=edit&id=' . $news['ID'], 'edit', 'btn-sm') . '</div>';
$html .= '<span class="glyphicon glyphicon-time"></span> ' . date("Y-m-d H:i", $news['Datum']) . '&emsp;';

View File

@ -28,7 +28,7 @@ function Users_view($users, $order_by, $arrived_count, $active_count, $force_act
$user['Tshirt'] = glyph_bool($user['Tshirt']);
$user['lastLogIn'] = date(_('m/d/Y h:i a'), $user['lastLogIn']);
$user['actions'] = table_buttons(array(
button(page_link_to('admin_user') . '&id=' . $user['UID'], _('edit'), 'btn-xs')
button_glyph(page_link_to('admin_user') . '&id=' . $user['UID'], 'edit', 'btn-sm')
));
}
$users[] = array(