mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
new function to search for or list existing eTeamplates
This commit is contained in:
parent
b977162613
commit
94fb1f402d
@ -23,7 +23,8 @@
|
||||
'saved' => 'Template saved',
|
||||
'error_writing' => 'Error: while saveing !!!',
|
||||
'other_version' => 'only an other Version found !!!',
|
||||
'ext_loaded' => 'Extensions loaded: '
|
||||
'ext_loaded' => 'Extensions loaded:',
|
||||
'x_found' => '%d eTemplates found'
|
||||
);
|
||||
var $aligns = array(
|
||||
'' => 'Left',
|
||||
@ -69,7 +70,7 @@
|
||||
$this->extensions = $this->scan_for_extensions();
|
||||
if (count($this->extensions))
|
||||
{
|
||||
$msg .= $this->messages['ext_loaded'] . implode(', ',$this->extensions);
|
||||
$msg .= $this->messages['ext_loaded'] . ' ' . implode(', ',$this->extensions);
|
||||
$msg_ext_loaded = True;
|
||||
}
|
||||
}
|
||||
@ -80,7 +81,7 @@
|
||||
$extensions = $this->scan_for_extensions($app);
|
||||
if (count($extensions))
|
||||
{
|
||||
$msg .= (!$msg_ext_loaded?$this->messages['ext_loaded']:', ') . implode(', ',$extensions);
|
||||
$msg .= (!$msg_ext_loaded?$this->messages['ext_loaded'].' ':', ') . implode(', ',$extensions);
|
||||
$this->extensions += $extensions;
|
||||
}
|
||||
$this->extensions['**loaded**'][$app] = True;
|
||||
@ -303,10 +304,21 @@
|
||||
if (!$this->etemplate->read($content))
|
||||
{
|
||||
$content['version'] = ''; // trying it without version
|
||||
$msg = $this->messages['other_version'];
|
||||
if (!$this->etemplate->read($content))
|
||||
if ($this->etemplate->read($content))
|
||||
{
|
||||
$msg = $this->messages['not_found'];
|
||||
$msg = $this->messages['other_version'];
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->etemplate->search($content);
|
||||
if (count($result) > 1)
|
||||
{
|
||||
return $this->list_result(array('result' => $result));
|
||||
}
|
||||
elseif (!count($result) || $this->etemplate->read($result[0]))
|
||||
{
|
||||
$msg = $this->messages['not_found'];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -349,6 +361,10 @@
|
||||
|
||||
function delete($post_vars='',$back = 'edit')
|
||||
{
|
||||
if ($this->debug)
|
||||
{
|
||||
echo "delete(back='$back') cont = "; _debug_array($post_vars);
|
||||
}
|
||||
if (!$post_vars)
|
||||
{
|
||||
$post_vars = array();
|
||||
@ -363,14 +379,29 @@
|
||||
{
|
||||
$read_ok = $this->etemplate->delete();
|
||||
}
|
||||
$this->edit($this->messages[$read_ok ? 'deleted' : 'not_found']);
|
||||
$msg = $this->messages[$read_ok ? 'deleted' : 'not_found'];
|
||||
|
||||
if ($post_vars['back'] == 'list_result')
|
||||
{
|
||||
$this->list_result($post_vars['preserv'],$msg);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->edit($msg);
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (isset($post_vars['no'])) // Back to ...
|
||||
{
|
||||
if (($back = $post_vars['back']) != 'show')
|
||||
switch ($back = $post_vars['back'])
|
||||
{
|
||||
$back = 'edit';
|
||||
case 'list_result':
|
||||
$this->$back($post_vars['preserv']);
|
||||
return;
|
||||
case 'show':
|
||||
break;
|
||||
default:
|
||||
$back = 'edit';
|
||||
}
|
||||
$this->$back();
|
||||
return;
|
||||
@ -380,11 +411,68 @@
|
||||
$this->edit($this->messages['not_found']);
|
||||
return;
|
||||
}
|
||||
$content = $this->etemplate->as_array() + array('back' => $back);
|
||||
$content = $this->etemplate->as_array();
|
||||
|
||||
$delete = new etemplate('etemplate.editor.delete');
|
||||
$delete->exec('etemplate.editor.delete',$content,array(),array(),$content+ array(
|
||||
'back' => $back,
|
||||
'preserv' => $post_vars['preserv']
|
||||
),'');
|
||||
}
|
||||
|
||||
$delete->exec('etemplate.editor.delete',$content,array(),array(),$content,'');
|
||||
function list_result($cont='',$msg='')
|
||||
{
|
||||
if ($this->debug)
|
||||
{
|
||||
echo "<p>etemplate.editor.list_result: cont="; _debug_array($cont);
|
||||
}
|
||||
if (!$cont || !is_array($cont))
|
||||
{
|
||||
return $this->edit('error');
|
||||
}
|
||||
if (!isset($cont['result']) || isset($cont['search']))
|
||||
{
|
||||
$cont['result'] = $this->etemplate->search($cont);
|
||||
}
|
||||
$result = $cont['result'];
|
||||
|
||||
if (isset($cont['delete']))
|
||||
{
|
||||
list($delete) = each($cont['delete']);
|
||||
$read = $result[$delete-1];
|
||||
$this->etemplate->read($read['et_name'],$read['et_template'],$read['et_lang'],$read['group'],$read['et_version']);
|
||||
unset($cont['delete']);
|
||||
unset($cont['result']);
|
||||
$this->delete(array('preserv' => $cont),'list_result');
|
||||
return;
|
||||
}
|
||||
if (isset($cont['read']))
|
||||
{
|
||||
list($read) = each($cont['read']);
|
||||
$read = $result[$read-1];
|
||||
$this->etemplate->read($read['et_name'],$read['et_template'],$read['et_lang'],$read['group'],$read['et_version']);
|
||||
$this->edit();
|
||||
return;
|
||||
}
|
||||
if (!$msg)
|
||||
{
|
||||
$msg = sprintf($this->messages['x_found'],count($result));
|
||||
}
|
||||
unset($cont['result']);
|
||||
if (!isset($cont['name']))
|
||||
{
|
||||
$cont += $this->etemplate->as_array();
|
||||
}
|
||||
$content = $cont + array('msg' => $msg);
|
||||
|
||||
reset($result);
|
||||
for ($row=1; list(,$param) = each($result); ++$row)
|
||||
{
|
||||
$content[$row] = $param;
|
||||
}
|
||||
$list_result = new etemplate('etemplate.editor.list_result');
|
||||
//$list_result->debug=1;
|
||||
$list_result->exec('etemplate.editor.list_result',$content,'','',array('result' => $result),'');
|
||||
}
|
||||
|
||||
function show($post_vars='')
|
||||
|
@ -35,6 +35,7 @@
|
||||
var $public_functions = array(
|
||||
'init' => True,
|
||||
'read' => True,
|
||||
'search' => True,
|
||||
'save' => True,
|
||||
'delete' => True,
|
||||
'dump2setup' => True,
|
||||
@ -206,6 +207,60 @@
|
||||
return True;
|
||||
}
|
||||
|
||||
/*!
|
||||
@function search
|
||||
@syntax search($name,$template='default',$lang='default',$group=0,$version='')
|
||||
@author ralfbecker
|
||||
@abstract Lists the eTemplates matching the given criteria
|
||||
@param as discripted with the class, with the following exeptions
|
||||
@param $template as '' loads the prefered template 'default' loads the default one '' in the db
|
||||
@param $lang as '' loads the pref. lang 'default' loads the default one '' in the db
|
||||
@param $group is NOT used / implemented yet
|
||||
@result array of arrays with the template-params
|
||||
*/
|
||||
function search($name,$template='default',$lang='default',$group=0,$version='')
|
||||
{
|
||||
if ($this->name)
|
||||
{
|
||||
$this->test_import($this->name); // import updates in setup-dir
|
||||
}
|
||||
$pref_lang = $GLOBALS['phpgw_info']['user']['preferences']['common']['lang'];
|
||||
$pref_templ = $GLOBALS['phpgw_info']['server']['template_set'];
|
||||
|
||||
if (is_array($name))
|
||||
{
|
||||
$template = $name['template'];
|
||||
$lang = $name['lang'];
|
||||
$group = $name['group'];
|
||||
$version = $name['version'];
|
||||
$name = $name['name'];
|
||||
}
|
||||
$sql = "SELECT et_name,et_template,et_lang,et_group,et_version FROM $this->db_name WHERE et_name LIKE '$name%'";
|
||||
|
||||
if ($template != '' && $template != 'default')
|
||||
{
|
||||
$sql .= " AND et_template LIKE '$template%'";
|
||||
}
|
||||
if ($lang != '' && $lang != 'default')
|
||||
{
|
||||
$sql .= " AND et_lang LIKE '$lang%'";
|
||||
}
|
||||
if ($this->version != '')
|
||||
{
|
||||
$sql .= " AND et_version LIKE '$version%'";
|
||||
}
|
||||
$sql .= " ORDER BY et_name DESC,et_lang DESC,et_template DESC,et_version DESC";
|
||||
|
||||
$this->db->query($sql,__LINE__,__FILE__);
|
||||
|
||||
$result = array();
|
||||
while ($this->db->next_record())
|
||||
{
|
||||
$result[] = $this->db->Record;
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
/*!
|
||||
@function db2obj
|
||||
@abstract copies all cols into the obj and unserializes the data-array
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
// eTemplates for Application 'etemplate', generated by etemplate.dump() 2002-06-15 22:01
|
||||
// eTemplates for Application 'etemplate', generated by etemplate.dump() 2002-09-04 01:01
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.editor','template' => '','lang' => '','group' => '0','version' => '0.9.13.004','data' => 'a:8:{i:0;a:1:{s:1:\"A\";s:2:\"5%\";}i:1;a:1:{s:1:\"A\";a:4:{s:4:\"type\";s:5:\"label\";s:4:\"size\";s:2:\"bi\";s:5:\"label\";s:27:\"Editable Templates - Editor\";s:4:\"name\";s:3:\"msg\";}}i:2;a:1:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"hrule\";s:4:\"span\";s:3:\"all\";}}i:3;a:1:{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\";}}i:4;a:1:{s:1:\"A\";a:3:{s:4:\"type\";s:8:\"template\";s:4:\"span\";s:3:\"all\";s:4:\"name\";s:24:\"etemplate.editor.buttons\";}}i:5;a:1:{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\";}}i:6;a:1:{s:1:\"A\";a:3:{s:4:\"type\";s:5:\"label\";s:4:\"span\";s:3:\"all\";s:5:\"label\";s:10:\"CSS-styles\";}}i:7;a:1:{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!)\";}}}','size' => '100%','style' => '',);
|
||||
|
||||
@ -77,7 +77,7 @@ $templ_data[] = array('name' => 'etemplate.db-tools.ask_save','template' => '','
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.datefield','template' => '','lang' => '','group' => '0','version' => '0.9.15.001','data' => 'a:2:{i:0;a:0:{}i:1;a:3:{s:1:\"A\";a:4:{s:4:\"type\";s:3:\"int\";s:4:\"size\";s:4:\"1,31\";s:4:\"name\";s:1:\"d\";s:4:\"help\";s:3:\"Day\";}s:1:\"B\";a:4:{s:4:\"type\";s:3:\"int\";s:4:\"size\";s:4:\"1,12\";s:4:\"name\";s:1:\"m\";s:4:\"help\";s:5:\"Month\";}s:1:\"C\";a:4:{s:4:\"type\";s:3:\"int\";s:4:\"size\";s:4:\"1900\";s:4:\"name\";s:1:\"Y\";s:4:\"help\";s:4:\"Year\";}}}','size' => '','style' => '',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.test','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:5:{i:0;a:0:{}i:1;a:1:{s:1:\"A\";a:5:{s:4:\"type\";s:4:\"text\";s:4:\"size\";s:2:\"10\";s:5:\"label\";s:10:\"Textfeld: \";s:4:\"name\";s:4:\"text\";s:4:\"help\";s:20:\"Hier kommt text rein\";}}i:2;a:1:{s:1:\"A\";a:5:{s:4:\"type\";s:4:\"date\";s:4:\"size\";s:5:\"Y-m-d\";s:5:\"label\";s:4:\"Date\";s:4:\"name\";s:4:\"date\";s:4:\"help\";s:18:\"Put a date in here\";}}i:3;a:1:{s:1:\"A\";a:4:{s:4:\"type\";s:14:\"select-percent\";s:5:\"label\";s:8:\"Prozente\";s:4:\"name\";s:7:\"percent\";s:4:\"help\";s:21:\"put a percentage here\";}}i:4;a:1:{s:1:\"A\";a:5:{s:4:\"type\";s:9:\"datefield\";s:4:\"size\";s:5:\"d.m.Y\";s:5:\"label\";s:9:\"Datefield\";s:4:\"name\";s:9:\"datefield\";s:4:\"help\";s:19:\"This is a DateField\";}}}','size' => '','style' => '',);
|
||||
$templ_data[] = array('name' => 'etemplate.datefield','template' => '','lang' => '','group' => '0','version' => '0.9.15.002','data' => 'a:2:{i:0;a:0:{}i:1;a:5:{s:1:\"A\";a:4:{s:4:\"type\";s:3:\"int\";s:4:\"size\";s:4:\"1,,6\";s:4:\"name\";s:2:\"f1\";s:4:\"help\";s:5:\"@help\";}s:1:\"B\";a:3:{s:4:\"type\";s:5:\"label\";s:4:\"size\";s:1:\"b\";s:4:\"name\";s:3:\"sep\";}s:1:\"C\";a:4:{s:4:\"type\";s:3:\"int\";s:4:\"size\";s:4:\"1,,6\";s:4:\"name\";s:2:\"f2\";s:4:\"help\";s:5:\"@help\";}s:1:\"D\";a:3:{s:4:\"type\";s:5:\"label\";s:4:\"size\";s:1:\"b\";s:4:\"name\";s:3:\"sep\";}s:1:\"E\";a:4:{s:4:\"type\";s:3:\"int\";s:4:\"size\";s:4:\"1,,6\";s:4:\"name\";s:2:\"f3\";s:4:\"help\";s:5:\"@help\";}}}','size' => ',,,,0','style' => '',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.editor.buttons','template' => '','lang' => '','group' => '0','version' => '0.9.13.004','data' => 'a:2:{i:0;a:0:{}i:1;a:10:{s:1:\"A\";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)\";}s:1:\"B\";a:4:{s:4:\"type\";s:6:\"button\";s:5:\"label\";s:14:\"Show (no save)\";s:4:\"name\";s:4:\"show\";s:4:\"help\";s:61:\"shows/displays eTemplate for testing, does NOT save it before\";}s:1:\"C\";a:4:{s:4:\"type\";s:6:\"button\";s:5:\"label\";s:11:\"Show Values\";s:4:\"name\";s:6:\"values\";s:4:\"help\";s:65:\"shows / allows you to enter values into the eTemplate for testing\";}s:1:\"D\";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\";}s:1:\"E\";a:4:{s:4:\"type\";s:6:\"button\";s:5:\"label\";s:4:\"Edit\";s:4:\"name\";s:4:\"edit\";s:4:\"help\";s:30:\"edit the eTemplate spez. above\";}s:1:\"F\";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\";}s:1:\"G\";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\";}s:1:\"H\";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)\";}s:1:\"I\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"J\";a:5:{s:4:\"type\";s:4:\"text\";s:4:\"size\";s:2:\"20\";s:5:\"label\";s:46:\"Width, Height, Border, class, Spacing, Padding\";s:4:\"name\";s:4:\"size\";s:4:\"help\";s:96:\"width, height, border-line-thickness, CSS-class name, Celspaceing, Cellpadding (for TABLE tag), \";}}}','size' => '','style' => '',);
|
||||
|
||||
@ -93,7 +93,9 @@ $templ_data[] = array('name' => 'etemplate.tab_widget.test.work','template' => '
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.tab_widget.test.note','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:2:{i:0;a:2:{s:1:\"A\";s:3:\"100\";s:2:\"c1\";s:7:\"nmr,top\";}i:1;a:2:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:4:\"Note\";}s:1:\"B\";a:4:{s:4:\"type\";s:8:\"textarea\";s:4:\"size\";s:5:\"10,80\";s:4:\"name\";s:4:\"note\";s:4:\"help\";s:34:\"You can enter some free text here.\";}}}','size' => '100%','style' => '',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.datefield','template' => '','lang' => '','group' => '0','version' => '0.9.15.002','data' => 'a:2:{i:0;a:0:{}i:1;a:5:{s:1:\"A\";a:4:{s:4:\"type\";s:3:\"int\";s:4:\"size\";s:4:\"1,,6\";s:4:\"name\";s:2:\"f1\";s:4:\"help\";s:5:\"@help\";}s:1:\"B\";a:3:{s:4:\"type\";s:5:\"label\";s:4:\"size\";s:1:\"b\";s:4:\"name\";s:3:\"sep\";}s:1:\"C\";a:4:{s:4:\"type\";s:3:\"int\";s:4:\"size\";s:4:\"1,,6\";s:4:\"name\";s:2:\"f2\";s:4:\"help\";s:5:\"@help\";}s:1:\"D\";a:3:{s:4:\"type\";s:5:\"label\";s:4:\"size\";s:1:\"b\";s:4:\"name\";s:3:\"sep\";}s:1:\"E\";a:4:{s:4:\"type\";s:3:\"int\";s:4:\"size\";s:4:\"1,,6\";s:4:\"name\";s:2:\"f3\";s:4:\"help\";s:5:\"@help\";}}}','size' => ',,,,0','style' => '',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.tab_widget.tab_active','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:2:{i:0;a:1:{s:2:\"c1\";s:3:\"nmh\";}i:1;a:1:{s:1:\"A\";a:4:{s:4:\"type\";s:5:\"label\";s:4:\"span\";s:21:\",etemplate_tab_active\";s:5:\"label\";s:6:\"@label\";s:4:\"help\";s:5:\"@help\";}}}','size' => ',,,,0,0','style' => '.etemplate_tab_active { border-style:solid; border-width:2px 2px 0px; border-color:black; padding:6px; }',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.editor.list_result.list','template' => '','lang' => '','group' => '0','version' => '0.9.15.001','data' => 'a:3:{i:0;a:2:{s:2:\"c1\";s:3:\"nmh\";s:2:\"c2\";s:3:\"nmr\";}i:1;a:6:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:4:\"Name\";}s:1:\"B\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:8:\"Template\";}s:1:\"C\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:4:\"Lang\";}s:1:\"D\";a:3:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:7:\"Version\";s:5:\"align\";s:6:\"center\";}s:1:\"E\";a:6:{s:4:\"type\";s:6:\"button\";s:4:\"span\";s:3:\"all\";s:5:\"label\";s:6:\"Search\";s:5:\"align\";s:6:\"center\";s:4:\"name\";s:6:\"search\";s:4:\"help\";s:38:\"start new search for the above pattern\";}s:1:\"F\";a:1:{s:4:\"type\";s:5:\"label\";}}i:2;a:6:{s:1:\"A\";a:3:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:15:\"${row}[et_name]\";}s:1:\"B\";a:3:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:19:\"${row}[et_template]\";}s:1:\"C\";a:3:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:15:\"${row}[et_lang]\";}s:1:\"D\";a:3:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:18:\"${row}[et_version]\";}s:1:\"E\";a:4:{s:4:\"type\";s:6:\"button\";s:5:\"label\";s:4:\"Edit\";s:4:\"name\";s:10:\"read[$row]\";s:4:\"help\";s:34:\"load this template into the editor\";}s:1:\"F\";a:4:{s:4:\"type\";s:6:\"button\";s:5:\"label\";s:6:\"Delete\";s:4:\"name\";s:12:\"delete[$row]\";s:4:\"help\";s:21:\"delete this eTemplate\";}}}','size' => '','style' => '',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.editor.list_result','template' => '','lang' => '','group' => '0','version' => '0.9.15.001','data' => 'a:5:{i:0;a:0:{}i:1;a:1:{s:1:\"A\";a:6:{s:4:\"type\";s:5:\"label\";s:4:\"size\";s:2:\"bi\";s:4:\"span\";s:3:\"all\";s:5:\"label\";s:27:\"Editable Templates - Search\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:3:\"msg\";}}i:2;a:1:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"hrule\";s:4:\"span\";s:3:\"all\";}}i:3;a:1:{s:1:\"A\";a:2:{s:4:\"type\";s:8:\"template\";s:4:\"name\";s:21:\"etemplate.editor.keys\";}}i:4;a:1:{s:1:\"A\";a:3:{s:4:\"type\";s:8:\"template\";s:4:\"span\";s:3:\"all\";s:4:\"name\";s:33:\"etemplate.editor.list_result.list\";}}}','size' => '100%','style' => '',);
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
etemplate en
|
||||
%d etemplates found etemplate en %d eTemplates found
|
||||
%s disabled etemplate en %s Disabled
|
||||
%s needed etemplate en %s needed
|
||||
%s no transl. etemplate en %s No Transl.
|
||||
@ -41,6 +42,7 @@ default etemplate en Default
|
||||
delete etemplate en Delete
|
||||
delete column etemplate en Delete Column
|
||||
delete template etemplate en Delete Template
|
||||
delete this etemplate etemplate en delete this eTemplate
|
||||
delete whole column (can not be undone!!!) etemplate en delete whole column (can NOT be undone!!!)
|
||||
deletes the above spez. etemplate from the database, can not be undone etemplate en deletes the above spez. eTemplate from the database, can NOT be undone
|
||||
deletes the etemplate etemplate en deletes the eTemplate
|
||||
@ -58,6 +60,7 @@ edit the etemplate spez. above etemplate en edit the eTemplate spez. above
|
||||
editable templates - db-tools etemplate en Editable Templates - DB-Tools
|
||||
editable templates - delete template etemplate en Editable Templates - Delete Template
|
||||
editable templates - editor etemplate en Editable Templates - Editor
|
||||
editable templates - search etemplate en Editable Templates - Search
|
||||
editable templates - show template etemplate en Editable Templates - Show Template
|
||||
embeded css styles, eg. '.red { background: red; }' (note the '.' before the class-name) or '@import url(...)' (class names are global for the whole page!) etemplate en embeded CSS styles, eg. '.red { background: red; }' (note the '.' before the class-name) or '@import url(...)' (class names are global for the whole page!)
|
||||
enable javascript onchange submit etemplate en enable JavaScript onChange submit
|
||||
@ -68,6 +71,7 @@ error: while saveing !!! etemplate en Error: while saveing !!!
|
||||
etemplate editor etemplate en eTemplate Editor
|
||||
exchange this two columns etemplate en exchange this two columns
|
||||
exchange this two rows etemplate en exchange this two rows
|
||||
extensions loaded: etemplate en Extensions loaded:
|
||||
familyname etemplate en Familyname
|
||||
fax etemplate en Fax
|
||||
faxnumber etemplate en Faxnumber
|
||||
@ -104,6 +108,7 @@ language-short (eg. 'en' for english) for language-dependent template ('' reads
|
||||
language-short (eg. 'en' for english) for language-dependent template ('' reads your pref. languages or the default, us 'default' to read the default template '') etemplate en language-short (eg. 'en' for english) for language-dependent template ('' reads your pref. languages or the default, us 'default' to read the default template '')
|
||||
left etemplate en Left
|
||||
length for char+varchar, precisions int: 2, 4, 8 and float: 4, 8 etemplate en length for char+varchar, precisions int: 2, 4, 8 and float: 4, 8
|
||||
load this template into the editor etemplate en load this template into the editor
|
||||
month etemplate en Month
|
||||
name etemplate en Name
|
||||
name of other table where column is a key from etemplate en name of other table where column is a key from
|
||||
@ -141,6 +146,7 @@ save the template under the above keys (name, ...), change them for a saveas ete
|
||||
saves changes to tables_current.inc.php etemplate en saves changes to tables_current.inc.php
|
||||
scale etemplate en Scale
|
||||
scale for float etemplate en scale for float
|
||||
search etemplate en Search
|
||||
select access etemplate en Select Access
|
||||
select account etemplate en Select Account
|
||||
select an application etemplate en Select an application
|
||||
@ -162,6 +168,7 @@ shows/displays the template for testing, does not save it before etemplate en sh
|
||||
size etemplate en Size
|
||||
span etemplate en Span
|
||||
span, class etemplate en Span, Class
|
||||
start new search for the above pattern etemplate en start new search for the above pattern
|
||||
street etemplate en Street
|
||||
submitbutton etemplate en Submitbutton
|
||||
surname etemplate en Surname
|
||||
@ -173,7 +180,7 @@ template deleted etemplate en Template deleted
|
||||
template saved etemplate en Template saved
|
||||
text etemplate en Text
|
||||
textarea etemplate en Textarea
|
||||
textfeld: etemplate en Textfeld:
|
||||
textfeld: etemplate en Textfeld:
|
||||
this is a datefield etemplate en This is a DateField
|
||||
to start the db-tools etemplate en to start the DB-Tools
|
||||
to start the etemplate editor etemplate en to start the eTemplate editor
|
||||
@ -193,7 +200,8 @@ width, height, border etemplate en Width, Height, Border
|
||||
width, height, border, class, cellspacing, cellpadding etemplate en Width, Height, Border, class, Cellspacing, Cellpadding
|
||||
width, height, border, class, spacing, padding etemplate en Width, Height, Border, class, Spacing, Padding
|
||||
width, height, border-line-thickness of the table / template and css-class name (for table tag) etemplate en width, height, border-line-thickness of the table / template and CSS-class name (for TABLE tag)
|
||||
width, height, border-line-thickness, css-class name, celspaceing, cellpadding (for table tag), etemplate en width, height, border-line-thickness, CSS-class name, Celspaceing, Cellpadding (for TABLE tag),
|
||||
width, height, border-line-thickness, css-class name, celspaceing, cellpadding (for table tag), etemplate en width, height, border-line-thickness, CSS-class name, Celspaceing, Cellpadding (for TABLE tag),
|
||||
width, height, border-line-thickness, css-class name, celspaceing, cellpadding (for table tag), etemplate en width, height, border-line-thickness, CSS-class name, Celspaceing, Cellpadding (for TABLE tag),
|
||||
work etemplate en Work
|
||||
work address etemplate en work address
|
||||
write <app>/setup/tables_current.inc.php etemplate en Write <app>/setup/tables_current.inc.php
|
||||
|
Loading…
Reference in New Issue
Block a user