From 02ef25656da8b36735693f865a3cbe132a5a4590 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Fri, 22 Jul 2011 19:12:31 +0530 Subject: [PATCH] fixes to install, doctype --- cgi-bin/core/doctype/page/page.txt | 193 ----------------------------- 1 file changed, 193 deletions(-) diff --git a/cgi-bin/core/doctype/page/page.txt b/cgi-bin/core/doctype/page/page.txt index 653d175565..3f5e72627a 100644 --- a/cgi-bin/core/doctype/page/page.txt +++ b/cgi-bin/core/doctype/page/page.txt @@ -72,15 +72,6 @@ 'doctype': 'DocPerm' }, - # DocField - { - 'doctype': 'DocField', - 'fieldtype': 'Section Break', - 'idx': 1, - 'label': 'Page HTML', - 'oldfieldtype': 'Section Break' - }, - # DocField { 'doctype': 'DocField', @@ -142,189 +133,5 @@ 'oldfieldtype': 'Text Editor', 'reqd': 0, 'search_index': 0 - }, - - # DocField - { - 'doctype': 'DocField', - 'fieldtype': 'Section Break', - 'idx': 7, - 'label': 'Client Script', - 'oldfieldtype': 'Section Break' - }, - - # DocField - { - 'doctype': 'DocField', - 'fieldname': 'script', - 'fieldtype': 'Code', - 'idx': 8, - 'label': 'Script', - 'oldfieldname': 'script', - 'oldfieldtype': 'Code' - }, - - # DocField - { - 'doctype': 'DocField', - 'fieldtype': 'Section Break', - 'idx': 9, - 'label': 'Menu Display', - 'oldfieldtype': 'Section Break' - }, - - # DocField - { - 'doctype': 'DocField', - 'fieldtype': 'Column Break', - 'idx': 10, - 'label': 'Roles that can access', - 'oldfieldtype': 'Column Break', - 'width': '50%' - }, - - # DocField - { - 'doctype': 'DocField', - 'fieldtype': 'Section Break', - 'idx': 11, - 'label': 'CSS Style', - 'oldfieldtype': 'Section Break' - }, - - # DocField - { - 'doctype': 'DocField', - 'fieldname': 'style', - 'fieldtype': 'Code', - 'idx': 12, - 'label': 'Style', - 'oldfieldname': 'style', - 'oldfieldtype': 'Code' - }, - - # DocField - { - 'doctype': 'DocField', - 'fieldtype': 'Section Break', - 'idx': 13, - 'label': 'Static HTML', - 'oldfieldtype': 'Section Break' - }, - - # DocField - { - 'doctype': 'DocField', - 'fieldname': 'static_content', - 'fieldtype': 'Code', - 'idx': 14, - 'label': 'Static Content', - 'oldfieldname': 'static_content', - 'oldfieldtype': 'Code' - }, - - # DocField - { - 'doctype': 'DocField', - 'fieldtype': 'Section Break', - 'idx': 15, - 'label': 'Permissions', - 'oldfieldtype': 'Section Break' - }, - - # DocField - { - 'doctype': 'DocField', - 'fieldname': 'show_in_menu', - 'fieldtype': 'Check', - 'idx': 16, - 'label': 'Show In Start', - 'oldfieldname': 'show_in_menu', - 'oldfieldtype': 'Check', - 'trigger': 'Client' - }, - - # DocField - { - 'doctype': 'DocField', - 'fieldname': 'parent_node', - 'fieldtype': 'Data', - 'hidden': 1, - 'idx': 17, - 'label': 'Parent Node', - 'oldfieldname': 'parent_node', - 'oldfieldtype': 'Data' - }, - - # DocField - { - 'doctype': 'DocField', - 'fieldtype': 'HTML', - 'hidden': 1, - 'idx': 18, - 'label': 'Parent HTML', - 'oldfieldtype': 'HTML', - 'options': '
Write in the name of the parent (Page / DocType) under which you want this Page to appear in the Menu.
' - }, - - # DocField - { - 'doctype': 'DocField', - 'fieldname': 'icon', - 'fieldtype': 'Select', - 'hidden': 1, - 'idx': 19, - 'label': 'Icon', - 'oldfieldname': 'icon', - 'oldfieldtype': 'Select', - 'options': '\naccept.png\nadd.png\napplication.png\nbell.png\nbox.png\ncalendar.png\ncalculator.png\ncancel.png\ncart.png\ncd.png\nchart_bar.png\nclock.png\ncoins.png\ncomputer.png\ncontroller.png\ndisk.png\nemail.png\nerror.png\nfolder.png\ngroup.png\nhouse.png\nimages.png\nlock_open.png\nlock.png\nlorry.png\nmagnifier.png\nmap.png\nmoney.png\nnew.png\npage.png\nprinter.png\nreport.png\nserver.png\nshield.png\ntable.png\nuser.png' - }, - - # DocField - { - 'doctype': 'DocField', - 'fieldname': 'menu_index', - 'fieldtype': 'Int', - 'hidden': 1, - 'idx': 20, - 'label': 'Menu Index', - 'oldfieldname': 'menu_index', - 'oldfieldtype': 'Int' - }, - - # DocField - { - 'doctype': 'DocField', - 'fieldtype': 'HTML', - 'hidden': 1, - 'idx': 21, - 'label': 'Menu HTML', - 'oldfieldtype': 'HTML', - 'options': '
Select the order in which this Page will be displayed in the menu: 0 is Highest
' - }, - - # DocField - { - 'doctype': 'DocField', - 'fieldname': 'roles', - 'fieldtype': 'Table', - 'hidden': 0, - 'idx': 22, - 'label': 'Roles', - 'oldfieldname': 'roles', - 'oldfieldtype': 'Table', - 'options': 'Page Role', - 'reqd': 0, - 'search_index': 0 - }, - - # DocField - { - 'doctype': 'DocField', - 'fieldtype': 'Column Break', - 'idx': 23, - 'label': 'Menu Options', - 'oldfieldtype': 'Column Break', - 'width': '50%' } ] \ No newline at end of file