xmlsitemap.js 542 B

1234567891011121314151617
  1. // $Id: xmlsitemap.js,v 1.2 2010/01/08 21:42:10 davereid Exp $
  2. Drupal.verticalTabs = Drupal.verticalTabs || {};
  3. Drupal.verticalTabs.xmlsitemap = function() {
  4. var vals = [];
  5. // Inclusion select field.
  6. var status = $('#edit-xmlsitemap-status option:selected').text();
  7. vals.push(Drupal.t('Inclusion: @value', { '@value': status }));
  8. // Priority select field.
  9. var priority = $('#edit-xmlsitemap-priority option:selected').text();
  10. vals.push(Drupal.t('Priority: @value', { '@value': priority }));
  11. return vals.join('<br />');
  12. }