[jonah] Typo in channels.php

Patrick Brossier Patrick.Brossier at mgm.fr
Fri Feb 28 19:06:26 PST 2003


«channelview» in forms must be changed in channelView like $channelView 
in channels.php and in templates/channels/edit.inc because you use:
    case JONAH_SHOW_CHANNEL :
        if ( $channelName ) {
            if ( Horde :: getFormData ('channelView' )) {

readfile ($conf ['paths' ][ 'data' ] . '/html/' .$channelName .'-' 
.$channelView .'.html' ); must be changed to:
echo String::convertCharset(Jonah::buildChannelDisplay($channelName, 
$channelView), 'UTF-8'); in line 161

-----------------------------+----------------------------------------
   Patrick Brossier           |
   UMR 6012 ESPACE-GEMS       |   tél   : +33 4 67 14 58 02
   Maison de la Géographie    |   FAX   : +33 4 67 72 64 04
   17 rue Abbé de l'Épée      |
   F-34090 MONTPELLIER        |   mailto:Patrick.Brossier at mgm.fr
   FRANCE                     |   http://www.mgm.fr
-----------------------------+----------------------------------------


More information about the jonah mailing list