Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 44... Línea 44...
44
                    foreach ($child->childNodes as $tr) {
44
                    foreach ($child->childNodes as $tr) {
45
                        if (!is_null($tr->childNodes)) {
45
                        if (!is_null($tr->childNodes)) {
46
                            foreach ($tr->childNodes as $th) {
46
                            foreach ($tr->childNodes as $th) {
47
                                if ($this->property_is_equal($th, 'tagName', 'th')) {
47
                                if ($this->property_is_equal($th, 'tagName', 'th')) {
48
                                    break 3;
48
                                    break 3;
49
                                } else {
49
                                } else if ($th->nodeName !== '#text') {
50
                                    $this->add_report($table);
50
                                    $this->add_report($table);
51
                                    break 3;
51
                                    break 3;
52
                                }
52
                                }
53
                            }
53
                            }
54
                        }
54
                        }
55
                    }
55
                    }
56
                } else if ($this->property_is_equal($child, 'tagName', 'tr')) {
56
                } else if ($this->property_is_equal($child, 'tagName', 'tr')) {
57
                    foreach ($child->childNodes as $th) {
57
                    foreach ($child->childNodes as $th) {
58
                        if ($this->property_is_equal($th, 'tagName', 'th')) {
58
                        if ($this->property_is_equal($th, 'tagName', 'th')) {
59
                            break 2;
59
                            break 2;
60
                        } else {
60
                        } else if ($th->nodeName !== '#text') {
61
                            $this->add_report($table);
61
                            $this->add_report($table);
62
                            break 2;
62
                            break 2;
63
                        }
63
                        }
64
                    }
64
                    }
65
                }
65
                }