fantu
2008-11-18 15b75382f3b8cf273d49b8537e086b2506a2e62b
Improved merge in language editor:
- Not show line of added string if string added is 0
- If no files has been created or modified show rispective message
1 files modified
4 ■■■ changed files
interface/web/admin/language_complete.php 4 ●●● patch | view | raw | blame | history
interface/web/admin/language_complete.php
@@ -129,6 +129,7 @@
        }
        $file_content .= "?>\n";
    
        if($n!=0)
        $msg .= "Added $n lines to the file $langfile<br />";
        if($r!=0)
        $msg .= "Removed $r lines to the file $langfile<br />";
@@ -140,7 +141,8 @@
}
if($msg=='')
$msg="No files created or modified<br />";
$app->tpl->setVar('msg',$msg);