css; $logged_in_content = $sitepages_object->logged_in_content; $logged_out_content = $sitepages_object->logged_out_content; } else { $css = <<<___EOT #elgg_sidebar .entity_listing_info {width:173px;} ___EOT; $logged_in_content = <<<___EOT
___EOT; $logged_out_content = <<<___EOT ___EOT; } // set the required form variables $input_css = elgg_view('input/plaintext', array('internalname' => 'css', 'value' => $css, 'class' => 'input_textarea monospace')); $input_logged_in_content = elgg_view('input/plaintext', array('internalname' => 'logged_in_content', 'value' => $logged_in_content, 'class' => 'input_textarea monospace')); $input_logged_out_content = elgg_view('input/plaintext', array('internalname' => 'logged_out_content', 'value' => $logged_out_content, 'class' => 'input_textarea monospace')); $submit_input = elgg_view('input/submit', array('internalname' => 'submit', 'value' => elgg_echo('save'))); $logged_in_content_title = elgg_echo("sitepages:logged_in_front_content"); $logged_out_content_title = elgg_echo("sitepages:logged_out_front_content"); $css_title = elgg_echo("sitepages:css"); //preview link // @todo this doesn't do anything. //$preview = ""; //construct the form $form_body = <<<___EOT $hidden_guid $submit_input $preview ___EOT; echo elgg_view('input/form', array('action' => "{$vars['url']}action/$action", 'body' => $form_body));