Skip to content
  1. Mar 04, 2010
  2. Dec 01, 2009
  3. Nov 24, 2009
  4. Nov 06, 2009
  5. Nov 05, 2009
  6. Nov 03, 2009
  7. Oct 19, 2009
  8. Sep 21, 2009
  9. Aug 29, 2009
  10. Aug 06, 2009
  11. Jun 22, 2009
  12. Jun 12, 2009
  13. May 18, 2009
  14. Apr 27, 2009
  15. Feb 18, 2009
  16. Jan 25, 2009
  17. Jan 22, 2009
  18. Jan 21, 2009
  19. Jan 19, 2009
  20. Jan 18, 2009
  21. Jan 14, 2009
    • Jose Antonio Reyero del Prado's avatar
      - Applied i18nblocks implementation of i18nstrings/locale_refresh(), by catch, #356520 · fc02b604
      Jose Antonio Reyero del Prado authored
      - Applied i18ncontent tt/hook_locale() review, by catch, #356535
      fc02b604
    • Jose Antonio Reyero del Prado's avatar
      Index: i18nblocks/i18nblocks.module · c7de6af0
      Jose Antonio Reyero del Prado authored
      ===================================================================
      RCS file: /cvs/drupal-contrib/contributions/modules/i18n/i18nblocks/i18nblocks.module,v
      retrieving revision 1.7.2.12
      diff -u -p -r1.7.2.12 i18nblocks.module
      --- i18nblocks/i18nblocks.module	16 Nov 2008 13:37:11 -0000	1.7.2.12
      +++ i18nblocks/i18nblocks.module	14 Jan 2009 14:13:00 -0000
      @@ -96,6 +96,28 @@ function i18nblocks_locale($op = 'groups
       }
      
       /**
      + * Implementation of hook_form_FORM_ID_alter().
      + */
      +function i18nblocks_form_block_box_delete_alter(&$form, $form_state) {
      +  $delta = db_result(db_query('SELECT ibid FROM i18n_blocks WHERE delta = %d', arg(4)));
      +  $form['delta'] = array(
      +    '#type' => 'value',
      +    '#value' => $delta,
      +  );
      +  $form['#submit'][] = 'i18nblocks_block_delete_submit';
      +}
      +
      +/**
      + * Remove strings for deleted custom blocks.
      + */
      +function i18nblocks_block_delete_submit(&$form, $form_state) {
      +  $delta = $form_state['values']['delta'];
      +  // Delete stored strings for the title and content fields.
      +  i18nstrings_remove_string("blocks:block:$delta:title");
      +  i18nstrings_remove_string("blocks:block:$delta:content");
      +}
      +
      +/**
        * Implementation of block form_alter().
        *
        * Remove block title for multilingual blocks.
      @@ -342,4 +364,4 @@ function _i18nblocks_list($langcode = ''
           }
         }
         return $list[$index];
      -}
      \ No newline at end of file
      +}
      c7de6af0
    • Jose Antonio Reyero del Prado's avatar
      - Reworked taxonomy language logic when saving terms, set node/current language for tags. · 57f0a2c1
      Jose Antonio Reyero del Prado authored
      - Added some more help text and links to the taxonomy admin pages.
      - Rolled back nodereference patch, previously committed by mistake, #314721
      57f0a2c1
  22. Jan 11, 2009
  23. Jan 10, 2009
  24. Jan 09, 2009
  25. Jan 04, 2009
  26. Jan 03, 2009