system/modules/DocumentManagementSystem/dca/tl_dms_categories.php
public function getDeleteButton($row, $href, $label, $title, $icon, $attributes)
  {
    if (!$this->isCategoryDeletable($row['id']))
    {
      return $this->generateImage('delete_.gif', $GLOBALS['TL_LANG']['tl_dms_categories']['delete_'][0], 'title="' . sprintf($GLOBALS['TL_LANG']['tl_dms_categories']['delete_'][1], $row['id']) . '"') . " ";
    }
    return '<a href="'.$this->addToUrl($href.'&amp;id='.$row['id']).'" title="'.specialchars($title).'"'.$attributes.'>'.$this->generateImage($icon, $label).'</a> ';
  }
public function getDeleteButton($row, $href, $label, $title, $icon, $attributes)
  {
    if (!$this->isCategoryDeletable($row['id']))
    {
      return $this->generateImage('delete_.gif', $GLOBALS['TL_LANG']['tl_dms_categories']['delete_'][0], 'title="' . sprintf($GLOBALS['TL_LANG']['tl_dms_categories']['delete_'][1], $row['id']) . '"') . " ";
    }
    return '<a href="'.$this->addToUrl($href.'&amp;id='.$row['id']).'" title="'.specialchars($title).'"'.$attributes.'>'.$this->generateImage($icon, $label).'</a> ';
  }
public function getDeleteButton ( $ row , $ href , $ label , $ title , $ icon , $ attributes ) { if ( ! $ this -> isCategoryDeletable ( $ row [ 'id' ] ) ) { return $ this -> generateImage ( 'delete_.gif' , $ GLOBALS [ 'TL_LANG' ] [ 'tl_dms_categories' ] [ 'delete_' ] [ 0 ] , 'title="' . sprintf ( $ GLOBALS [ 'TL_LANG' ] [ 'tl_dms_categories' ] [ 'delete_' ] [ 1 ] , $ row [ 'id' ] ) . '"' ) . " " ; } return '<a href="' . $ this -> addToUrl ( $ href . '&amp;id=' . $ row [ 'id' ] ) . '" title="' . specialchars ( $ title ) . '"' . $ attributes . '>' . $ this -> generateImage ( $ icon , $ label ) . '</a> ' ; }
Return the "delete" button
@param array
@param string
@param string
@param string
@param string
@param string
@return string
Return the delete button