[CMF-checkins] CVS: Products/CMFCore/dtml - configureRegistrationTool.dtml:

Jens Vagelpohl jens at dataflake.org
Fri Oct 29 10:37:36 EDT 2004

Update of /cvs-repository/Products/CMFCore/dtml
In directory cvs.zope.org:/tmp/cvs-serv31186/CMFCore/dtml

Added Files:
      Tag: CMF-1_5-branch
Log Message:
- RegistrationTool: The regular expression that limits what people
  can put in as a valid member ID is now configurable TTW in the
  portal_registration tool (http://www.zope.org/Collectors/CMF/117)

=== Added File Products/CMFCore/dtml/configureRegistrationTool.dtml ===
<dtml-let form_title="'Configure'">
  <dtml-if manage_page_header>
    <dtml-var manage_page_header>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
    <html lang="en">
      <body bgcolor="#FFFFFF" link="#000099" vlink="#555555">
<dtml-var manage_tabs>

    <p class="help-text">
      Configure registration policies here.

    <form action="manage_editIDPattern" method="POST">

      <table width="98%" align="center">
        <tr class="list-header">
          <td class="form-label"> Member ID pattern </td>
            <p class="form-help">
              The member ID pattern is a regular expression against which member IDs
              are checked during the portal registration. It is necessary to limit
              the kinds of characters that can be used as a member ID because the ID
              can show up as part of a URL. Web URLs are restricted. Only change
              this setting if you really know what you are doing.
            <p class="form-help">
              In order to use a pattern different from the shown default pattern
              simply fill in the text field and submit the form. To revert back to
              the default policy leave the text field empty.
            <span class="form-label"> Default member ID pattern </span>
            <span class="form-label"> &dtml-getDefaultIDPattern; </span>
            <span class="form-label"> Custom member ID pattern </span>
            <input type="text" size="30" name="pattern" 
                   value="&dtml-getIDPattern;" />
          <td> <input type="submit" value=" Change " /> </td>



More information about the CMF-checkins mailing list