Commit 83e232bd authored by Brenda Wallace's avatar Brenda Wallace

Pear code style

parent e9bdc696
......@@ -31,6 +31,8 @@
* @author Sarven Capadisli <csarven@status.net>
* @author Tom Adams <tom@holizz.com>
* @license GNU Affero General Public License http://www.gnu.org/licenses/
* @version 0.9
* @link http://status.net
*/
define('INSTALLDIR', dirname(__FILE__));
......@@ -476,12 +478,7 @@ E_O_T;
function updateStatus($status, $error=false)
{
echo '<li';
if ($error) {
echo ' class="error"';
}
echo ">$status</li>";
echo '<li' . ($error ? ' class="error"': '' ) . ">$status</li>";
}
function handlePost()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment