From: Victor B. <vb...@us...> - 2004-05-16 12:22:19
|
Update of /cvsroot/mantisbt/mantisbt In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15692 Modified Files: login_page.php meta_inc.php Log Message: Implemented #3838: HTML Beautification (first step) M login_page.php M meta_inc.php M core/html_api.php - HTML Beautification and changed print to echo. M core/string_api.php - (string_repeat_char): Was implemented to be used for generating a number of tabs, but now not used. Index: meta_inc.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/meta_inc.php,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- meta_inc.php 11 Jan 2004 07:16:07 -0000 1.15 +++ meta_inc.php 16 May 2004 12:22:06 -0000 1.16 @@ -12,8 +12,8 @@ # prevent caching $t_content_expire = config_get('content_expire'); ?> -<meta http-equiv="Pragma" content="no-cache" /> -<meta http-equiv="Cache-Control" content="no-cache" /> -<meta http-equiv="Pragma-directive" content="no-cache" /> -<meta http-equiv="Cache-Directive" content="no-cache" /> -<meta http-equiv="Expires" content="<?php echo $t_content_expire ?>" /> \ No newline at end of file + <meta http-equiv="Pragma" content="no-cache" /> + <meta http-equiv="Cache-Control" content="no-cache" /> + <meta http-equiv="Pragma-directive" content="no-cache" /> + <meta http-equiv="Cache-Directive" content="no-cache" /> + <meta http-equiv="Expires" content="<?php echo $t_content_expire ?>" /> Index: login_page.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/login_page.php,v retrieving revision 1.36 retrieving revision 1.37 diff -u -d -r1.36 -r1.37 --- login_page.php 12 Apr 2004 21:04:35 -0000 1.36 +++ login_page.php 16 May 2004 12:22:06 -0000 1.37 @@ -124,9 +124,9 @@ # Check if the admin directory is available and is readable. $t_admin_dir = dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'admin' . DIRECTORY_SEPARATOR; if ( is_dir( $t_admin_dir ) && is_readable( $t_admin_dir ) ) { - echo '<div class="warning" align="center">'; - echo '<p><font color="red"><strong>WARNING:</strong> Admin directory should be removed.</font></p>'; - echo '</div>'; + echo '<div class="warning" align="center">', "\n"; + echo '<p><font color="red"><strong>WARNING:</strong> Admin directory should be removed.</font></p>', "\n"; + echo '</div>', "\n"; } ?> |