p.instructions -> div.instructions

darcs-hash:20080709002242-84dde-1d7a2107079ab5d84592d280a19a253663f84b4f.gz
This commit is contained in:
Evan Prodromou 2008-07-08 20:22:42 -04:00
parent 485314fe20
commit ec9de70539
5 changed files with 5 additions and 5 deletions

View File

@ -96,7 +96,7 @@ class LoginAction extends Action {
} else { } else {
$instr = $this->get_instructions(); $instr = $this->get_instructions();
$output = common_markup_to_html($instr); $output = common_markup_to_html($instr);
common_element_start('p', 'instructions'); common_element_start('div', 'instructions');
common_raw($output); common_raw($output);
common_element_end('p'); common_element_end('p');
} }

View File

@ -155,7 +155,7 @@ class RegisterAction extends Action {
if ($error) { if ($error) {
common_element('p', 'error', $error); common_element('p', 'error', $error);
} else { } else {
common_element('p', 'instructions', common_element('div', 'instructions',
_t('You can create a new account to start posting notices.')); _t('You can create a new account to start posting notices.'));
} }
} }

View File

@ -53,7 +53,7 @@ class RemotesubscribeAction extends Action {
} else { } else {
$instructions = $this->get_instructions(); $instructions = $this->get_instructions();
$output = common_markup_to_html($instructions); $output = common_markup_to_html($instructions);
common_element_start('p', 'instructions'); common_element_start('div', 'instructions');
common_raw($output); common_raw($output);
common_element_end('p'); common_element_end('p');
} }

View File

@ -54,7 +54,7 @@ class GalleryAction extends Action {
} }
function show_top($profile) { function show_top($profile) {
common_element('p', 'instructions', common_element('div', 'instructions',
$this->get_instructions($profile)); $this->get_instructions($profile));
} }

View File

@ -191,7 +191,7 @@ function oid_authenticate($openid_url, $returnto, $immediate=false) {
# Half-assed attempt at a module-private function # Half-assed attempt at a module-private function
function _oid_print_instructions() { function _oid_print_instructions() {
common_element('p', 'instructions', common_element('div', 'instructions',
_t('This form should automatically submit itself. '. _t('This form should automatically submit itself. '.
'If not, click the submit button to go to your '. 'If not, click the submit button to go to your '.
'OpenID provider.')); 'OpenID provider.'));