Changeset 2876 for trunk/admin/templates
- Timestamp:
- 05/28/10 09:36:15 (14 years ago)
- Location:
- trunk/admin/templates
- Files:
-
- 4 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> -
trunk/admin/templates/classic/mainscreen_message.tpl
r1362 r2876 1 1 <!-- BEGIN form --> 2 2 <div align="center">{error_message}</div> 3 <form method="POST" action="{form_action}" >3 <form method="POST" action="{form_action}" onsubmit="return send_form( this );"> 4 4 <table border="0" align="center" > 5 5 <input type="hidden" name="select_lang" value="{select_lang}"> -
trunk/admin/templates/default/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"> 14 28 <tr class="th"> -
trunk/admin/templates/default/mainscreen_message.tpl
r2802 r2876 1 1 <!-- BEGIN form --> 2 <div align="center">{error_message}</div> 3 <form method="POST" action="{form_action}" onsubmit="return ExpressoLivre.form( this );">2 {scripts} 3 <form method="POST" action="{form_action}" onsubmit="return send_form( this );"> 4 4 <table border="0" align="center" > 5 <input type="hidden" name="select_lang" value="{select_lang}">6 <input type="hidden" name="section" value="{section}">5 <input type="hidden" name="select_lang" value="{select_lang}"> 6 <input type="hidden" name="section" value="{section}"> 7 7 {rows} 8 8 </table> … … 36 36 </tr> 37 37 <!-- END row_2 --> 38 <!-- BEGIN edit --> 39 <tr > 40 <td colspan="2"> 41 <br /> 42 {message} 43 <br /> 44 </td> 45 </tr> 46 <!-- END edit --> 47 <!-- BEGIN edit_script --> 48 <script> 49 function send_form( pForm ) 50 { 51 ExpressoLivre.events.fire.onunload( ); 52 return ExpressoLivre.form( pForm ); 53 } 54 55 ExpressoLivre.events.onload( function( ) 56 { 57 CKEDITOR.replace( "message", 58 { 59 toolbar : 60 [ 61 [ 'Styles', 'Format' ], 62 [ 'Bold', 'Italic', '-', 'NumberedList', 'BulletedList' ] 63 ], 64 width : 500 65 } ); 66 } ); 67 68 ExpressoLivre.events.onunload( function( ) 69 { 70 CKEDITOR.instances.message.destroy( ); 71 } ); 72 </script> 73 <!-- END edit_script -->
Note: See TracChangeset
for help on using the changeset viewer.