Fork me on GitHub

duplicate constant in core.php  Bottom

  • Hello,

    I don't know if I should post it on track or if you'll look at this later...

    Line 242/243 :
    define('_PERMITTEDHTMLTAGSREMINDER', '(Permitted HTML tags:');
    define('_PERMITTEDHTMLTAGSSHORTREMINDER', 'HTML permitted');

    Line 347/348 :
    define('_ALLOWEDHTML', 'Permitted HTML tags');
    define('_HTMLPERMITTED', 'HTML permitted');
  • The constants are not the same, so there are no duplicate constants. Merely the translation is the same at this moment. I don't know where they are used, but this keeps the option open of defining something diferent later on or in different languages.

    --
    campertoday.nl, Module development, Dutch Zikula Community
  • Log a bug so that all problems are in one place. Most likely the strings are identical but from different sources and can be merged.

    -Mark

    --
    Visit My homepage and Zikula themes.
  • Hello,

    I saw that you corrected it, but now when we modify our profile, under textarea there is ((Permitted HTML tags.
  • Not that I can see. What is see is

    (Permitted HTML tags:: )

    There's an extra colon (:) in there but this I can fix. I've tidied this a bit further in SVN.

    -Mark

    --
    Visit My homepage and Zikula themes.
  • And now it lacks

    Code

    <!--[pnml name="_PUNC_CLOSEPARENTHESIS"]-->

    at the end icon_biggrin



    edited by: Yokav, Mar 17, 2008 - 10:16 PM
  • Looks fine to me now - Display is

    Code

    Permitted HTML tags:<!--> <a> <b> <blockquote> <br> <center> <div> <em> <hr> <i> <li> <ol> <p> <pre> <strong> <table> <td> <th> <tr> <tt> <ul>


    Make sure you ave *all* files from SVN.

    -Mark

    --
    Visit My homepage and Zikula themes.
  • Oups sorry it's me, I forgot to delete the ( before "Permitted HTML..." in french translation icon_rolleyes
  • That would do it. I didn't think that the extra ( made sense in the language file.

    -Mark

    --
    Visit My homepage and Zikula themes.

This list is based on users active over the last 60 minutes.