Ignore:
Timestamp:
Aug 14, 2013, 12:08:56 AM (11 years ago)
Author:
chronos
Message:
  • Fixed: On user profile show last translated texts and exports for displayed user instead of logged user.
  • Modified: Show time of last user appearence on profile page.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/global.php

    r562 r563  
    356356}
    357357
     358function HumanDateTime($SQLDateTime)
     359{
     360  $DateTimeParts = explode(' ', $SQLDateTime);
     361  if($DateTimeParts[0] != '0000-00-00')
     362  {
     363    $DateParts = explode('-', $DateTimeParts[0]);
     364    $Output = ($DateParts[2] * 1).'.'.($DateParts[1] * 1).'.'.($DateParts[0] * 1);
     365  } else $Output = ' ';
     366  if(count($DateTimeParts) > 1)
     367  if($DateTimeParts[1] != '00:00:00')
     368  {
     369    $TimeParts = explode(':', $DateTimeParts[1]);
     370    $Output .= ' '.($TimeParts[0] * 1).':'.($TimeParts[1] * 1).':'.($TimeParts[2] * 1);
     371  };
     372  return($Output);
     373}
     374
    358375function FollowingTran($TextID, $Table, $GroupId, $Prev = false)
    359376{
Note: See TracChangeset for help on using the changeset viewer.