From 3840569b0a5203cbf35a603d0a643ae90c1cdb08 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 2 Apr 2014 19:33:19 +0000 Subject: [PATCH] also show icons instead of buttons in index-definition part of db-tools --- etemplate/setup/etemplates.inc.php | 6 ++--- etemplate/templates/default/db-tools.edit.xet | 24 +++++++++---------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/etemplate/setup/etemplates.inc.php b/etemplate/setup/etemplates.inc.php index abd939288a..11cbf92965 100644 --- a/etemplate/setup/etemplates.inc.php +++ b/etemplate/setup/etemplates.inc.php @@ -2,7 +2,7 @@ /** * EGroupware - eTemplates for Application etemplate * http://www.egroupware.org - * generated by soetemplate::dump4setup() 2014-03-31 16:39 + * generated by soetemplate::dump4setup() 2014-04-01 08:52 * * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License * @package etemplate @@ -61,9 +61,9 @@ $templ_data[] = array('name' => 'etemplate.db-tools.ask_save','template' => '',' $templ_data[] = array('name' => 'etemplate.db-tools.cols','template' => '','lang' => '','group' => '0','version' => '1.9.002','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:6:{s:2:"c1";s:2:"th";s:2:"c2";s:3:"nmr";s:1:"G";s:2:"30";s:1:"H";s:2:"40";s:1:"D";s:2:"80";s:1:"C";s:2:"80";}i:1;a:15:{s:1:"A";a:4:{s:4:"type";s:5:"label";s:5:"label";s:1:"#";s:7:"no_lang";s:1:"1";s:5:"align";s:6:"center";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:10:"ColumnName";}s:1:"C";a:2:{s:4:"type";s:5:"label";s:5:"label";s:4:"Type";}s:1:"D";a:2:{s:4:"type";s:5:"label";s:5:"label";s:9:"Meta-type";}s:1:"E";a:2:{s:4:"type";s:5:"label";s:5:"label";s:9:"Precision";}s:1:"F";a:2:{s:4:"type";s:5:"label";s:5:"label";s:5:"Scale";}s:1:"G";a:3:{s:4:"type";s:5:"label";s:5:"label";s:8:"NOT NULL";s:5:"align";s:6:"center";}s:1:"H";a:3:{s:4:"type";s:5:"label";s:5:"label";s:11:"Primary Key";s:5:"align";s:6:"center";}s:1:"I";a:2:{s:4:"type";s:5:"label";s:5:"label";s:6:"Unique";}s:1:"J";a:2:{s:4:"type";s:5:"label";s:5:"label";s:7:"Indexed";}s:1:"K";a:2:{s:4:"type";s:5:"label";s:5:"label";s:7:"Default";}s:1:"L";a:2:{s:4:"type";s:5:"label";s:5:"label";s:7:"Comment";}s:1:"M";a:2:{s:4:"type";s:5:"label";s:5:"label";s:12:"Indexoptions";}s:1:"N";a:2:{s:4:"type";s:5:"label";s:5:"label";s:11:"Foreign Key";}s:1:"O";a:6:{s:4:"type";s:6:"button";s:5:"label";s:10:"Add Column";s:5:"align";s:6:"center";s:4:"name";s:10:"add_column";s:4:"help";s:42:"Add a new column (after the existing ones)";s:4:"size";s:3:"new";}}i:2;a:15:{s:1:"A";a:4:{s:4:"type";s:5:"label";s:7:"no_lang";s:1:"1";s:5:"align";s:6:"center";s:4:"name";s:12:"Row${row}[n]";}s:1:"B";a:5:{s:4:"type";s:4:"text";s:4:"size";s:2:"15";s:7:"no_lang";s:1:"1";s:4:"name";s:15:"Row${row}[name]";s:4:"help";s:127:"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_\'";}s:1:"C";a:4:{s:4:"type";s:6:"select";s:7:"no_lang";s:1:"1";s:4:"name";s:15:"Row${row}[type]";s:4:"help";s:18:"type of the column";}s:1:"D";a:6:{s:4:"type";s:6:"select";s:7:"no_lang";s:1:"1";s:4:"name";s:15:"Row${row}[meta]";s:4:"help";s:23:"meta-type of the column";s:4:"span";s:19:",selectboxFullWidth";s:4:"size";s:8:",,,,,,,0";}s:1:"E";a:4:{s:4:"type";s:3:"int";s:5:"align";s:6:"center";s:4:"name";s:20:"Row${row}[precision]";s:4:"help";s:64:"length for char+varchar, precisions int: 2, 4, 8 and float: 4, 8";}s:1:"F";a:3:{s:4:"type";s:3:"int";s:4:"name";s:16:"Row${row}[scale]";s:4:"help";s:15:"scale for float";}s:1:"G";a:4:{s:4:"type";s:8:"checkbox";s:5:"align";s:6:"center";s:4:"name";s:18:"Row${row}[notnull]";s:4:"help";s:35:"can not have special SQL-value NULL";}s:1:"H";a:4:{s:4:"type";s:8:"checkbox";s:5:"align";s:6:"center";s:4:"name";s:13:"Row${row}[pk]";s:4:"help";s:52:"Primary key for the table, gets automaticaly indexed";}s:1:"I";a:4:{s:4:"type";s:8:"checkbox";s:5:"align";s:6:"center";s:4:"name";s:13:"Row${row}[uc]";s:4:"help";s:59:"DB ensures that every row has a unique value in that column";}s:1:"J";a:4:{s:4:"type";s:8:"checkbox";s:5:"align";s:6:"center";s:4:"name";s:13:"Row${row}[ix]";s:4:"help";s:81:"an indexed column speeds up querys using that column (cost space on the disk !!!)";}s:1:"K";a:4:{s:4:"type";s:4:"text";s:4:"size";s:1:"8";s:4:"name";s:18:"Row${row}[default]";s:4:"help";s:54:"enter \'\' for an empty default, nothing mean no default";}s:1:"L";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"20";s:4:"name";s:18:"Row${row}[comment]";}s:1:"M";a:4:{s:4:"type";s:4:"text";s:4:"size";s:1:"8";s:4:"name";s:18:"Row${row}[options]";s:4:"help";s:105:"DB-specific index options (comma-sep.), eg. mysql(FULLTEXT) or mysql(100) for the indexed length of a col";}s:1:"N";a:5:{s:4:"type";s:4:"text";s:4:"size";s:1:"8";s:5:"align";s:6:"center";s:4:"name";s:13:"Row${row}[fk]";s:4:"help";s:46:"name of other table where column is a key from";}s:1:"O";a:6:{s:4:"type";s:6:"button";s:5:"label";s:13:"Delete Column";s:5:"align";s:6:"center";s:4:"name";s:12:"delete[$row]";s:4:"help";s:19:"Deletes this column";s:4:"size";s:6:"delete";}}}s:4:"rows";i:2;s:4:"cols";i:15;}}','size' => '','style' => '','modified' => '1067163210',); -$templ_data[] = array('name' => 'etemplate.db-tools.edit','template' => '','lang' => '','group' => '0','version' => '1.7.001','data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:2:{s:1:"D";s:2:"1%";s:2:"h1";s:6:",!@msg";}i:1;a:7:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"span";s:13:"all,redItalic";s:4:"name";s:3:"msg";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:2;a:7:{s:1:"A";a:7:{s:4:"type";s:10:"select-app";s:4:"size";s:19:"Select one ...,,all";s:5:"label";s:11:"Application";s:7:"no_lang";s:1:"1";s:4:"name";s:3:"app";s:8:"onchange";s:1:"1";s:4:"help";s:40:"Select an application, (*) = uninstalled";}s:1:"B";a:6:{s:4:"type";s:6:"select";s:5:"label";s:9:"TableName";s:7:"no_lang";s:1:"1";s:4:"name";s:10:"table_name";s:8:"onchange";s:1:"1";s:4:"help";s:34:"Select an table of the application";}s:1:"C";a:5:{s:4:"type";s:4:"text";s:4:"size";s:2:"20";s:5:"align";s:5:"right";s:4:"name";s:14:"new_table_name";s:4:"help";s:20:"Name of table to add";}s:1:"D";a:4:{s:4:"type";s:6:"button";s:5:"label";s:9:"Add Table";s:4:"name";s:9:"add_table";s:4:"help";s:38:"Create a new table for the application";}s:1:"E";a:4:{s:4:"type";s:6:"button";s:5:"label";s:6:"Import";s:4:"name";s:6:"import";s:4:"help";s:47:"Import table-definitions from existing db-table";}s:1:"F";a:5:{s:4:"type";s:6:"button";s:5:"label";s:10:"Drop Table";s:4:"name";s:10:"drop_table";s:8:"disabled";s:1:"1";s:4:"help";s:37:"Drop a table - this can NOT be undone";}s:1:"G";a:4:{s:4:"type";s:6:"button";s:5:"label";s:12:"Write Tables";s:4:"name";s:12:"write_tables";s:4:"help";s:40:"Write /setup/tables_current.inc.php";}}i:3;a:7:{s:1:"A";a:3:{s:4:"type";s:8:"template";s:4:"span";s:3:"all";s:4:"name";s:23:"etemplate.db-tools.cols";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:4;a:7:{s:1:"A";a:3:{s:4:"type";s:8:"template";s:4:"span";s:3:"all";s:4:"name";s:26:"etemplate.db-tools.indices";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:4;s:4:"cols";i:7;s:4:"size";s:4:"100%";}}','size' => '100%','style' => '','modified' => '1242199350',); +$templ_data[] = array('name' => 'etemplate.db-tools.edit','template' => '','lang' => '','group' => '0','version' => '1.7.001','data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:2:{s:1:"D";s:2:"1%";s:2:"h1";s:6:",!@msg";}i:1;a:7:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"span";s:13:"all,redItalic";s:4:"name";s:3:"msg";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:2;a:7:{s:1:"A";a:7:{s:4:"type";s:10:"select-app";s:4:"size";s:19:"Select one ...,,all";s:5:"label";s:11:"Application";s:7:"no_lang";s:1:"1";s:4:"name";s:3:"app";s:8:"onchange";s:1:"1";s:4:"help";s:40:"Select an application, (*) = uninstalled";}s:1:"B";a:6:{s:4:"type";s:6:"select";s:5:"label";s:9:"TableName";s:7:"no_lang";s:1:"1";s:4:"name";s:10:"table_name";s:8:"onchange";s:1:"1";s:4:"help";s:34:"Select an table of the application";}s:1:"C";a:5:{s:4:"type";s:4:"text";s:4:"size";s:2:"20";s:5:"align";s:5:"right";s:4:"name";s:14:"new_table_name";s:4:"help";s:20:"Name of table to add";}s:1:"D";a:4:{s:4:"type";s:6:"button";s:5:"label";s:9:"Add Table";s:4:"name";s:9:"add_table";s:4:"help";s:38:"Create a new table for the application";}s:1:"E";a:4:{s:4:"type";s:6:"button";s:5:"label";s:6:"Import";s:4:"name";s:6:"import";s:4:"help";s:47:"Import table-definitions from existing db-table";}s:1:"F";a:5:{s:4:"type";s:6:"button";s:5:"label";s:10:"Drop Table";s:4:"name";s:10:"drop_table";s:8:"disabled";s:1:"1";s:4:"help";s:37:"Drop a table - this can NOT be undone";}s:1:"G";a:5:{s:4:"type";s:6:"button";s:5:"label";s:12:"Write Tables";s:4:"name";s:12:"write_tables";s:4:"help";s:40:"Write /setup/tables_current.inc.php";s:5:"align";s:5:"right";}}i:3;a:7:{s:1:"A";a:3:{s:4:"type";s:8:"template";s:4:"span";s:3:"all";s:4:"name";s:23:"etemplate.db-tools.cols";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:4;a:7:{s:1:"A";a:3:{s:4:"type";s:8:"template";s:4:"span";s:3:"all";s:4:"name";s:26:"etemplate.db-tools.indices";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:4;s:4:"cols";i:7;s:4:"size";s:4:"100%";}}','size' => '100%','style' => '','modified' => '1242199350',); -$templ_data[] = array('name' => 'etemplate.db-tools.indices','template' => '','lang' => '','group' => '0','version' => '1.5.001','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:4:{i:0;a:3:{s:2:"c1";s:2:"th";s:2:"c2";s:2:"th";s:2:"c3";s:3:"row";}i:1;a:10:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"span";s:3:"all";s:5:"label";s:19:"Multicolumn Indices";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}s:1:"H";a:1:{s:4:"type";s:5:"label";}s:1:"I";a:1:{s:4:"type";s:5:"label";}s:1:"J";a:1:{s:4:"type";s:5:"label";}}i:2;a:10:{s:1:"A";a:4:{s:4:"type";s:5:"label";s:5:"label";s:1:"#";s:7:"no_lang";s:1:"1";s:5:"align";s:6:"center";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:10:"ColumnName";}s:1:"C";a:2:{s:4:"type";s:5:"label";s:5:"label";s:10:"ColumnName";}s:1:"D";a:2:{s:4:"type";s:5:"label";s:5:"label";s:10:"ColumnName";}s:1:"E";a:2:{s:4:"type";s:5:"label";s:5:"label";s:10:"ColumnName";}s:1:"F";a:2:{s:4:"type";s:5:"label";s:5:"label";s:10:"ColumnName";}s:1:"G";a:2:{s:4:"type";s:5:"label";s:5:"label";s:10:"ColumnName";}s:1:"H";a:2:{s:4:"type";s:5:"label";s:5:"label";s:10:"ColumnName";}s:1:"I";a:2:{s:4:"type";s:5:"label";s:5:"label";s:6:"Unique";}s:1:"J";a:5:{s:4:"type";s:6:"button";s:5:"label";s:9:"Add Index";s:5:"align";s:6:"center";s:4:"name";s:9:"add_index";s:4:"help";s:28:"Add a new multi-column index";}}i:3;a:10:{s:1:"A";a:4:{s:4:"type";s:5:"label";s:7:"no_lang";s:1:"1";s:5:"align";s:6:"center";s:4:"name";s:14:"Index[$row][n]";}s:1:"B";a:5:{s:4:"type";s:6:"select";s:4:"size";s:4:"none";s:7:"no_lang";s:1:"1";s:4:"name";s:14:"Index[$row][0]";s:4:"help";s:49:"Select the indexed columns in their desired order";}s:1:"C";a:6:{s:4:"type";s:6:"select";s:4:"size";s:4:"none";s:7:"no_lang";s:1:"1";s:5:"align";s:6:"center";s:4:"name";s:14:"Index[$row][1]";s:4:"help";s:49:"Select the indexed columns in their desired order";}s:1:"D";a:5:{s:4:"type";s:6:"select";s:4:"size";s:4:"none";s:7:"no_lang";s:1:"1";s:4:"name";s:14:"Index[$row][2]";s:4:"help";s:49:"Select the indexed columns in their desired order";}s:1:"E";a:6:{s:4:"type";s:6:"select";s:4:"size";s:4:"none";s:7:"no_lang";s:1:"1";s:5:"align";s:6:"center";s:4:"name";s:14:"Index[$row][3]";s:4:"help";s:49:"Select the indexed columns in their desired order";}s:1:"F";a:5:{s:4:"type";s:6:"select";s:4:"size";s:4:"none";s:7:"no_lang";s:1:"1";s:4:"name";s:14:"Index[$row][4]";s:4:"help";s:49:"Select the indexed columns in their desired order";}s:1:"G";a:5:{s:4:"type";s:6:"select";s:4:"size";s:4:"none";s:7:"no_lang";s:1:"1";s:4:"name";s:14:"Index[$row][5]";s:4:"help";s:49:"Select the indexed columns in their desired order";}s:1:"H";a:5:{s:4:"type";s:6:"select";s:4:"size";s:4:"none";s:7:"no_lang";s:1:"1";s:4:"name";s:14:"Index[$row][6]";s:4:"help";s:49:"Select the indexed columns in their desired order";}s:1:"I";a:4:{s:4:"type";s:8:"checkbox";s:5:"align";s:6:"center";s:4:"name";s:19:"Index[$row][unique]";s:4:"help";s:59:"DB ensures that every row has a unique value in that column";}s:1:"J";a:5:{s:4:"type";s:6:"button";s:5:"label";s:12:"Delete Index";s:5:"align";s:6:"center";s:4:"name";s:18:"delete_index[$row]";s:4:"help";s:18:"Deletes this index";}}}s:4:"rows";i:3;s:4:"cols";i:10;}}','size' => '','style' => '','modified' => '1067173445',); +$templ_data[] = array('name' => 'etemplate.db-tools.indices','template' => '','lang' => '','group' => '0','version' => '1.5.001','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:4:{i:0;a:4:{s:2:"c1";s:2:"th";s:2:"c2";s:2:"th";s:2:"c3";s:3:"row";s:1:"I";s:2:"40";}i:1;a:10:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"span";s:3:"all";s:5:"label";s:19:"Multicolumn Indices";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}s:1:"H";a:1:{s:4:"type";s:5:"label";}s:1:"I";a:1:{s:4:"type";s:5:"label";}s:1:"J";a:1:{s:4:"type";s:5:"label";}}i:2;a:10:{s:1:"A";a:4:{s:4:"type";s:5:"label";s:5:"label";s:1:"#";s:7:"no_lang";s:1:"1";s:5:"align";s:6:"center";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:10:"ColumnName";}s:1:"C";a:2:{s:4:"type";s:5:"label";s:5:"label";s:10:"ColumnName";}s:1:"D";a:2:{s:4:"type";s:5:"label";s:5:"label";s:10:"ColumnName";}s:1:"E";a:2:{s:4:"type";s:5:"label";s:5:"label";s:10:"ColumnName";}s:1:"F";a:2:{s:4:"type";s:5:"label";s:5:"label";s:10:"ColumnName";}s:1:"G";a:2:{s:4:"type";s:5:"label";s:5:"label";s:10:"ColumnName";}s:1:"H";a:2:{s:4:"type";s:5:"label";s:5:"label";s:10:"ColumnName";}s:1:"I";a:2:{s:4:"type";s:5:"label";s:5:"label";s:6:"Unique";}s:1:"J";a:6:{s:4:"type";s:6:"button";s:5:"label";s:9:"Add Index";s:5:"align";s:6:"center";s:4:"name";s:9:"add_index";s:4:"help";s:28:"Add a new multi-column index";s:4:"size";s:3:"new";}}i:3;a:10:{s:1:"A";a:4:{s:4:"type";s:5:"label";s:7:"no_lang";s:1:"1";s:5:"align";s:6:"center";s:4:"name";s:14:"Index[$row][n]";}s:1:"B";a:6:{s:4:"type";s:6:"select";s:4:"size";s:4:"none";s:7:"no_lang";s:1:"1";s:4:"name";s:14:"Index[$row][0]";s:4:"help";s:49:"Select the indexed columns in their desired order";s:4:"span";s:19:",selectboxFullWidth";}s:1:"C";a:7:{s:4:"type";s:6:"select";s:4:"size";s:4:"none";s:7:"no_lang";s:1:"1";s:5:"align";s:6:"center";s:4:"name";s:14:"Index[$row][1]";s:4:"help";s:49:"Select the indexed columns in their desired order";s:4:"span";s:19:",selectboxFullWidth";}s:1:"D";a:6:{s:4:"type";s:6:"select";s:4:"size";s:4:"none";s:7:"no_lang";s:1:"1";s:4:"name";s:14:"Index[$row][2]";s:4:"help";s:49:"Select the indexed columns in their desired order";s:4:"span";s:19:",selectboxFullWidth";}s:1:"E";a:7:{s:4:"type";s:6:"select";s:4:"size";s:4:"none";s:7:"no_lang";s:1:"1";s:5:"align";s:6:"center";s:4:"name";s:14:"Index[$row][3]";s:4:"help";s:49:"Select the indexed columns in their desired order";s:4:"span";s:19:",selectboxFullWidth";}s:1:"F";a:6:{s:4:"type";s:6:"select";s:4:"size";s:4:"none";s:7:"no_lang";s:1:"1";s:4:"name";s:14:"Index[$row][4]";s:4:"help";s:49:"Select the indexed columns in their desired order";s:4:"span";s:19:",selectboxFullWidth";}s:1:"G";a:6:{s:4:"type";s:6:"select";s:4:"size";s:4:"none";s:7:"no_lang";s:1:"1";s:4:"name";s:14:"Index[$row][5]";s:4:"help";s:49:"Select the indexed columns in their desired order";s:4:"span";s:19:",selectboxFullWidth";}s:1:"H";a:6:{s:4:"type";s:6:"select";s:4:"size";s:4:"none";s:7:"no_lang";s:1:"1";s:4:"name";s:14:"Index[$row][6]";s:4:"help";s:49:"Select the indexed columns in their desired order";s:4:"span";s:19:",selectboxFullWidth";}s:1:"I";a:4:{s:4:"type";s:8:"checkbox";s:5:"align";s:6:"center";s:4:"name";s:19:"Index[$row][unique]";s:4:"help";s:59:"DB ensures that every row has a unique value in that column";}s:1:"J";a:6:{s:4:"type";s:6:"button";s:5:"label";s:12:"Delete Index";s:5:"align";s:6:"center";s:4:"name";s:18:"delete_index[$row]";s:4:"help";s:18:"Deletes this index";s:4:"size";s:6:"delete";}}}s:4:"rows";i:3;s:4:"cols";i:10;s:4:"size";s:4:"100%";s:7:"options";a:1:{i:0;s:4:"100%";}}}','size' => '100%','style' => '','modified' => '1067173445',); $templ_data[] = array('name' => 'etemplate.editor','template' => '','lang' => '','group' => '0','version' => '0.9.15.004','data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"data";a:9:{i:0;a:0:{}i:1;a:2:{s:1:"A";a:5:{s:4:"type";s:5:"label";s:4:"size";s:2:"bi";s:5:"label";s:27:"Editable Templates - Editor";s:7:"no_lang";s:1:"1";s:4:"name";s:3:"msg";}s:1:"B";a:5:{s:4:"type";s:6:"button";s:5:"label";s:8:"DB-Tools";s:5:"align";s:5:"right";s:4:"name";s:8:"db_tools";s:4:"help";s:21:"to start the DB-Tools";}}i:2;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"hrule";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:3;a:2:{s:1:"A";a:3:{s:4:"type";s:8:"template";s:4:"span";s:3:"all";s:4:"name";s:21:"etemplate.editor.keys";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:4;a:2:{s:1:"A";a:12:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"9";s:4:"span";s:3:"all";i:1;a:4:{s:4:"type";s:6:"button";s:5:"label";s:4:"Read";s:4:"name";s:4:"read";s:4:"help";s:49:"read eTemplate from database (for the keys above)";}i:2;a:4:{s:4:"type";s:6:"button";s:5:"label";s:4:"Show";s:4:"name";s:4:"show";s:4:"help";s:61:"shows/displays eTemplate for testing, does NOT save it before";}i:3;a:4:{s:4:"type";s:6:"button";s:5:"label";s:4:"Save";s:4:"name";s:4:"save";s:4:"help";s:77:"save the eTemplate under the above keys (name, ...), change them for a SaveAs";}i:4;a:4:{s:4:"type";s:6:"button";s:5:"label";s:6:"Delete";s:4:"name";s:6:"delete";s:4:"help";s:33:"deletes the eTemplate spez. above";}i:5;a:4:{s:4:"type";s:6:"button";s:5:"label";s:10:"Dump4Setup";s:4:"name";s:4:"dump";s:4:"help";s:88:"writes a \'etemplates.inc.php\' file (for application in Name) in the setup-dir of the app";}i:6;a:4:{s:4:"type";s:6:"button";s:5:"label";s:14:"Write Langfile";s:4:"name";s:8:"langfile";s:4:"help";s:85:"creates an english (\'en\') langfile from label and helptexts (for application in Name)";}i:7;a:4:{s:4:"type";s:6:"button";s:5:"label";s:10:"Export XML";s:4:"name";s:10:"export_xml";s:4:"help";s:43:"export the loaded eTemplate into a xml-file";}i:8;a:4:{s:4:"type";s:6:"button";s:5:"label";s:10:"Import XML";s:4:"name";s:10:"import_xml";s:4:"help";s:35:"import an eTemplate from a xml-file";}i:9;a:3:{s:4:"type";s:4:"file";s:4:"name";s:4:"file";s:4:"help";s:18:"xml-file to import";}}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:5;a:2:{s:1:"A";a:4:{s:4:"type";s:8:"template";s:4:"size";s:7:"options";s:4:"span";s:3:"all";s:4:"name";s:24:"etemplate.editor.options";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:6;a:2:{s:1:"A";a:3:{s:4:"type";s:8:"template";s:4:"span";s:3:"all";s:4:"name";s:21:"etemplate.editor.edit";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:7;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"span";s:3:"all";s:5:"label";s:10:"CSS-styles";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:8;a:2:{s:1:"A";a:5:{s:4:"type";s:8:"textarea";s:4:"size";s:5:"10,80";s:4:"span";s:3:"all";s:4:"name";s:5:"style";s:4:"help";s:155:"embeded CSS styles, eg. \'.red { background: red; }\' (note the \'.\' before the class-name) or \'@import url(...)\' (class names are global for the whole page!)";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:8;s:4:"cols";i:2;s:4:"size";s:9:"100%,100%";}}','size' => '100%,100%','style' => '','modified' => '1035854216',); diff --git a/etemplate/templates/default/db-tools.edit.xet b/etemplate/templates/default/db-tools.edit.xet index 0e3a931890..d739dd45a9 100644 --- a/etemplate/templates/default/db-tools.edit.xet +++ b/etemplate/templates/default/db-tools.edit.xet @@ -63,7 +63,7 @@