- Special handling (using some custom code - temporary solution) of the 'ticket_log' attribute: the attribute is displayed at the bottom of the "Properties" page and takes the whole width of the page.

SVN:trunk[1193]
This commit is contained in:
Denis Flaven
2011-04-08 10:22:18 +00:00
parent 4b1726c1ca
commit 037d6cc4ba
14 changed files with 213 additions and 37 deletions

View File

@@ -121,7 +121,6 @@ class ormCaseLog {
$sHtml .= '</div>';
}
}
$sHtml = '<div class="caselog">'.$sHtml.'</div>';
return $sHtml;
}
@@ -147,6 +146,7 @@ class ormCaseLog {
/**
* Get the latest entry from the log
* @return string
*/
public function GetLatestEntry()
{
@@ -155,5 +155,15 @@ class ormCaseLog {
$sRes = substr($this->m_sLog, $aLastEntry['separator_length'], $aLastEntry['text_length']);
return $sRes;
}
/**
* Get the index of the latest entry from the log
* @return integer
*/
public function GetLatestEntryIndex()
{
$iLast = count($this->m_aIndex) - 1;
return $iLast;
}
}
?>