OSDN Git Service

一般ユーザにもLink種類設定を一部許可
[trpgtools-onweb/cake-frame.git] / app / plugins / links / models / link.php
index fd5e8c8..83585a1 100644 (file)
@@ -24,8 +24,8 @@ class Link extends AppModel {
        var $displayField = 'title';
 
        public $fields = array(
-               'add' => array('user_id', 'url', 'title', 'notes'),
-               'edit' => array('url', 'title', 'notes'),
+               'add' => array('user_id', 'url', 'title', 'notes', 'type'),
+               'edit' => array('url', 'title', 'notes', 'type'),
                'admin_add' => array('user_id', 'url', 'title', 'notes', 'type', 'ring', 'pickup'),
                'admin_edit' => array('url', 'title', 'notes', 'type', 'ring', 'pickup'),
                'image' => array(