diff --git a/product/ERP5/dtml/addERP5Site.dtml b/product/ERP5/dtml/addERP5Site.dtml new file mode 100755 index 0000000000000000000000000000000000000000..acdf4ace9caf1c960ca0a18b893b1e872db934f9 --- /dev/null +++ b/product/ERP5/dtml/addERP5Site.dtml @@ -0,0 +1,150 @@ +<dtml-let form_title="'Add Portal'"> +<dtml-if manage_page_header> + <dtml-var manage_page_header> + <dtml-var manage_form_title> +<dtml-else> + <html><head><title>&dtml-form_title;</title></head> + <body> + <h2>&dtml-form_title;</h2> +</dtml-if> +</dtml-let> + +<form action="manage_addERP5Site" method="POST"> +<table cellspacing="0" cellpadding="2" border="0"> + <tr> + <td align="left" valign="top" colspan="2"> + <div class="form-help"> + Enter an ID and click the button below to create a new ERP5 site. + </div> + </td> + </tr> + + <tr> + <td align="left" valign="top"> + <div class="form-label"> + Id + </div> + </td> + <td align="left" valign="top"> + <input type="text" name="id" size="40" /> + </td> + </tr> + + <tr> + <td align="left" valign="top"> + <div class="form-label"> + Title + </div> + </td> + <td align="left" valign="top"> + <input type="text" name="title" size="40" value="Portal" /> + </td> + </tr> + + <tr> + <td align="left" valign="top"> + <div class="form-label"> + Membership source + </div> + </td> + <td align="left" valign="top"> + <select name="create_userfolder" size="1" > + <option value="1">Create a new user folder in the portal</option> + <option value="0">I have an existing user folder and want to use it instead</option> + </selection> + </td> + </tr> + + <tr> + <td align="left" valign="top"> + <div class="form-label"> + Description + </div> + </td> + <td align="left" valign="top"> + <textarea name="description" cols="60" rows="10" + style="width: 100%"></textarea> + </td> + </tr> + + <tr> + <td align="left" valign="top"> + <div class="form-label"> + Database Connection Type + </div> + </td> + <td align="left" valign="top"> + <select name="sql_connection_type"> + <option value="Z MySQL Database Connection" selected>Z MySQL Database Connection</option> + </select> + </td> + </tr> + + <tr> + <td align="left" valign="top"> + <div class="form-label"> + Database Connection String + </div> + </td> + <td align="left" valign="top"> + <input type="text" name="sql_connection_string" size="40" value="test test" /> + </td> + </tr> + +<!-- This may be used in the future. + + <tr> + <td align="left" valign="top"> + <div class="form-label"> + Portal administrator name + </div> + </td> + <td align="left" valign="top"> + <input type="text" name="email_from_name" size="40" + value="Portal Administrator" /> + </td> + </tr> + + <tr> + <td align="left" valign="top"> + <div class="form-label"> + Portal administrator e-mail address + </div> + </td> + <td align="left" valign="top"> + <input type="text" name="email_from_address" size="40" + value="postmaster@localhost"/> + </td> + </tr> + + <tr> + <td align="left" valign="top"> + <div class="form-label"><label for="cb_valemail"> + Validate e-mail addresses + </label></div> + </td> + <td align="left" valign="top"> + <input type="checkbox" name="validate_email" value="1" id="cb_valemail" /> + </td> + </tr> + +--> + + <tr> + <td align="left" valign="top"> + </td> + <td align="left" valign="top"> + <div class="form-element"> + <input class="form-element" type="submit" name="submit" + value=" Add " /> + </div> + </td> + </tr> +</table> +</form> + +<dtml-if manage_page_footer> + <dtml-var manage_page_footer> +<dtml-else> + </body></html> +</dtml-if> diff --git a/product/ERP5/skins/erp5_core/BusinessTemplate_view.form b/product/ERP5/skins/erp5_core/BusinessTemplate_view.form new file mode 100755 index 0000000000000000000000000000000000000000..2ef5112aa4857bd5a07bb99e31d20fd5b99ce17e --- /dev/null +++ b/product/ERP5/skins/erp5_core/BusinessTemplate_view.form @@ -0,0 +1,490 @@ +<?xml version="1.0" encoding="iso-8859-1"?> + +<form> + <title>Business Template Definition</title> + <name>BusinessTemplate_view</name> + <action>base_edit</action> + <enctype>multipart/form-data</enctype> + <method>POST</method> + <pt>form_view</pt> + + <groups> + <group> + <title>left</title> + <fields> + + <field><id>my_id</id> <type>StringField</type> + <values> + <alternate_name></alternate_name> + <css_class></css_class> + <default></default> + <description></description> + <display_maxwidth></display_maxwidth> + <display_width type="int">20</display_width> + <external_validator></external_validator> + <extra></extra> + <hidden>False</hidden> + <max_length></max_length> + <required>True</required> + <title>Id</title> + <truncate>False</truncate> + </values> + <tales> + </tales> + <messages> + <message name="external_validator_failed">The input failed the external validator.</message> + <message name="required_not_found">Input is required but no input given.</message> + <message name="too_long">Too much input was given.</message> + </messages> + </field> + <field><id>my_template_portal_type_id_list</id> <type>LinesField</type> + <values> + <alternate_name></alternate_name> + <css_class></css_class> + <default type="list">[]</default> + <description></description> + <external_validator></external_validator> + <extra></extra> + <height type="int">5</height> + <hidden>False</hidden> + <max_length></max_length> + <max_linelength></max_linelength> + <max_lines></max_lines> + <required>False</required> + <title>Portal Types</title> + <width type="int">40</width> + </values> + <tales> + </tales> + <messages> + <message name="external_validator_failed">The input failed the external validator.</message> + <message name="required_not_found">Input is required but no input given.</message> + <message name="too_many_lines">You entered too many lines.</message> + <message name="line_too_long">A line was too long.</message> + <message name="too_long">You entered too many characters.</message> + </messages> + </field> + <field><id>my_template_base_category_id_list</id> <type>LinesField</type> + <values> + <alternate_name></alternate_name> + <css_class></css_class> + <default></default> + <description></description> + <external_validator></external_validator> + <extra></extra> + <height type="int">5</height> + <hidden type="int">0</hidden> + <max_length></max_length> + <max_linelength></max_linelength> + <max_lines></max_lines> + <required type="int">1</required> + <title>Base Categories</title> + <width type="int">40</width> + </values> + <tales> + </tales> + <messages> + <message name="external_validator_failed">The input failed the external validator.</message> + <message name="required_not_found">Input is required but no input given.</message> + <message name="too_many_lines">You entered too many lines.</message> + <message name="line_too_long">A line was too long.</message> + <message name="too_long">You entered too many characters.</message> + </messages> + </field> + <field><id>my_template_document_class_list</id> <type>LinesField</type> + <values> + <alternate_name></alternate_name> + <css_class></css_class> + <default type="list">[]</default> + <description></description> + <external_validator></external_validator> + <extra></extra> + <height type="int">5</height> + <hidden>False</hidden> + <max_length></max_length> + <max_linelength></max_linelength> + <max_lines></max_lines> + <required>False</required> + <title>Document Classes</title> + <width type="int">40</width> + </values> + <tales> + </tales> + <messages> + <message name="external_validator_failed">The input failed the external validator.</message> + <message name="required_not_found">Input is required but no input given.</message> + <message name="too_many_lines">You entered too many lines.</message> + <message name="line_too_long">A line was too long.</message> + <message name="too_long">You entered too many characters.</message> + </messages> + </field> + <field><id>my_template_property_sheet_id_list</id> <type>LinesField</type> + <values> + <alternate_name></alternate_name> + <css_class></css_class> + <default type="list">[]</default> + <description></description> + <external_validator></external_validator> + <extra></extra> + <height type="int">5</height> + <hidden>False</hidden> + <max_length></max_length> + <max_linelength></max_linelength> + <max_lines></max_lines> + <required>False</required> + <title>Propertysheets</title> + <width type="int">40</width> + </values> + <tales> + </tales> + <messages> + <message name="external_validator_failed">The input failed the external validator.</message> + <message name="required_not_found">Input is required but no input given.</message> + <message name="too_many_lines">You entered too many lines.</message> + <message name="line_too_long">A line was too long.</message> + <message name="too_long">You entered too many characters.</message> + </messages> + </field> + <field><id>my_template_skin_id_list</id> <type>LinesField</type> + <values> + <alternate_name></alternate_name> + <css_class></css_class> + <default type="list">[]</default> + <description></description> + <external_validator></external_validator> + <extra></extra> + <height type="int">5</height> + <hidden>False</hidden> + <max_length></max_length> + <max_linelength></max_linelength> + <max_lines></max_lines> + <required>False</required> + <title>Skins</title> + <width type="int">40</width> + </values> + <tales> + </tales> + <messages> + <message name="external_validator_failed">The input failed the external validator.</message> + <message name="required_not_found">Input is required but no input given.</message> + <message name="too_many_lines">You entered too many lines.</message> + <message name="line_too_long">A line was too long.</message> + <message name="too_long">You entered too many characters.</message> + </messages> + </field> + <field><id>my_template_workflow_id_list</id> <type>LinesField</type> + <values> + <alternate_name></alternate_name> + <css_class></css_class> + <default type="list">[]</default> + <description></description> + <external_validator></external_validator> + <extra></extra> + <height type="int">5</height> + <hidden>False</hidden> + <max_length></max_length> + <max_linelength></max_linelength> + <max_lines></max_lines> + <required>False</required> + <title>Workflows</title> + <width type="int">40</width> + </values> + <tales> + </tales> + <messages> + <message name="external_validator_failed">The input failed the external validator.</message> + <message name="required_not_found">Input is required but no input given.</message> + <message name="too_many_lines">You entered too many lines.</message> + <message name="line_too_long">A line was too long.</message> + <message name="too_long">You entered too many characters.</message> + </messages> + </field> + <field><id>my_template_product_id_list</id> <type>LinesField</type> + <values> + <alternate_name></alternate_name> + <css_class></css_class> + <default type="list">[]</default> + <description></description> + <external_validator></external_validator> + <extra></extra> + <height type="int">5</height> + <hidden>False</hidden> + <max_length></max_length> + <max_linelength></max_linelength> + <max_lines></max_lines> + <required>False</required> + <title>Products</title> + <width type="int">40</width> + </values> + <tales> + </tales> + <messages> + <message name="external_validator_failed">The input failed the external validator.</message> + <message name="required_not_found">Input is required but no input given.</message> + <message name="too_many_lines">You entered too many lines.</message> + <message name="line_too_long">A line was too long.</message> + <message name="too_long">You entered too many characters.</message> + </messages> + </field> + </fields> + </group> + <group> + <title>right</title> + <fields> + + <field><id>my_title</id> <type>StringField</type> + <values> + <alternate_name></alternate_name> + <css_class></css_class> + <default></default> + <description></description> + <display_maxwidth></display_maxwidth> + <display_width type="int">20</display_width> + <external_validator></external_validator> + <extra></extra> + <hidden type="int">0</hidden> + <max_length></max_length> + <required type="int">1</required> + <title>Title</title> + <truncate type="int">0</truncate> + </values> + <tales> + </tales> + <messages> + <message name="external_validator_failed">The input failed the external validator.</message> + <message name="required_not_found">Input is required but no input given.</message> + <message name="too_long">Too much input was given.</message> + </messages> + </field> + <field><id>my_template_catalog_method_id_list</id> <type>LinesField</type> + <values> + <alternate_name></alternate_name> + <css_class></css_class> + <default type="list">[]</default> + <description></description> + <external_validator></external_validator> + <extra></extra> + <height type="int">5</height> + <hidden>False</hidden> + <max_length></max_length> + <max_linelength></max_linelength> + <max_lines></max_lines> + <required>False</required> + <title>Catalog Methods</title> + <width type="int">40</width> + </values> + <tales> + </tales> + <messages> + <message name="external_validator_failed">The input failed the external validator.</message> + <message name="required_not_found">Input is required but no input given.</message> + <message name="too_many_lines">You entered too many lines.</message> + <message name="line_too_long">A line was too long.</message> + <message name="too_long">You entered too many characters.</message> + </messages> + </field> + <field><id>my_template_catalog_result_table_list</id> <type>LinesField</type> + <values> + <alternate_name></alternate_name> + <css_class></css_class> + <default type="list">[]</default> + <description></description> + <external_validator></external_validator> + <extra></extra> + <height type="int">5</height> + <hidden>False</hidden> + <max_length></max_length> + <max_linelength></max_linelength> + <max_lines></max_lines> + <required>False</required> + <title>Catalog Result Tables</title> + <width type="int">40</width> + </values> + <tales> + </tales> + <messages> + <message name="external_validator_failed">The input failed the external validator.</message> + <message name="required_not_found">Input is required but no input given.</message> + <message name="too_many_lines">You entered too many lines.</message> + <message name="line_too_long">A line was too long.</message> + <message name="too_long">You entered too many characters.</message> + </messages> + </field> + <field><id>my_template_catalog_result_key_list</id> <type>LinesField</type> + <values> + <alternate_name></alternate_name> + <css_class></css_class> + <default type="list">[]</default> + <description></description> + <external_validator></external_validator> + <extra></extra> + <height type="int">5</height> + <hidden>False</hidden> + <max_length></max_length> + <max_linelength></max_linelength> + <max_lines></max_lines> + <required>False</required> + <title>Catalog Result Keys</title> + <width type="int">40</width> + </values> + <tales> + </tales> + <messages> + <message name="external_validator_failed">The input failed the external validator.</message> + <message name="required_not_found">Input is required but no input given.</message> + <message name="too_many_lines">You entered too many lines.</message> + <message name="line_too_long">A line was too long.</message> + <message name="too_long">You entered too many characters.</message> + </messages> + </field> + <field><id>my_template_role_list</id> <type>LinesField</type> + <values> + <alternate_name></alternate_name> + <css_class></css_class> + <default type="list">[]</default> + <description></description> + <external_validator></external_validator> + <extra></extra> + <height type="int">5</height> + <hidden>False</hidden> + <max_length></max_length> + <max_linelength></max_linelength> + <max_lines></max_lines> + <required>False</required> + <title>Roles</title> + <width type="int">40</width> + </values> + <tales> + </tales> + <messages> + <message name="external_validator_failed">The input failed the external validator.</message> + <message name="required_not_found">Input is required but no input given.</message> + <message name="too_many_lines">You entered too many lines.</message> + <message name="line_too_long">A line was too long.</message> + <message name="too_long">You entered too many characters.</message> + </messages> + </field> + <field><id>my_template_site_property_id_list</id> <type>LinesField</type> + <values> + <alternate_name></alternate_name> + <css_class></css_class> + <default type="list">[]</default> + <description></description> + <external_validator></external_validator> + <extra></extra> + <height type="int">5</height> + <hidden>False</hidden> + <max_length></max_length> + <max_linelength></max_linelength> + <max_lines></max_lines> + <required>False</required> + <title>Site Properties</title> + <width type="int">40</width> + </values> + <tales> + </tales> + <messages> + <message name="external_validator_failed">The input failed the external validator.</message> + <message name="required_not_found">Input is required but no input given.</message> + <message name="too_many_lines">You entered too many lines.</message> + <message name="line_too_long">A line was too long.</message> + <message name="too_long">You entered too many characters.</message> + </messages> + </field> + <field><id>my_template_action_path_list</id> <type>LinesField</type> + <values> + <alternate_name></alternate_name> + <css_class></css_class> + <default type="list">[]</default> + <description></description> + <external_validator></external_validator> + <extra></extra> + <height type="int">5</height> + <hidden>False</hidden> + <max_length></max_length> + <max_linelength></max_linelength> + <max_lines></max_lines> + <required>False</required> + <title>Menus</title> + <width type="int">40</width> + </values> + <tales> + </tales> + <messages> + <message name="external_validator_failed">The input failed the external validator.</message> + <message name="required_not_found">Input is required but no input given.</message> + <message name="too_many_lines">You entered too many lines.</message> + <message name="line_too_long">A line was too long.</message> + <message name="too_long">You entered too many characters.</message> + </messages> + </field> + <field><id>my_template_module_id_list</id> <type>LinesField</type> + <values> + <alternate_name></alternate_name> + <css_class></css_class> + <default type="list">[]</default> + <description></description> + <external_validator></external_validator> + <extra></extra> + <height type="int">5</height> + <hidden>False</hidden> + <max_length></max_length> + <max_linelength></max_linelength> + <max_lines></max_lines> + <required>False</required> + <title>Modules</title> + <width type="int">40</width> + </values> + <tales> + </tales> + <messages> + <message name="external_validator_failed">The input failed the external validator.</message> + <message name="required_not_found">Input is required but no input given.</message> + <message name="too_many_lines">You entered too many lines.</message> + <message name="line_too_long">A line was too long.</message> + <message name="too_long">You entered too many characters.</message> + </messages> + </field> + </fields> + </group> + <group> + <title>center</title> + <fields> + + <field><id>my_template_path_list</id> <type>LinesField</type> + <values> + <alternate_name></alternate_name> + <css_class></css_class> + <default type="list">[]</default> + <description></description> + <external_validator></external_validator> + <extra></extra> + <height type="int">10</height> + <hidden>False</hidden> + <max_length></max_length> + <max_linelength></max_linelength> + <max_lines></max_lines> + <required>False</required> + <title>Path List</title> + <width type="int">80</width> + </values> + <tales> + </tales> + <messages> + <message name="external_validator_failed">The input failed the external validator.</message> + <message name="required_not_found">Input is required but no input given.</message> + <message name="too_many_lines">You entered too many lines.</message> + <message name="line_too_long">A line was too long.</message> + <message name="too_long">You entered too many characters.</message> + </messages> + </field> + </fields> + </group> + <group> + <title>bottom</title> + <fields> + + </fields> + </group> + </groups> +</form> diff --git a/product/ERP5/skins/erp5_core/Folder_list.form b/product/ERP5/skins/erp5_core/Folder_list.form new file mode 100755 index 0000000000000000000000000000000000000000..f091d3d04f59ed1604a5c5de4b412241adcb92d2 --- /dev/null +++ b/product/ERP5/skins/erp5_core/Folder_list.form @@ -0,0 +1,61 @@ +<?xml version="1.0" encoding="iso-8859-1"?> + +<form> + <title>Folder Contents</title> + <name>folder_contents</name> + <action></action> + <enctype></enctype> + <method>POST</method> + <pt>form_list</pt> + + <groups> + <group> + <title>Default</title> + <fields> + + <field><id>listbox</id> <type>ListBox</type> + <values> + <all_columns type="list">[]</all_columns> + <all_editable_columns></all_editable_columns> + <alternate_name></alternate_name> + <columns type="list">[('id', 'id'), ('Title', 'Title'), ('Description', 'Description')]</columns> + <css_class></css_class> + <default></default> + <default_params type="list">[('id', "''"), ('Title', "''"), ('Description', "''")]</default_params> + <description></description> + <domain_root_list></domain_root_list> + <domain_tree></domain_tree> + <editable_columns></editable_columns> + <external_validator></external_validator> + <extra></extra> + <global_attributes></global_attributes> + <height type="int">5</height> + <hidden type="int">0</hidden> + <lines type="int">30</lines> + <list_action>list</list_action> + <list_cookie>FOLDER_LIST</list_cookie> + <list_method type="method">searchFolder</list_method> + <meta_types type="list">[]</meta_types> + <portal_types type="list">[]</portal_types> + <report_root_list></report_root_list> + <report_tree></report_tree> + <reverse type="int">0</reverse> + <search type="int">1</search> + <search_columns></search_columns> + <select type="int">1</select> + <selection_name>folders</selection_name> + <sort type="list">[]</sort> + <stat_method></stat_method> + <title>Elements contenus</title> + <width type="int">40</width> + </values> + <tales> + </tales> + <messages> + <message name="external_validator_failed">The input failed the external validator.</message> + </messages> + </field> + </fields> + </group> + </groups> +</form> diff --git a/product/ERP5/skins/erp5_core/erp5_logo.png b/product/ERP5/skins/erp5_core/erp5_logo.png new file mode 100755 index 0000000000000000000000000000000000000000..ef198354aad842a9f22b3c66223d28576c132c7f Binary files /dev/null and b/product/ERP5/skins/erp5_core/erp5_logo.png differ