示例#1
0
	</li> 	
	<?php 
}
?>
	<li>
		<span> 			
			<label for="page_html_data" class="field_width"><span class="requiredgrey">*</span> Page Content</label> 
		</span>	
        <p class="cms_help">While copying text from Word document, please click on <img src="<?php 
echo base_url();
?>
images/backend/icons/word_icon.jpg" alt="word_icon" title="word_icon" style="padding-bottom:1px"/> "Paste from word" icon.  </p>	
		<span>
			<?php 
$data = array('name' => 'page_html_data', 'id' => 'page_html_data', 'cols' => CK_ROW, 'rows' => CK_COLS, 'content' => $page_html_data);
echo content_for_layout($data);
?>
 			
		</span>	 
	</li> 
	<?php 
if ($submit_name == 'update') {
    ?>
	<li>
		<span> 			
			<label for="previous_version_select" class="field_width"><span class="required">&nbsp;</span>Previous Version</label> 
		</span>		
		<span> 
			<select name="previous_version_select" id="previous_version_select" class="element select width_big" onchange="preview_browser_version();">
				<?php 
    echo $version_number;
示例#2
0
function the_content($linklabel)
{
    global $wpmode;
    global $wphaved;
    if ($wpmode == 'other') {
        echo content_for_layout();
        return;
    }
    global $the_post, $request, $the_author;
    $e = $the_post->FirstChild('entries');
    $title = $the_post->title;
    if (!is_microblog_theme()) {
        $current_user_id = get_the_author_ID();
        if (function_exists('prologue_get_avatar')) {
            echo prologue_get_avatar($current_user_id, get_the_author_email(), 48);
        }
    }
    $title = render_notice($title, $the_post, $the_author);
    echo "<p>" . $title . "</p>";
}