Minor format code.

1.9.x
Julio Montoya 11 years ago
parent 4179363f03
commit 646150ec58
  1. 1
      main/exercice/overview.php
  2. 7
      main/group/group.php
  3. 6
      main/inc/lib/sortable_table.class.php
  4. 2
      main/social/profile.php

@ -237,7 +237,6 @@ if ($objExercise->selectAttempts()) {
if ($visible_return['value'] == true) {
$message .= $attempt_message;
}
//$options.= $attempt_message; //Display::div($attempt_message, array('class'=>"offset2 span2"));
}
if ($time_control) {

@ -215,15 +215,16 @@ if (api_get_setting('allow_group_categories') == 'true') {
}
echo Display::page_header($category['title'].' '. $label.' '.$actions);
echo '<p style="margin: 0px;margin-left: 50px;">'.$category['description'].'</p><p/>';
GroupManager ::process_groups($group_list, $category['id']);
echo $category['description'];
GroupManager::process_groups($group_list, $category['id']);
}
} else {
$group_list = GroupManager::get_group_list();
GroupManager::process_groups($group_list);
}
if (!isset ($_GET['origin']) || $_GET['origin'] != 'learnpath') {
if (!isset($_GET['origin']) || $_GET['origin'] != 'learnpath') {
Display::display_footer();
}
$_SESSION['_gid'] = 0;

@ -326,7 +326,7 @@ class SortableTable extends HTML_Table
$html .= '<td style="text-align:right;">';
$html .= $nav;
$html .= '</td>';
}else{
} else {
$html .= '<td> ';
$html .= '</td>';
}
@ -919,6 +919,7 @@ class SortableTableFromArray extends SortableTable
*/
public function get_table_data($from = 1, $per_page = null, $column = null, $direction = null, $sort = true)
{
if ($sort) {
$content = TableSort::sort_table($this->table_data, $this->column, $this->direction == 'ASC' ? SORT_ASC : SORT_DESC);
} else {
@ -981,7 +982,7 @@ class SortableTableFromArrayConfig extends SortableTable
* @param string $direction
* @param bool $doc_filter special modification to fix the document name order
*/
public function __construct (
public function __construct(
$table_data,
$default_column = 1,
$default_items_per_page = 20,
@ -1018,6 +1019,7 @@ class SortableTableFromArrayConfig extends SortableTable
SORT_REGULAR,
$this->doc_filter
);
return array_slice($content, $from, $this->per_page);
}

@ -767,4 +767,4 @@ $tpl->assign('social_left_content', $social_left_content);
$tpl->assign('social_right_content', $social_right_content);
$social_layout = $tpl->get_template('layout/social_layout.tpl');
$tpl->display($social_layout);
$tpl->display($social_layout);

Loading…
Cancel
Save