svn: /web/php-bugs/trunk/ include/functions.php www/login.php

From: Date: Sun, 03 Jul 2011 20:36:47 +0000
Subject: svn: /web/php-bugs/trunk/ include/functions.php www/login.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-11446@lists.php.net to get a copy of this message
felipe Sun, 03 Jul 2011 20:36:47 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=312867 Log: - Added link to login/logout page Changed paths: U web/php-bugs/trunk/include/functions.php U web/php-bugs/trunk/www/login.php Modified: web/php-bugs/trunk/include/functions.php =================================================================== --- web/php-bugs/trunk/include/functions.php 2011-07-03 20:32:37 UTC (rev 312866) +++ web/php-bugs/trunk/include/functions.php 2011-07-03 20:36:47 UTC (rev 312867) @@ -1631,7 +1631,12 @@ <a href="report.php" class="menuWhite">report a bug</a>&nbsp;|&nbsp; <a href="search.php" class="menuWhite">advanced search</a>&nbsp;|&nbsp; <a href="search-howto.php" class="menuWhite">search howto</a>&nbsp;|&nbsp; - <a href="stats.php" class="menuWhite">statistics</a> + <a href="stats.php" class="menuWhite">statistics</a>&nbsp;|&nbsp; +<?php if ($logged_in === 'developer') { ?> + <a href="logout.php" class="menuWhite">logout</a> +<?php } else { + <a href="login.php" class="menuWhite">login</a> +<?php } ?> </td> </tr> Modified: web/php-bugs/trunk/www/login.php =================================================================== --- web/php-bugs/trunk/www/login.php 2011-07-03 20:32:37 UTC (rev 312866) +++ web/php-bugs/trunk/www/login.php 2011-07-03 20:36:47 UTC (rev 312867) @@ -31,7 +31,6 @@ ?> <form method="post" action="login.php"> -<input type="hidden" name="save" value="1" /> <table> <tr> <th align="right">Username:</th>

« previous php.webmaster (#11446) next »