예제 #1
0
 function _getTableheadAsHTML()
 {
     include_once 'functions/misc_functions.php';
     $params = $this->_getGetParamsAsArray();
     $params['from'] = 1;
     $html = '   <tr class="head">' . LF;
     $html .= '      <td class="head" style="width:40%;" colspan="2">';
     if ($this->getSortKey() == 'name') {
         $params['sort'] = 'name_rev';
         $picture = '&nbsp;<img src="' . getSortImage('up') . '" alt="&lt;" border="0"/>';
     } elseif ($this->getSortKey() == 'name_rev') {
         $params['sort'] = 'name';
         $picture = '&nbsp;<img src="' . getSortImage('down') . '" alt="&lt;" border="0"/>';
     } else {
         $params['sort'] = 'name';
         $picture = '&nbsp;';
     }
     $html .= ahref_curl($this->_environment->getCurrentContextID(), $this->_module, $this->_function, $params, $this->_translator->getMessage('USER_NAME'), '', '', $this->getFragment(), '', '', '', 'class="head"');
     $html .= $picture;
     if ($this->getSortKey() == 'user_id') {
         $params['sort'] = 'user_id_rev';
         $picture = '&nbsp;<img src="' . getSortImage('up') . '" alt="&lt;" border="0"/>';
     } elseif ($this->getSortKey() == 'user_id_rev') {
         $params['sort'] = 'user_id';
         $picture = '&nbsp;<img src="' . getSortImage('down') . '" alt="&lt;" border="0"/>';
     } else {
         $params['sort'] = 'user_id';
         $picture = '';
     }
     $html .= ' (' . ahref_curl($this->_environment->getCurrentContextID(), $this->_module, $this->_function, $params, $this->_translator->getMessage('USER_USER_ID'), '', '', $this->getFragment(), '', '', '', 'class="head"');
     $html .= $picture . ')';
     $html .= '</td>' . LF;
     $html .= '      <td style="width:20%; font-size:8pt;" class="head">';
     if ($this->getSortKey() == 'last_login') {
         $params['sort'] = 'last_login_rev';
         $picture = '&nbsp;<img src="' . getSortImage('up') . '" alt="&lt;" border="0"/>';
     } elseif ($this->getSortKey() == 'last_login_rev') {
         $params['sort'] = 'last_login';
         $picture = '&nbsp;<img src="' . getSortImage('down') . '" alt="&lt;" border="0"/>';
     } else {
         $params['sort'] = 'last_login';
         $picture = '&nbsp;';
     }
     $html .= ahref_curl($this->_environment->getCurrentContextID(), $this->_module, $this->_function, $params, $this->_translator->getMessage('USER_LASTLOGIN'), '', '', $this->getFragment(), '', '', '', 'class="head"');
     $html .= $picture;
     $html .= '</td>' . LF;
     $html .= '      <td style="width:30%; font-size:8pt;" class="head">';
     if ($this->getSortKey() == 'email') {
         $params['sort'] = 'email_rev';
         $picture = '&nbsp;<img src="' . getSortImage('up') . '" alt="&lt;" border="0"/>';
     } elseif ($this->getSortKey() == 'email_rev') {
         $params['sort'] = 'email';
         $picture = '&nbsp;<img src="' . getSortImage('down') . '" alt="&lt;" border="0"/>';
     } else {
         $params['sort'] = 'email';
         $picture = '&nbsp;';
     }
     $html .= ahref_curl($this->_environment->getCurrentContextID(), $this->_module, $this->_function, $params, $this->_translator->getMessage('USER_EMAIL'), '', '', $this->getFragment(), '', '', '', 'class="head"');
     $html .= $picture;
     $html .= '</td>' . LF;
     $html .= '   </tr>' . LF;
     return $html;
 }
예제 #2
0
 function _getTableheadAsHTML()
 {
     include_once 'functions/misc_functions.php';
     $params = $this->_getGetParamsAsArray();
     $params['from'] = 1;
     $html = '   <tr class="head">' . LF;
     $html .= '      <td class="head" style="width:55%;" colspan="2">';
     if ($this->getSortKey() == 'title') {
         $params['sort'] = 'title_rev';
         $picture = '&nbsp;<img src="' . getSortImage('up') . '" alt="&lt;" border="0"/>';
     } elseif ($this->getSortKey() == 'title_rev') {
         $params['sort'] = 'title';
         $picture = '&nbsp;<img src="' . getSortImage('down') . '" alt="&lt;" border="0"/>';
     } else {
         $params['sort'] = 'title';
         $picture = '&nbsp;';
     }
     if (empty($params['download']) or $params['download'] != 'zip') {
         $html .= ahref_curl($this->_environment->getCurrentContextID(), $this->_module, $this->_function, $params, $this->_translator->getMessage('COMMON_TITLE'), '', '', $this->getFragment(), '', '', '', 'class="head"');
     } else {
         $html .= $this->_translator->getMessage('COMMON_TITLE');
     }
     $html .= $picture;
     $html .= '</td>' . LF;
     $html .= '      <td style="width:20%; font-size:8pt;" class="head">';
     if ($this->getSortKey() == 'time') {
         $params['sort'] = 'time_rev';
         $picture = '&nbsp;<img src="' . getSortImage('up') . '" alt="&lt;" border="0"/>';
     } elseif ($this->getSortKey() == 'time_rev') {
         $params['sort'] = 'time';
         $picture = '&nbsp;<img src="' . getSortImage('down') . '" alt="&lt;" border="0"/>';
     } else {
         $params['sort'] = 'time';
         $picture = '&nbsp;';
     }
     if (empty($params['download']) or $params['download'] != 'zip') {
         $html .= ahref_curl($this->_environment->getCurrentContextID(), $this->_module, $this->_function, $params, $this->_translator->getMessage('DATES_TIME'), '', '', $this->getFragment(), '', '', '', 'class="head"');
     } else {
         $html .= $this->_translator->getMessage('DATES_TIME');
     }
     $html .= $picture;
     $html .= '</td>' . LF;
     $html .= '      <td colspan="2" style="width:25%; font-size:8pt;" class="head">';
     if ($this->getSortKey() == 'place') {
         $params['sort'] = 'place_rev';
         $picture = '&nbsp;<img src="' . getSortImage('up') . '" alt="&lt;" border="0"/>';
     } elseif ($this->getSortKey() == 'place_rev') {
         $params['sort'] = 'place';
         $picture = '&nbsp;<img src="' . getSortImage('down') . '" alt="&lt;" border="0"/>';
     } else {
         $params['sort'] = 'place';
         $picture = '&nbsp;';
     }
     if (empty($params['download']) or $params['download'] != 'zip') {
         $html .= ahref_curl($this->_environment->getCurrentContextID(), $this->_module, $this->_function, $params, $this->_translator->getMessage('DATES_PLACE'), '', '', $this->getFragment(), '', '', '', 'class="head"');
     } else {
         $html .= $this->_translator->getMessage('DATES_PLACE');
     }
     $html .= $picture;
     $html .= '</td>' . LF;
     $html .= '   </tr>' . LF;
     return $html;
 }
예제 #3
0
 function _getTableheadAsHTML()
 {
     include_once 'functions/misc_functions.php';
     $params = $this->_getGetParamsAsArray();
     $params['from'] = 1;
     $html = '   <tr class="head">' . LF;
     $current_context = $this->_environment->getCurrentContextItem();
     $with_assessment = false;
     if ($current_context->isAssessmentActive()) {
         $with_assessment = true;
     }
     if ($with_assessment) {
         $html .= '      <td class="head" style="width:45%;" colspan="2">';
     } else {
         $html .= '      <td class="head" style="width:53%;" colspan="2">';
     }
     if ($this->getSortKey() == 'title') {
         $params['sort'] = 'title_rev';
         $picture = '&nbsp;<img src="' . getSortImage('up') . '" alt="&lt;" border="0"/>';
     } elseif ($this->getSortKey() == 'title_rev') {
         $params['sort'] = 'title';
         $picture = '&nbsp;<img src="' . getSortImage('down') . '" alt="&lt;" border="0"/>';
     } else {
         $params['sort'] = 'title';
         $picture = '&nbsp;';
     }
     if (empty($params['download']) or $params['download'] != 'zip') {
         $html .= ahref_curl($this->_environment->getCurrentContextID(), $this->_module, $this->_function, $params, $this->_translator->getMessage('COMMON_TITLE'), '', '', $this->getFragment(), '', '', '', 'class="head"');
     } else {
         $html .= $this->_translator->getMessage('COMMON_TITLE');
     }
     $html .= $picture;
     $html .= '</td>' . LF;
     $html .= '      <td style="width:15%; font-size:8pt;" class="head">';
     if ($this->getSortKey() == 'numposts') {
         $params['sort'] = 'numposts_rev';
         $picture = '&nbsp;<img src="' . getSortImage('up') . '" alt="&lt;" border="0"/>';
     } elseif ($this->getSortKey() == 'numposts_rev') {
         $params['sort'] = 'numposts';
         $picture = '&nbsp;<img src="' . getSortImage('down') . '" alt="&lt;" border="0"/>';
     } else {
         $params['sort'] = 'numposts';
         $picture = '&nbsp;';
     }
     if (empty($params['download']) or $params['download'] != 'zip') {
         $html .= ahref_curl($this->_environment->getCurrentContextID(), $this->_module, $this->_function, $params, $this->_translator->getMessage('DISCUSSION_ARTICLES'), '', '', $this->getFragment(), '', '', '', 'class="head"');
     } else {
         $html .= $this->_translator->getMessage('DISCUSSION_ARTICLES');
     }
     $html .= $picture;
     $html .= '</td>' . LF;
     $html .= '      <td style="width:13%; font-size:8pt;" class="head">';
     if ($this->getSortKey() == 'latest') {
         $params['sort'] = 'latest_rev';
         $picture = '&nbsp;<img src="' . getSortImage('up') . '" alt="&lt;" border="0"/>';
     } elseif ($this->getSortKey() == 'latest_rev') {
         $params['sort'] = 'latest';
         $picture = '&nbsp;<img src="' . getSortImage('down') . '" alt="&lt;" border="0"/>';
     } else {
         $params['sort'] = 'latest';
         $picture = '&nbsp;';
     }
     if (empty($params['download']) or $params['download'] != 'zip') {
         $html .= ahref_curl($this->_environment->getCurrentContextID(), $this->_module, $this->_function, $params, $this->_translator->getMessage('COMMON_EDIT_AT'), '', '', $this->getFragment(), '', '', '', 'class="head"');
     } else {
         $html .= $this->_translator->getMessage('COMMON_EDIT_AT');
     }
     $html .= $picture;
     $html .= '</td>' . LF;
     $html .= '      <td style="width:15%; font-size:8pt;" class="head">';
     if ($this->getSortKey() == 'creator') {
         $params['sort'] = 'creator_rev';
         $picture = '&nbsp;<img src="' . getSortImage('up') . '" alt="&lt;" border="0"/>';
     } elseif ($this->getSortKey() == 'creator_rev') {
         $params['sort'] = 'creator';
         $picture = '&nbsp;<img src="' . getSortImage('down') . '" alt="&lt;" border="0"/>';
     } else {
         $params['sort'] = 'creator';
         $picture = '&nbsp;';
     }
     if (empty($params['download']) or $params['download'] != 'zip') {
         $html .= ahref_curl($this->_environment->getCurrentContextID(), $this->_module, $this->_function, $params, $this->_translator->getMessage('COMMON_EDIT_BY'), '', '', $this->getFragment(), '', '', '', 'class="head"');
     } else {
         $html .= $this->_translator->getMessage('COMMON_EDIT_BY');
     }
     $html .= $picture;
     $html .= '</td>' . LF;
     // assessment
     if ($with_assessment) {
         $html .= '<td style="15%; font-size:8pt;" class="head">';
         if ($this->getSortKey() == 'assessment') {
             $params['sort'] = 'assessment_rev';
             $picture = '&nbsp;<img src="' . getSortImage('up') . '" alt="&lt;" border="0"/>';
         } elseif ($this->getSortKey() == 'assessment_rev') {
             $params['sort'] = 'assessment';
             $picture = '&nbsp;<img src="' . getSortImage('down') . '" alt="&lt;" border="0"/>';
         } else {
             $params['sort'] = 'assessment';
             $picture = '&nbsp;';
         }
         if (empty($params['download']) or $params['download'] != 'zip') {
             $html .= ahref_curl($this->_environment->getCurrentContextID(), $this->_module, $this->_function, $params, $this->_translator->getMessage('COMMON_ASSESSMENT_INDEX'), '', '', $this->getFragment(), '', '', '', 'class="head"');
         } else {
             $html .= $this->_translator->getMessage('COMMON_ASSESSMENT_INDEX');
         }
         $html .= $picture;
         $html .= '</td>' . LF;
     }
     $html .= '   </tr>' . LF;
     return $html;
 }
예제 #4
0
 function _getTableheadAsHTML()
 {
     include_once 'functions/misc_functions.php';
     $html = '';
     $current_portal = $this->_environment->getCurrentPortalItem();
     if ($this->_environment->inPortal()) {
         $params = $this->_environment->getCurrentParameterArray();
         $html .= '   <tr class="list">' . LF;
         $html .= '      <td colspan="2" class="portal-head" style="width:50%">' . LF;
         if ($this->getSortKey() == 'title') {
             $params['sort'] = 'title_rev';
             $text = $this->_translator->getMessage('COMMON_TITLE');
         } elseif ($this->getSortKey() == 'title_rev') {
             $params['sort'] = 'title';
             $text = $this->_translator->getMessage('COMMON_TITLE');
         } else {
             $params['sort'] = 'title';
             $text = $this->_translator->getMessage('COMMON_TITLE');
         }
         if (empty($this->_activity_modus)) {
             $html .= ahref_curl($this->_environment->getCurrentContextID(), $this->_module, $this->_function, $params, $text, '', '', '', '', '', '', 'class="head"') . LF;
         } else {
             $html .= $text;
         }
         if ($this->getSortKey() == 'title') {
             $html .= ' <img src="' . getSortImage('up') . '" alt="&lt;" border="0"/>';
         } elseif ($this->getSortKey() == 'title_rev') {
             $html .= ' <img src="' . getSortImage('down') . '" alt="&lt;" border="0"/>';
         }
         $html .= '      </td>' . LF;
         if ($this->_environment->inPortal()) {
             $html .= '      <td class="portal-head" style="width:35%">' . LF;
             $html .= '<span class="portal_link">' . $this->_translator->getMessage('CONTEXT_MODERATOR') . '</span>' . LF;
             $html .= '      </td>' . LF;
         }
         $html .= '      <td class="portal-head" style="width:15%">' . LF;
         if ($this->getSortKey() == 'activity_rev') {
             $params['sort'] = 'activity';
             $text = $this->_translator->getMessage('CONTEXT_ACTIVITY');
         } elseif ($this->getSortKey() == 'activity') {
             $params['sort'] = 'activity_rev';
             $text = $this->_translator->getMessage('CONTEXT_ACTIVITY');
         } else {
             $params['sort'] = 'activity_rev';
             $text = $this->_translator->getMessage('CONTEXT_ACTIVITY');
         }
         if (empty($this->_activity_modus)) {
             $html .= ahref_curl($this->_environment->getCurrentContextID(), $this->_module, $this->_function, $params, $text, '', '', '', '', '', '', 'class="head"') . LF;
         } else {
             $html .= $text;
         }
         if ($this->getSortKey() == 'activity_rev') {
             $html .= ' <img src="' . getSortImage('down') . '" alt="&lt;" border="0"/>';
         } elseif ($this->getSortKey() == 'activity') {
             $html .= ' <img src="' . getSortImage('up') . '" alt="&lt;" border="0"/>';
         }
         $html .= '      </td>' . LF;
         $html .= '   </tr>' . LF;
     }
     return $html;
 }
예제 #5
0
 function _getTableheadAsHTML()
 {
     include_once 'functions/misc_functions.php';
     $params = $this->_getGetParamsAsArray();
     $params['from'] = 1;
     $html = '   <tr class="head">' . LF;
     $html .= '      <td class="head" style="width:58%;" colspan="2">';
     if ($this->getSortKey() == 'title') {
         $params['sort'] = 'title_rev';
         $picture = '&nbsp;<img src="' . getSortImage('up') . '" alt="&lt;" border="0"/>';
     } elseif ($this->getSortKey() == 'title_rev') {
         $params['sort'] = 'title';
         $picture = '&nbsp;<img src="' . getSortImage('down') . '" alt="&lt;" border="0"/>';
     } else {
         $params['sort'] = 'title';
         $picture = '&nbsp;';
     }
     $html .= ahref_curl($this->_environment->getCurrentContextID(), $this->_module, $this->_function, $params, $this->_translator->getMessage('COMMON_TITLE'), '', '', $this->getFragment(), '', '', '', 'class="head"');
     $html .= $picture;
     $html .= '</td>' . LF;
     $html .= '      <td style="width:30%; font-size:8pt;" class="head">';
     $html .= $this->_translator->getMessage('ROOM_CONTACT');
     $html .= '</td>' . LF;
     $html .= '      <td style="width:18%; font-size:8pt;" class="head" colspan="2">';
     if ($this->getSortKey() == 'activity') {
         $params['sort'] = 'activity_rev';
         $picture = '&nbsp;<img src="' . getSortImage('up') . '" alt="&lt;" border="0"/>';
     } elseif ($this->getSortKey() == 'activity_rev') {
         $params['sort'] = 'activity';
         $picture = '&nbsp;<img src="' . getSortImage('down') . '" alt="&lt;" border="0"/>';
     } else {
         $params['sort'] = 'activity';
         $picture = '&nbsp;';
     }
     $html .= ahref_curl($this->_environment->getCurrentContextID(), $this->_module, $this->_function, $params, $this->_translator->getMessage('CONTEXT_ACTIVITY'), '', '', $this->getFragment(), '', '', '', 'class="head"');
     $html .= $picture;
     $html .= '</td>' . LF;
     $html .= '   </tr>' . LF;
     return $html;
 }
예제 #6
0
 function _getPrintableTableHeadAsHTML()
 {
     include_once 'functions/misc_functions.php';
     $params = $this->_getGetParamsAsArray();
     $params['from'] = 1;
     $html = '<tr>';
     if ($this->hasCheckboxes()) {
         $html .= '<td class="count" colspan="3">' . $this->_getDescriptionAsHTML() . '</td>' . LF;
     } else {
         $html .= '<td class="count" colspan="2">' . $this->_getDescriptionAsHTML() . '</td>' . LF;
     }
     $html .= '<td width="5%" class="head_nav" colspan="2">&nbsp;</td>' . LF;
     $html .= '</tr>';
     $html .= '   <tr class="head">' . LF;
     if ($this->hasCheckboxes()) {
         $html .= '      <td class="head" colspan="2">';
     } else {
         $html .= '      <td class="head" width="40%">';
     }
     if ($this->getSortKey() == 'title') {
         $params['sort'] = 'title_rev';
         $text = $this->_translator->getMessage('COMMON_TITLE') . ' <img src="' . getSortImage('up') . '" alt="&lt;" border="0"/>';
     } elseif ($this->getSortKey() == 'title_rev') {
         $params['sort'] = 'title';
         $text = $this->_translator->getMessage('COMMON_TITLE') . ' <img src="' . getSortImage('down') . '" alt="&lt;" border="0"/>';
     } else {
         $params['sort'] = 'title';
         $text = $this->_translator->getMessage('COMMON_TITLE');
     }
     $html .= $text;
     $html .= '</td>' . LF;
     $html .= '      <td width="20%" class="head" >';
     if ($this->getSortKey() == 'date_rev') {
         $params['sort'] = 'date';
         $text = $this->_translator->getMessage('TODO_DATE') . ' <img src="' . getSortImage('up') . '" alt="&lt;" border="0"/>';
     } elseif ($this->getSortKey() == 'date') {
         $params['sort'] = 'date_rev';
         $text = $this->_translator->getMessage('TODO_DATE') . ' <img src="' . getSortImage('down') . '" alt="&lt;" border="0"/>';
     } else {
         $params['sort'] = 'date';
         $text = $this->_translator->getMessage('TODO_DATE');
     }
     $html .= $text;
     $html .= '</td>' . LF;
     $html .= '      <td width="15%" class="head" >';
     if ($this->getSortKey() == 'status') {
         $params['sort'] = 'status_rev';
         $text = $this->_translator->getMessage('TODO_STATUS') . ' <img src="' . getSortImage('up') . '" alt="&lt;" border="0"/>';
     } elseif ($this->getSortKey() == 'status_rev') {
         $params['sort'] = 'status';
         $text = $this->_translator->getMessage('TODO_STATUS') . ' <img src="' . getSortImage('down') . '" alt="&lt;" border="0"/>';
     } else {
         $params['sort'] = 'status';
         $text = $this->_translator->getMessage('TODO_STATUS');
     }
     $html .= $text;
     $html .= '</td>' . LF;
     $html .= '      <td width="25%" class="head" colspan="2">';
     $text = $this->_translator->getMessage('TODO_RESPONSIBILITY');
     $html .= $text;
     $html .= '</td>' . LF;
     $html .= '   </tr>' . LF;
     return $html;
 }
예제 #7
0
 function _getWorkflowTableColumnAsHTML($with_links)
 {
     $html = '<td style="width:6%; font-size:8pt;" class="head">';
     if ($this->getSortKey() == 'workflow_status') {
         $params['sort'] = 'workflow_status_rev';
         $picture = '&nbsp;<img src="' . getSortImage('up') . '" alt="&lt;" border="0"/>';
     } elseif ($this->getSortKey() == 'workflow_status_rev') {
         $params['sort'] = 'workflow_status';
         $picture = '&nbsp;<img src="' . getSortImage('down') . '" alt="&lt;" border="0"/>';
     } else {
         $params['sort'] = 'workflow_status';
         $picture = '&nbsp;';
     }
     if ($with_links) {
         if (empty($params['download']) or $params['download'] != 'zip') {
             $html .= ahref_curl($this->_environment->getCurrentContextID(), $this->_module, $this->_function, $params, $this->_translator->getMessage('COMMON_WORKFLOW_INDEX'), '', '', $this->getFragment(), '', '', '', 'class="head"');
         } else {
             $html .= $this->_translator->getMessage('COMMON_WORKFLOW_INDEX');
         }
         $html .= $picture;
     } else {
         $html .= '<span class="index_link">' . $this->_translator->getMessage('COMMON_WORKFLOW_INDEX') . '</span>';
         $html .= $picture;
     }
     $html .= '</td>' . LF;
     return $html;
 }
예제 #8
0
 function _getTableheadAsHTML()
 {
     include_once 'functions/misc_functions.php';
     $html = '';
     $params = $this->_environment->getCurrentParameterArray();
     $html .= '   <tr class="head">' . LF;
     $html .= '      <td class="head">' . LF;
     if ($this->getSortKey() == 'room_title') {
         $params['sort'] = 'room_title_rev';
         $text = $this->_translator->getMessage('COMMON_TITLE') . ' <img src="' . getSortImage('down') . '" alt="&lt;" border="0"/>';
     } elseif ($this->getSortKey() == 'room_title_rev') {
         $params['sort'] = 'room_title';
         $text = $this->_translator->getMessage('COMMON_TITLE') . ' <img src="' . getSortImage('up') . '" alt="&lt;" border="0"/>';
     } else {
         $params['sort'] = 'room_title_rev';
         $text = $this->_translator->getMessage('COMMON_TITLE');
     }
     $html .= ahref_curl($this->_environment->getCurrentContextID(), $this->_module, $this->_function, $params, $text, '', '', '') . LF;
     $html .= '      </td>' . LF;
     $html .= '      <td class="head">' . LF;
     if ($this->getSortKey() == 'activity_rev') {
         $params['sort'] = 'activity';
         $text = $this->_translator->getMessage('CONTEXT_ACTIVITY') . ' <img src="' . getSortImage('up') . '" alt="&lt;" border="0"/>';
     } elseif ($this->getSortKey() == 'activity') {
         $params['sort'] = 'activity_rev';
         $text = $this->_translator->getMessage('CONTEXT_ACTIVITY') . ' <img src="' . getSortImage('down') . '" alt="&lt;" border="0"/>';
     } else {
         $params['sort'] = 'activity';
         $text = $this->_translator->getMessage('CONTEXT_ACTIVITY');
     }
     $html .= ahref_curl($this->_environment->getCurrentContextID(), $this->_module, $this->_function, $params, $text, '', '', '') . LF;
     $html .= '      </td>' . LF;
     $html .= '   </tr>' . LF;
     return $html;
 }
예제 #9
0
 function _getPrintableTableHeadAsHTML()
 {
     include_once 'functions/misc_functions.php';
     $params = $this->_getGetParamsAsArray();
     $params['from'] = 1;
     $html = '<tr>';
     if ($this->hasCheckboxes()) {
         $html .= '      <td class="count" colspan="2">' . $this->_getDescriptionAsHTML() . '</td>' . LF;
     } else {
         $html .= '      <td class="count">' . $this->_getDescriptionAsHTML() . '</td>' . LF;
     }
     $html .= '</tr>';
     $html .= '   <tr class="head">' . LF;
     if ($this->hasCheckboxes()) {
         $html .= '      <td class="head" colspan="2">';
     } else {
         $html .= '      <td class="head">';
     }
     if ($this->getSortKey() == 'title') {
         $params['sort'] = 'title_rev';
         $text = $this->_translator->getMessage('COMMON_TITLE') . '&nbsp;<img src="' . getSortImage('up') . '" alt="&lt;" border="0"/>';
     } elseif ($this->getSortKey() == 'title_rev') {
         $params['sort'] = 'title';
         $text = $this->_translator->getMessage('COMMON_TITLE') . '&nbsp;<img src="' . getSortImage('down') . '" alt="&lt;" border="0"/>';
     } else {
         $params['sort'] = 'title';
         $text = $this->_translator->getMessage('COMMON_TITLE');
     }
     $html .= $text;
     $html .= '</td>' . LF;
     $html .= '      <td width="20%" class="head" colspan="2">';
     if ($this->getSortKey() == 'modificator') {
         $params['sort'] = 'modificator_rev';
         $text = $this->_translator->getMessage('COMMON_MODIFIED_BY') . '&nbsp;<img src="' . getSortImage('up') . '" alt="&lt;" border="0"/>';
     } elseif ($this->getSortKey() == 'modificator_rev') {
         $params['sort'] = 'modificator';
         $text = $this->_translator->getMessage('COMMON_MODIFIED_BY') . '&nbsp;<img src="' . getSortImage('down') . '" alt="&lt;" border="0"/>';
     } else {
         $params['sort'] = 'modificator';
         $text = $this->_translator->getMessage('COMMON_MODIFIED_BY');
     }
     $html .= $text;
     $html .= '</td>' . LF;
     $html .= '   </tr>' . LF;
     return $html;
 }