Changeset 12254

Show
Ignore:
Timestamp:
09/13/07 23:18:16 (1 year ago)
Author:
flack
Message:

js event handler attributes have to be all lowercase in XHTML

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/midcom/midcom.admin.styleeditor/style/midcom-admin-styleeditor-style-component-header.php

    r5554 r12254  
    11<a name="<?php echo str_replace('.', '_', $data['component']); ?>"></a> 
    22<fieldset id="midcom_admin_styleeditor_<?php echo str_replace('.', '_', $data['component']); ?>"> 
    3         <legend onClick="javascript:toggle_twisty('<?php echo str_replace('.', '_', $data['component']); ?>_contents');"> 
     3        <legend onclick="javascript:toggle_twisty('<?php echo str_replace('.', '_', $data['component']); ?>_contents');"> 
    44            <?php echo $data['component_details']['name']; ?> (&(data['component']:h);) 
    55            <img class="twisty" src="<?php echo MIDCOM_STATIC_URL; ?>/midcom.admin.styleeditor/twisty-<?php echo ($data['display'] === 'none') ? 'hidden' : 'down'; ?>.gif" alt="-" /> 
  • trunk/midcom/midcom.admin.styleeditor/style/midcom-admin-styleeditor-style-edit.php

    r5813 r12254  
    66    ?> 
    77    <fieldset class="component_default"> 
    8         <legend class="<?php if (isset($data['style_element_object'])) { echo 'hidden'; } else { echo 'visible'; } ?>" onClick="javascript:toggle_twisty('midcom_admin_styleeditor_style_contents');"> 
     8        <legend class="<?php if (isset($data['style_element_object'])) { echo 'hidden'; } else { echo 'visible'; } ?>" onclick="javascript:toggle_twisty('midcom_admin_styleeditor_style_contents');"> 
    99            <?php echo $_MIDCOM->i18n->get_string('component default', 'midcom.admin.styleeditor'); ?> 
    1010            <img class="twisty" src="<?php echo MIDCOM_STATIC_URL; ?>/midcom.admin.styleeditor/twisty-<?php echo (isset($data['style_element_object'])) ? 'hidden' : 'down'; ?>.gif" alt="-" /> 
     
    1212        <div id="midcom_admin_styleeditor_style_contents" style="display: <?php if (isset($data['style_element_object'])) { echo 'none'; } else { echo 'block'; } ?>;" class="description"> 
    1313            <div class="wrapper"> 
    14                 <button class="copy" onClick="javascript:copy_to_edit('midcom_admin_styleeditor_style_edit', this.parentNode.getElementsByTagName('pre')[0].innerHTML);"> 
     14                <button class="copy" onclick="javascript:copy_to_edit('midcom_admin_styleeditor_style_edit', this.parentNode.getElementsByTagName('pre')[0].innerHTML);"> 
    1515                    <?php echo $_MIDCOM->i18n->get_string('copy to editor', 'midcom.admin.styleeditor'); ?> 
    1616                </button> 
  • trunk/midcom/midcom.admin.styleeditor/style/midcom-admin-styleeditor-stylelist-all-header.php

    r5550 r12254  
    11<a name="all"></a> 
    22<fieldset id="all"> 
    3         <legend onClick="javascript:toggle_twisty('all_contents');"> 
     3        <legend onclick="javascript:toggle_twisty('all_contents');"> 
    44                <?php echo $_MIDCOM->i18n->get_string('all style elements', 'midcom.admin.styleeditor'); ?> 
    55            <img class="twisty" src="<?php echo MIDCOM_STATIC_URL; ?>/midcom.admin.styleeditor/twisty-<?php echo ($data['display'] === 'none') ? 'hidden' : 'down'; ?>.gif" alt="-" /> 
  • trunk/midcom/midcom.core/midcom/services/auth.php

    r12102 r12254  
    20412041    </head> 
    20422042 
    2043     <body onLoad="self.focus();document.midcom_services_auth_frontend_form.username.focus();"> 
     2043    <body onload="self.focus();document.midcom_services_auth_frontend_form.username.focus();"> 
    20442044                <div id="container"> 
    20452045                        <div id="branding"> 
     
    21732173    </head> 
    21742174 
    2175     <body onLoad="self.focus();document.midcom_services_auth_frontend_form.username.focus();"> 
     2175    <body onload="self.focus();document.midcom_services_auth_frontend_form.username.focus();"> 
    21762176                <div id="container"> 
    21772177                        <div id="branding"> 
  • trunk/midcom/midgard.admin.sitewizard/style/wizard-select-organization.php

    r11370 r12254  
    9191        ?> 
    9292        <label for="&(view_form_prefix);quota_enable"><input type="checkbox"  
    93           name="&(view_form_prefix);quota_enable" id="&(view_form_prefix);quota_enable" onClick="handleQuota();"   
     93          name="&(view_form_prefix);quota_enable" id="&(view_form_prefix);quota_enable" onclick="handleQuota();"   
    9494          /><?php echo $data['l10n']->get("organization quota"); ?></label> 
    9595          <label for="&(view_form_prefix);sitegroup_quota"><input type="text" class="shorttext short inline" name="&(view_form_prefix);sitegroup_quota" id="&(view_form_prefix);sitegroup_quota"  
  • trunk/midcom/net.nemein.internalorders/style/edit_order.php

    r5114 r12254  
    438438                <fieldset> 
    439439                        <legend>Tuotteet</legend> 
    440                         <input style="float:left;" type="button" value="<?php echo $data['l10n']->get('add a field'); ?>" onClick="add_field();" /> 
     440                        <input style="float:left;" type="button" value="<?php echo $data['l10n']->get('add a field'); ?>" onclick="add_field();" /> 
    441441                        <input style="margin-left:30px; float:left;" name="refresh" onclick="refresh_form();" type="button" value="<?php echo $data['l10n']->get('Refresh'); ?>" /><br /> 
    442442                        <div class="clear_both">&nbsp;<br /></div> 
     
    498498 
    499499                        <div id="write_seed"></div><br /><br /> 
    500                         <input type="button" value="<?php echo $data['l10n']->get('add a field'); ?>" onClick="add_field();" /> 
     500                        <input type="button" value="<?php echo $data['l10n']->get('add a field'); ?>" onclick="add_field();" /> 
    501501                </fieldset> 
    502502<br /><br /> 
  • trunk/midcom/net.nemein.personnel/style/admin-order-grouped-header.php

    r11075 r12254  
    1111<div id="net_nemein_personnel_new_group"> 
    1212    <input id="net_nemein_personnel_new_group_name" type="text" /> 
    13     <input type="button" onClick="javascript:create_group();" value="<?php echo $data['l10n']->get('create a new group'); ?>" /> 
     13    <input type="button" onclick="javascript:create_group();" value="<?php echo $data['l10n']->get('create a new group'); ?>" /> 
    1414</div> 
    1515<form method="post" action="&(_MIDGARD['uri']);" id="net_nemein_personnel_group_order" class="datamanager2"> 
  • trunk/midcom/org.openpsa.calendarwidget/month.php

    r11216 r12254  
    936936        if ($this->use_javascript) 
    937937        { 
    938             return " onMouseOver=\"org_openpsa_calendarwidget_month_show_box('org_openpsa_calendarwidget_month_{$timestamp}_{$this->additional_name_for_links}');\" onMouseOut=\"org_openpsa_calendarwidget_month_hide_box('org_openpsa_calendarwidget_month_{$timestamp}_{$this->additional_name_for_links}');\""; 
     938            return " onmouseover=\"org_openpsa_calendarwidget_month_show_box('org_openpsa_calendarwidget_month_{$timestamp}_{$this->additional_name_for_links}');\" onmouseout=\"org_openpsa_calendarwidget_month_hide_box('org_openpsa_calendarwidget_month_{$timestamp}_{$this->additional_name_for_links}');\""; 
    939939        } 
    940940    } 
     
    10371037        { 
    10381038            $style = ' style="display: none;"'; 
    1039             $ticker = "<span class=\"{$this->css_close_checker}\" onClick=\"hide_box('org_openpsa_calendarwidget_month_{$timestamp}_{$this->additional_name_for_links}');\" title=\"Close window\">X</span>"; 
     1039            $ticker = "<span class=\"{$this->css_close_checker}\" onclick=\"hide_box('org_openpsa_calendarwidget_month_{$timestamp}_{$this->additional_name_for_links}');\" title=\"Close window\">X</span>"; 
    10401040            $class .= ' hover'; 
    10411041        } 
  • trunk/midcom/org.openpsa.documents/style/show-metadata-delete.php

    r5048 r12254  
    1111            <input type="hidden" name="org_openpsa_documents_deleteok" value="1" /> 
    1212            <input type="submit" class="button delete" value="<?php echo $data['l10n_midcom']->get('delete'); ?>" /> 
    13             <input type="button" class="button cancel" value="<?php echo $data['l10n_midcom']->get('cancel'); ?>" onClick="window.location='<?php echo $prefix . 'document_metadata/'.$data['metadata']->guid.'/'; ?>'" /> 
     13            <input type="button" class="button cancel" value="<?php echo $data['l10n_midcom']->get('cancel'); ?>" onclick="window.location='<?php echo $prefix . 'document_metadata/'.$data['metadata']->guid.'/'; ?>'" /> 
    1414        </form> 
    1515    </div> 
  • trunk/midcom/org.openpsa.jabber/style/show-frontpage.php

    r5048 r12254  
    99 
    1010        <p> 
    11             <a href="#" onClick="window.open('<?php echo $node[MIDCOM_NAV_FULLURL]; ?>applet.html','JabberApplet','width=200,height=300,location=no,menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no');"><?php echo $data['l10n']->get('open jabber applet'); ?></a> 
     11            <a href="#" onclick="window.open('<?php echo $node[MIDCOM_NAV_FULLURL]; ?>applet.html','JabberApplet','width=200,height=300,location=no,menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no');"><?php echo $data['l10n']->get('open jabber applet'); ?></a> 
    1212        </p> 
    1313    </div> 
  • trunk/midcom/org.openpsa.jabber/style/show-summary.php

    r5048 r12254  
    77 
    88    <p> 
    9         <a href="#" onClick="window.open('<?php echo $prefix; ?>applet.html','JabberApplet','width=200,height=300,location=no,menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no');"><?php echo $data['l10n']->get('open jabber applet'); ?></a> 
     9        <a href="#" onclick="window.open('<?php echo $prefix; ?>applet.html','JabberApplet','width=200,height=300,location=no,menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no');"><?php echo $data['l10n']->get('open jabber applet'); ?></a> 
    1010    </p> 
    1111</div> 
  • trunk/midcom/org.openpsa.mypage/style/show-updates.php

    r5048 r12254  
    3333                case "calendar": 
    3434                    $url = "#"; 
    35                     $onclick = " onClick=\"javascript:window.open('{$document->document_url}', 'event', 'toolbar=0,location=0,status=0,height=600,width=300,resizable=1');\""; 
     35                    $onclick = " onclick=\"javascript:window.open('{$document->document_url}', 'event', 'toolbar=0,location=0,status=0,height=600,width=300,resizable=1');\""; 
    3636                    break; 
    3737                default: 
  • trunk/midcom/org.openpsa.projects/hours_widget.php

    r11907 r12254  
    262262        echo ' 
    263263            <div class="form_toolbar"> 
    264                 <input type="button" class="org_openpsa_projects_savebutton" id="hourlist_'.$this->_request_data['task']->guid.'_savebutton" onClick="javascript:ooAjaxTableFormHandler_'.$this->_request_data['task']->guid.'.convertEditorToRow();" value="'.$this->_request_data['l10n_midcom']->get('save').'" /> 
     264                <input type="button" class="org_openpsa_projects_savebutton" id="hourlist_'.$this->_request_data['task']->guid.'_savebutton" onclick="javascript:ooAjaxTableFormHandler_'.$this->_request_data['task']->guid.'.convertEditorToRow();" value="'.$this->_request_data['l10n_midcom']->get('save').'" /> 
    265265            </div> 
    266266        </div> 
  • trunk/midcom/org.openpsa.projects/style/show-current-tasks-item.php

    r5048 r12254  
    5656                ?> 
    5757                <ul class="task_tools"> 
    58                     <li><input type="button" onClick="ooToggleHourWidgetDisplay('<?php echo $data['task']->guid; ?>');" class="hours" value="<?php echo $data['l10n']->get('report hours'); ?>" /></li> 
     58                    <li><input type="button" onclick="ooToggleHourWidgetDisplay('<?php echo $data['task']->guid; ?>');" class="hours" value="<?php echo $data['l10n']->get('report hours'); ?>" /></li> 
    5959                </ul> 
    6060                <?php 
  • trunk/midcom/org.openpsa.projects/style/show-hours-list.php

    r4794 r12254  
    104104 
    105105/** 
    106  * We have to call this via BODY onLoad because during the header we can't 
     106 * We have to call this via BODY onload because during the header we can't 
    107107 * yet getElementById the table 
    108108 */ 
     
    120120        </script> 
    121121    </head> 
    122     <body id="org_openpsa_popup"  onLoad="populateData()"> 
     122    <body id="org_openpsa_popup"  onload="populateData()"> 
    123123        <div id="org_openpsa_toolbar"> 
    124124            <div id="org_openpsa_object_metadata"> 
     
    161161                    <textarea name="description" id="org_openpsa_projects_houreditor_description"></textarea> 
    162162                </label> 
    163                 <input type="button" id="org_openpsa_projects_houreditor_save" onClick="javascript:ooAjaxConvertEditorToRow();" value="Save" /> 
     163                <input type="button" id="org_openpsa_projects_houreditor_save" onclick="javascript:ooAjaxConvertEditorToRow();" value="Save" /> 
    164164            </form> 
    165165            </div>