1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
   |  
       <script language=javascript>
                function reload() {
                        parent.frames["columnselector"].window.location.replace("bf_columnselector.php");
                }
 
                function checkboxesValidator() 
                {
                        if( document.f_operation.pressedButton.value == "CrÈer" || document.f_operation.allInRequest.checked == true )
                                return true;
 
                        max = document.f_operation.length;
                        for( i = 0; i < max; i++ )
                        {
                                element = document.f_operation.elements[i].name;
                                if( element.length > "c_numclef_".length )
                                {
                                        if( element.substring( 0, "c_numclef_".length ) == "c_numclef_" );
                                        {       
                                                if( document.f_operation.elements[i].checked == true )
                                                        if( document.f_operation.pressedButton.value == "Supprimer" )
                                                                return confirm( " tes vous s˚r de vouloir supprimer les lignes sÈlectionnÈes ?" );
                                                        else
                                                                return true;
                                        }
                                }
                        }
 
                        alert( "Veuillez sÈlectionner des lignes." );
                        return false;   
                }
 
                function setHiddenField( value )
                {
                        document.f_operation.pressedButton.value = value;
                }
 
                function checkAll() {
                        max = document.f_operation.length;
                        for( i = 0; i < max; i++ )
                        {
                                element = document.f_operation.elements[i].name;
                                if( element.length > "c_numclef_".length )
                                {
                                        if( element.substring( 0, "c_numclef_".length ) == "c_numclef_" )
                                        {
                                                document.f_operation.elements[i].checked = document.f_operation.allInPage.checked;
                                        }
                                }
                        }
                }
        </script> | 
Partager