Changeset 12254
- Timestamp:
- 09/13/07 23:18:16 (1 year ago)
- Files:
-
- trunk/midcom/midcom.admin.styleeditor/style/midcom-admin-styleeditor-style-component-header.php (modified) (1 diff)
- trunk/midcom/midcom.admin.styleeditor/style/midcom-admin-styleeditor-style-edit.php (modified) (2 diffs)
- trunk/midcom/midcom.admin.styleeditor/style/midcom-admin-styleeditor-stylelist-all-header.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/services/auth.php (modified) (2 diffs)
- trunk/midcom/midgard.admin.sitewizard/style/wizard-select-organization.php (modified) (1 diff)
- trunk/midcom/net.nemein.internalorders/style/edit_order.php (modified) (2 diffs)
- trunk/midcom/net.nemein.personnel/style/admin-order-grouped-header.php (modified) (1 diff)
- trunk/midcom/org.openpsa.calendarwidget/month.php (modified) (2 diffs)
- trunk/midcom/org.openpsa.documents/style/show-metadata-delete.php (modified) (1 diff)
- trunk/midcom/org.openpsa.jabber/style/show-frontpage.php (modified) (1 diff)
- trunk/midcom/org.openpsa.jabber/style/show-summary.php (modified) (1 diff)
- trunk/midcom/org.openpsa.mypage/style/show-updates.php (modified) (1 diff)
- trunk/midcom/org.openpsa.projects/hours_widget.php (modified) (1 diff)
- trunk/midcom/org.openpsa.projects/style/show-current-tasks-item.php (modified) (1 diff)
- trunk/midcom/org.openpsa.projects/style/show-hours-list.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/midcom/midcom.admin.styleeditor/style/midcom-admin-styleeditor-style-component-header.php
r5554 r12254 1 1 <a name="<?php echo str_replace('.', '_', $data['component']); ?>"></a> 2 2 <fieldset id="midcom_admin_styleeditor_<?php echo str_replace('.', '_', $data['component']); ?>"> 3 <legend on Click="javascript:toggle_twisty('<?php echo str_replace('.', '_', $data['component']); ?>_contents');">3 <legend onclick="javascript:toggle_twisty('<?php echo str_replace('.', '_', $data['component']); ?>_contents');"> 4 4 <?php echo $data['component_details']['name']; ?> (&(data['component']:h);) 5 5 <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 6 6 ?> 7 7 <fieldset class="component_default"> 8 <legend class="<?php if (isset($data['style_element_object'])) { echo 'hidden'; } else { echo 'visible'; } ?>" on Click="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');"> 9 9 <?php echo $_MIDCOM->i18n->get_string('component default', 'midcom.admin.styleeditor'); ?> 10 10 <img class="twisty" src="<?php echo MIDCOM_STATIC_URL; ?>/midcom.admin.styleeditor/twisty-<?php echo (isset($data['style_element_object'])) ? 'hidden' : 'down'; ?>.gif" alt="-" /> … … 12 12 <div id="midcom_admin_styleeditor_style_contents" style="display: <?php if (isset($data['style_element_object'])) { echo 'none'; } else { echo 'block'; } ?>;" class="description"> 13 13 <div class="wrapper"> 14 <button class="copy" on Click="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);"> 15 15 <?php echo $_MIDCOM->i18n->get_string('copy to editor', 'midcom.admin.styleeditor'); ?> 16 16 </button> trunk/midcom/midcom.admin.styleeditor/style/midcom-admin-styleeditor-stylelist-all-header.php
r5550 r12254 1 1 <a name="all"></a> 2 2 <fieldset id="all"> 3 <legend on Click="javascript:toggle_twisty('all_contents');">3 <legend onclick="javascript:toggle_twisty('all_contents');"> 4 4 <?php echo $_MIDCOM->i18n->get_string('all style elements', 'midcom.admin.styleeditor'); ?> 5 5 <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 2041 2041 </head> 2042 2042 2043 <body on Load="self.focus();document.midcom_services_auth_frontend_form.username.focus();">2043 <body onload="self.focus();document.midcom_services_auth_frontend_form.username.focus();"> 2044 2044 <div id="container"> 2045 2045 <div id="branding"> … … 2173 2173 </head> 2174 2174 2175 <body on Load="self.focus();document.midcom_services_auth_frontend_form.username.focus();">2175 <body onload="self.focus();document.midcom_services_auth_frontend_form.username.focus();"> 2176 2176 <div id="container"> 2177 2177 <div id="branding"> trunk/midcom/midgard.admin.sitewizard/style/wizard-select-organization.php
r11370 r12254 91 91 ?> 92 92 <label for="&(view_form_prefix);quota_enable"><input type="checkbox" 93 name="&(view_form_prefix);quota_enable" id="&(view_form_prefix);quota_enable" on Click="handleQuota();"93 name="&(view_form_prefix);quota_enable" id="&(view_form_prefix);quota_enable" onclick="handleQuota();" 94 94 /><?php echo $data['l10n']->get("organization quota"); ?></label> 95 95 <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 438 438 <fieldset> 439 439 <legend>Tuotteet</legend> 440 <input style="float:left;" type="button" value="<?php echo $data['l10n']->get('add a field'); ?>" on Click="add_field();" />440 <input style="float:left;" type="button" value="<?php echo $data['l10n']->get('add a field'); ?>" onclick="add_field();" /> 441 441 <input style="margin-left:30px; float:left;" name="refresh" onclick="refresh_form();" type="button" value="<?php echo $data['l10n']->get('Refresh'); ?>" /><br /> 442 442 <div class="clear_both"> <br /></div> … … 498 498 499 499 <div id="write_seed"></div><br /><br /> 500 <input type="button" value="<?php echo $data['l10n']->get('add a field'); ?>" on Click="add_field();" />500 <input type="button" value="<?php echo $data['l10n']->get('add a field'); ?>" onclick="add_field();" /> 501 501 </fieldset> 502 502 <br /><br /> trunk/midcom/net.nemein.personnel/style/admin-order-grouped-header.php
r11075 r12254 11 11 <div id="net_nemein_personnel_new_group"> 12 12 <input id="net_nemein_personnel_new_group_name" type="text" /> 13 <input type="button" on Click="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'); ?>" /> 14 14 </div> 15 15 <form method="post" action="&(_MIDGARD['uri']);" id="net_nemein_personnel_group_order" class="datamanager2"> trunk/midcom/org.openpsa.calendarwidget/month.php
r11216 r12254 936 936 if ($this->use_javascript) 937 937 { 938 return " on MouseOver=\"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}');\""; 939 939 } 940 940 } … … 1037 1037 { 1038 1038 $style = ' style="display: none;"'; 1039 $ticker = "<span class=\"{$this->css_close_checker}\" on Click=\"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>"; 1040 1040 $class .= ' hover'; 1041 1041 } trunk/midcom/org.openpsa.documents/style/show-metadata-delete.php
r5048 r12254 11 11 <input type="hidden" name="org_openpsa_documents_deleteok" value="1" /> 12 12 <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'); ?>" on Click="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.'/'; ?>'" /> 14 14 </form> 15 15 </div> trunk/midcom/org.openpsa.jabber/style/show-frontpage.php
r5048 r12254 9 9 10 10 <p> 11 <a href="#" on Click="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> 12 12 </p> 13 13 </div> trunk/midcom/org.openpsa.jabber/style/show-summary.php
r5048 r12254 7 7 8 8 <p> 9 <a href="#" on Click="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> 10 10 </p> 11 11 </div> trunk/midcom/org.openpsa.mypage/style/show-updates.php
r5048 r12254 33 33 case "calendar": 34 34 $url = "#"; 35 $onclick = " on Click=\"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');\""; 36 36 break; 37 37 default: trunk/midcom/org.openpsa.projects/hours_widget.php
r11907 r12254 262 262 echo ' 263 263 <div class="form_toolbar"> 264 <input type="button" class="org_openpsa_projects_savebutton" id="hourlist_'.$this->_request_data['task']->guid.'_savebutton" on Click="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').'" /> 265 265 </div> 266 266 </div> trunk/midcom/org.openpsa.projects/style/show-current-tasks-item.php
r5048 r12254 56 56 ?> 57 57 <ul class="task_tools"> 58 <li><input type="button" on Click="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> 59 59 </ul> 60 60 <?php trunk/midcom/org.openpsa.projects/style/show-hours-list.php
r4794 r12254 104 104 105 105 /** 106 * We have to call this via BODY on Load because during the header we can't106 * We have to call this via BODY onload because during the header we can't 107 107 * yet getElementById the table 108 108 */ … … 120 120 </script> 121 121 </head> 122 <body id="org_openpsa_popup" on Load="populateData()">122 <body id="org_openpsa_popup" onload="populateData()"> 123 123 <div id="org_openpsa_toolbar"> 124 124 <div id="org_openpsa_object_metadata"> … … 161 161 <textarea name="description" id="org_openpsa_projects_houreditor_description"></textarea> 162 162 </label> 163 <input type="button" id="org_openpsa_projects_houreditor_save" on Click="javascript:ooAjaxConvertEditorToRow();" value="Save" />163 <input type="button" id="org_openpsa_projects_houreditor_save" onclick="javascript:ooAjaxConvertEditorToRow();" value="Save" /> 164 164 </form> 165 165 </div>
