. * * @category Form * @package StatusNet * @author Brion Vibber * @copyright 2011 StatusNet, Inc. * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ */ if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); } require_once INSTALLDIR.'/lib/form.php'; /** * Placeholder form for posting a notice * * Frequently-used form for posting a notice * * @category Form * @package StatusNet * @author Brion Vibber * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ * * @see HTMLOutputter */ class NoticePlaceholderForm extends Widget { function show() { // Similar to that for inline replies, but not quite! // TRANS: Field label for notice text. $placeholder = _('Update your status...'); $this->out->elementStart('div', 'form_notice_placeholder'); $this->out->element('input', array('class' => 'placeholder', 'value' => $placeholder)); $this->out->elementEnd('div'); } }