Code: Select all
--- zm_html_view_login.php 2008-03-20 09:37:56.000000000 -0500
+++ zm_html_view_login.php 2008-03-20 10:13:58.000000000 -0500
@@ -46,5 +46,23 @@
<tr><td colspan="2" align="center"><input type="submit" value="<?= $zmSlangLogin ?>" class="form"></td></tr>
</table>
</form>
+<?php
+
+$legalNoticeFile = "legal_notice.txt";
+if(file_exists($legalNoticeFile))
+{
+ $fh = fopen($legalNoticeFile, 'r');
+ $Notice = fread($fh, filesize($legalNoticeFile));
+ fclose($fh);
+ ?>
+ <p class="text">
+ <?php
+ str_replace("\n", "<br />", $Notice);
+ echo nl2br(htmlentities($Notice));
+ ?>
+ </p>
+ <?php
+}
+?>
</body>
</html>