PHP Classes

File: manage_class_edit.ctp

Recommend this page to a friend!
  Classes of lijun wang   blog   manage_class_edit.ctp   Download  
File: manage_class_edit.ctp
Role: Auxiliary script
Content type: text/plain
Description: /manage/blogs/classEdit view
Class: blog
A blog system implemented with CakePHP framework
Author: By
Last change:
Date: 14 years ago
Size: 808 bytes
 

Contents

Class file image Download
<?php
/**
 * 编辑新的商家文章类别(blog)文件
 *
 * @author wlj lesorb <lesorb@126.com>
 * @version 1.0
 */
?>

 <div id='uinfo'>
    <div class="messages_menu" style="margin-top:10px">
        <ul>
            <?php
               
echo '<li>'.$html->link(__('日志列表', true), '/manage/blogs/lists').'</li>';
                echo
'<li>'.$html->link(__('添加新类别', true), '/manage/blogs/classAdd/').'</li>';
           
?>
</ul>
    </div>

    <!--编辑日志类别 start-->
    <?php echo $form->create('Blog',array('action'=>'classAdd','url'=>'/manage/blogs/classEdit/'.$this->data['BlogClass']['id']));?>
<?php echo $form->hidden('BlogClass.id');?>
<?php echo $form->input('BlogClass.name',array('label'=>'类别名称:'));?>
<?php echo $form->end('好 了');?>
<!--编辑日志类别 end-->

</div>