From: <pri...@us...> - 2008-08-01 17:39:07
|
Revision: 5478 http://mantisbt.svn.sourceforge.net/mantisbt/?rev=5478&view=rev Author: prichards Date: 2008-08-01 17:39:01 +0000 (Fri, 01 Aug 2008) Log Message: ----------- 0003838: HTML Beautification Modified Paths: -------------- trunk/mantisbt/core/html_api.php trunk/mantisbt/login_page.php Modified: trunk/mantisbt/core/html_api.php =================================================================== --- trunk/mantisbt/core/html_api.php 2008-08-01 17:22:20 UTC (rev 5477) +++ trunk/mantisbt/core/html_api.php 2008-08-01 17:39:01 UTC (rev 5478) @@ -113,7 +113,7 @@ html_rss_link(); $t_favicon_image = config_get( 'favicon_image' ); if ( !is_blank( $t_favicon_image ) ) { - echo '<link rel="shortcut icon" href="', helper_mantis_url( $t_favicon_image ), '" type="image/x-icon" />'; + echo "\t", '<link rel="shortcut icon" href="', helper_mantis_url( $t_favicon_image ), '" type="image/x-icon" />', "\n"; } html_title( $p_page_title ); html_head_javascript(); @@ -517,9 +517,9 @@ } } - echo '</td><td><div align="right">'; + echo '</td><td>', "\n\t", '<div align="right">'; echo '<a href="http://www.mantisbt.org" title="Free Web Based Bug Tracker"><img src="' . helper_mantis_url( 'images/mantis_logo_button.gif' ) . '" width="88" height="35" alt="Powered by Mantis Bugtracker" border="0" /></a>'; - echo '</div></td></tr></table>'; + echo '</div>', "\n", '</td></tr></table>', "\n"; } # -------------------- Modified: trunk/mantisbt/login_page.php =================================================================== --- trunk/mantisbt/login_page.php 2008-08-01 17:22:20 UTC (rev 5477) +++ trunk/mantisbt/login_page.php 2008-08-01 17:39:01 UTC (rev 5478) @@ -141,18 +141,18 @@ # Warning, if plain passwords are selected if ( config_get( 'login_method' ) === PLAIN ) { - echo '<div class="warning" align="center">'; - echo '<p><font color="red"><strong>WARNING:</strong> Plain password authentication is used, this will expose your passwords to administrators.</font></p>'; - echo '</div>'; + echo '<div class="warning" align="center">', "\n"; + echo "\t", '<p><font color="red"><strong>WARNING:</strong> Plain password authentication is used, this will expose your passwords to administrators.</font></p>', "\n"; + echo '</div>', "\n"; } # Generate a warning if administrator/root is valid. $t_admin_user_id = user_get_id_by_name( 'administrator' ); if ( $t_admin_user_id !== false ) { if ( user_is_enabled( $t_admin_user_id ) && auth_does_password_match( $t_admin_user_id, 'root' ) ) { - echo '<div class="warning" align="center">'; - echo '<p><font color="red"><strong>WARNING:</strong> You should disable the default "administrator" account or change its password.</font></p>'; - echo '</div>'; + echo '<div class="warning" align="center">', "\n"; + echo "\t", '<p><font color="red"><strong>WARNING:</strong> You should disable the default "administrator" account or change its password.</font></p>', "\n"; + echo '</div>', "\n"; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |