当前位置: 首页>>代码示例>>PHP>>正文


PHP display_ckeditor函数代码示例

本文整理汇总了PHP中display_ckeditor函数的典型用法代码示例。如果您正苦于以下问题:PHP display_ckeditor函数的具体用法?PHP display_ckeditor怎么用?PHP display_ckeditor使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了display_ckeditor函数的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: form_error

?>
" />
					<?php 
echo form_error('title');
?>
				</div>
			</div>
			<div class="clearfix">
				<label>Body:</label>
				<div class="input">
					<textarea id="body_text" name="body_text"><?php 
echo set_value('body_text');
?>
</textarea>
					<?php 
echo display_ckeditor($ckeditor);
?>
					<?php 
echo form_error('body_text');
?>
				</div>
			</div>		
		  </fieldset>
		  <fieldset id="featureimage">
			<legend>Feature Image</legend>
			<div class="clearfix">
				<label>Choose image to use as feature</label>
				<div class="input">
					<input type="file" name="featureimage" />
					<?php 
echo form_error('featureimage');
开发者ID:bmfelix,项目名称:godraft,代码行数:31,代码来源:create_article.php

示例2: display_ckeditor

        echo $item->nm_lista;
        ?>
</option>
                            <?php 
    }
    ?>
                        <?php 
}
?>
                    </select>
                </div>
                <div class="form-group">
                    <label>Template</label>
                    <textarea name="ds_mensagem" id="texto1"></textarea>
                    <?php 
echo display_ckeditor($ckeditor_texto1);
?>
                </div>
                <br/>
                <div class="form-group" align="center">
                    <button type="submit" class="btn btn-primary">Salvar</button>
                    <button type="submit" name="enviar" class="btn btn-success">Salvar e Enviar</button>
                </div>
                <br/><br/>
            </form>
        </div>
    </div>
    <!-- /.row -->

</div>
<!-- /#page-wrapper -->
开发者ID:juninhosantos,项目名称:swmail,代码行数:31,代码来源:nova_campanha.php

示例3: foreach

				</select>
			</fieldset><div class="clear"></div>
			
			<fieldset style="width:48%;float:right;margin-top:-179px">
				<label>Học phí : </label>
				<input type="text" name="hocphi" style="color:blue;float:left;width:70%;height:30px;font-weight: bold"/>
				<select name="tiente" style="color:blue;float:right;width:17%;height:30px;font-weight: bold"/>
					<?php foreach($tiente as $tien)
					{
						?>
							<option style="color:blue;font-weight: bold" value="<?php echo $tien->ten; ?>"><?php echo $tien->ten;?></option>
						<?php 
					}
					?>
				</select>
			</fieldset><div class="clear"></div>
			
			<fieldset>
				<label>Nội dung khóa học: </label>
				<textarea name="noidung" id="content" ></textarea>
					<?php echo display_ckeditor($ckeditor); ?>
			</fieldset>
		
		</div>
			<footer>	
					<div class="submit_link">
						<input type="submit" name="submit" value="Thêm khóa học" class="alt_btn">
					</div>
			</footer>
</article>
</form>
开发者ID:hungnv0789,项目名称:vhtm,代码行数:31,代码来源:admin_add_khoahoc.php

示例4: display_ckeditor

?>
</textarea>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="field-1" class="col-sm-3 control-label"><?php 
echo $this->language->from_body()[23][3];
?>
 <span class="required">*</span></label>
                            <div class="col-sm-8">
                                <textarea class="form-control " name="long_description" id="ck_editor" required><?php 
echo $notice->long_description;
?>
</textarea>
                                <?php 
echo display_ckeditor($editor['ckeditor']);
?>
                            </div>
                        </div>

                        <!--hidden input values -->                       

                        <div class="form-group">
                            <div class="col-sm-offset-3 col-sm-5">
                                <button type="submit" id="sbtn" class="btn btn-primary"><?php 
echo $this->language->from_body()[1][12];
?>
</button>                            
                            </div>
                        </div>   
                    </form>
开发者ID:qumarr,项目名称:Project,代码行数:31,代码来源:create_notice.php

示例5: create

 /**
  * pages form
  */
 public function create()
 {
     //generate WYSIWYG editor
     $this->_ckeditor_conf();
     $this->data['generated_editor'] = display_ckeditor($this->data['ckeditor']);
     $this->data['generated_editor2'] = display_ckeditor($this->data['ckeditor2']);
     //generate username, current date if creating nu pages [not editing]
     if (!isset($this->data['date_created'])) {
         $this->data['date_created'] = get_timestamp();
         $this->session->set_userdata('date_created', $this->data['date_created']);
     }
     if (!isset($this->data['created_by'])) {
         $this->data['created_by'] = $this->ion_auth->get_user()->username;
     } else {
         //get the username of the person who created the pages
         //			$this->data['created_by'] = $this->ion_auth->get_user($this->data['created_by'])->username;
     }
     if (!isset($this->data['output'])) {
         $this->data = array_merge($this->data, array('output' => '', 'js_files' => array(), 'css_files' => array()));
     }
     //array_push($this->data,$this->data[0]);
     //array_push($this->data,(array)$this->data[0]);
     //array_merge($this->data[0],$this->data);
     //echo '<pre>';
     //print_r($this->data);
     //echo '</pre>';
     //display
     $this->load->view('templates/admin_header');
     $this->load->view('admin/index.php');
     $this->load->view('admin/create_pages.php', $this->data);
     $this->load->view('templates/admin_footer');
 }
开发者ID:revol-tech,项目名称:mole,代码行数:35,代码来源:pages.php

示例6: display_ckeditor

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head>
<body>
	<textarea name="content" id="content" ><p>Example data</p></textarea>
	<?php 
echo display_ckeditor($ckeditor);
?>
	<textarea name="content_2" id="content_2" ><p>Example data</p></textarea>
	<?php 
echo display_ckeditor($ckeditor_2);
?>
</body>
</html>
开发者ID:ahmedakter05,项目名称:ci_exquiso,代码行数:16,代码来源:ckeditor.php

示例7: create_type

 public function create_type()
 {
     //generate WYSIWYG editor
     $this->_ckeditor_conf2();
     $this->data['generated_editor'] = display_ckeditor($this->data['ckeditor']);
     $this->data['generated_editor2'] = display_ckeditor($this->data['ckeditor2']);
     //generate username, current date if creating nu notices [not editing]
     if (!isset($this->data['date_created'])) {
         $this->data['date_created'] = get_timestamp();
         $this->session->set_userdata('date_created', $this->data['date_created']);
     }
     if (!isset($this->data['created_by'])) {
         $this->data['created_by'] = $this->ion_auth->get_user()->username;
     } else {
         //get the username of the person who created the notices
         //			$this->data['created_by'] = $this->ion_auth->get_user($this->data['created_by'])->username;
     }
     //display
     $this->load->view('templates/admin_header');
     $this->load->view('admin/index.php');
     $this->load->view('admin/create_faqs_type.php', $this->data);
     $this->load->view('templates/admin_footer');
 }
开发者ID:revol-tech,项目名称:mole,代码行数:23,代码来源:faqs.php

示例8: display_ckeditor

				<?php echo display_ckeditor($address_vn); ?>
			</fieldset><div class="clear"></div>
			<fieldset style="width:100%; float:left;"> <!-- to make two field float next to one another, adjust values accordingly -->
				<label><?php echo $this->lang->line('contact-address-en');?></label>
				<textarea name="address_en" id="address_en"><?php echo $row->address_en; ?></textarea>
				<?php echo display_ckeditor($address_en); ?>
			</fieldset><div class="clear"></div>
			<fieldset style="width:100%; float:left;"> <!-- to make two field float next to one another, adjust values accordingly -->
				<label><?php echo $this->lang->line('contact-info-vn');?></label>
				<textarea name="info_vn" id="info_vn"><?php echo $row->info_vn; ?></textarea>
				<?php echo display_ckeditor($info_vn); ?>
			</fieldset><div class="clear"></div>
			<fieldset style="width:100%; float:left;"> <!-- to make two field float next to one another, adjust values accordingly -->
				<label><?php echo $this->lang->line('contact-info-en');?></label>
				<textarea name="info_en" id="info_en"><?php echo $row->info_en; ?></textarea>
				<?php echo display_ckeditor($info_en); ?>
			</fieldset><div class="clear"></div>
			<fieldset>
				<label><?php echo $this->lang->line('contact-email'); ?></label>
				<input type="text" name="email" value="<?php echo $row->email; ?>"/>	
			</fieldset>
			<fieldset>
				<label><?php echo $this->lang->line('contact-phone'); ?></label>
				<input type="text" name="phone_number" value="<?php echo $row->phone_number; ?>"/>	
			</fieldset>
			<fieldset>
				<label><?php echo $this->lang->line('contact-fax'); ?></label>
				<input type="text" name="fax_number" value="<?php echo $row->fax_number; ?>"/>	
			</fieldset>
		</div>
		<footer>
开发者ID:hungnv0789,项目名称:vhtm,代码行数:31,代码来源:admin_lienhe.php


注:本文中的display_ckeditor函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。