Revision 43f4c619
Added by Andreas Kohlbecker over 2 years ago
modules/cdm_dataportal/ext_links/ext_links.admin.inc | ||
---|---|---|
144 | 144 |
), |
145 | 145 |
'#disabled' => !empty($link_template->id), |
146 | 146 |
); |
147 |
$form['category'] = array( |
|
148 |
'#type' => 'textfield', |
|
149 |
'#title' => t('Category'), |
|
150 |
'#required' => FALSE, |
|
151 |
'#default_value' => "", |
|
152 |
'#maxlength' => 255, |
|
153 |
); |
|
147 | 154 |
$form['title'] = array( |
148 | 155 |
'#type' => 'textfield', |
149 | 156 |
'#title' => t('Title'), |
modules/cdm_dataportal/ext_links/ext_links.module | ||
---|---|---|
234 | 234 |
'id' => $link_template->id, |
235 | 235 |
'title' => $link_template->title, |
236 | 236 |
'link' => $link_template->link, |
237 |
'category' => $link_template->category, |
|
237 | 238 |
'status' => (int) $link_template->status, |
238 | 239 |
'weight' => (int) $link_template->weight, |
239 | 240 |
)) |
Also available in: Unified diff
ref #9764 adding missing category field