@@ 870-876 (lines=7) @@ | ||
867 | $refsections = LocaliseHelper::parseSections($refpath); |
|
868 | $sections = LocaliseHelper::parseSections($path); |
|
869 | } |
|
870 | else |
|
871 | { |
|
872 | $refpath = $this->getState('translation.refpath'); |
|
873 | $path = $this->getState('translation.path'); |
|
874 | $refsections = LocaliseHelper::parseSections($refpath); |
|
875 | $sections = LocaliseHelper::parseSections($path); |
|
876 | } |
|
877 | } |
|
878 | ||
879 | if ($extras_amount > 0 || $text_changes_amount > 0) |
|
@@ 891-897 (lines=7) @@ | ||
888 | $this->setState('translation.devpath', $develop_file_path); |
|
889 | } |
|
890 | } |
|
891 | else |
|
892 | { |
|
893 | $path = $this->getState('translation.path'); |
|
894 | $refpath = $this->getState('translation.refpath'); |
|
895 | $sections = LocaliseHelper::parseSections($path); |
|
896 | $refsections = LocaliseHelper::parseSections($refpath); |
|
897 | } |
|
898 | ||
899 | $addform = new SimpleXMLElement('<form />'); |
|
900 |