Pear code style
This commit is contained in:
parent
e9bdc69651
commit
83e232bd3f
@ -31,6 +31,8 @@
|
|||||||
* @author Sarven Capadisli <csarven@status.net>
|
* @author Sarven Capadisli <csarven@status.net>
|
||||||
* @author Tom Adams <tom@holizz.com>
|
* @author Tom Adams <tom@holizz.com>
|
||||||
* @license GNU Affero General Public License http://www.gnu.org/licenses/
|
* @license GNU Affero General Public License http://www.gnu.org/licenses/
|
||||||
|
* @version 0.9
|
||||||
|
* @link http://status.net
|
||||||
*/
|
*/
|
||||||
|
|
||||||
define('INSTALLDIR', dirname(__FILE__));
|
define('INSTALLDIR', dirname(__FILE__));
|
||||||
@ -476,12 +478,7 @@ E_O_T;
|
|||||||
|
|
||||||
function updateStatus($status, $error=false)
|
function updateStatus($status, $error=false)
|
||||||
{
|
{
|
||||||
echo '<li';
|
echo '<li' . ($error ? ' class="error"': '' ) . ">$status</li>";
|
||||||
|
|
||||||
if ($error) {
|
|
||||||
echo ' class="error"';
|
|
||||||
}
|
|
||||||
echo ">$status</li>";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function handlePost()
|
function handlePost()
|
||||||
|
Loading…
Reference in New Issue
Block a user