function _popup_filter_text in Popup 6.x
Same name and namespace in other branches
- 8 modules/popup_filter/includes/popup_filter.admin.inc \_popup_filter_text()
- 7 modules/popup_filter/includes/popup_filter.admin.inc \_popup_filter_text()
- 7.x modules/popup_filter/includes/popup_filter.admin.inc \_popup_filter_text()
1 call to _popup_filter_text()
- popup_filter_insert_form in modules/
popup_filter/ includes/ popup_filter.admin.inc
File
- modules/
popup_filter/ includes/ popup_filter.admin.inc, line 152
Code
function _popup_filter_text() {
return array(
'title' => t('Title'),
'image' => t('Image'),
'image description' => t('Path to an image to use as the popup title. This path must be relative to the drupal root.'),
'link' => t('Link'),
'css id' => t('CSS ID'),
'css class' => t('CSS class'),
'format' => t('Format'),
'format description' => t('Select the default display format of the popup. The options below will override this formats\' settings. Popup formats may be managed !here.', array(
'!here' => l(t('here'), '/admin/settings/popup/formats'),
)),
'origin' => t('Origin'),
'expand' => t('Expand'),
'effect' => t('Effect'),
'width' => t('Width'),
'activate' => t('Activate'),
'close button' => t('Close button'),
'ajax' => t('Use AJAX to load content on demand'),
'type' => t('Type'),
'module' => t('Module'),
'delta' => t('Delta'),
'form' => t('Form function'),
'form description' => t('The PHP function that generates the form. This is usually the same as the form ID.'),
'menu' => t('Menu'),
'flat' => t('Flat'),
'flat description' => t('Select this option if you want the top level menu items to show rather than the menu root.'),
'inline' => t('Inline'),
'inline description' => t('Select this option if you want the top level menu items to be displayed next to each other.'),
'node id' => t('Node ID'),
'or' => t('OR'),
'teaser' => t('Display teaser'),
'page' => t('Use the page display'),
'default' => t('Default'),
'links' => t('Show links'),
'panel' => t('Use panel display'),
'php' => t('PHP'),
'php description' => t('PHP that returns text to popup eg.<br />return my_text_function();'),
'text' => t('Text'),
'view' => t('View'),
'display' => t('Display'),
'arguments' => t('Arguments'),
'argument description' => t('Comma seperated list of arguments to pass to the view, eg.<br />1, 3'),
'views disabled' => t('To embed views, the views module must be enabled on the !link.', array(
'link' => l(t('Modules administration page'), 'admin/build/modules'),
)),
'filter reminder' => t('Please ensure that the input format below is set to "Popup filter", or that the selected input format includes a popup filter.'),
'insert' => t('Insert'),
);
}