mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-30 21:47:30 +00:00
use div.splash instead of calling noty() for message of missing
translations
This commit is contained in:
parent
a71cb01c85
commit
d6c393dede
|
@ -148,18 +148,7 @@ $(document).ready(function () {
|
|||
echo "<tr><td>".$key."</td><td>".$LANG['en_GB'][$key]."</td><td><div class=\"input-append send-missing-translation\"><input name=\"missing-lang-key\" type=\"hidden\" value=\"".$key."\" /><input name=\"missing-lang-lang\" type=\"hidden\" value=\"".$lang."\" /><input type=\"text\" class=\"input-xxlarge\" name=\"missing-lang-translation\" placeholder=\"Your translation in '".$lang."'\"/><a class=\"btn\">Submit</a></div></td></tr>";
|
||||
}
|
||||
echo "</table>";
|
||||
?>
|
||||
<script>
|
||||
noty({
|
||||
text: '<b>There are missing translations on this page!</b><br />Please check the bottom of the page.',
|
||||
type: 'error',
|
||||
dismissQueue: true,
|
||||
layout: 'topRight',
|
||||
theme: 'defaultTheme',
|
||||
timeout: 5500,
|
||||
});
|
||||
</script>
|
||||
<?php
|
||||
echo "<div class=\"splash\" data-type=\"error\" data-timeout=\"5500\"><b>There are missing translations on this page!</b><br />Please check the bottom of the page.</div>\n";
|
||||
}
|
||||
} /* }}} */
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user