default view page set to diary

nav header modified on mobile view
data order changed in user_data_edit
This commit is contained in:
Ricsi
2017-01-14 21:23:13 +01:00
parent 0fec3f0d7b
commit 92be8a8c95
7 changed files with 34 additions and 17 deletions

View File

@@ -189,7 +189,7 @@ class page {
include('include_diary.php');
break;
default:
include('include_overview.php');
include('include_diary.php');
break;
}
break;

View File

@@ -52,6 +52,8 @@ class training {
}
public function get_tr_date_day() {
$day = date("d", strtotime($this->tr_date));
if (substr($day, 0, 1) == '0') return substr($day, 1, 1);
return date("d", strtotime($this->tr_date));
}