fix weird ping messages
This commit is contained in:
parent
b27b98fe3f
commit
162bd9c8cb
3 changed files with 4 additions and 4 deletions
|
@ -1,11 +1,11 @@
|
|||
<?php
|
||||
require("../libs/markdown.php");
|
||||
function comments($typer, $idr) {
|
||||
function comments($typer, $idr, $disable = false) {
|
||||
$ref = 1732684297;
|
||||
global $username;
|
||||
global $db;
|
||||
$page = array_key_exists('page',$_GET) ? ($_GET['page']) : 0;
|
||||
if ($username) {
|
||||
if ($username && !$disable) {
|
||||
form("Broadcast your thoughts...", '', array(
|
||||
array('key' => 'Your message', 'type' => 'textarea', 'name' => 'post', 'default' => ''),
|
||||
array('key' => '','type' => 'hidden','name' => 'type', 'default' => $typer),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue