Changeset 8812


Ignore:
Timestamp:
Jan 20, 2011, 9:05:25 PM (9 years ago)
Author:
tiico
Message:

Add fck editor integration for admin page (thanks to Pat)

Location:
extensions/Piwecard
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/Piwecard/CHANGELOG

    r8771 r8812  
    11TODO for next versions :
    22- ajout possibilité de diffuser à plusieurs destinataires
    3 - Ajout fichiers langues EN + description
    43- Nettoyage code et class ecard
    5 -
    64
    75______________
     
    97Version 1.0.x
    108-------------
     91.0.1 -->   - Add EN, DE, ITlanguages
     10            - Add fck editor integration (thanks to Pat)
    11111.0.0 --> First public release
    1212_______________
  • extensions/Piwecard/admin/params.php

    r8771 r8812  
    66$me = get_plugin_data($plugin_id);
    77
    8        
     8
    99if (isset($_POST['submit'])) {
    1010
     
    4545$template->assign('ECARD_MESSAGE_HTML', htmlspecialchars_decode($me->my_config['message_HTML']));
    4646       
     47// Use FCK Editor
     48if (function_exists('set_fckeditor_instance'))
     49{
     50  set_fckeditor_instance('ecard_message_html', 'Full', '99%', '250px');
     51}
    4752
     53   
    4854$template->set_filename('plugin_admin_content', dirname(__FILE__) . '/template/params.tpl');
    4955$template->assign_var_from_handle('ADMIN_CONTENT', 'plugin_admin_content');
Note: See TracChangeset for help on using the changeset viewer.