Commit 53917761 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Initial import.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2000 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c17ba4e5
<dtml-comment>
Copyright (c) 2001 Zope Corporation and Contributors. All Rights Reserved.
This software is subject to the provisions of the Zope Public License,
Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
FOR A PARTICULAR PURPOSE
</dtml-comment>
<dtml-var manage_page_header>
<dtml-var "manage_form_title(this(), _,
form_title='Add SQLCatalog',
help_product='SQLCatalog',
)">
<FORM ACTION="manage_addSQLCatalog" METHOD="POST">
<table cellspacing="0" cellpadding="2" border="0">
<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-optional">
Title
</div>
</td>
<td align="left" valign="top">
<input type="text" name="title" size="40" />
</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-var manage_page_footer>
<dtml-comment>
Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
Sebastien Robin <seb@nexedi.com>
WARNING: This program as such is intended to be used by professional
programmers who take the whole responsability of assessing all potential
consequences resulting from its eventual inadequacies and bugs
This program as such is not intended to be used by end users. End
users who are looking for a ready-to-use solution with commercial
garantees and support are strongly adviced to contract a Free Software
Service Company
This program is Free Software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
</dtml-comment>
<dtml-var manage_page_header>
<dtml-var manage_tabs>
<form action="manage_editFilter" method="POST">
<dtml-in expr="getFilterableMethodList()" sort=id>
<dtml-let method_id=id>
<h3>Method: <dtml-var id></br></h3>
<table cellspacing="0" cellpadding="2" border="0">
<tr>
<td align="left" valign="top">
</td>
</tr>
<tr>
<td align="left" valign="top">
Activate Filter <input type="checkbox" name="<dtml-var id>_box"
<dtml-if expr="isMethodFiltered(id)">checked</dtml-if> value="1">
</td>
</tr>
<tr>
<td align="left" valign="top">
Portal Type <select size="5" multiple="multiple" name="<dtml-var id>_type">
<dtml-in expr="portal_types.listTypeInfo()" sort=id>
<option value="<dtml-var id>" <dtml-if expr="isPortalTypeSelected(method_id,id)">SELECTED</dtml-if>><dtml-var id></option>
</dtml-in>
</select>
</td>
</tr>
<tr>
<td align="left" valign="top">
Expression <input type="text" name="<dtml-var id>_expression" size="20"
value="<dtml-var expr="getExpression(id)">">
</td>
</tr>
</table>
</dtml-let>
</dtml-in>
<table>
<tr>
<td align="left" valign="top">
<input type="submit" name="submit" value=" Change " />
</td>
</tr>
</table>
</form>
<dtml-var manage_page_footer>
<dtml-var manage_page_header>
<dtml-var manage_tabs>
<form action="<dtml-var URL1>">
<p class="form-help">
Hot Reindexing allows you to recreate a new SQL Catalog without stopping your system.
This requires at least two SQL Catalogs.
</p>
<dtml-if portal_activities>
<p class="form-help">
Note that hot reindexing might not be finished even when you get a successful response,
because portal_activities delays the real operations. You can check the real state in properties.
</p>
</dtml-if>
<table cellspacing="0" cellpadding="2" border="0">
<tr class="list-header">
<td colspan="2" align="left">
<div class="form-label">
SQL Catalogs
</div>
</td>
</tr>
<tr>
<td align="left" valign="top">
<div class="form-label">
Current SQL Catalog
</div>
</td>
<td align="left" valign="top">
<div class="form-element">
<select name="source_sql_catalog_id:UTF-8:text">
<dtml-in expr="getSQLCatalogIdList()" prefix="id">
<dtml-if expr="id_item == getSQLCatalog().getId()">
<option selected value="&dtml-id_item;"><dtml-var id_item></option>
<dtml-else>
<option value="&dtml-id_item;"><dtml-var id_item></option>
</dtml-if>
</dtml-in>
</select>
</div>
</td>
</tr>
<tr>
<td align="left" valign="top">
<div class="form-label">
New SQL Catalog
</div>
</td>
<td align="left" valign="top">
<div class="form-element">
<select name="destination_sql_catalog_id:UTF-8:text">
<dtml-in getSQLCatalogIdList>
<option value="&dtml-sequence-item;"><dtml-var sequence-item></option>
</dtml-in>
</select>
</div>
</td>
</tr>
<tr class="list-header">
<td colspan="2" align="left">
<div class="form-label">
SQL Connections
</div>
</td>
</tr>
<tr>
<td colspan="2" align="left">
<div class="form-help">
This allows you to change the connections in Z SQL Methods under portal_skins.
</div>
</td>
</tr>
<dtml-let id_list=SQLConnectionIDs>
<dtml-if id_list>
<dtml-in prefix="index" expr="_.range(_.len(id_list))">
<dtml-let source_id="id_list[index_item][1]">
<tr>
<td align="left" valign="top">
<div class="form-label">
<dtml-var expr="id_list[index_item][0]">
</div>
</td>
<td align="left" valign="top">
<div class="form-element">
<input type="hidden" name="source_sql_connection_id_list:list:text" value="&dtml-source_id;">
<select name="destination_sql_connection_id_list:list:text">
<dtml-in prefix="count" expr="_.range(_.len(id_list))">
<dtml-let destination_id="id_list[count_item][1]" destination_title="id_list[count_item][0]">
<dtml-if expr="count_item == index_item">
<option selected value="&dtml-destination_id;"><dtml-var destination_title></option>
<dtml-else>
<option value="&dtml-destination_id;"><dtml-var destination_title></option>
</dtml-if>
</dtml-let>
</dtml-in>
</select>
</div>
</td>
</tr>
</dtml-let>
</dtml-in>
</dtml-if>
</dtml-let>
<tr class="list-header">
<td colspan="2" align="left">
<div class="form-label">
Skin selections
</div>
</td>
</tr>
<tr>
<td colspan="2" align="left">
<div class="form-help">
This allows you to change layers in skin selections.
</div>
</td>
</tr>
<dtml-in prefix="selection" expr="portal_skins.getSkinPaths()">
<tr>
<td align="left">
<div class="form-label">
<dtml-var selection_key>
</div>
</td>
<td align="left" valign="top">
<div class="form-element">
<input type="hidden" name="skin_name_list:list:text" value="&dtml-selection_key;">
<textarea cols="30" rows="8" name="skin_selection_list:list:lines"><dtml-var expr="selection_item.replace(',', '\n')"></textarea>
</div>
</td>
</tr>
</dtml-in>
<tr>
<td colspan="2" align="left">
<div class="form-element">
<input type="submit" name="manage_hotReindexAll:method" value=" Start Hot Reindexing ">
</div>
</td>
</tr>
</table>
<dtml-var manage_page_footer>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment