Add notice form
This commit is contained in:
parent
a6c9e3cea0
commit
efe9d28efa
|
@ -32,6 +32,9 @@ if (!defined('LACONICA')) {
|
|||
exit(1);
|
||||
}
|
||||
|
||||
require_once INSTALLDIR.'/lib/form.php';
|
||||
require_once INSTALLDIR.'/lib/htmloutputter.php';
|
||||
|
||||
/**
|
||||
* Base class for all actions
|
||||
*
|
||||
|
@ -180,17 +183,6 @@ class Action extends HTMLOutputter // lawsuit
|
|||
{
|
||||
$this->elementStart('div', array('id' => 'header'));
|
||||
$this->showLogo();
|
||||
|
||||
// common_element('h1', 'pagetitle', $pagetitle);
|
||||
|
||||
if ($headercall) {
|
||||
if ($data) {
|
||||
call_user_func($headercall, $data);
|
||||
} else {
|
||||
call_user_func($headercall);
|
||||
}
|
||||
}
|
||||
//common_nav_menu();
|
||||
$this->showPrimaryNav();
|
||||
$this->showSiteNotice();
|
||||
$this->showNoticeForm();
|
||||
|
@ -247,7 +239,6 @@ class Action extends HTMLOutputter // lawsuit
|
|||
$this->elementEnd('dl');
|
||||
}
|
||||
|
||||
|
||||
// Revist. Should probably do an hAtom pattern here
|
||||
function showSiteNotice()
|
||||
{
|
||||
|
@ -263,7 +254,8 @@ class Action extends HTMLOutputter // lawsuit
|
|||
|
||||
function showNoticeForm()
|
||||
{
|
||||
// show the notice form here
|
||||
$notice_form = new NoticeForm();
|
||||
$notice_form->show();
|
||||
}
|
||||
|
||||
function showCore()
|
||||
|
@ -575,7 +567,6 @@ class Action extends HTMLOutputter // lawsuit
|
|||
common_end_xml();
|
||||
}
|
||||
|
||||
|
||||
// Added @id to li for some control. We might want to move this to htmloutputter.php
|
||||
function common_menu_item($id=null, $url, $text, $title=null, $is_selected=false)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user