| 1 |
<?php |
<?php |
| 2 |
// $Id: simpleviews.pages.inc,v 1.1 2008/09/25 22:08:09 eaton Exp $ |
// $Id: simpleviews.pages.inc,v 1.1.2.1 2008/09/26 19:28:46 eaton Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* Build the overview form. |
* Build the overview form. |
| 51 |
|
|
| 52 |
$path = drupal_get_path('module', 'simpleviews') . '/images/'; |
$path = drupal_get_path('module', 'simpleviews') . '/images/'; |
| 53 |
$links[] = array( |
$links[] = array( |
| 54 |
'title' => theme('image', $path . 'text-editor.png', t('Edit')), |
'title' => theme('image', $path . 'text-editor.png', t('Edit'), t('Edit')), |
| 55 |
'href' => 'admin/build/simpleviews/' . $item['svid'] . '/edit', |
'href' => 'admin/build/simpleviews/' . $item['svid'] . '/edit', |
| 56 |
'html' => TRUE, |
'html' => TRUE, |
| 57 |
); |
); |
| 58 |
$links[] = array( |
$links[] = array( |
| 59 |
'title' => theme('image', $path . 'edit-delete.png', t('Delete')), |
'title' => theme('image', $path . 'edit-delete.png', t('Delete'), t('Delete')), |
| 60 |
'href' => 'admin/build/simpleviews/' . $item['svid'] . '/delete', |
'href' => 'admin/build/simpleviews/' . $item['svid'] . '/delete', |
| 61 |
'html' => TRUE, |
'html' => TRUE, |
| 62 |
); |
); |
| 282 |
$form['argument']['argument']['#prefix'] = '<div id="simpleviews-arg-wrapper"' . $extra . '>'; |
$form['argument']['argument']['#prefix'] = '<div id="simpleviews-arg-wrapper"' . $extra . '>'; |
| 283 |
$form['argument']['argument']['#suffix'] = '</div>'; |
$form['argument']['argument']['#suffix'] = '</div>'; |
| 284 |
|
|
| 285 |
$output .= '<div id="simpleviews-elements">' . drupal_render($form) . '</div>'; |
$output = '<div id="simpleviews-elements">' . drupal_render($form) . '</div>'; |
| 286 |
return $output; |
return $output; |
| 287 |
} |
} |
| 288 |
|
|