Changeset 2876 for trunk/admin/templates/classic/config.tpl
- Timestamp:
- 05/28/10 09:36:15 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/templates/classic/config.tpl
r2802 r2876 1 1 <!-- BEGIN header --> 2 2 <script> 3 function FCKeditor_OnComplete( editorInstance)3 function send_form( pForm ) 4 4 { 5 editorInstance.LinkedField.form.onsubmit = function( ) 5 ExpressoLivre.events.fire.onunload( ); 6 return ExpressoLivre.form( pForm ); 7 } 8 9 ExpressoLivre.events.onload( function( ) 10 { 11 CKEDITOR.replace( "agree_term", 6 12 { 7 document.getElementById( 'newsettings[agree_term]' ).value = FCKeditorAPI.GetInstance( editorInstance.Name ).GetHTML( ); 8 return ExpressoLivre.form( editorInstance.LinkedField.form ); 9 }; 10 } 13 toolbar : 14 [ 15 [ 'Styles', 'Format' ], 16 [ 'Bold', 'Italic', '-', 'NumberedList', 'BulletedList' ] 17 ] 18 } ); 19 } ); 20 21 ExpressoLivre.events.onunload( function( ) 22 { 23 CKEDITOR.instances.agree_term.destroy( ); 24 } ); 11 25 </script> 12 <form method="POST" action="{action_url}" >26 <form method="POST" action="{action_url}" onsubmit="return send_form( this );"> 13 27 <table align="center" width="85%" callspacing="0" style="{ border: 1px solid #000000; }"> 14 28 <tr class="th"> … … 197 211 <td colspan="2" align="center"> 198 212 <input type="submit" name="submit" value="{lang_submit}"> 199 <input type=" submit" name="cancel" value="{lang_cancel}">213 <input type="button" name="cancel" value="{lang_cancel}" onclick="ExpressoLivre.link( '{cancel_button}' )" /> 200 214 <br> 201 215 </td>
Note: See TracChangeset
for help on using the changeset viewer.