@@ 866-872 (lines=7) @@ | ||
863 | $refsections = LocaliseHelper::parseSections($refpath); |
|
864 | $sections = LocaliseHelper::parseSections($path); |
|
865 | } |
|
866 | else |
|
867 | { |
|
868 | $refpath = $this->getState('translation.refpath'); |
|
869 | $path = $this->getState('translation.path'); |
|
870 | $refsections = LocaliseHelper::parseSections($refpath); |
|
871 | $sections = LocaliseHelper::parseSections($path); |
|
872 | } |
|
873 | } |
|
874 | ||
875 | if ($extras_amount > 0 || $text_changes_amount > 0) |
|
@@ 887-893 (lines=7) @@ | ||
884 | $this->setState('translation.devpath', $develop_file_path); |
|
885 | } |
|
886 | } |
|
887 | else |
|
888 | { |
|
889 | $path = $this->getState('translation.path'); |
|
890 | $refpath = $this->getState('translation.refpath'); |
|
891 | $sections = LocaliseHelper::parseSections($path); |
|
892 | $refsections = LocaliseHelper::parseSections($refpath); |
|
893 | } |
|
894 | ||
895 | $addform = new SimpleXMLElement('<form />'); |
|
896 |