1234567891011121314151617181920212223242526272829303132 |
- <?php
-
-
- class post_confirmation extends plugins {
-
- function post_confirmation(){
- $this->addAction('admin_includes', 'post_confirmation_script');
- }
-
- function post_confirmation_script() {
- global $admin_includes,$isEdition;
- if(!$isEdition){
- $admin_includes .= "
- <script type=\"text/javascript\">
- $(document).ready(function(){
- $('#publish').click( function(){
- return (confirm('".__("Do you realy want to publish this?")."'));
- });
- });
- </script>
- ";
- }
- }
- }
- ?>
|