2004-02-06 13:49:05 +01:00
<?xml version="1.0"?>
<!-- $Id$ -->
<overlay>
2013-06-12 19:59:43 +02:00
<template id="etemplate.db-tools.cols" template="" lang="" group="0" version="1.9.001">
2008-06-04 07:21:14 +02:00
<grid>
<columns>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
2009-05-13 09:39:58 +02:00
<column/>
2013-06-12 19:59:43 +02:00
<column/>
2008-06-04 07:21:14 +02:00
</columns>
<rows>
<row class="nmh">
2013-06-12 19:59:43 +02:00
<description align="center" value="#" no_lang="1"/>
2008-06-04 07:21:14 +02:00
<description value="ColumnName"/>
<description value="Type"/>
2013-06-12 19:59:43 +02:00
<description value="Meta-type"/>
2008-06-04 07:21:14 +02:00
<description value="Precision"/>
<description value="Scale"/>
<description value="NOT NULL"/>
<description value="Primary Key"/>
<description value="Unique"/>
<description value="Indexed"/>
2009-05-13 09:39:58 +02:00
<description value="Default"/>
<description value="Comment"/>
2008-06-04 07:21:14 +02:00
<description value="Indexoptions"/>
<description value="Foreign Key"/>
2013-06-12 19:59:43 +02:00
<button align="center" statustext="Add a new column (after the existing ones)" label="Add Column" id="add_column"/>
2008-06-04 07:21:14 +02:00
</row>
<row class="nmr">
2013-06-12 19:59:43 +02:00
<description align="center" id="Row${row}[n]" no_lang="1"/>
<textbox statustext="need to be unique in the table and no reseved word from SQL, best prefix all with a common 2-digit short for the app, eg. 'et_'" id="Row${row}[name]" no_lang="1" size="15"/>
2008-06-04 07:21:14 +02:00
<menulist>
2013-06-12 19:59:43 +02:00
<menupopup statustext="type of the column" id="Row${row}[type]" no_lang="1"/>
</menulist>
<menulist class="selectboxFullWidth">
<menupopup statustext="meta-type of the column" id="Row${row}[meta]" no_lang="1" options=",,,,,,,0"/>
2008-06-04 07:21:14 +02:00
</menulist>
2013-06-12 19:59:43 +02:00
<textbox type="integer" align="center" statustext="length for char+varchar, precisions int: 2, 4, 8 and float: 4, 8" id="Row${row}[precision]"/>
<textbox type="integer" statustext="scale for float" id="Row${row}[scale]"/>
<checkbox align="center" statustext="can not have special SQL-value NULL" id="Row${row}[notnull]"/>
<checkbox align="center" statustext="Primary key for the table, gets automaticaly indexed" id="Row${row}[pk]"/>
<checkbox align="center" statustext="DB ensures that every row has a unique value in that column" id="Row${row}[uc]"/>
<checkbox align="center" statustext="an indexed column speeds up querys using that column (cost space on the disk !!!)" id="Row${row}[ix]"/>
<textbox statustext="enter '' for an empty default, nothing mean no default" id="Row${row}[default]" size="8"/>
<textbox id="Row${row}[comment]" size="20"/>
<textbox statustext="DB-specific index options (comma-sep.), eg. mysql(FULLTEXT) or mysql(100) for the indexed length of a col" id="Row${row}[options]" size="8"/>
<textbox align="center" statustext="name of other table where column is a key from" id="Row${row}[fk]" size="8"/>
<button align="center" statustext="Deletes this column" label="Delete Column" id="delete[$row]"/>
2008-06-04 07:21:14 +02:00
</row>
</rows>
</grid>
</template>
<template id="etemplate.db-tools.indices" template="" lang="" group="0" version="1.5.001">
<grid>
<columns>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
</columns>
<rows>
<row class="th">
2013-06-12 19:59:43 +02:00
<description value="Multicolumn Indices" span="all"/>
2008-06-04 07:21:14 +02:00
</row>
<row class="th">
2013-06-12 19:59:43 +02:00
<description align="center" value="#" no_lang="1"/>
2008-06-04 07:21:14 +02:00
<description value="ColumnName"/>
<description value="ColumnName"/>
<description value="ColumnName"/>
<description value="ColumnName"/>
<description value="ColumnName"/>
<description value="ColumnName"/>
<description value="ColumnName"/>
<description value="Unique"/>
2013-06-12 19:59:43 +02:00
<button align="center" statustext="Add a new multi-column index" label="Add Index" id="add_index"/>
2008-06-04 07:21:14 +02:00
</row>
<row class="row">
2013-06-12 19:59:43 +02:00
<description align="center" id="Index[$row][n]" no_lang="1"/>
2008-06-04 07:21:14 +02:00
<menulist>
2013-06-12 19:59:43 +02:00
<menupopup statustext="Select the indexed columns in their desired order" id="Index[$row][0]" no_lang="1" options="none"/>
2008-06-04 07:21:14 +02:00
</menulist>
<menulist>
2013-06-12 19:59:43 +02:00
<menupopup align="center" statustext="Select the indexed columns in their desired order" id="Index[$row][1]" no_lang="1" options="none"/>
2008-06-04 07:21:14 +02:00
</menulist>
<menulist>
2013-06-12 19:59:43 +02:00
<menupopup statustext="Select the indexed columns in their desired order" id="Index[$row][2]" no_lang="1" options="none"/>
2008-06-04 07:21:14 +02:00
</menulist>
<menulist>
2013-06-12 19:59:43 +02:00
<menupopup align="center" statustext="Select the indexed columns in their desired order" id="Index[$row][3]" no_lang="1" options="none"/>
2008-06-04 07:21:14 +02:00
</menulist>
<menulist>
2013-06-12 19:59:43 +02:00
<menupopup statustext="Select the indexed columns in their desired order" id="Index[$row][4]" no_lang="1" options="none"/>
2008-06-04 07:21:14 +02:00
</menulist>
<menulist>
2013-06-12 19:59:43 +02:00
<menupopup statustext="Select the indexed columns in their desired order" id="Index[$row][5]" no_lang="1" options="none"/>
2008-06-04 07:21:14 +02:00
</menulist>
<menulist>
2013-06-12 19:59:43 +02:00
<menupopup statustext="Select the indexed columns in their desired order" id="Index[$row][6]" no_lang="1" options="none"/>
2008-06-04 07:21:14 +02:00
</menulist>
2013-06-12 19:59:43 +02:00
<checkbox align="center" statustext="DB ensures that every row has a unique value in that column" id="Index[$row][unique]"/>
<button align="center" statustext="Deletes this index" label="Delete Index" id="delete_index[$row]"/>
2008-06-04 07:21:14 +02:00
</row>
</rows>
</grid>
</template>
2009-05-13 09:39:58 +02:00
<template id="etemplate.db-tools.edit" template="" lang="" group="0" version="1.7.001">
2008-06-04 07:21:14 +02:00
<grid width="100%">
<columns>
<column/>
<column/>
<column/>
<column width="1%"/>
<column/>
<column/>
<column/>
</columns>
<rows>
2009-05-13 09:39:58 +02:00
<row disabled="!@msg">
2013-06-12 19:59:43 +02:00
<description id="msg" span="all" class="redItalic"/>
2009-05-13 09:39:58 +02:00
<description/>
<description/>
<description/>
<description/>
<description/>
<description/>
</row>
2008-06-04 07:21:14 +02:00
<row>
<menulist>
2013-06-12 19:59:43 +02:00
<menupopup type="select-app" statustext="Select an application, (*) = uninstalled" label="Application" id="app" no_lang="1" onchange="1" options="Select one ...,,all"/>
2008-06-04 07:21:14 +02:00
</menulist>
<menulist>
2013-06-12 19:59:43 +02:00
<menupopup statustext="Select an table of the application" label="TableName" id="table_name" no_lang="1" onchange="1"/>
2008-06-04 07:21:14 +02:00
</menulist>
2013-06-12 19:59:43 +02:00
<textbox align="right" statustext="Name of table to add" id="new_table_name" size="20"/>
<button statustext="Create a new table for the application" label="Add Table" id="add_table"/>
<button statustext="Import table-definitions from existing db-table" label="Import" id="import"/>
<button disabled="true" statustext="Drop a table - this can NOT be undone" label="Drop Table" id="drop_table"/>
<button statustext="Write <app>/setup/tables_current.inc.php" label="Write Tables" id="write_tables"/>
2008-06-04 07:21:14 +02:00
</row>
<row>
2013-06-12 19:59:43 +02:00
<template id="etemplate.db-tools.cols" span="all"/>
2008-06-04 07:21:14 +02:00
</row>
<row>
2013-06-12 19:59:43 +02:00
<template id="etemplate.db-tools.indices" span="all"/>
2008-06-04 07:21:14 +02:00
</row>
</rows>
</grid>
</template>
2004-02-06 13:49:05 +01:00
</overlay>