Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-16423

ezcomments: missing ezurl at redirection var and other html errors

    XMLWordPrintable

Details

    Description

      Hi,

      some html errors in the add_comment.tpl

      <input type="hidden" name="RedirectURI" value={$redirect_uri} />

      should be

      <input type="hidden" name="RedirectURI" value={$redirect_uri|ezurl} />

      otherwise you have a wrong url and no quotes...

      ===

      <textarea id="ezcomments_comment_view_addcomment_content" class="box" name="CommentContent"></textarea>

      -> missing cols attribute (required!), missing rows attribute

      ====

      <input type="text" maxlength="100" class="box" id="ezcomments_comment_view_addcomment_email" disabled="true" />

      should be

      <input type="text" maxlength="100" class="box" id="ezcomments_comment_view_addcomment_email" disabled="disabled" />

      ====

      <input type="checkbox" id="ezcom_field_notified" name="CommentNotified" checked="checked" />

      Warning in line 433 at character 26: An "input" element with type="checkbox" should normally use both the "name" and "value" attributes even though this is not technically required by the HTML/XHTML specification.

      ====

      eZComments.cfg = { postbutton: '#ezcom-post-button',
      postform: '#ezcom-comment-form',
      postlist: '#ezcom-comment-list',
      postcontainer: '#ezcom-comment-list',
      sessionprefix: 'eZSESSID',
      sortorder: 'desc',
      fields:

      { name: '#ezcomments_comment_view_addcomment_name', email: '#ezcomments_comment_view_addcomment_email' }

      }
      eZComments.init();

      -> missing semicolon

      ====

      Best wishes,
      Georg.

      Attachments

        Activity

          People

            chen chen
            emil.webber emil.webber
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: