protected function getListLinkNode($listConfig)
 {
     $task = false;
     if (array_key_exists('task', $listConfig) && is_scalar($listConfig['task'])) {
         $task = $listConfig['task'];
     }
     if ($task && I2CE_PermissionParser::taskExists($task) && !$this->hasPermission("task({$task})")) {
         return false;
     }
     $form = false;
     if (array_key_exists('form', $listConfig) && is_scalar($listConfig['form'])) {
         $form = $listConfig['form'];
     }
     if (!$form || !in_array($form, $this->all_lists)) {
         return false;
     }
     $text = '';
     if (array_key_exists('text', $listConfig) && is_scalar($listConfig['text'])) {
         $text = $listConfig['text'];
     }
     if (!$text) {
         $text = I2CE_FormStorage::instance()->getDisplayName($form);
     }
     if (!$listConfig['type']) {
         $attrs = array('href' => 'index.php/auto_list?form=' . $form);
     } else {
         $attrs = array('href' => 'index.php/auto_list?type=' . $listConfig['type']);
     }
     return $this->template->createElement('a', $attrs, $text);
 }