Changeset 2611 in products


Ignore:
Timestamp:
Jul 5, 2010 11:14:46 AM (14 years ago)
Author:
kroman0
Message:

Removed tabindex support

Location:
quintagroup.plonecomments/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.plonecomments/trunk

    • Property svn:mergeinfo changed from /quintagroup.plonecomments/branches/jquery:2230,2240-2241,2321 to /quintagroup.plonecomments/branches/jquery:2230,2240-2241,2313,2321
  • quintagroup.plonecomments/trunk/quintagroup/plonecomments/browser/comments.py

    r1625 r2611  
    88from AccessControl import getSecurityManager 
    99 
    10 from Products.CMFPlone.utils import IndexIterator 
    1110from Products.CMFPlone.utils import getToolByName 
    1211from Products.CMFFormController.ControllerState import ControllerState 
     
    9897        return pm.getAuthenticatedMember() 
    9998 
    100     def tabindex(self): 
    101         """ Needed for BBB, tabindex has been deprecated. 
    102         """ 
    103         return IndexIterator() 
    104  
    10599    def portal_url(self): 
    106100        """ """ 
     
    146140                                     errors=errors, 
    147141                                     show_form=True, 
    148                                      tabindex=IndexIterator(), 
    149142                                     member=member, 
    150143                                     **request.form) 
     
    157150 
    158151        html = self.macroContent('context/report_abuse_form/macros/form', 
    159                                  tabindex=IndexIterator(), 
    160152                                 member=member, 
    161153                                 **request.form) 
  • quintagroup.plonecomments/trunk/quintagroup/plonecomments/locales

    • Property svn:mergeinfo changed from /quintagroup.plonecomments/branches/jquery/quintagroup/plonecomments/locales:2079-2087,2230,2240-2241,2321 to /quintagroup.plonecomments/branches/jquery/quintagroup/plonecomments/locales:2079-2087,2230,2240-2241,2313,2321
  • quintagroup.plonecomments/trunk/quintagroup/plonecomments/skins/quintagroup_plonecomments/discussion_edit_form.cpt

    • Property svn:mergeinfo changed from /quintagroup.plonecomments/branches/jquery/quintagroup/plonecomments/skins/quintagroup_plonecomments/discussion_edit_form.cpt:2079-2087,2230,2240-2241,2321 to /quintagroup.plonecomments/branches/jquery/quintagroup/plonecomments/skins/quintagroup_plonecomments/discussion_edit_form.cpt:2079-2087,2230,2240-2241,2313,2321
    r2463 r2611  
    2020                 member context/@@plone_portal_state/member; 
    2121                 template_id template/getId; 
    22                  Iterator python:modules['Products.CMFPlone'].IndexIterator; 
    23                  tabindex python:Iterator(mainSlot=False); 
    2422                 thread python:putils.getDiscussionThread(here); 
    2523                 discussable python:thread[0]; 
     
    6563                           value="" alt="Username" title="Name" 
    6664                           size="40" 
    67                            tabindex="" 
    68                            i18n:attributes="title label_name; alt label_username;" 
    69                            tal:attributes="tabindex tabindex/next;" /> 
     65                           i18n:attributes="title label_name; alt label_username;" /> 
    7066 
    7167                </div> 
     
    7874                           id="password" 
    7975                           name="password" 
    80                            tabindex="" 
    8176                           value="" alt="Password" title="Password" 
    8277                           size="40" 
    83                            i18n:attributes="title label_password; alt label_password;" 
    84                            tal:attributes="tabindex tabindex/next;" /> 
     78                           i18n:attributes="title label_password; alt label_password;" /> 
    8579 
    8680                </div> 
     
    10599                       value="" 
    106100                       size="40" 
    107                        tabindex="" 
    108                        tal:attributes="value context/title|request/subject|request/title_override|nothing; 
    109                                        tabindex tabindex/next" /> 
     101                       tal:attributes="value context/title|request/subject|request/title_override|nothing;" /> 
    110102 
    111103            </div> 
     
    127119                          cols="40" 
    128120                          rows="20" 
    129                           tabindex="" 
    130121                          tal:content="context/text|request/body_text|request/text_override | nothing" 
    131                           tal:attributes="tabindex tabindex/next" 
    132122                        ></textarea> 
    133123 
     
    137127 
    138128                <input class="context" 
    139                        tabindex="" 
    140129                       type="submit" 
    141130                       value="Save" 
    142131                       name="form.button.Save" 
    143                        i18n:attributes="value label_save;" 
    144                        tal:attributes="tabindex tabindex/next;" /> 
     132                       i18n:attributes="value label_save;" /> 
    145133                <input class="standalone" 
    146                        tabindex="" 
    147134                       type="submit" 
    148135                       value="Cancel" 
    149136                       name="form.button.Cancel" 
    150                        i18n:attributes="value label_cancel;" 
    151                        tal:attributes="tabindex tabindex/next;" /> 
     137                       i18n:attributes="value label_cancel;" /> 
    152138 
    153139            </div> 
  • quintagroup.plonecomments/trunk/quintagroup/plonecomments/skins/quintagroup_plonecomments/prefs_comments_setup_form.cpt

    r2463 r2611  
    99<div metal:fill-slot="prefs_configlet_content" 
    1010     tal:define="here_url context/@@plone_context_state/object_url; 
    11                  Iterator python:modules['Products.CMFPlone'].IndexIterator; 
    12                  tabindex python:Iterator(mainSlot=False); 
    1311                 errors python:request.get('controller_state', None).getErrors();"> 
    1412 
     
    7068                           name="isEnabledModeration" 
    7169                           id="isEnabledModeration" 
    72                            tabindex ="" 
    7370                           tal:attributes="name property_id; 
    7471                                           value isEnabledModeration; 
    75                                            checked python:test(isEnabledModeration, 'True', ''); 
    76                                            tabindex tabindex/next;"/> 
     72                                           checked python:test(isEnabledModeration, 'True', '');" /> 
    7773 
    7874                    <label i18n:translate="label_enable_moderation"  
     
    9086                           name="requireEmail" 
    9187                           id="requireEmail" 
    92                            tabindex ="" 
    9388                           tal:attributes="name property_id; 
    9489                                           value requireEmail; 
    95                                            checked python:test(requireEmail, 'True', ''); 
    96                                            tabindex tabindex/next;"/> 
     90                                           checked python:test(requireEmail, 'True', '');" /> 
    9791 
    9892                    <label i18n:translate="label_require_anonym_email"  
     
    110104                           name="isEnabledAnonymousCommenting" 
    111105                           id="isEnabledAnonymousCommenting" 
    112                            tabindex ="" 
    113106                           tal:attributes="name property_id; 
    114107                                           value isEnabledAnonymousCommenting; 
    115                                            checked python:test(isEnabledAnonymousCommenting, 'True', ''); 
    116                                            tabindex tabindex/next;"/> 
     108                                           checked python:test(isEnabledAnonymousCommenting, 'True', '');" /> 
    117109 
    118110                    <label i18n:translate="label_anonymous_commenting"  
     
    129121                           name="isEnabledReportAbuse" 
    130122                           id="isEnabledReportAbuse" 
    131                            tabindex ="" 
    132123                           tal:attributes="name property_id; 
    133124                                           value isEnabledReportAbuse; 
    134                                            checked python:test(isEnabledReportAbuse, 'True', ''); 
    135                                            tabindex tabindex/next;"/> 
     125                                           checked python:test(isEnabledReportAbuse, 'True', '');" /> 
    136126 
    137127                    <label i18n:translate="label_enable_report_abuse" 
     
    148138                           name="isEnabledAnonymousReportAbuse" 
    149139                           id="isEnabledAnonymousReportAbuse" 
    150                            tabindex ="" 
    151140                           tal:attributes="name property_id; 
    152141                                           value isEnabledAnonymousReportAbuse; 
    153                                            checked python:test(isEnabledAnonymousReportAbuse, 'True', ''); 
    154                                            tabindex tabindex/next;"/> 
     142                                           checked python:test(isEnabledAnonymousReportAbuse, 'True', '');" /> 
    155143 
    156144                    <label i18n:translate="label_enable_anonymous_report_abuse" 
     
    172160                           name="isEnabledAjaxReportAbuse" 
    173161                           id="isEnabledAjaxReportAbuse" 
    174                            tabindex ="" 
    175162                           tal:attributes="name property_id; 
    176163                                           value isEnabledAjaxReportAbuse; 
    177                                            checked python:test(isEnabledAjaxReportAbuse, 'True', ''); 
    178                                            tabindex tabindex/next;"/> 
     164                                           checked python:test(isEnabledAjaxReportAbuse, 'True', '');"/> 
    179165 
    180166                    <label i18n:translate="label_enable_ajax_report_abuse" 
     
    194180                           name="EnableManagerModeration" 
    195181                           id="EnableManagerModeration" 
    196                            tabindex ="" 
    197182                           tal:attributes="value isEnabledManagerModeration; 
    198                                            checked python:test(isEnabledManagerModeration, 'True', ''); 
    199                                            tabindex tabindex/next;"/> 
     183                                           checked python:test(isEnabledManagerModeration, 'True', '');" /> 
    200184 
    201185                    <label i18n:translate="enable_manager_moderation" 
     
    222206                           value="" 
    223207                           size="40" 
    224                            tabindex="" 
    225                            tal:attributes="name property_id; 
    226                                            value email; 
    227                                            tabindex tabindex/next;" /> 
     208                           tal:attributes="name property_id; 
     209                                           value email;" /> 
    228210                </div> 
    229211 
     
    243225                           value="" 
    244226                           size="40" 
    245                            tabindex="" 
    246                            tal:attributes="name property_id; 
    247                                            value organization_name; 
    248                                            tabindex tabindex/next;" /> 
     227                           tal:attributes="name property_id; 
     228                                           value organization_name;" /> 
    249229                </div> 
    250230 
     
    266246                           name="isEnabledPublishedNotification" 
    267247                           id="isEnabledPublishedNotification" 
    268                            tabindex ="" 
    269248                           tal:attributes="name property_id; 
    270249                                           value isEnabledPublishedNotification; 
    271                                            checked python:test(isEnabledPublishedNotification, 'True', ''); 
    272                                            tabindex tabindex/next;"/> 
     250                                           checked python:test(isEnabledPublishedNotification, 'True', '');" /> 
    273251 
    274252                    <label i18n:translate="label_enable_published_notification"  
     
    285263                           name="isEnableApproveNotification" 
    286264                           id="isEnableApproveNotification" 
    287                            tabindex ="" 
    288265                           tal:attributes="name property_id; 
    289266                                           value isEnableApproveNotification; 
    290                                            checked python:test(isEnableApproveNotification, 'True', ''); 
    291                                            tabindex tabindex/next;"/> 
     267                                           checked python:test(isEnableApproveNotification, 'True', '');" /> 
    292268 
    293269                    <label i18n:translate="label_enable_approve_notification" 
     
    304280                           name="isEnableApproveUserNotification" 
    305281                           id="isEnableApproveUserNotification" 
    306                            tabindex ="" 
    307282                           tal:attributes="name property_id; 
    308283                                           value isEnableApproveUserNotification; 
    309                                            checked python:test(isEnableApproveUserNotification, 'True', ''); 
    310                                            tabindex tabindex/next;"/> 
     284                                           checked python:test(isEnableApproveUserNotification, 'True', '');" /> 
    311285 
    312286                    <label i18n:translate="label_enable_approve_user_notification" 
     
    323297                           name="isRejectionNotificationEnabled" 
    324298                           id="isRejectionNotificationEnabled" 
    325                            tabindex ="" 
    326299                           tal:attributes="name property_id; 
    327300                                           value isRejectionNotificationEnabled; 
    328                                            checked python:test(isRejectionNotificationEnabled, 'True', ''); 
    329                                            tabindex tabindex/next;"/> 
     301                                           checked python:test(isRejectionNotificationEnabled, 'True', '');" /> 
    330302 
    331303                    <label i18n:translate="label_enable_reject_notification" 
     
    343315                           name="isReplyNotificationEnabled" 
    344316                           id="isReplyNotificationEnabled" 
    345                            tabindex ="" 
    346317                           tal:attributes="name property_id; 
    347318                                           value isReplyNotificationEnabled; 
    348                                            checked python:test(isReplyNotificationEnabled, 'True', ''); 
    349                                            tabindex tabindex/next;"/> 
     319                                           checked python:test(isReplyNotificationEnabled, 'True', '');" /> 
    350320 
    351321                    <label i18n:translate="label_enable_reply_notification" 
     
    357327                <input type="hidden" name="form.submitted" value="1" /> 
    358328                <input class="context" 
    359                        tabindex="" 
    360329                       type="submit" 
    361330                       name="form.button.form_submit" 
    362331                       value="Save" 
    363332                       i18n:domain="plone" 
    364                        i18n:attributes="value" 
    365                        tal:attributes="tabindex tabindex/next;"/> 
     333                       i18n:attributes="value" /> 
    366334            </div> 
    367335        </form> 
  • quintagroup.plonecomments/trunk/quintagroup/plonecomments/skins/quintagroup_plonecomments/prefs_recent_comments_form.cpt

    r2463 r2611  
    99<div metal:fill-slot="prefs_configlet_content" 
    1010     tal:define="here_url context/@@plone_context_state/object_url; 
    11                  Iterator python:modules['Products.CMFPlone'].IndexIterator; 
    12                  tabindex python:Iterator(mainSlot=False); 
    1311                 errors python:request.get('controller_state', None).getErrors();"> 
    1412 
     
    119117 
    120118                        <input class="context" 
    121                                tabindex="" 
    122119                               type="submit" 
    123120                               name="form.button.form_delete" 
    124121                               value="Delete" 
    125122                               i18n:attributes="value" 
    126                                tal:attributes="tabindex tabindex/next;" 
    127123                               /> 
    128124 
    129125                        <input class="context" 
    130                                tabindex="" 
    131126                               type="submit" 
    132127                               name="form.button.form_publish" 
    133128                               value="Publish" 
    134129                               i18n:attributes="value" 
    135                                tal:attributes="tabindex tabindex/next;" 
    136130                               /> 
    137131 
  • quintagroup.plonecomments/trunk/quintagroup/plonecomments/skins/quintagroup_plonecomments/report_abuse_form.cpt

    r1631 r2611  
    1919                        here_url context/@@plone_context_state/object_url; 
    2020                        template_id template/getId; 
    21                         Iterator python:modules['Products.CMFPlone'].IndexIterator; 
    22                         tabindex python:Iterator(mainSlot=False); 
    2321                        isAnon context/@@plone_portal_state/anonymous; 
    2422                        member context/@@plone_portal_state/member; 
     
    8381                                        visible show_form|request/show_form|nothing; 
    8482                                        portal_url portal_url|view/portal_url; 
    85                                         tabindex tabindex|request/tabindex|view/tabindex; 
    8683                                        member member|request/member|view/member;"> 
    8784 
Note: See TracChangeset for help on using the changeset viewer.