mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-12 08:58:30 +01:00
1) many bug-fixes
2) old editor removed
This commit is contained in:
parent
31aec3834b
commit
27c12ddf2c
@ -78,14 +78,13 @@
|
||||
var $onclick_types = array(
|
||||
'' => 'nothing',
|
||||
'confirm' => 'confirm',
|
||||
'popup' => 'popup',
|
||||
'custom' => 'custom',
|
||||
);
|
||||
var $extensions = '';
|
||||
|
||||
var $public_functions = array
|
||||
(
|
||||
'old_editor' => True,
|
||||
'process_edit' => True,
|
||||
'delete' => True,
|
||||
'edit' => True,
|
||||
'widget' => True,
|
||||
@ -99,435 +98,6 @@
|
||||
$this->extensions = $GLOBALS['phpgw']->session->appsession('extensions','etemplate');
|
||||
}
|
||||
|
||||
function old_editor($msg = '',$xml='',$xml_label='')
|
||||
{
|
||||
if (isset($_GET['name']) && !$this->etemplate->read($_GET))
|
||||
{
|
||||
$msg .= lang('Error: Template not found !!!');
|
||||
}
|
||||
if (!is_array($this->extensions))
|
||||
{
|
||||
if (($extensions = $this->scan_for_extensions()))
|
||||
{
|
||||
$msg .= lang('Extensions loaded:') . ' ' . $extensions;
|
||||
$msg_ext_loaded = True;
|
||||
}
|
||||
}
|
||||
list($app) = explode('.',$this->etemplate->name);
|
||||
if ($app && $app != 'etemplate')
|
||||
{
|
||||
$GLOBALS['phpgw']->translation->add_app($app); // load translations for app
|
||||
|
||||
if (($extensions = $this->scan_for_extensions($app)))
|
||||
{
|
||||
$msg .= (!$msg_ext_loaded?lang('Extensions loaded:').' ':', ') . $extensions;
|
||||
}
|
||||
}
|
||||
$content = $this->etemplate->as_array() + array(
|
||||
'cols' => $this->etemplate->cols,
|
||||
'msg' => $msg,
|
||||
'xml_label' => $xml_label,
|
||||
'xml' => $xml ? '<pre>'.$this->etemplate->html->htmlspecialchars($xml)."</pre>\n" : '',
|
||||
);
|
||||
foreach(explode(',',$this->etemplate->size) as $n => $opt)
|
||||
{
|
||||
$content['options'][$this->options[$n]] = $opt;
|
||||
}
|
||||
$cols_spanned = array();
|
||||
reset($this->etemplate->data);
|
||||
if (isset($this->etemplate->data[0]))
|
||||
{
|
||||
each($this->etemplate->data);
|
||||
}
|
||||
$no_button = array();
|
||||
while (list($row,$cols) = each($this->etemplate->data))
|
||||
{
|
||||
if ($this->etemplate->rows <= 1)
|
||||
{
|
||||
$no_button["Row$row"]['delete_row[1]'] = True;
|
||||
}
|
||||
if ($row > 1)
|
||||
{
|
||||
$no_button["Row$row"]['insert_row[0]'] = True;
|
||||
}
|
||||
$content["Row$row"] = array(
|
||||
'height' => array("h$row" => $this->etemplate->data[0]["h$row"]),
|
||||
'class' => array("c$row" => $this->etemplate->data[0]["c$row"])
|
||||
);
|
||||
for ($spanned = $c = 0; $c < $this->etemplate->cols; ++$c)
|
||||
{
|
||||
if (!(list($col,$cell) = each($cols)))
|
||||
{
|
||||
$cell = $this->etemplate->empty_cell(); // if cell gots lost, create it empty
|
||||
$col = $this->etemplate->num2chrs($c);
|
||||
}
|
||||
if (--$spanned > 0) // preserv spanned cells
|
||||
{
|
||||
while(list($k,$v) = each($cell)) // so spanned (not shown) cells got
|
||||
{ // reported back like regular one
|
||||
$cols_spanned[$col.$row][$k] = $v;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$spanned = $cell['span'] == 'all' ? $this->etemplate->cols-$c : 0+$cell['span'];
|
||||
|
||||
switch($cell['type']) // load a cell-type-specific tpl
|
||||
{
|
||||
case 'vbox':
|
||||
case 'hbox':
|
||||
case 'deck':
|
||||
case 'box':
|
||||
$cell['cell_tpl'] = '.vbox';
|
||||
break;
|
||||
case 'groupbox':
|
||||
$cell['cell_tpl'] = '.groupbox';
|
||||
break;
|
||||
}
|
||||
$content[$col.$row] = $cell;
|
||||
}
|
||||
if ($row == 1)
|
||||
{
|
||||
$content["Col$col"] = array('width' => array($col => $this->etemplate->data[0][$col]));
|
||||
if ($this->etemplate->cols <= 1)
|
||||
{
|
||||
$no_button["Col$col"]['delete_col[1]'] = True;
|
||||
}
|
||||
if ($c > 0)
|
||||
{
|
||||
$no_button["Col$col"]['insert_col[0]'] = True;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
$no_button['ColA']['exchange_col[1]'] = $no_button['Row1']['exchange_row[1]'] = True;
|
||||
|
||||
if ($this->debug)
|
||||
{
|
||||
echo 'editor.edit: content ='; _debug_array($content);
|
||||
}
|
||||
$editor =& new etemplate('etemplate.editor');
|
||||
$GLOBALS['phpgw_info']['flags']['app_header'] = lang('Editable Templates - Editor');
|
||||
$editor->exec('etemplate.editor.process_edit',$content,
|
||||
array(
|
||||
'type' => array_merge($this->etemplate->types,$this->extensions),
|
||||
'align' => $this->aligns,
|
||||
'overflow' => $this->overflows
|
||||
),
|
||||
$no_button,$cols_spanned);
|
||||
}
|
||||
|
||||
/**
|
||||
* swap the content of two variables
|
||||
*
|
||||
* @param mixed &$a
|
||||
* @param mixed &$b
|
||||
*/
|
||||
function swap(&$a,&$b)
|
||||
{
|
||||
$t = $a; $a = $b; $b = $t;
|
||||
}
|
||||
|
||||
function process_edit($content=null)
|
||||
{
|
||||
if ($this->debug)
|
||||
{
|
||||
echo "editor.process_edit: content ="; _debug_array($content);
|
||||
}
|
||||
$this->etemplate->init($content);
|
||||
|
||||
$opts = array();
|
||||
reset($this->options);
|
||||
while (list(,$opt) = each($this->options))
|
||||
{
|
||||
$opts[$opt] = $content['options'][$opt];
|
||||
}
|
||||
$this->etemplate->size = ereg_replace(',*$','',implode(',',$opts));
|
||||
$this->etemplate->style = $content['style'];
|
||||
|
||||
$names = array('width','height','class');
|
||||
$opts = array();
|
||||
while (list(,$opt) = each($names))
|
||||
{
|
||||
if (is_array($content[$opt]))
|
||||
{
|
||||
$opts += $content[$opt];
|
||||
}
|
||||
}
|
||||
$this->etemplate->data = array($opts);
|
||||
$row = 1; $col = 0;
|
||||
while (isset($content[$name = $this->etemplate->num2chrs($col) . $row]))
|
||||
{
|
||||
$cell = &$content[$name];
|
||||
switch ($cell['type'])
|
||||
{
|
||||
case 'vbox':
|
||||
case 'hbox':
|
||||
case 'deck':
|
||||
case 'groupbox':
|
||||
case 'box':
|
||||
// default size for all boxes is 2, minimum size is 1 for a (group)box and 2 for the others
|
||||
if ($cell['size'] < 2 && ($cell['type'] != 'groupbox' || $cell['type'] != 'box' || !$cell['size']))
|
||||
{
|
||||
$cell['size'] = 2;
|
||||
}
|
||||
for ($n = 1; $n <= $cell['size']; ++$n) // create new rows
|
||||
{
|
||||
if (!isset($cell[$n]) || !is_array($cell[$n]))
|
||||
{
|
||||
$cell[$n] = $this->etemplate->empty_cell();
|
||||
}
|
||||
}
|
||||
while (isset($cell[$n])) // unset not longer used rows
|
||||
{
|
||||
unset($cell[$n++]);
|
||||
}
|
||||
break;
|
||||
}
|
||||
$row_data[$this->etemplate->num2chrs($col++)] = $cell;
|
||||
|
||||
if (!isset($content[$name = $this->etemplate->num2chrs($col) . $row])) // try new row
|
||||
{
|
||||
if ($col > $cols)
|
||||
{
|
||||
$cols = $col;
|
||||
}
|
||||
$this->etemplate->data[$row] = $row_data;
|
||||
++$row; $col = 0; $row_data = array();
|
||||
}
|
||||
}
|
||||
$this->etemplate->rows = $row - 1;
|
||||
$this->etemplate->cols = $cols;
|
||||
|
||||
if (isset($content['insert_row']))
|
||||
{
|
||||
list($row) = each($content['insert_row']);
|
||||
$opts = $this->etemplate->data[0]; // move height + class options of rows
|
||||
for ($r = $this->etemplate->rows; $r > $row; --$r)
|
||||
{
|
||||
$opts['c'.(1+$r)] = $opts["c$r"]; unset($opts["c$r"]);
|
||||
$opts['h'.(1+$r)] = $opts["h$r"]; unset($opts["h$r"]);
|
||||
}
|
||||
$this->etemplate->data[0] = $opts;
|
||||
$old = $this->etemplate->data; // move rows itself
|
||||
$row_data = array();
|
||||
for ($col = 0; $col < $this->etemplate->cols; ++$col)
|
||||
{
|
||||
$row_data[$this->etemplate->num2chrs($col)] = $this->etemplate->empty_cell();
|
||||
}
|
||||
$this->etemplate->data[++$row] = $row_data;
|
||||
for (; $row <= $this->etemplate->rows; ++$row)
|
||||
{
|
||||
$this->etemplate->data[1+$row] = $old[$row];
|
||||
}
|
||||
++$this->etemplate->rows;
|
||||
}
|
||||
elseif (isset($content['insert_col']))
|
||||
{
|
||||
list($insert_col) = each($content['insert_col']);
|
||||
for ($row = 1; $row <= $this->etemplate->rows; ++$row)
|
||||
{
|
||||
$old = $row_data = $this->etemplate->data[$row];
|
||||
$row_data[$this->etemplate->num2chrs($insert_col)] = $this->etemplate->empty_cell();
|
||||
for ($col = $insert_col; $col < $this->etemplate->cols; ++$col)
|
||||
{
|
||||
$row_data[$this->etemplate->num2chrs(1+$col)] = $old[$this->etemplate->num2chrs($col)];
|
||||
}
|
||||
$this->etemplate->data[$row] = $row_data;
|
||||
}
|
||||
$width = $this->etemplate->data[0];
|
||||
for ($col = $this->etemplate->cols; $col > $insert_col; --$col)
|
||||
{
|
||||
$width[$this->etemplate->num2chrs($col)] = $width[$this->etemplate->num2chrs($col-1)];
|
||||
}
|
||||
unset($width[$this->etemplate->num2chrs($insert_col)]);
|
||||
$this->etemplate->data[0] = $width;
|
||||
|
||||
++$this->etemplate->cols;
|
||||
}
|
||||
elseif (isset($content['exchange_col']))
|
||||
{
|
||||
list($exchange_col) = each($content['exchange_col']);
|
||||
$right = $this->etemplate->num2chrs($exchange_col-1);
|
||||
$left = $this->etemplate->num2chrs($exchange_col-2);
|
||||
|
||||
for ($row = 1; $row <= $this->etemplate->rows; ++$row)
|
||||
{
|
||||
$this->swap($this->etemplate->data[$row][$left],$this->etemplate->data[$row][$right]);
|
||||
}
|
||||
$this->swap($this->etemplate->data[0][$left],$this->etemplate->data[0][$right]);
|
||||
}
|
||||
elseif (isset($content['exchange_row']))
|
||||
{
|
||||
list($er2) = each($content['exchange_row']); $er1 = $er2-1;
|
||||
$this->swap($this->etemplate->data[$er1],$this->etemplate->data[$er2]);
|
||||
$this->swap($this->etemplate->data[0]["c$er1"],$this->etemplate->data[0]["c$er2"]);
|
||||
$this->swap($this->etemplate->data[0]["h$er1"],$this->etemplate->data[0]["h$er2"]);
|
||||
}
|
||||
elseif (isset($content['delete_row']))
|
||||
{
|
||||
list($delete_row) = each($content['delete_row']);
|
||||
$opts = $this->etemplate->data[0];
|
||||
for ($row = $delete_row; $row < $this->etemplate->rows; ++$row)
|
||||
{
|
||||
$this->etemplate->data[$row] = $this->etemplate->data[1+$row];
|
||||
$opts["c$row"] = $opts['c'.(1+$row)];
|
||||
$opts["h$row"] = $opts['h'.(1+$row)];
|
||||
}
|
||||
unset($this->etemplate->data[$this->etemplate->rows--]);
|
||||
$this->etemplate->data[0] = $opts;
|
||||
}
|
||||
elseif (isset($content['delete_col']))
|
||||
{
|
||||
list($delete_col) = each($content['delete_col']);
|
||||
for ($row = 1; $row <= $this->etemplate->rows; ++$row)
|
||||
{
|
||||
$row_data = $this->etemplate->data[$row];
|
||||
for ($col = $delete_col; $col < $this->etemplate->cols; ++$col)
|
||||
{
|
||||
$row_data[$this->etemplate->num2chrs($col-1)] = $row_data[$this->etemplate->num2chrs($col)];
|
||||
}
|
||||
unset($row_data[$this->etemplate->num2chrs($this->etemplate->cols-1)]);
|
||||
$this->etemplate->data[$row] = $row_data;
|
||||
}
|
||||
$width = $this->etemplate->data[0];
|
||||
for ($col = $delete_col; $col < $this->etemplate->cols; ++$col)
|
||||
{
|
||||
$width[$this->etemplate->num2chrs($col-1)] = $width[$this->etemplate->num2chrs($col)];
|
||||
}
|
||||
$this->etemplate->data[0] = $width;
|
||||
--$this->etemplate->cols;
|
||||
}
|
||||
if ($this->debug)
|
||||
{
|
||||
echo 'editor.process_edit: rows='.$this->etemplate->rows.', cols='.
|
||||
$this->etemplate->cols.', data ='; _debug_array($this->etemplate->data);
|
||||
}
|
||||
// Execute the action resulting from the submit-button
|
||||
if ($content['read'])
|
||||
{
|
||||
if ($content['version'] != '')
|
||||
{
|
||||
$save_version = $content['version'];
|
||||
unset($content['version']);
|
||||
$this->etemplate->read($content);
|
||||
$newest_version = $this->etemplate->version;
|
||||
$content['version'] = $save_version;
|
||||
}
|
||||
if (!$this->etemplate->read($content))
|
||||
{
|
||||
$content['version'] = ''; // trying it without version
|
||||
if ($this->etemplate->read($content))
|
||||
{
|
||||
$msg = lang('only an other Version found !!!');
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->etemplate->search($content);
|
||||
if (count($result) > 1)
|
||||
{
|
||||
return $this->list_result(array('result' => $result),'','old_editor');
|
||||
}
|
||||
elseif (!count($result) || !$this->etemplate->read($result[0]))
|
||||
{
|
||||
$msg = lang('Error: Template not found !!!');
|
||||
}
|
||||
elseif ($content['name'] == $result[0]['name'])
|
||||
{
|
||||
$msg = lang('only an other Version found !!!');
|
||||
}
|
||||
}
|
||||
}
|
||||
elseif ($newest_version != '' && $this->etemplate->version != $newest_version)
|
||||
{
|
||||
$msg = lang("newer version '%1' exists !!!",$newest_version);
|
||||
}
|
||||
}
|
||||
elseif ($content['delete'])
|
||||
{
|
||||
$this->delete('','old_editor');
|
||||
return;
|
||||
}
|
||||
elseif ($content['dump'])
|
||||
{
|
||||
list($name) = explode('.',$content['name']);
|
||||
if (empty($name) || !@is_dir(PHPGW_SERVER_ROOT.'/'.$name))
|
||||
{
|
||||
$msg = lang('Application name needed to write a langfile or dump the eTemplates !!!');
|
||||
}
|
||||
else
|
||||
{
|
||||
$msg = $this->etemplate->dump4setup($content['name']);
|
||||
}
|
||||
}
|
||||
elseif ($content['save'])
|
||||
{
|
||||
if (!$this->etemplate->modified_set || !$this->etemplate->modified)
|
||||
{
|
||||
$this->etemplate->modified = time();
|
||||
}
|
||||
$ok = $this->etemplate->save(trim($content['name']),trim($content['template']),trim($content['lang']),intval($content['group']),trim($content['version']));
|
||||
$msg = $ok ? lang('Template saved') : lang('Error: while saveing !!!');
|
||||
}
|
||||
elseif ($content['show'])
|
||||
{
|
||||
$this->edit();
|
||||
return;
|
||||
}
|
||||
elseif ($content['langfile'])
|
||||
{
|
||||
list($name) = explode('.',$content['name']);
|
||||
if (empty($name) || !@is_dir(PHPGW_SERVER_ROOT.'/'.$name))
|
||||
{
|
||||
$msg = lang('Application name needed to write a langfile or dump the eTemplates !!!');
|
||||
}
|
||||
else
|
||||
{
|
||||
$additional = array();
|
||||
if ($name == 'etemplate')
|
||||
{
|
||||
$additional = $this->etemplate->types + $this->extensions + $this->aligns + $this->valigns +
|
||||
$this->edit_menu + $this->box_menu + $this->row_menu + $this->column_menu + $this->onclick_types;
|
||||
}
|
||||
else // try to call the writeLangFile function of the app's ui-layer
|
||||
{
|
||||
foreach(array('ui'.$name,'ui',$name,'bo'.$name) as $class)
|
||||
{
|
||||
if (file_exists(EGW_INCLUDE_ROOT.'/'.$name.'/inc/class.'.$class.'.inc.php') &&
|
||||
($ui =& CreateObject($name.'.'.$class)) && is_object($ui))
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (is_object($ui) && @$ui->public_functions['writeLangFile'])
|
||||
{
|
||||
$msg = "$class::writeLangFile: ".$ui->writeLangFile();
|
||||
}
|
||||
unset($ui);
|
||||
}
|
||||
if (empty($msg))
|
||||
{
|
||||
$msg = $this->etemplate->writeLangFile($name,'en',$additional);
|
||||
}
|
||||
}
|
||||
}
|
||||
elseif ($content['export_xml'])
|
||||
{
|
||||
$msg = $this->export_xml($xml,$xml_label);
|
||||
}
|
||||
elseif ($content['import_xml'])
|
||||
{
|
||||
$msg = $this->import_xml($content['file']['tmp_name'],$xml);
|
||||
$xml_label = $content['file']['name'];
|
||||
}
|
||||
elseif ($content['db_tools'])
|
||||
{
|
||||
ExecMethod('etemplate.db_tools.edit');
|
||||
return;
|
||||
}
|
||||
$this->old_editor($msg,$xml,$xml_label);
|
||||
}
|
||||
|
||||
function export_xml(&$xml,&$xml_label)
|
||||
{
|
||||
$name = $this->etemplate->name;
|
||||
@ -590,7 +160,7 @@
|
||||
{
|
||||
if ($file == 'none' || $file == '' || !($f = fopen($file,'r')))
|
||||
{
|
||||
return lang('no filename given or selected via Browse...');
|
||||
return lang('no filename given or selected via Browse...')."file='$file'";
|
||||
}
|
||||
$xml = fread ($f, filesize ($file));
|
||||
fclose($f);
|
||||
@ -617,71 +187,7 @@
|
||||
return $imported;
|
||||
}
|
||||
|
||||
function delete($content='',$back = 'edit')
|
||||
{
|
||||
if ($this->debug)
|
||||
{
|
||||
echo "delete(back='$back') content = "; _debug_array($content);
|
||||
}
|
||||
if (!is_array($content))
|
||||
{
|
||||
$content = array();
|
||||
}
|
||||
if (isset($content['name']))
|
||||
{
|
||||
$read_ok = $this->etemplate->read($content);
|
||||
}
|
||||
if (isset($content['yes'])) // Delete
|
||||
{
|
||||
if ($read_ok)
|
||||
{
|
||||
$read_ok = $this->etemplate->delete();
|
||||
}
|
||||
$msg = $read_ok ? lang('Template deleted') : lang('Error: Template not found !!!');
|
||||
|
||||
if (($back = $content['back']) == 'list_result')
|
||||
{
|
||||
$this->list_result($content['preserv'],$msg);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->$back(null,$msg);
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (isset($content['no'])) // Back to ...
|
||||
{
|
||||
switch ($back = $content['back'])
|
||||
{
|
||||
case 'list_result':
|
||||
$this->$back($content['preserv']);
|
||||
return;
|
||||
case 'old_editor':
|
||||
break;
|
||||
default:
|
||||
$back = 'edit';
|
||||
}
|
||||
$this->$back();
|
||||
return;
|
||||
}
|
||||
if (isset($_GET['name']) && !$this->etemplate->read($_GET))
|
||||
{
|
||||
$this->edit(lang('Error: Template not found !!!'));
|
||||
return;
|
||||
}
|
||||
$preserv = array(
|
||||
'preserv' => $content['preserv'],
|
||||
'back' => $back
|
||||
);
|
||||
$content = $this->etemplate->as_array();
|
||||
|
||||
$delete = new etemplate('etemplate.editor.delete');
|
||||
$GLOBALS['phpgw_info']['flags']['app_header'] = lang('Editable Templates - Delete Template');
|
||||
$delete->exec('etemplate.editor.delete',$content,array(),array(),
|
||||
$content+$preserv,'');
|
||||
}
|
||||
|
||||
function list_result($cont='',$msg='',$editor='edit')
|
||||
function list_result($cont='',$msg='')
|
||||
{
|
||||
if ($this->debug)
|
||||
{
|
||||
@ -700,11 +206,17 @@
|
||||
if (isset($cont['delete']))
|
||||
{
|
||||
list($delete) = each($cont['delete']);
|
||||
$this->etemplate->read($result[$delete-1]);
|
||||
unset($cont['delete']);
|
||||
unset($cont['result']);
|
||||
$this->delete(array('preserv' => $cont),'list_result');
|
||||
return;
|
||||
$this->etemplate->init($result[$delete-1]);
|
||||
if ($this->etemplate->delete())
|
||||
{
|
||||
$msg = lang('Template deleted');
|
||||
unset($result[$delete-1]);
|
||||
$result = array_values($result);
|
||||
}
|
||||
else
|
||||
{
|
||||
$msg = lang('Error: Template not found !!!');
|
||||
}
|
||||
}
|
||||
if (isset($cont['delete_selected']))
|
||||
{
|
||||
@ -712,34 +224,26 @@
|
||||
{
|
||||
if ($sel)
|
||||
{
|
||||
$this->etemplate->read($result[$row-1]);
|
||||
if (!$result[$row-1]['version'] && $this->etemplate->version)
|
||||
$this->etemplate->init($result[$row-1]);
|
||||
if ($this->etemplate->delete())
|
||||
{
|
||||
$this->etemplate->version = ''; // otherwise the newest tmpl get's deleted and not the one without version
|
||||
}
|
||||
$this->etemplate->delete();
|
||||
unset($result[$row-1]);
|
||||
++$n;
|
||||
}
|
||||
}
|
||||
}
|
||||
if ($n)
|
||||
{
|
||||
$msg = lang('%1 eTemplates deleted',$n);
|
||||
}
|
||||
unset($cont['selected']);
|
||||
unset($cont['delete_selected']);
|
||||
$result = $this->etemplate->search($cont);
|
||||
$result = array_values($result);
|
||||
}
|
||||
if (isset($cont['read']))
|
||||
{
|
||||
list($read) = each($cont['read']);
|
||||
$this->etemplate->read($result[$read-1]);
|
||||
$this->$editor();
|
||||
return;
|
||||
}
|
||||
if (isset($cont['view']))
|
||||
{
|
||||
list($read) = each($cont['view']);
|
||||
$this->etemplate->read($result[$read-1]);
|
||||
$this->edit();
|
||||
return;
|
||||
}
|
||||
@ -824,8 +328,6 @@
|
||||
}
|
||||
if (!$this->etemplate->read($content))
|
||||
{
|
||||
$msg .= lang('Error: Template not found !!!');
|
||||
|
||||
if (isset($content['name']))
|
||||
{
|
||||
$version_backup = $content['version'];
|
||||
@ -852,6 +354,10 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$msg = lang('Error: Template not found !!!');
|
||||
}
|
||||
}
|
||||
elseif ($newest_version != '' && $this->etemplate->version != $newest_version)
|
||||
{
|
||||
@ -1036,9 +542,10 @@
|
||||
list($num) = explode(',',$old['size']);
|
||||
for ($n = 1; is_array($old[$n]) && $n <= $num; ++$n)
|
||||
{
|
||||
soetemplate::add_child($widget,$old[$n]);
|
||||
$new_line = null;
|
||||
if ($old_type != 'hbox') soetemplate::add_child($widget,$new_line);
|
||||
soetemplate::add_child($widget,$old[$n]);
|
||||
unset($widget[$n]);
|
||||
}
|
||||
$widget['size'] = '';
|
||||
}
|
||||
@ -1215,7 +722,7 @@
|
||||
// delete widget from parent
|
||||
if ($parent['type']) // box
|
||||
{
|
||||
list($num,$options) = explode('/',$parent['size'],2);
|
||||
list($num,$options) = explode(',',$parent['size'],2);
|
||||
if ($num <= 1) // cant delete last child --> only empty it
|
||||
{
|
||||
$parent[$num=1] = soetemplate::empty_cell();
|
||||
@ -1246,6 +753,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
$content['cell'] = soetemplate::empty_cell();
|
||||
return lang('cant delete a single widget from a grid !!!');
|
||||
}
|
||||
break;
|
||||
@ -1495,6 +1003,24 @@
|
||||
$cell_content['onclick'] = $matches[1];
|
||||
$cell_content['onclick_type'] = 'confirm';
|
||||
}
|
||||
elseif (preg_match('/^window.open\(egw::link\(\'\/index.php\',\'([^\']+)\'\),\'([^\']+)\',\'dependent=yes,width=([0-9]+),height=([0-9]+),scrollbars=yes,status=yes\'\); return false;$/',$widget['onclick'],$matches))
|
||||
{
|
||||
$cell_content['onclick'] = $matches[1];
|
||||
if ($matches[2] != '_blank')
|
||||
{
|
||||
$cell_content['onclick'] .= ','.$matches[2];
|
||||
}
|
||||
if ($matches[3] != '600')
|
||||
{
|
||||
$cell_content['onclick'] .= ($matches[2]=='_blank' ? ',':'').','.$matches[3];
|
||||
}
|
||||
if ($matches[4] != '450')
|
||||
{
|
||||
$cell_content['onclick'] .= ($matches[2]=='_blank' ? ',':'').
|
||||
($matches[3]=='600' ? ',':'').','.$matches[4];
|
||||
}
|
||||
$cell_content['onclick_type'] = 'popup';
|
||||
}
|
||||
else
|
||||
{
|
||||
$cell_content['onclick_type'] = !$widget['onclick'] ? '' : 'custom';
|
||||
@ -1503,12 +1029,20 @@
|
||||
else // content --> widget
|
||||
{
|
||||
if (preg_match('/^return confirm\(["\']{1}?(.*)["\']{1}\);?$/',$cell_content['onclick'],$matches) ||
|
||||
$cell_content['onclick_type'] != 'custom' && $cell_content['onclick'])
|
||||
$cell_content['onclick_type'] == 'confirm' && $cell_content['onclick'])
|
||||
{
|
||||
$cell_content['onclick_type'] = 'confirm';
|
||||
$cell_content['onclick'] = is_array($matches) && $matches[1] ? $matches[1] : $cell_content['onclick'];
|
||||
$widget['onclick'] = "return confirm('".$cell_content['onclick']."');";
|
||||
}
|
||||
elseif ($cell_content['onclick_type'] == 'popup' && $cell_content['onclick'])
|
||||
{
|
||||
list($get,$target,$width,$height) = explode(',',$cell_content['onclick']);
|
||||
if (!$target) $target = '_blank';
|
||||
if (!$width) $width = 600;
|
||||
if (!$height) $height = 450;
|
||||
$widget['onclick'] = "window.open(egw::link('/index.php','$get'),'$target','dependent=yes,width=$width,height=$height,scrollbars=yes,status=yes'); return false;";
|
||||
}
|
||||
elseif ($cell_content['onclick'])
|
||||
{
|
||||
$wiget['onclick'] = $cell_content['onclick'];
|
||||
|
@ -15,7 +15,6 @@
|
||||
$menu_title = $GLOBALS['phpgw_info']['apps'][$appname]['title'] . ' '. lang('Menu');
|
||||
$file = Array(
|
||||
'eTemplate Editor' => $GLOBALS['phpgw']->link('/index.php','menuaction=etemplate.editor.edit'),
|
||||
'old Editor' => $GLOBALS['phpgw']->link('/index.php','menuaction=etemplate.editor.old_editor'),
|
||||
'DB-Tools' => $GLOBALS['phpgw']->link('/index.php','menuaction=etemplate.db_tools.edit'),
|
||||
);
|
||||
if (@$GLOBALS['phpgw_info']['user']['apps']['developer_tools'])
|
||||
@ -43,7 +42,7 @@
|
||||
array(
|
||||
'text' => 'eGroupWare '.lang('Documentation'),
|
||||
'no_lang' => True,
|
||||
'link' => $GLOBALS['phpgw_info']['server']['webserver_url'].'/phpgwapi/doc/',
|
||||
'link' => 'http://egroupware.org/wiki/DeveloperDocs/',
|
||||
'target' => 'docs'
|
||||
),
|
||||
array(
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
// eTemplates for Application 'etemplate', generated by soetemplate::dump4setup() 2005-04-12 10:20
|
||||
// eTemplates for Application 'etemplate', generated by soetemplate::dump4setup() 2005-05-07 16:00
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
@ -29,55 +29,11 @@ $templ_data[] = array('name' => 'etemplate.db-tools.edit','template' => '','lang
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.db-tools.indices','template' => '','lang' => '','group' => '0','version' => '0.9.15.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:8:{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";}}i:2;a:8:{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:6:"Unique";}s:1:"H";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:8:{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: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:"H";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:8;}}','size' => '','style' => '','modified' => '1067173445',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.editor','template' => '','lang' => '','group' => '0','version' => '0.9.15.003','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:3:{s:4:"type";s:8:"template";s:4:"span";s:3:"all";s:4:"name";s:29:"etemplate.editor.edit-buttons";}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' => '1033317410',);
|
||||
|
||||
$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',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.editor','template' => '','lang' => '','group' => '0','version' => '1.0.0.001','data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"data";a:9:{i:0;a:2:{s:2:"h1";s:6:",!@msg";s:2:"h2";s:6:",!@xml";}i:1;a:1:{s:1:"A";a:4:{s:4:"type";s:5:"label";s:4:"span";s:10:",redItalic";s:7:"no_lang";s:1:"1";s:4:"name";s:3:"msg";}}i:2;a:1:{s:1:"A";a:5:{s:4:"type";s:8:"groupbox";s:4:"size";s:1:"1";s:5:"label";s:10:"Export XML";s:4:"span";s:3:"all";i:1;a:2:{s:4:"type";s:4:"html";s:4:"name";s:3:"xml";}}}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: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";}}}i:5;a:1:{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";}}i:6;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:7;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:8;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!)";}}}s:4:"rows";i:8;s:4:"cols";i:1;s:4:"size";s:9:"100%,100%";}}','size' => '100%,100%','style' => '.redItalic { color: red; font-style: italic; }','modified' => '1107711147',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.editor.cell','template' => '','lang' => '','group' => '0','version' => '0.9.15.002','data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:4:{s:2:"c1";s:3:"row";s:2:"c2";s:3:"row";s:2:"c3";s:3:"row";s:2:"c4";s:3:"row";}i:1;a:6:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:4:"Type";}s:1:"B";a:3:{s:4:"type";s:6:"select";s:4:"name";s:4:"type";s:4:"help";s:57:"type of the field (select Label if field should be empty)";}s:1:"C";a:3:{s:4:"type";s:5:"label";s:5:"label";s:7:"Options";s:5:"align";s:6:"center";}s:1:"D";a:4:{s:4:"type";s:4:"text";s:4:"size";s:2:"10";s:4:"name";s:4:"size";s:4:"help";s:187:"Label:[bold][italic] Text:[len][,max] Numbers:[min][,[max][,len]] T.area:[rows][,cols] Radiob.:value H.Rule:[width] Templ.:[IndexInContent] Select:[multiselect] Date:[values: eg. \'Y-m-d\']";}s:1:"E";a:3:{s:4:"type";s:5:"label";s:5:"label";s:11:"Span, Class";s:5:"align";s:6:"center";}s:1:"F";a:4:{s:4:"type";s:4:"text";s:4:"size";s:2:"10";s:4:"name";s:4:"span";s:4:"help";s:111:"number of colums the field/cell should span or \'all\' for the remaining columns, CSS-class name (for the TD tag)";}}i:2;a:6:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:5:"Label";}s:1:"B";a:3:{s:4:"type";s:4:"text";s:4:"name";s:5:"label";s:4:"help";s:118:"displayed in front of input or input is inserted for a \'%s\' in the label (label of the Submitbutton or Image-filename)";}s:1:"C";a:6:{s:4:"type";s:8:"checkbox";s:4:"span";s:1:"2";s:5:"label";s:16:"%s NoTranslation";s:5:"align";s:6:"center";s:4:"name";s:7:"no_lang";s:4:"help";s:82:"select if content of field should not be translated (label gets always translated)";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:3:{s:4:"type";s:5:"label";s:5:"label";s:5:"Align";s:5:"align";s:6:"center";}s:1:"F";a:3:{s:4:"type";s:6:"select";s:4:"name";s:5:"align";s:4:"help";s:48:"alignment of label and input-field in table-cell";}}i:3;a:6:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:4:"Name";}s:1:"B";a:3:{s:4:"type";s:4:"text";s:4:"name";s:4:"name";s:4:"help";s:78:"index/name of returned content (name of the Template, Link / Method for Image)";}s:1:"C";a:7:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"4";s:4:"span";s:1:"4";i:1;a:5:{s:4:"type";s:8:"checkbox";s:5:"label";s:9:"%s needed";s:5:"align";s:6:"center";s:4:"name";s:6:"needed";s:4:"help";s:39:"check if field has to be filled by user";}i:2;a:5:{s:4:"type";s:8:"checkbox";s:5:"label";s:11:"%s readonly";s:5:"align";s:6:"center";s:4:"name";s:8:"readonly";s:4:"help";s:94:"check if content should only be displayed but not altered (the content is not send back then!)";}i:3;a:5:{s:4:"type";s:8:"checkbox";s:5:"label";s:11:"%s disabled";s:5:"align";s:6:"center";s:4:"name";s:8:"disabled";s:4:"help";s:96:"if field is disabled an empty table-cell is displayed, for (temporal) removement of a field/cell";}i:4;a:5:{s:4:"type";s:8:"checkbox";s:5:"label";s:11:"%s onChange";s:5:"align";s:6:"center";s:4:"name";s:8:"onchange";s:4:"help";s:33:"enable JavaScript onChange submit";}}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";}}i:4;a:6:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:4:"Help";}s:1:"B";a:5:{s:4:"type";s:4:"text";s:4:"size";s:2:"50";s:4:"span";s:3:"all";s:4:"name";s:4:"help";s:4:"help";s:60:"displayed in statusline of browser if input-field gets focus";}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:4:"rows";i:4;s:4:"cols";i:6;s:4:"size";s:5:",100%";}}','size' => ',100%','style' => '','modified' => '1034540913',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.editor.cell','template' => '','lang' => '','group' => '0','version' => '0.9.15.003','data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:4:{s:2:"c1";s:3:"row";s:2:"c2";s:3:"row";s:2:"c3";s:3:"row";s:2:"c4";s:3:"row";}i:1;a:6:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:4:"Type";}s:1:"B";a:3:{s:4:"type";s:6:"select";s:4:"name";s:4:"type";s:4:"help";s:57:"type of the field (select Label if field should be empty)";}s:1:"C";a:3:{s:4:"type";s:5:"label";s:5:"label";s:7:"Options";s:5:"align";s:6:"center";}s:1:"D";a:4:{s:4:"type";s:4:"text";s:4:"size";s:2:"10";s:4:"name";s:4:"size";s:4:"help";s:187:"Label:[bold][italic] Text:[len][,max] Numbers:[min][,[max][,len]] T.area:[rows][,cols] Radiob.:value H.Rule:[width] Templ.:[IndexInContent] Select:[multiselect] Date:[values: eg. \'Y-m-d\']";}s:1:"E";a:3:{s:4:"type";s:5:"label";s:5:"label";s:11:"Span, Class";s:5:"align";s:6:"center";}s:1:"F";a:4:{s:4:"type";s:4:"text";s:4:"size";s:2:"10";s:4:"name";s:4:"span";s:4:"help";s:111:"number of colums the field/cell should span or \'all\' for the remaining columns, CSS-class name (for the TD tag)";}}i:2;a:6:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:5:"Label";}s:1:"B";a:3:{s:4:"type";s:4:"text";s:4:"name";s:5:"label";s:4:"help";s:118:"displayed in front of input or input is inserted for a \'%s\' in the label (label of the Submitbutton or Image-filename)";}s:1:"C";a:6:{s:4:"type";s:8:"checkbox";s:4:"span";s:1:"2";s:5:"label";s:16:"%s NoTranslation";s:5:"align";s:6:"center";s:4:"name";s:7:"no_lang";s:4:"help";s:82:"select if content of field should not be translated (label gets always translated)";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:3:{s:4:"type";s:5:"label";s:5:"label";s:5:"Align";s:5:"align";s:6:"center";}s:1:"F";a:3:{s:4:"type";s:6:"select";s:4:"name";s:5:"align";s:4:"help";s:48:"alignment of label and input-field in table-cell";}}i:3;a:6:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:4:"Name";}s:1:"B";a:3:{s:4:"type";s:4:"text";s:4:"name";s:4:"name";s:4:"help";s:78:"index/name of returned content (name of the Template, Link / Method for Image)";}s:1:"C";a:7:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"4";s:4:"span";s:1:"4";i:1;a:5:{s:4:"type";s:8:"checkbox";s:5:"label";s:9:"%s needed";s:5:"align";s:6:"center";s:4:"name";s:6:"needed";s:4:"help";s:39:"check if field has to be filled by user";}i:2;a:5:{s:4:"type";s:8:"checkbox";s:5:"label";s:11:"%s readonly";s:5:"align";s:6:"center";s:4:"name";s:8:"readonly";s:4:"help";s:94:"check if content should only be displayed but not altered (the content is not send back then!)";}i:3;a:5:{s:4:"type";s:8:"checkbox";s:5:"label";s:11:"%s disabled";s:5:"align";s:6:"center";s:4:"name";s:8:"disabled";s:4:"help";s:96:"if field is disabled an empty table-cell is displayed, for (temporal) removement of a field/cell";}i:4;a:5:{s:4:"type";s:8:"checkbox";s:5:"label";s:11:"%s onChange";s:5:"align";s:6:"center";s:4:"name";s:8:"onchange";s:4:"help";s:33:"enable JavaScript onChange submit";}}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";}}i:4;a:6:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:4:"Help";}s:1:"B";a:5:{s:4:"type";s:4:"text";s:4:"size";s:2:"45";s:4:"span";s:1:"3";s:4:"name";s:4:"help";s:4:"help";s:60:"displayed in statusline of browser if input-field gets focus";}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:3:{s:4:"type";s:5:"label";s:5:"label";s:8:"blurText";s:5:"align";s:6:"center";}s:1:"F";a:4:{s:4:"type";s:4:"text";s:4:"size";s:2:"10";s:4:"name";s:4:"blur";s:4:"help";s:76:"this text gets displayed if the input-field is empty and has no focus (blur)";}}}s:4:"rows";i:4;s:4:"cols";i:6;s:4:"size";s:5:",100%";}}','size' => ',100%','style' => '','modified' => '1061339128',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.editor.cell.groupbox','template' => '','lang' => '','group' => '0','version' => '1.0.0.001','data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:1:{s:2:"c1";s:2:"th";}i:1;a:1:{s:1:"A";a:12:{s:4:"type";s:4:"hbox";s:4:"size";s:2:"10";i:1;a:2:{s:4:"type";s:5:"label";s:5:"label";s:4:"Type";}i:2;a:3:{s:4:"type";s:6:"select";s:4:"name";s:4:"type";s:4:"help";s:57:"type of the field (select Label if field should be empty)";}i:3;a:3:{s:4:"type";s:5:"label";s:5:"label";s:5:"Cells";s:5:"align";s:6:"center";}i:4;a:4:{s:4:"type";s:4:"text";s:4:"size";s:1:"3";s:4:"name";s:4:"size";s:4:"help";s:57:"number of rows/cols in a V/HBox, Cellpadding, Cellspacing";}i:5;a:3:{s:4:"type";s:5:"label";s:5:"label";s:5:"Label";s:5:"align";s:6:"center";}i:6;a:4:{s:4:"type";s:4:"text";s:4:"size";s:2:"10";s:4:"name";s:5:"label";s:4:"help";s:50:"displayed in the top line of the groupbox (legend)";}i:7;a:2:{s:4:"type";s:5:"label";s:5:"label";s:11:"Span, Class";}i:8;a:4:{s:4:"type";s:4:"text";s:4:"size";s:1:"3";s:4:"name";s:4:"span";s:4:"help";s:111:"number of colums the field/cell should span or \'all\' for the remaining columns, CSS-class name (for the TD tag)";}i:9;a:2:{s:4:"type";s:5:"label";s:5:"label";s:5:"Align";}i:10;a:3:{s:4:"type";s:6:"select";s:4:"name";s:5:"align";s:4:"help";s:45:"Alignment of the V/HBox containing table-cell";}}}i:2;a:1:{s:1:"A";a:3:{s:4:"type";s:8:"template";s:4:"size";s:4:"$row";s:4:"name";s:21:"etemplate.editor.cell";}}}s:4:"rows";i:2;s:4:"cols";i:1;s:4:"size";s:18:",100%,1,thinBorder";}}','size' => ',100%,1,thinBorder','style' => '','modified' => '1107709419',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.editor.cell.vbox','template' => '','lang' => '','group' => '0','version' => '0.9.15.002','data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:1:{s:2:"c1";s:2:"th";}i:1;a:1:{s:1:"A";a:10:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"6";i:1;a:2:{s:4:"type";s:5:"label";s:5:"label";s:4:"Type";}i:2;a:3:{s:4:"type";s:6:"select";s:4:"name";s:4:"type";s:4:"help";s:57:"type of the field (select Label if field should be empty)";}i:3;a:3:{s:4:"type";s:5:"label";s:5:"label";s:5:"Cells";s:5:"align";s:6:"center";}i:4;a:4:{s:4:"type";s:4:"text";s:4:"size";s:1:"3";s:4:"name";s:4:"size";s:4:"help";s:42:"number of rows in a VBox or cols in a HBox";}i:5;a:3:{s:4:"type";s:5:"label";s:5:"label";s:11:"Span, Class";s:5:"align";s:6:"center";}i:6;a:4:{s:4:"type";s:4:"text";s:4:"size";s:2:"10";s:4:"name";s:4:"span";s:4:"help";s:111:"number of colums the field/cell should span or \'all\' for the remaining columns, CSS-class name (for the TD tag)";}i:7;a:2:{s:4:"type";s:5:"label";s:5:"label";s:5:"Align";}i:8;a:3:{s:4:"type";s:6:"select";s:4:"name";s:5:"align";s:4:"help";s:43:"horizontal alignment of cells in the V/HBox";}}}i:2;a:1:{s:1:"A";a:3:{s:4:"type";s:8:"template";s:4:"size";s:4:"$row";s:4:"name";s:21:"etemplate.editor.cell";}}}s:4:"rows";i:2;s:4:"cols";i:1;s:4:"size";s:7:",100%,1";}}','size' => ',100%,1','style' => '','modified' => '1034432196',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.editor.cell.vbox','template' => '','lang' => '','group' => '0','version' => '0.9.15.003','data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:1:{s:2:"c1";s:2:"th";}i:1;a:1:{s:1:"A";a:10:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"8";i:1;a:2:{s:4:"type";s:5:"label";s:5:"label";s:4:"Type";}i:2;a:3:{s:4:"type";s:6:"select";s:4:"name";s:4:"type";s:4:"help";s:57:"type of the field (select Label if field should be empty)";}i:3;a:3:{s:4:"type";s:5:"label";s:5:"label";s:5:"Cells";s:5:"align";s:6:"center";}i:4;a:4:{s:4:"type";s:4:"text";s:4:"size";s:1:"5";s:4:"name";s:4:"size";s:4:"help";s:57:"number of rows/cols in a V/HBox, Cellpadding, Cellspacing";}i:5;a:3:{s:4:"type";s:5:"label";s:5:"label";s:11:"Span, Class";s:5:"align";s:6:"center";}i:6;a:4:{s:4:"type";s:4:"text";s:4:"size";s:2:"10";s:4:"name";s:4:"span";s:4:"help";s:111:"number of colums the field/cell should span or \'all\' for the remaining columns, CSS-class name (for the TD tag)";}i:7;a:2:{s:4:"type";s:5:"label";s:5:"label";s:5:"Align";}i:8;a:3:{s:4:"type";s:6:"select";s:4:"name";s:5:"align";s:4:"help";s:45:"Alignment of the V/HBox containing table-cell";}}}i:2;a:1:{s:1:"A";a:3:{s:4:"type";s:8:"template";s:4:"size";s:4:"$row";s:4:"name";s:21:"etemplate.editor.cell";}}}s:4:"rows";i:2;s:4:"cols";i:1;s:4:"size";s:7:",100%,1";}}','size' => ',100%,1','style' => '','modified' => '1034515604',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.editor.cell.vbox','template' => '','lang' => '','group' => '0','version' => '1.0.0.001','data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:1:{s:2:"c1";s:2:"th";}i:1;a:1:{s:1:"A";a:10:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"8";i:1;a:2:{s:4:"type";s:5:"label";s:5:"label";s:4:"Type";}i:2;a:3:{s:4:"type";s:6:"select";s:4:"name";s:4:"type";s:4:"help";s:57:"type of the field (select Label if field should be empty)";}i:3;a:3:{s:4:"type";s:5:"label";s:5:"label";s:5:"Cells";s:5:"align";s:6:"center";}i:4;a:4:{s:4:"type";s:4:"text";s:4:"size";s:1:"5";s:4:"name";s:4:"size";s:4:"help";s:57:"number of rows/cols in a V/HBox, Cellpadding, Cellspacing";}i:5;a:3:{s:4:"type";s:5:"label";s:5:"label";s:11:"Span, Class";s:5:"align";s:6:"center";}i:6;a:4:{s:4:"type";s:4:"text";s:4:"size";s:2:"10";s:4:"name";s:4:"span";s:4:"help";s:111:"number of colums the field/cell should span or \'all\' for the remaining columns, CSS-class name (for the TD tag)";}i:7;a:2:{s:4:"type";s:5:"label";s:5:"label";s:5:"Align";}i:8;a:3:{s:4:"type";s:6:"select";s:4:"name";s:5:"align";s:4:"help";s:45:"Alignment of the V/HBox containing table-cell";}}}i:2;a:1:{s:1:"A";a:3:{s:4:"type";s:8:"template";s:4:"size";s:4:"$row";s:4:"name";s:21:"etemplate.editor.cell";}}}s:4:"rows";i:2;s:4:"cols";i:1;s:4:"size";s:18:",100%,1,thinBorder";}}','size' => ',100%,1,thinBorder','style' => '','modified' => '1107709543',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.editor.col_header','template' => '','lang' => '','group' => '0','version' => '0.9.13.001','data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"data";a:2:{i:0;a:2:{s:1:"A";s:3:"40%";s:1:"C";s:3:"40%";}i:1;a:5:{s:1:"A";a:3:{s:4:"type";s:6:"button";s:5:"label";s:1:"+";s:4:"name";s:13:"insert_col[0]";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:4:"size";s:1:"b";s:4:"name";s:4:".col";}s:1:"C";a:5:{s:4:"type";s:4:"text";s:4:"size";s:1:"5";s:5:"label";s:5:"Width";s:5:"align";s:6:"center";s:4:"name";s:11:"width[$col]";}s:1:"D";a:4:{s:4:"type";s:6:"button";s:5:"label";s:1:"-";s:5:"align";s:5:"right";s:4:"name";s:14:"delete_col[$c]";}s:1:"E";a:4:{s:4:"type";s:6:"button";s:5:"label";s:1:"+";s:5:"align";s:5:"right";s:4:"name";s:14:"insert_col[$c]";}}}s:4:"rows";i:1;s:4:"cols";i:5;s:4:"size";s:4:"100%";}}','size' => '100%','style' => '','modified' => '1032907904',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.editor.col_header','template' => '','lang' => '','group' => '0','version' => '0.9.15.001','data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"data";a:2:{i:0;a:4:{s:1:"A";s:2:"5%";s:1:"B";s:2:"5%";s:1:"C";s:3:"50%";s:1:"D";s:3:"40%";}i:1;a:6:{s:1:"A";a:5:{s:4:"type";s:6:"button";s:5:"label";s:1:"+";s:7:"no_lang";s:1:"1";s:4:"name";s:13:"insert_col[0]";s:4:"help";s:33:"insert new column in front of all";}s:1:"B";a:5:{s:4:"type";s:6:"button";s:5:"label";s:3:">|<";s:7:"no_lang";s:1:"1";s:4:"name";s:17:"exchange_col[$c_]";s:4:"help";s:25:"exchange this two columns";}s:1:"C";a:5:{s:4:"type";s:5:"label";s:4:"size";s:1:"b";s:7:"no_lang";s:1:"1";s:5:"align";s:6:"center";s:4:"name";s:4:".col";}s:1:"D";a:6:{s:4:"type";s:4:"text";s:4:"size";s:1:"8";s:5:"label";s:15:"Width, Disabled";s:5:"align";s:5:"right";s:4:"name";s:12:"width[$col_]";s:4:"help";s:122:"width of col (in % or pixel), disable col: [! = not]<value>[=<check>] eg: \'!@data\' disable col if content of data is empty";}s:1:"E";a:6:{s:4:"type";s:6:"button";s:5:"label";s:1:"-";s:7:"no_lang";s:1:"1";s:5:"align";s:5:"right";s:4:"name";s:15:"delete_col[$c_]";s:4:"help";s:42:"delete whole column (can NOT be undone!!!)";}s:1:"F";a:6:{s:4:"type";s:6:"button";s:5:"label";s:1:"+";s:7:"no_lang";s:1:"1";s:5:"align";s:5:"right";s:4:"name";s:15:"insert_col[$c_]";s:4:"help";s:33:"insert new column behind this one";}}}s:4:"rows";i:1;s:4:"cols";i:6;s:4:"size";s:4:"100%";}}','size' => '100%','style' => '','modified' => '1034540589',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.editor.delete','template' => '','lang' => '','group' => '0','version' => '0.9.13.002','data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"data";a:7:{i:0;a:0:{}i:1;a:2:{s:1:"A";a:5:{s:4:"type";s:5:"label";s:4:"span";s:3:"all";s:5:"label";s:36:"Editable Templates - Delete Template";s:7:"no_lang";s:1:"1";s:4:"name";s:3:"msg";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}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:2:{s:4:"type";s:5:"label";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:4;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:6:"Delete";s:5:"align";s:5:"right";}s:1:"B";a:3:{s:4:"type";s:8:"template";s:4:"name";s:21:"etemplate.editor.keys";s:8:"readonly";s:1:"1";}}i:5;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:6;a:2:{s:1:"A";a:5:{s:4:"type";s:6:"button";s:5:"label";s:3:"Yes";s:5:"align";s:5:"right";s:4:"name";s:3:"yes";s:4:"help";s:70:"deletes the above spez. eTemplate from the database, can NOT be undone";}s:1:"B";a:5:{s:4:"type";s:6:"button";s:5:"label";s:2:"No";s:5:"align";s:6:"center";s:4:"name";s:2:"no";s:4:"help";s:32:"returns savely, WITHOUT deleting";}}}s:4:"rows";i:6;s:4:"cols";i:2;s:4:"size";s:4:"100%";}}','size' => '100%','style' => '','modified' => '1032907904',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.editor.delete','template' => '','lang' => '','group' => '0','version' => '1.0.0.001','data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"data";a:7:{i:0;a:1:{s:2:"h1";s:6:",!@msg";}i:1;a:1:{s:1:"A";a:4:{s:4:"type";s:5:"label";s:4:"span";s:13:"all,redItalic";s:7:"no_lang";s:1:"1";s:4:"name";s:3:"msg";}}i:2;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";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:5:"label";s:5:"label";s:6:"Delete";s:5:"align";s:5:"right";}s:1:"B";a:3:{s:4:"type";s:8:"template";s:4:"name";s:21:"etemplate.editor.keys";s:8:"readonly";s:1:"1";}}i:4;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:5;a:2:{s:1:"A";a:5:{s:4:"type";s:6:"button";s:5:"label";s:3:"Yes";s:5:"align";s:5:"right";s:4:"name";s:3:"yes";s:4:"help";s:70:"deletes the above spez. eTemplate from the database, can NOT be undone";}s:1:"B";a:5:{s:4:"type";s:6:"button";s:5:"label";s:2:"No";s:5:"align";s:6:"center";s:4:"name";s:2:"no";s:4:"help";s:32:"returns savely, WITHOUT deleting";}}i:6;a:2:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:6;s:4:"cols";i:2;s:4:"size";s:4:"100%";}}','size' => '100%','style' => '.redItalic { color:red; font-style: italic;}','modified' => '1107711479',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.editor.edit','template' => '','lang' => '','group' => '0','version' => '0.9.15.003','data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:2:{s:2:"c1";s:2:"th";s:2:"c2";s:4:",top";}i:1;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"image";s:5:"align";s:6:"center";s:4:"name";s:10:"navbar.gif";}s:1:"B";a:3:{s:4:"type";s:8:"template";s:4:"size";s:8:"Col$col,";s:4:"name";s:27:"etemplate.editor.col_header";}}i:2;a:2:{s:1:"A";a:4:{s:4:"type";s:8:"template";s:4:"size";s:8:"Row$row,";s:4:"span";s:3:",th";s:4:"name";s:27:"etemplate.editor.row_header";}s:1:"B";a:3:{s:4:"type";s:8:"template";s:4:"size";s:8:"$col$row";s:4:"name";s:44:"etemplate.editor.cell$col_row_cont[cell_tpl]";}}}s:4:"rows";i:2;s:4:"cols";i:2;s:4:"size";s:14:",,1,editorEdit";}}','size' => ',,1,editorEdit','style' => '.editorEdit { border-color: black }','modified' => '1034778103',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.editor.edit','template' => '','lang' => '','group' => '0','version' => '1.0.0.001','data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:2:{s:2:"c1";s:2:"th";s:2:"c2";s:4:",top";}i:1;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"image";s:5:"align";s:6:"center";s:4:"name";s:10:"navbar.gif";}s:1:"B";a:3:{s:4:"type";s:8:"template";s:4:"size";s:8:"Col$col,";s:4:"name";s:27:"etemplate.editor.col_header";}}i:2;a:2:{s:1:"A";a:4:{s:4:"type";s:8:"template";s:4:"size";s:8:"Row$row,";s:4:"span";s:3:",th";s:4:"name";s:27:"etemplate.editor.row_header";}s:1:"B";a:3:{s:4:"type";s:8:"template";s:4:"size";s:8:"$col$row";s:4:"name";s:44:"etemplate.editor.cell$col_row_cont[cell_tpl]";}}}s:4:"rows";i:2;s:4:"cols";i:2;s:4:"size";s:14:",,1,thinBorder";}}','size' => ',,1,thinBorder','style' => '.thinBorder { border: 1px solid black; border-collapse: collapse; }','modified' => '1107712208',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.editor.edit-buttons','template' => '','lang' => '','group' => '0','version' => '0.9.15.002','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:2:{i:0;a:0:{}i:1;a:9:{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: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:"D";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:"E";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:"F";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:"G";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";}s:1:"H";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";}s:1:"I";a:3:{s:4:"type";s:4:"file";s:4:"name";s:4:"file";s:4:"help";s:18:"xml-file to import";}}}s:4:"rows";i:1;s:4:"cols";i:9;}}','size' => '','style' => '','modified' => '1032907904',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.editor.keys','template' => '','lang' => '','group' => '0','version' => '0.9.13.003','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:2:{i:0;a:0:{}i:1;a:4:{s:1:"A";a:5:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:5:"label";s:4:"Name";s:4:"name";s:4:"name";s:4:"help";s:75:"name of the eTemplate, should be in form application.function[.subTemplate]";}s:1:"B";a:5:{s:4:"type";s:4:"text";s:4:"size";s:2:"12";s:5:"label";s:8:"Template";s:4:"name";s:8:"template";s:4:"help";s:125:"name of phpgw-template set (e.g. verdilak): \'\' = default (will read pref. template, us \'default\' to read default template \'\')";}s:1:"C";a:5:{s:4:"type";s:4:"text";s:4:"size";s:3:"7,5";s:5:"label";s:4:"Lang";s:4:"name";s:4:"lang";s:4:"help";s:162:"language-short (eg. \'en\' for english) for language-dependent template (\'\' reads your pref. languages or the default, us \'default\' to read the default template \'\')";}s:1:"D";a:5:{s:4:"type";s:4:"text";s:4:"size";s:5:"12,10";s:5:"label";s:7:"Version";s:4:"name";s:7:"version";s:4:"help";s:116:"version-number, should be in the form: major.minor.revision.number (eg. 0.9.13.001 all numbers filled up with zeros)";}}}s:4:"rows";i:1;s:4:"cols";i:4;}}','size' => '','style' => '','modified' => '1032907904',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.editor.keys','template' => '','lang' => '','group' => '0','version' => '1.0.1.001','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:2:{i:0;a:0:{}i:1;a:4:{s:1:"A";a:5:{s:4:"type";s:4:"text";s:4:"size";s:5:"25,80";s:5:"label";s:4:"Name";s:4:"name";s:4:"name";s:4:"help";s:75:"name of the eTemplate, should be in form application.function[.subTemplate]";}s:1:"B";a:5:{s:4:"type";s:4:"text";s:4:"size";s:4:"8,20";s:5:"label";s:8:"Template";s:4:"name";s:8:"template";s:4:"help";s:125:"name of phpgw-template set (e.g. verdilak): \'\' = default (will read pref. template, us \'default\' to read default template \'\')";}s:1:"C";a:5:{s:4:"type";s:4:"text";s:4:"size";s:3:"5,5";s:5:"label";s:4:"Lang";s:4:"name";s:4:"lang";s:4:"help";s:162:"language-short (eg. \'en\' for english) for language-dependent template (\'\' reads your pref. languages or the default, us \'default\' to read the default template \'\')";}s:1:"D";a:5:{s:4:"type";s:4:"text";s:4:"size";s:4:"9,20";s:5:"label";s:7:"Version";s:4:"name";s:7:"version";s:4:"help";s:116:"version-number, should be in the form: major.minor.revision.number (eg. 0.9.13.001 all numbers filled up with zeros)";}}}s:4:"rows";i:1;s:4:"cols";i:4;}}','size' => '','style' => '','modified' => '1108983539',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.editor.list_result','template' => '','lang' => '','group' => '0','version' => '0.9.15.001','data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"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";}}}s:4:"rows";i:4;s:4:"cols";i:1;s:4:"size";s:4:"100%";}}','size' => '100%','style' => '','modified' => '1032907904',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.editor.list_result','template' => '','lang' => '','group' => '0','version' => '1.0.0.001','data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"data";a:4:{i:0;a:1:{s:2:"h1";s:6:",!@msg";}i:1;a:1:{s:1:"A";a:4:{s:4:"type";s:5:"label";s:4:"span";s:13:"all,redItalic";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:8:"template";s:4:"name";s:21:"etemplate.editor.keys";}}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:33:"etemplate.editor.list_result.list";}}}s:4:"rows";i:3;s:4:"cols";i:1;s:4:"size";s:4:"100%";}}','size' => '100%','style' => '.redItalic { color:red; font-style:italic;}','modified' => '1107711996',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.editor.list_result.list','template' => '','lang' => '','group' => '0','version' => '0.9.15.001','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"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";}}}s:4:"rows";i:2;s:4:"cols";i:6;}}','size' => '','style' => '','modified' => '1032907904',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.editor.list_result.list','template' => '','lang' => '','group' => '0','version' => '0.9.15.002','data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"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:3:{s:4:"type";s:5:"label";s:4:"span";s:11:",lr_padding";s:5:"label";s:4:"Name";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:4:"span";s:11:",lr_padding";s:5:"label";s:8:"Template";}s:1:"C";a:3:{s:4:"type";s:5:"label";s:4:"span";s:11:",lr_padding";s:5:"label";s:4:"Lang";}s:1:"D";a:4:{s:4:"type";s:5:"label";s:4:"span";s:11:",lr_padding";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:11:",lr_padding";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:5:{s:4:"type";s:6:"button";s:4:"span";s:11:",lr_padding";s:5:"label";s:6:"Delete";s:4:"name";s:15:"delete_selected";s:4:"help";s:55:"delete ALL selected eTemplates, WITHOUT further inquiry";}}i:2;a:6:{s:1:"A";a:4:{s:4:"type";s:5:"label";s:4:"span";s:11:",lr_padding";s:7:"no_lang";s:1:"1";s:4:"name";s:12:"${row}[name]";}s:1:"B";a:4:{s:4:"type";s:5:"label";s:4:"span";s:11:",lr_padding";s:7:"no_lang";s:1:"1";s:4:"name";s:16:"${row}[template]";}s:1:"C";a:4:{s:4:"type";s:5:"label";s:4:"span";s:11:",lr_padding";s:7:"no_lang";s:1:"1";s:4:"name";s:12:"${row}[lang]";}s:1:"D";a:4:{s:4:"type";s:5:"label";s:4:"span";s:11:",lr_padding";s:7:"no_lang";s:1:"1";s:4:"name";s:15:"${row}[version]";}s:1:"E";a:5:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";s:5:"align";s:6:"center";i:1;a:5:{s:4:"type";s:6:"button";s:4:"size";s:4:"edit";s:5:"label";s:4:"Edit";s:4:"name";s:10:"read[$row]";s:4:"help";s:34:"load this template into the editor";}i:2;a:6:{s:4:"type";s:6:"button";s:4:"size";s:6:"delete";s:5:"label";s:6:"Delete";s:5:"align";s:6:"center";s:4:"name";s:12:"delete[$row]";s:4:"help";s:21:"delete this eTemplate";}}s:1:"F";a:4:{s:4:"type";s:8:"checkbox";s:5:"align";s:6:"center";s:4:"name";s:14:"selected[$row]";s:4:"help";s:34:"select this eTemplate to delete it";}}}s:4:"rows";i:2;s:4:"cols";i:6;s:4:"size";s:13:",,,lr_padding";}}','size' => ',,,lr_padding','style' => 'td.lr_padding { padding-left: 5px; padding-right: 5px; }','modified' => '1035768728',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.editor.list_result.list','template' => '','lang' => '','group' => '0','version' => '1.0.0.001','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"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:3:{s:4:"type";s:5:"label";s:4:"span";s:11:",lr_padding";s:5:"label";s:4:"Name";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:4:"span";s:11:",lr_padding";s:5:"label";s:8:"Template";}s:1:"C";a:3:{s:4:"type";s:5:"label";s:4:"span";s:11:",lr_padding";s:5:"label";s:4:"Lang";}s:1:"D";a:4:{s:4:"type";s:5:"label";s:4:"span";s:11:",lr_padding";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:11:",lr_padding";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:5:{s:4:"type";s:6:"button";s:4:"span";s:11:",lr_padding";s:5:"label";s:6:"Delete";s:4:"name";s:15:"delete_selected";s:4:"help";s:55:"delete ALL selected eTemplates, WITHOUT further inquiry";}}i:2;a:6:{s:1:"A";a:4:{s:4:"type";s:5:"label";s:4:"span";s:11:",lr_padding";s:7:"no_lang";s:1:"1";s:4:"name";s:12:"${row}[name]";}s:1:"B";a:4:{s:4:"type";s:5:"label";s:4:"span";s:11:",lr_padding";s:7:"no_lang";s:1:"1";s:4:"name";s:16:"${row}[template]";}s:1:"C";a:4:{s:4:"type";s:5:"label";s:4:"span";s:11:",lr_padding";s:7:"no_lang";s:1:"1";s:4:"name";s:12:"${row}[lang]";}s:1:"D";a:4:{s:4:"type";s:5:"label";s:4:"span";s:11:",lr_padding";s:7:"no_lang";s:1:"1";s:4:"name";s:15:"${row}[version]";}s:1:"E";a:6:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"3";s:5:"align";s:6:"center";i:1;a:5:{s:4:"type";s:6:"button";s:4:"size";s:4:"view";s:5:"label";s:4:"View";s:4:"name";s:10:"view[$row]";s:4:"help";s:19:"view this eTemplate";}i:2;a:5:{s:4:"type";s:6:"button";s:4:"size";s:4:"edit";s:5:"label";s:4:"Edit";s:4:"name";s:10:"read[$row]";s:4:"help";s:34:"load this template into the editor";}i:3;a:5:{s:4:"type";s:6:"button";s:4:"size";s:6:"delete";s:5:"label";s:6:"Delete";s:4:"name";s:12:"delete[$row]";s:4:"help";s:21:"delete this eTemplate";}}s:1:"F";a:4:{s:4:"type";s:8:"checkbox";s:5:"align";s:6:"center";s:4:"name";s:14:"selected[$row]";s:4:"help";s:34:"select this eTemplate to delete it";}}}s:4:"rows";i:2;s:4:"cols";i:6;}}','size' => '','style' => 'td.lr_padding { padding-left: 5px; padding-right: 5px; }','modified' => '1108306361',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.editor.new','template' => '','lang' => '','group' => '0','version' => '1.0.1.001','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:8:{i:0;a:2:{s:2:"h1";s:6:",!@msg";s:2:"h2";s:6:",!@xml";}i:1;a:1:{s:1:"A";a:4:{s:4:"type";s:5:"label";s:4:"span";s:13:"all,redItalic";s:7:"no_lang";s:1:"1";s:4:"name";s:3:"msg";}}i:2;a:2:{s:1:"A";a:6:{s:4:"type";s:8:"groupbox";s:4:"size";s:1:"2";s:5:"label";s:10:"Export XML";s:4:"span";s:3:"all";i:1;a:2:{s:4:"type";s:4:"html";s:4:"name";s:3:"xml";}i:2;a:1:{s:4:"type";s:5:"label";}}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: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";}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:5:{s:4:"type";s:6:"button";s:5:"label";s:6:"Delete";s:4:"name";s:6:"delete";s:4:"help";s:36:"Delete the eTemplate spezified above";s:7:"onclick";s:55:"return confirm(\'Delete the eTemplate spezified 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: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:6;a:2:{s:1:"A";a:3:{s:4:"type";s:4:"html";s:4:"span";s:3:"all";s:4:"name";s:7:"onclick";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:7;a:2:{s:1:"A";a:2:{s:4:"type";s:8:"template";s:4:"size";s:4:"cont";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:7;s:4:"cols";i:2;}}','size' => '','style' => '.redItalic { color: red; font-style: italic; }
|
||||
.clickWidgetToEdit { cursor: pointer; cursor: hand; }
|
||||
.clickWidgetToEdit:hover { background-color: pink; }','modified' => '1108912021',);
|
||||
$templ_data[] = array('name' => 'etemplate.editor.list_result','template' => '','lang' => '','group' => '0','version' => '1.0.0.002','data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"data";a:4:{i:0;a:1:{s:2:"h1";s:6:",!@msg";}i:1;a:1:{s:1:"A";a:4:{s:4:"type";s:5:"label";s:4:"span";s:13:"all,redItalic";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:8:"template";s:4:"name";s:21:"etemplate.editor.keys";}}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:33:"etemplate.editor.list_result.list";}}}s:4:"rows";i:3;s:4:"cols";i:1;s:4:"size";s:4:"100%";}}','size' => '100%','style' => '.redItalic { color:red; font-style:italic;}','modified' => '1115472000',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.editor.new','template' => '','lang' => '','group' => '0','version' => '1.0.1.002','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:8:{i:0;a:2:{s:2:"h1";s:6:",!@msg";s:2:"h2";s:6:",!@xml";}i:1;a:1:{s:1:"A";a:4:{s:4:"type";s:5:"label";s:4:"span";s:13:"all,redItalic";s:7:"no_lang";s:1:"1";s:4:"name";s:3:"msg";}}i:2;a:2:{s:1:"A";a:6:{s:4:"type";s:8:"groupbox";s:4:"size";s:1:"2";s:5:"label";s:10:"Export XML";s:4:"span";s:3:"all";i:1;a:2:{s:4:"type";s:4:"html";s:4:"name";s:3:"xml";}i:2;a:1:{s:4:"type";s:5:"label";}}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: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";}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:5:{s:4:"type";s:6:"button";s:5:"label";s:6:"Delete";s:4:"name";s:6:"delete";s:4:"help";s:36:"Delete the eTemplate spezified above";s:7:"onclick";s:55:"return confirm(\'Delete the eTemplate spezified 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: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:6;a:2:{s:1:"A";a:3:{s:4:"type";s:4:"html";s:4:"span";s:3:"all";s:4:"name";s:7:"onclick";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:7;a:2:{s:1:"A";a:2:{s:4:"type";s:8:"template";s:4:"size";s:4:"cont";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:7;s:4:"cols";i:2;}}','size' => '','style' => '.redItalic { color: red; font-style: italic; }
|
||||
.clickWidgetToEdit { cursor: pointer; cursor: hand; }
|
||||
@ -87,25 +43,9 @@ $templ_data[] = array('name' => 'etemplate.editor.new','template' => '','lang' =
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.editor.options','template' => '','lang' => '','group' => '0','version' => '0.9.15.001','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:2:{i:0;a:0:{}i:1;a:7:{s:1:"A";a:5:{s:4:"type";s:4:"text";s:4:"size";s:1:"8";s:5:"label";s:5:"Width";s:4:"name";s:5:"width";s:4:"help";s:70:"Width of the table in % or pixels for the table-tag and (optional) div";}s:1:"B";a:5:{s:4:"type";s:4:"text";s:4:"size";s:1:"8";s:5:"label";s:6:"Height";s:4:"name";s:6:"height";s:4:"help";s:71:"Height of the table in % or pixels for the table-tag and (optional) div";}s:1:"C";a:5:{s:4:"type";s:6:"select";s:5:"label";s:8:"Overflow";s:7:"no_lang";s:1:"1";s:4:"name";s:8:"overflow";s:4:"help";s:96:"what happens with overflowing content: visible (default), hidden, scroll, auto (browser decides)";}s:1:"D";a:4:{s:4:"type";s:3:"int";s:5:"label";s:6:"Border";s:4:"name";s:6:"border";s:4:"help";s:39:"Border-line-thickness for the table-tag";}s:1:"E";a:5:{s:4:"type";s:4:"text";s:4:"size";s:2:"12";s:5:"label";s:5:"Class";s:4:"name";s:5:"class";s:4:"help";s:27:"CSS class for the table-tag";}s:1:"F";a:4:{s:4:"type";s:3:"int";s:5:"label";s:7:"Spacing";s:4:"name";s:7:"spacing";s:4:"help";s:29:"Cellspacing for the table-tag";}s:1:"G";a:4:{s:4:"type";s:3:"int";s:5:"label";s:7:"Padding";s:4:"name";s:7:"padding";s:4:"help";s:29:"Cellpadding for the table-tag";}}}s:4:"rows";i:1;s:4:"cols";i:7;}}','size' => '','style' => '','modified' => '1033317392',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.editor.row_header','template' => '','lang' => '','group' => '0','version' => '0.9.15.003','data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:0:{}i:1;a:2:{s:1:"A";a:3:{s:4:"type";s:8:"template";s:5:"align";s:6:"center";s:4:"name";s:34:"etemplate.editor.row_header.button";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:16:"Height, Disabled";s:5:"align";s:6:"center";}}i:2;a:2:{s:1:"A";a:5:{s:4:"type";s:5:"label";s:4:"size";s:1:"b";s:7:"no_lang";s:1:"1";s:5:"align";s:6:"center";s:4:"name";s:4:".row";}s:1:"B";a:5:{s:4:"type";s:4:"text";s:4:"size";s:1:"6";s:5:"align";s:6:"center";s:4:"name";s:14:"height[h$row_]";s:4:"help";s:123:"height of row (in % or pixel), disable row: [! = not]<value>[=<check>] eg: \'!@data\' disable row if content of data is empty";}}i:3;a:2:{s:1:"A";a:6:{s:4:"type";s:6:"button";s:5:"label";s:1:"-";s:7:"no_lang";s:1:"1";s:5:"align";s:6:"center";s:4:"name";s:17:"delete_row[$row_]";s:4:"help";s:33:"remove Row (can NOT be undone!!!)";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:13:"class, Valign";s:5:"align";s:6:"center";}}i:4;a:2:{s:1:"A";a:6:{s:4:"type";s:6:"button";s:5:"label";s:1:"+";s:7:"no_lang";s:1:"1";s:5:"align";s:6:"center";s:4:"name";s:17:"insert_row[$row_]";s:4:"help";s:29:"insert new row after this one";}s:1:"B";a:5:{s:4:"type";s:4:"text";s:4:"size";s:1:"6";s:5:"align";s:6:"center";s:4:"name";s:13:"class[c$row_]";s:4:"help";s:112:"CSS-class name for this row, preset: \'nmh\' = NextMatch header, \'nmr\' = alternating NM row, \'nmr0\'+\'nmr1\' NM rows";}}}s:4:"rows";i:4;s:4:"cols";i:2;s:4:"size";s:5:",100%";}}','size' => ',100%','style' => '','modified' => '1034242259',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.editor.row_header','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:5:{i:0;a:0:{}i:1;a:2:{s:1:"A";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";i:1;a:5:{s:4:"type";s:6:"button";s:5:"label";s:1:"+";s:7:"no_lang";s:1:"1";s:4:"name";s:13:"insert_row[0]";s:4:"help";s:37:"insert new row in front of first Line";}i:2;a:5:{s:4:"type";s:6:"button";s:5:"label";s:1:"X";s:7:"no_lang";s:1:"1";s:4:"name";s:19:"exchange_row[$row_]";s:4:"help";s:36:"exchange this row with the one above";}}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:16:"Height, Disabled";s:5:"align";s:6:"center";}}i:2;a:2:{s:1:"A";a:5:{s:4:"type";s:5:"label";s:4:"size";s:1:"b";s:7:"no_lang";s:1:"1";s:5:"align";s:6:"center";s:4:"name";s:4:".row";}s:1:"B";a:5:{s:4:"type";s:4:"text";s:4:"size";s:1:"6";s:5:"align";s:6:"center";s:4:"name";s:14:"height[h$row_]";s:4:"help";s:123:"height of row (in % or pixel), disable row: [! = not]<value>[=<check>] eg: \'!@data\' disable row if content of data is empty";}}i:3;a:2:{s:1:"A";a:6:{s:4:"type";s:6:"button";s:5:"label";s:1:"-";s:7:"no_lang";s:1:"1";s:5:"align";s:6:"center";s:4:"name";s:17:"delete_row[$row_]";s:4:"help";s:33:"remove Row (can NOT be undone!!!)";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:13:"class, Valign";s:5:"align";s:6:"center";}}i:4;a:2:{s:1:"A";a:6:{s:4:"type";s:6:"button";s:5:"label";s:1:"+";s:7:"no_lang";s:1:"1";s:5:"align";s:6:"center";s:4:"name";s:17:"insert_row[$row_]";s:4:"help";s:29:"insert new row after this one";}s:1:"B";a:5:{s:4:"type";s:4:"text";s:4:"size";s:1:"6";s:5:"align";s:6:"center";s:4:"name";s:13:"class[c$row_]";s:4:"help";s:112:"CSS-class name for this row, preset: \'nmh\' = NextMatch header, \'nmr\' = alternating NM row, \'nmr0\'+\'nmr1\' NM rows";}}}s:4:"rows";i:4;s:4:"cols";i:2;s:4:"size";s:5:",100%";}}','size' => ',100%','style' => '','modified' => '1034428465',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.editor.show','template' => '','lang' => '','group' => '0','version' => '1.0.0.001','data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"data";a:6:{i:0;a:2:{s:1:"A";s:4:"1000";s:2:"h1";s:6:",!@msg";}i:1;a:1:{s:1:"A";a:4:{s:4:"type";s:5:"label";s:4:"span";s:13:"all,redItalic";s:7:"no_lang";s:1:"1";s:4:"name";s:3:"msg";}}i:2;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:3;a:2:{s:1:"A";a:3:{s:4:"type";s:8:"template";s:4:"span";s:3:"all";s:4:"name";s:29:"etemplate.editor.show-buttons";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:4;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:5;a:2:{s:1:"A";a:2:{s:4:"type";s:8:"template";s:4:"size";s:4:"cont";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:5;s:4:"cols";i:2;s:4:"size";s:4:"100%";}}','size' => '100%','style' => '.redItalic { color:red; font-style: italic; }','modified' => '1107711670',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.editor.show','template' => '','lang' => '','group' => '0','version' => '1.0.0.002','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:7:{i:0;a:2:{s:1:"A";s:4:"1000";s:2:"h1";s:6:",!@msg";}i:1;a:1:{s:1:"A";a:4:{s:4:"type";s:5:"label";s:4:"span";s:13:"all,redItalic";s:7:"no_lang";s:1:"1";s:4:"name";s:3:"msg";}}i:2;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:3;a:2:{s:1:"A";a:3:{s:4:"type";s:8:"template";s:4:"span";s:3:"all";s:4:"name";s:29:"etemplate.editor.show-buttons";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:4;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:5;a:2:{s:1:"A";a:3:{s:4:"type";s:4:"html";s:4:"span";s:3:"all";s:4:"name";s:7:"onclick";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:6;a:2:{s:1:"A";a:2:{s:4:"type";s:8:"template";s:4:"size";s:4:"cont";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:6;s:4:"cols";i:2;}}','size' => '','style' => '.redItalic { color:red; font-style: italic; }
|
||||
.clickWidgetToEdit { cursor: pointer; cursor: hand; }
|
||||
.clickWidgetToEdit:hover { background-color: pink; }','modified' => '1108413455',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.editor.show-buttons','template' => '','lang' => '','group' => '0','version' => '0.9.15.002','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:2:{i:0;a:0:{}i:1;a:4:{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: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:"C";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:"D";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:4:"rows";i:1;s:4:"cols";i:4;}}','size' => '','style' => '','modified' => '1032907904',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.editor.styles','template' => '','lang' => '','group' => '0','version' => '1.0.1.001','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:1:{s:2:"h1";s:6:",!@msg";}i:1;a:1:{s:1:"A";a:4:{s:4:"type";s:5:"label";s:4:"name";s:3:"msg";s:4:"span";s:10:",redItalic";s:7:"no_lang";s:1:"1";}}i:2;a:1:{s:1:"A";a:6:{s:4:"type";s:6:"select";s:5:"label";s:10:"CSS-Styles";s:4:"name";s:4:"from";s:8:"onchange";s:1:"1";s:7:"no_lang";s:1:"1";s:4:"help";s:60:" edit embeded CSS styles or of the applications app.css file";}}i:3;a:1:{s:1:"A";a:3:{s:4:"type";s:8:"textarea";s:4:"size";s:5:"22,70";s:4:"name";s:6:"styles";}}i:4;a:1:{s:1:"A";a:6:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"4";i:1;a:4:{s:4:"type";s:6:"button";s:5:"label";s:4:"Save";s:4:"name";s:4:"save";s:4:"help";s:42:"save the changes made and close the window";}i:2;a:4:{s:4:"type";s:6:"button";s:5:"label";s:5:"Apply";s:4:"name";s:5:"apply";s:4:"help";s:24:"applies the changes made";}i:3;a:5:{s:4:"type";s:6:"button";s:5:"label";s:6:"Cancel";s:4:"name";s:6:"cancel";s:4:"help";s:44:"closes the window without saving the changes";s:7:"onclick";s:15:"window.close();";}i:4;a:2:{s:4:"type";s:4:"html";s:4:"name";s:11:"java_script";}}}}s:4:"rows";i:4;s:4:"cols";i:1;}}','size' => '','style' => '','modified' => '1109028002',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.editor.values','template' => '','lang' => '','group' => '0','version' => '0.9.13.001','data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:2:{s:2:"c1";s:3:"nmh";s:2:"c2";s:3:"nmr";}i:1;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:3:"Key";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:5:"Value";}}i:2;a:2:{s:1:"A";a:3:{s:4:"type";s:4:"text";s:4:"name";s:8:"$col$row";s:8:"readonly";s:1:"1";}s:1:"B";a:2:{s:4:"type";s:4:"text";s:4:"name";s:8:"$col$row";}}}s:4:"rows";i:2;s:4:"cols";i:2;s:4:"size";s:3:",,1";}}','size' => ',,1','style' => '','modified' => '1032907904',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.editor.values','template' => '','lang' => '','group' => '0','version' => '0.9.13.002','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:2:{s:2:"c1";s:3:"nmh";s:2:"c2";s:3:"nmr";}i:1;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:3:"Key";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:5:"Value";}}i:2;a:2:{s:1:"A";a:3:{s:4:"type";s:4:"text";s:4:"name";s:8:"$col$row";s:8:"readonly";s:1:"1";}s:1:"B";a:2:{s:4:"type";s:4:"text";s:4:"name";s:8:"$col$row";}}}s:4:"rows";i:2;s:4:"cols";i:2;}}','size' => '','style' => '','modified' => '1081094454',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.editor.widget','template' => '','lang' => '','group' => '0','version' => '1.0.1.003','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:9:{i:0;a:4:{s:2:"h2";s:6:",!@msg";s:2:"c1";s:2:"th";s:2:"h6";s:11:",!@grid_row";s:2:"h7";s:14:",!@grid_column";}i:1;a:2:{s:1:"A";a:7:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"4";s:4:"span";s:3:"all";i:1;a:5:{s:4:"type";s:6:"select";s:4:"size";s:7:"Edit...";s:4:"name";s:9:"edit_menu";s:8:"onchange";s:1:"1";s:4:"help";s:33:"delete and cut save the template!";}i:2;a:5:{s:4:"type";s:6:"select";s:4:"size";s:6:"Box...";s:4:"name";s:8:"box_menu";s:8:"onchange";s:1:"1";s:4:"help";s:33:"all operations save the template!";}i:3;a:5:{s:4:"type";s:6:"select";s:4:"size";s:6:"Row...";s:4:"name";s:8:"row_menu";s:8:"onchange";s:1:"1";s:4:"help";s:33:"all operations save the template!";}i:4;a:5:{s:4:"type";s:6:"select";s:4:"size";s:9:"Column...";s:4:"name";s:11:"column_menu";s:8:"onchange";s:1:"1";s:4:"help";s:33:"all operations save the template!";}}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:2;a:1:{s:1:"A";a:4:{s:4:"type";s:5:"label";s:4:"span";s:13:"all,redItalic";s:7:"no_lang";s:1:"1";s:4:"name";s:3:"msg";}}i:3;a:2:{s:1:"A";a:3:{s:4:"type";s:4:"html";s:5:"label";s:4:"Name";s:4:"name";s:11:"java_script";}s:1:"B";a:7:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"5";i:1;a:3:{s:4:"type";s:4:"text";s:4:"name";s:4:"name";s:8:"readonly";s:1:"1";}i:2;a:3:{s:4:"type";s:4:"text";s:4:"name";s:8:"template";s:8:"readonly";s:1:"1";}i:3;a:3:{s:4:"type";s:4:"text";s:4:"name";s:4:"lang";s:8:"readonly";s:1:"1";}i:4;a:5:{s:4:"type";s:4:"text";s:4:"size";s:2:"20";s:5:"label";s:7:"Version";s:4:"name";s:7:"version";s:4:"help";s:56:"increment version to not overwrite the existing template";}i:5;a:5:{s:4:"type";s:5:"label";s:4:"span";s:5:",gray";s:5:"label";s:4:"Path";s:7:"no_lang";s:1:"1";s:4:"name";s:4:"path";}}}i:4;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:7:"Parents";}s:1:"B";a:3:{s:4:"type";s:4:"path";s:4:"name";s:4:"goto";s:4:"help";s:29:"click to edit a parent widget";}}i:5;a:2:{s:1:"A";a:4:{s:4:"type";s:8:"template";s:4:"size";s:4:"cell";s:4:"span";s:3:"all";s:4:"name";s:31:"etemplate.editor.widget.generic";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:6;a:2:{s:1:"A";a:8:{s:4:"type";s:8:"groupbox";s:4:"size";s:12:"4,horizontal";s:5:"label";s:19:"Grid row attributes";s:4:"span";s:3:"all";i:1;a:5:{s:4:"type";s:4:"text";s:5:"label";s:6:"Height";s:4:"name";s:16:"grid_row[height]";s:4:"help";s:29:"height of row (in % or pixel)";s:4:"size";s:1:"5";}i:2;a:5:{s:4:"type";s:4:"text";s:5:"label";s:8:"Disabled";s:4:"name";s:18:"grid_row[disabled]";s:4:"help";s:88:"to disable: [! = not]<value>[=<check>] eg: \'!@data\' disables if content of data is empty";s:4:"size";s:2:"10";}i:3;a:5:{s:4:"type";s:4:"text";s:4:"name";s:15:"grid_row[class]";s:4:"size";s:2:"10";s:5:"label";s:5:"Class";s:4:"help";s:100:"CSS-class name for this row, preset: \'th\' = header, \'row\' = alternating row, \'row_off\'+\'row_on\' rows";}i:4;a:4:{s:4:"type";s:6:"select";s:4:"name";s:16:"grid_row[valign]";s:5:"label";s:6:"Valign";s:4:"help";s:25:"vertical alignment of row";}}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:7;a:2:{s:1:"A";a:6:{s:4:"type";s:8:"groupbox";s:4:"size";s:12:"2,horizontal";s:5:"label";s:22:"Grid column attributes";s:4:"span";s:3:"all";i:1;a:5:{s:4:"type";s:4:"text";s:5:"label";s:5:"Width";s:4:"name";s:18:"grid_column[width]";s:4:"help";s:31:"width of column (in % or pixel)";s:4:"size";s:1:"5";}i:2;a:5:{s:4:"type";s:4:"text";s:4:"size";s:2:"10";s:5:"label";s:8:"Disabled";s:4:"name";s:21:"grid_column[disabled]";s:4:"help";s:88:"to disable: [! = not]<value>[=<check>] eg: \'!@data\' disables if content of data is empty";}}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:8;a:2:{s:1:"A";a:6:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"3";s:4:"span";s:3:"all";i:1;a:4:{s:4:"type";s:6:"button";s:5:"label";s:4:"Save";s:4:"name";s:4:"save";s:4:"help";s:66:"saves the template with given version number and closes the window";}i:2;a:4:{s:4:"type";s:6:"button";s:5:"label";s:5:"Apply";s:4:"name";s:5:"apply";s:4:"help";s:56:"applies the changes to the given version of the template";}i:3;a:4:{s:4:"type";s:6:"button";s:5:"label";s:6:"Cancel";s:4:"name";s:6:"cancel";s:4:"help";s:44:"closes the window without saving the changes";}}s:1:"B";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:8;s:4:"cols";i:2;}}','size' => '','style' => '.redItalic { color: red; font-style: italic; }.gray { color: gray; }','modified' => '1108727772',);
|
||||
$templ_data[] = array('name' => 'etemplate.editor.values','template' => '','lang' => '','group' => '0','version' => '1.0.1.001','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:2:{s:2:"c1";s:3:"nmh";s:2:"c2";s:3:"nmr";}i:1;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:3:"Key";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:5:"Value";}}i:2;a:2:{s:1:"A";a:3:{s:4:"type";s:4:"text";s:4:"name";s:8:"$col$row";s:8:"readonly";s:1:"1";}s:1:"B";a:2:{s:4:"type";s:4:"text";s:4:"name";s:8:"$col$row";}}}s:4:"rows";i:2;s:4:"cols";i:2;}}','size' => '','style' => '','modified' => '1115473274',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.editor.widget','template' => '','lang' => '','group' => '0','version' => '1.0.1.004','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:9:{i:0;a:4:{s:2:"h2";s:6:",!@msg";s:2:"h6";s:11:",!@grid_row";s:2:"h7";s:14:",!@grid_column";s:2:"c1";s:2:"th";}i:1;a:2:{s:1:"A";a:7:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"4";s:4:"span";s:3:"all";i:1;a:5:{s:4:"type";s:6:"select";s:4:"size";s:7:"Edit...";s:4:"name";s:9:"edit_menu";s:8:"onchange";s:1:"1";s:4:"help";s:33:"delete and cut save the template!";}i:2;a:5:{s:4:"type";s:6:"select";s:4:"size";s:6:"Box...";s:4:"name";s:8:"box_menu";s:8:"onchange";s:1:"1";s:4:"help";s:33:"all operations save the template!";}i:3;a:5:{s:4:"type";s:6:"select";s:4:"size";s:6:"Row...";s:4:"name";s:8:"row_menu";s:8:"onchange";s:1:"1";s:4:"help";s:33:"all operations save the template!";}i:4;a:5:{s:4:"type";s:6:"select";s:4:"size";s:9:"Column...";s:4:"name";s:11:"column_menu";s:8:"onchange";s:1:"1";s:4:"help";s:33:"all operations save the template!";}}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:2;a:1:{s:1:"A";a:4:{s:4:"type";s:5:"label";s:4:"span";s:13:"all,redItalic";s:7:"no_lang";s:1:"1";s:4:"name";s:3:"msg";}}i:3;a:2:{s:1:"A";a:3:{s:4:"type";s:4:"html";s:5:"label";s:4:"Name";s:4:"name";s:11:"java_script";}s:1:"B";a:7:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"5";i:1;a:3:{s:4:"type";s:4:"text";s:4:"name";s:4:"name";s:8:"readonly";s:1:"1";}i:2;a:3:{s:4:"type";s:4:"text";s:4:"name";s:8:"template";s:8:"readonly";s:1:"1";}i:3;a:3:{s:4:"type";s:4:"text";s:4:"name";s:4:"lang";s:8:"readonly";s:1:"1";}i:4;a:5:{s:4:"type";s:4:"text";s:4:"size";s:2:"20";s:5:"label";s:7:"Version";s:4:"name";s:7:"version";s:4:"help";s:56:"increment version to not overwrite the existing template";}i:5;a:5:{s:4:"type";s:5:"label";s:4:"span";s:5:",gray";s:5:"label";s:4:"Path";s:7:"no_lang";s:1:"1";s:4:"name";s:4:"path";}}}i:4;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:4:"Path";}s:1:"B";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";i:1;a:3:{s:4:"type";s:4:"path";s:4:"name";s:4:"goto";s:4:"help";s:25:"switch to a parent widget";}i:2;a:6:{s:4:"type";s:4:"path";s:4:"size";s:1:" ";s:4:"name";s:5:"goto2";s:4:"help";s:44:"switch to an other widgets of that container";s:7:"no_lang";s:1:"1";s:5:"label";s:1:" ";}}}i:5;a:2:{s:1:"A";a:4:{s:4:"type";s:8:"template";s:4:"size";s:4:"cell";s:4:"span";s:3:"all";s:4:"name";s:31:"etemplate.editor.widget.generic";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:6;a:2:{s:1:"A";a:8:{s:4:"type";s:8:"groupbox";s:4:"size";s:12:"4,horizontal";s:5:"label";s:19:"Grid row attributes";s:4:"span";s:3:"all";i:1;a:5:{s:4:"type";s:4:"text";s:4:"size";s:1:"5";s:5:"label";s:6:"Height";s:4:"name";s:16:"grid_row[height]";s:4:"help";s:29:"height of row (in % or pixel)";}i:2;a:5:{s:4:"type";s:4:"text";s:4:"size";s:2:"10";s:5:"label";s:8:"Disabled";s:4:"name";s:18:"grid_row[disabled]";s:4:"help";s:88:"to disable: [! = not]<value>[=<check>] eg: \'!@data\' disables if content of data is empty";}i:3;a:5:{s:4:"type";s:4:"text";s:4:"size";s:2:"10";s:5:"label";s:5:"Class";s:4:"name";s:15:"grid_row[class]";s:4:"help";s:100:"CSS-class name for this row, preset: \'th\' = header, \'row\' = alternating row, \'row_off\'+\'row_on\' rows";}i:4;a:4:{s:4:"type";s:6:"select";s:5:"label";s:6:"Valign";s:4:"name";s:16:"grid_row[valign]";s:4:"help";s:25:"vertical alignment of row";}}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:7;a:2:{s:1:"A";a:6:{s:4:"type";s:8:"groupbox";s:4:"size";s:12:"2,horizontal";s:5:"label";s:22:"Grid column attributes";s:4:"span";s:3:"all";i:1;a:5:{s:4:"type";s:4:"text";s:4:"size";s:1:"5";s:5:"label";s:5:"Width";s:4:"name";s:18:"grid_column[width]";s:4:"help";s:31:"width of column (in % or pixel)";}i:2;a:5:{s:4:"type";s:4:"text";s:4:"size";s:2:"10";s:5:"label";s:8:"Disabled";s:4:"name";s:21:"grid_column[disabled]";s:4:"help";s:88:"to disable: [! = not]<value>[=<check>] eg: \'!@data\' disables if content of data is empty";}}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:8;a:2:{s:1:"A";a:6:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"3";s:4:"span";s:3:"all";i:1;a:4:{s:4:"type";s:6:"button";s:5:"label";s:4:"Save";s:4:"name";s:4:"save";s:4:"help";s:66:"saves the template with given version number and closes the window";}i:2;a:4:{s:4:"type";s:6:"button";s:5:"label";s:5:"Apply";s:4:"name";s:5:"apply";s:4:"help";s:56:"applies the changes to the given version of the template";}i:3;a:5:{s:4:"type";s:6:"button";s:5:"label";s:6:"Cancel";s:4:"name";s:6:"cancel";s:4:"help";s:44:"closes the window without saving the changes";s:7:"onclick";s:15:"window.close();";}}s:1:"B";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:8;s:4:"cols";i:2;}}','size' => '','style' => '','modified' => '1108739783',);
|
||||
|
||||
@ -141,6 +81,9 @@ $templ_data[] = array('name' => 'etemplate.nextmatch_widget','template' => '','l
|
||||
$templ_data[] = array('name' => 'etemplate.nextmatch_widget','template' => '','lang' => '','group' => '0','version' => '0.9.15.008','data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:3:{s:1:"A";s:3:"40%";s:1:"C";s:3:"40%";s:2:"h4";s:13:",!@bottom_too";}i:1;a:3:{s:1:"A";a:2:{s:4:"type";s:8:"template";s:4:"name";s:12:"@header_left";}s:1:"B";a:5:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";s:5:"align";s:6:"center";i:1;a:4:{s:4:"type";s:5:"label";s:5:"label";s:7:"showing";s:7:"no_lang";s:1:"1";s:4:"name";s:5:"range";}i:2;a:4:{s:4:"type";s:5:"label";s:5:"label";s:2:"of";s:7:"no_lang";s:1:"1";s:4:"name";s:5:"total";}}s:1:"C";a:3:{s:4:"type";s:8:"template";s:5:"align";s:5:"right";s:4:"name";s:13:"@header_right";}}i:2;a:3:{s:1:"A";a:4:{s:4:"type";s:8:"template";s:4:"span";s:3:"all";s:5:"align";s:6:"center";s:4:"name";s:33:"etemplate.nextmatch_widget.nm_row";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:8:"onchange";s:1:"1";}s:1:"C";a:1:{s:4:"type";s:5:"label";}}i:3;a:3:{s:1:"A";a:5:{s:4:"type";s:8:"template";s:4:"size";s:4:"rows";s:4:"span";s:3:"all";s:5:"align";s:6:"center";s:4:"name";s:9:"@template";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}}i:4;a:3:{s:1:"A";a:5:{s:4:"type";s:8:"template";s:4:"size";s:6:"bottom";s:4:"span";s:3:"all";s:5:"align";s:6:"center";s:4:"name";s:33:"etemplate.nextmatch_widget.nm_row";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:4;s:4:"cols";i:3;s:4:"size";s:4:"100%";}}','size' => '100%','style' => '.activ_sortcolumn { color: red; font-weight: bold; }
|
||||
.inactiv_sortcolumn { color: green; font-weight: normal; }','modified' => '1070783966',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.nextmatch_widget','template' => '','lang' => '','group' => '0','version' => '1.0.0.001','data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:3:{s:1:"A";s:3:"35%";s:1:"C";s:3:"35%";s:2:"h4";s:13:",!@bottom_too";}i:1;a:3:{s:1:"A";a:2:{s:4:"type";s:8:"template";s:4:"name";s:12:"@header_left";}s:1:"B";a:5:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";s:5:"align";s:6:"center";i:1;a:4:{s:4:"type";s:5:"label";s:5:"label";s:7:"showing";s:7:"no_lang";s:1:"1";s:4:"name";s:5:"range";}i:2;a:4:{s:4:"type";s:5:"label";s:5:"label";s:2:"of";s:7:"no_lang";s:1:"1";s:4:"name";s:5:"total";}}s:1:"C";a:3:{s:4:"type";s:8:"template";s:5:"align";s:5:"right";s:4:"name";s:13:"@header_right";}}i:2;a:3:{s:1:"A";a:4:{s:4:"type";s:8:"template";s:4:"span";s:3:"all";s:5:"align";s:6:"center";s:4:"name";s:33:"etemplate.nextmatch_widget.nm_row";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:8:"onchange";s:1:"1";}s:1:"C";a:1:{s:4:"type";s:5:"label";}}i:3;a:3:{s:1:"A";a:5:{s:4:"type";s:8:"template";s:4:"size";s:4:"rows";s:4:"span";s:3:"all";s:5:"align";s:6:"center";s:4:"name";s:9:"@template";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}}i:4;a:3:{s:1:"A";a:5:{s:4:"type";s:8:"template";s:4:"size";s:6:"bottom";s:4:"span";s:3:"all";s:5:"align";s:6:"center";s:4:"name";s:33:"etemplate.nextmatch_widget.nm_row";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:4;s:4:"cols";i:3;s:4:"size";s:4:"100%";}}','size' => '100%','style' => '.activ_sortcolumn { color: red; font-weight: bold; }
|
||||
.inactiv_sortcolumn { color: green; font-weight: normal; }','modified' => '1114155787',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.nextmatch_widget.header_only','template' => '','lang' => '','group' => '0','version' => '0.9.15.001','data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:2:{s:1:"A";s:3:"50%";s:1:"B";s:3:"50%";}i:1;a:2:{s:1:"A";a:2:{s:4:"type";s:8:"template";s:4:"name";s:12:"@header_left";}s:1:"B";a:3:{s:4:"type";s:8:"template";s:5:"align";s:5:"right";s:4:"name";s:13:"@header_right";}}i:2;a:2:{s:1:"A";a:5:{s:4:"type";s:8:"template";s:4:"size";s:4:"rows";s:4:"span";s:3:"all";s:5:"align";s:6:"center";s:4:"name";s:9:"@template";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:2;s:4:"cols";i:2;s:4:"size";s:4:"100%";}}','size' => '100%','style' => '','modified' => '1056877177',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.nextmatch_widget.header_only','template' => '','lang' => '','group' => '0','version' => '0.9.15.002','data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:2:{s:1:"A";s:3:"50%";s:1:"B";s:3:"50%";}i:1;a:2:{s:1:"A";a:2:{s:4:"type";s:8:"template";s:4:"name";s:12:"@header_left";}s:1:"B";a:3:{s:4:"type";s:8:"template";s:5:"align";s:5:"right";s:4:"name";s:13:"@header_right";}}i:2;a:2:{s:1:"A";a:5:{s:4:"type";s:8:"template";s:4:"size";s:4:"rows";s:4:"span";s:3:"all";s:5:"align";s:6:"center";s:4:"name";s:9:"@template";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:2;s:4:"cols";i:2;s:4:"size";s:4:"100%";}}','size' => '100%','style' => '.activ_sortcolumn { color: red; font-weight: bold; }
|
||||
@ -177,13 +120,13 @@ $templ_data[] = array('name' => 'etemplate.tab_widget.tab_dom','template' => '',
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.tab_widget.test','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:3:{s:1:"A";s:3:"120";s:2:"c1";s:6:"row_on";s:2:"c2";s:7:"row_off";}i:1;a:3:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:7:"Surname";s:4:"size";s:10:",,,surname";}s:1:"B";a:3:{s:4:"type";s:4:"text";s:4:"name";s:7:"surname";s:4:"help";s:7:"Surname";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:5:"label";s:10:"Familyname";s:4:"name";s:10:"familyname";s:4:"help";s:10:"Familyname";}}i:2;a:3:{s:1:"A";a:5:{s:4:"type";s:3:"tab";s:4:"span";s:3:"all";s:5:"label";s:16:"Privat|Work|Note";s:4:"name";s:16:"privat|work|note";s:4:"help";s:42:"privat address|work address|free note-text";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}}i:3;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}}i:4;a:3:{s:1:"A";a:4:{s:4:"type";s:6:"button";s:5:"label";s:4:"Save";s:4:"name";s:4:"save";s:4:"help";s:12:"Save changes";}s:1:"B";a:4:{s:4:"type";s:6:"button";s:5:"label";s:6:"Cancel";s:4:"name";s:6:"cancel";s:4:"help";s:26:"Cancel, discarding changes";}s:1:"C";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:4;s:4:"cols";i:3;}}','size' => '','style' => '','modified' => '1108424730',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.tab_widget.test.note','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"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.";}}}s:4:"rows";i:1;s:4:"cols";i:2;s:4:"size";s:4:"100%";}}','size' => '100%','style' => '','modified' => '1032907904',);
|
||||
$templ_data[] = array('name' => 'etemplate.tab_widget.test.note','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"data";a:2:{i:0;a:2:{s:1:"A";s:3:"115";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.";}}}s:4:"rows";i:1;s:4:"cols";i:2;s:4:"size";s:4:"100%";}}','size' => '100%','style' => '','modified' => '1032907904',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.tab_widget.test.privat','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"data";a:6:{i:0;a:6:{s:1:"A";s:3:"100";s:2:"c1";s:3:"nmr";s:2:"c2";s:3:"nmr";s:2:"c3";s:3:"nmr";s:2:"c4";s:3:"nmr";s:2:"c5";s:3:"nmr";}i:1;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:6:"Street";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:4:"size";s:2:"40";s:4:"name";s:5:"p_str";s:4:"help";s:6:"Street";}}i:2;a:2:{s:1:"A";a:5:{s:4:"type";s:4:"text";s:4:"size";s:1:"8";s:5:"label";s:4:"city";s:4:"name";s:5:"p_zip";s:4:"help";s:8:"ZIP Code";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:4:"size";s:2:"40";s:4:"name";s:6:"p_city";s:4:"help";s:4:"City";}}i:3;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:7:"Telefon";}s:1:"B";a:3:{s:4:"type";s:4:"text";s:4:"name";s:9:"p_telefon";s:4:"help";s:13:"Telefonnumber";}}i:4;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:3:"Fax";}s:1:"B";a:3:{s:4:"type";s:4:"text";s:4:"name";s:5:"p_fax";s:4:"help";s:9:"Faxnumber";}}i:5;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:8:"Birthday";}s:1:"B";a:4:{s:4:"type";s:4:"date";s:4:"size";s:7:"Y-m-d,1";s:4:"name";s:8:"geb_date";s:4:"help";s:7:"Birtday";}}}s:4:"rows";i:5;s:4:"cols";i:2;s:4:"size";s:4:"100%";}}','size' => '100%','style' => '','modified' => '1046598712',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.tab_widget.test.privat','template' => '','lang' => '','group' => '0','version' => '1','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:6:{i:0;a:6:{s:1:"A";s:3:"120";s:2:"c1";s:3:"nmr";s:2:"c2";s:3:"nmr";s:2:"c3";s:3:"nmr";s:2:"c4";s:3:"nmr";s:2:"c5";s:3:"nmr";}i:1;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:6:"Street";s:4:"size";s:8:",,,p_str";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:4:"size";s:2:"40";s:4:"name";s:5:"p_str";s:4:"help";s:6:"Street";}}i:2;a:2:{s:1:"A";a:5:{s:4:"type";s:4:"text";s:4:"size";s:1:"8";s:5:"label";s:4:"city";s:4:"name";s:5:"p_zip";s:4:"help";s:8:"ZIP Code";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:4:"size";s:2:"40";s:4:"name";s:6:"p_city";s:4:"help";s:4:"City";}}i:3;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:7:"Telefon";}s:1:"B";a:3:{s:4:"type";s:4:"text";s:4:"name";s:9:"p_telefon";s:4:"help";s:13:"Telefonnumber";}}i:4;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:3:"Fax";}s:1:"B";a:3:{s:4:"type";s:4:"text";s:4:"name";s:5:"p_fax";s:4:"help";s:9:"Faxnumber";}}i:5;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:8:"Birthday";}s:1:"B";a:4:{s:4:"type";s:4:"date";s:4:"size";s:7:"Y-m-d,1";s:4:"name";s:8:"geb_date";s:4:"help";s:7:"Birtday";}}}s:4:"rows";i:5;s:4:"cols";i:2;}}','size' => '','style' => '','modified' => '1108424742',);
|
||||
$templ_data[] = array('name' => 'etemplate.tab_widget.test.privat','template' => '','lang' => '','group' => '0','version' => '1','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:6:{i:0;a:6:{s:1:"A";s:3:"115";s:2:"c1";s:3:"nmr";s:2:"c2";s:3:"nmr";s:2:"c3";s:3:"nmr";s:2:"c4";s:3:"nmr";s:2:"c5";s:3:"nmr";}i:1;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:6:"Street";s:4:"size";s:8:",,,p_str";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:4:"size";s:2:"40";s:4:"name";s:5:"p_str";s:4:"help";s:6:"Street";}}i:2;a:2:{s:1:"A";a:5:{s:4:"type";s:4:"text";s:4:"size";s:1:"8";s:5:"label";s:4:"city";s:4:"name";s:5:"p_zip";s:4:"help";s:8:"ZIP Code";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:4:"size";s:2:"40";s:4:"name";s:6:"p_city";s:4:"help";s:4:"City";}}i:3;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:7:"Telefon";s:4:"size";s:12:",,,p_telefon";}s:1:"B";a:3:{s:4:"type";s:4:"text";s:4:"name";s:9:"p_telefon";s:4:"help";s:13:"Telefonnumber";}}i:4;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:3:"Fax";s:4:"size";s:8:",,,p_fax";}s:1:"B";a:3:{s:4:"type";s:4:"text";s:4:"name";s:5:"p_fax";s:4:"help";s:9:"Faxnumber";}}i:5;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:8:"Birthday";}s:1:"B";a:4:{s:4:"type";s:4:"date";s:4:"size";s:7:"Y-m-d,1";s:4:"name";s:8:"geb_date";s:4:"help";s:7:"Birtday";}}}s:4:"rows";i:5;s:4:"cols";i:2;}}','size' => '','style' => '','modified' => '1108424742',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.tab_widget.test.work','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"data";a:7:{i:0;a:7:{s:1:"A";s:3:"100";s:2:"c1";s:3:"nmr";s:2:"c2";s:3:"nmr";s:2:"c3";s:3:"nmr";s:2:"c4";s:3:"nmr";s:2:"c5";s:3:"nmr";s:2:"c6";s:3:"nmr";}i:1;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:11:"Companyname";}s:1:"B";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"40";s:4:"name";s:7:"company";}}i:2;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:6:"Street";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:4:"size";s:2:"40";s:4:"name";s:5:"w_str";s:4:"help";s:6:"Street";}}i:3;a:2:{s:1:"A";a:5:{s:4:"type";s:4:"text";s:4:"size";s:1:"8";s:5:"label";s:4:"city";s:4:"name";s:5:"w_zip";s:4:"help";s:8:"ZIP Code";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:4:"size";s:2:"40";s:4:"name";s:6:"w_city";s:4:"help";s:4:"City";}}i:4;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:7:"Telefon";}s:1:"B";a:3:{s:4:"type";s:4:"text";s:4:"name";s:9:"w_telefon";s:4:"help";s:13:"Telefonnumber";}}i:5;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:3:"Fax";}s:1:"B";a:3:{s:4:"type";s:4:"text";s:4:"name";s:5:"w_fax";s:4:"help";s:9:"Faxnumber";}}i:6;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:7:"Founded";}s:1:"B";a:4:{s:4:"type";s:4:"date";s:4:"size";s:7:"Y-m-d,1";s:4:"name";s:7:"founded";s:4:"help";s:28:"when was the company founded";}}}s:4:"rows";i:6;s:4:"cols";i:2;s:4:"size";s:4:"100%";}}','size' => '100%','style' => '','modified' => '1046598820',);
|
||||
$templ_data[] = array('name' => 'etemplate.tab_widget.test.work','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"data";a:7:{i:0;a:7:{s:1:"A";s:3:"115";s:2:"c1";s:3:"nmr";s:2:"c2";s:3:"nmr";s:2:"c3";s:3:"nmr";s:2:"c4";s:3:"nmr";s:2:"c5";s:3:"nmr";s:2:"c6";s:3:"nmr";}i:1;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:11:"Companyname";}s:1:"B";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"40";s:4:"name";s:7:"company";}}i:2;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:6:"Street";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:4:"size";s:2:"40";s:4:"name";s:5:"w_str";s:4:"help";s:6:"Street";}}i:3;a:2:{s:1:"A";a:5:{s:4:"type";s:4:"text";s:4:"size";s:1:"8";s:5:"label";s:4:"city";s:4:"name";s:5:"w_zip";s:4:"help";s:8:"ZIP Code";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:4:"size";s:2:"40";s:4:"name";s:6:"w_city";s:4:"help";s:4:"City";}}i:4;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:7:"Telefon";}s:1:"B";a:3:{s:4:"type";s:4:"text";s:4:"name";s:9:"w_telefon";s:4:"help";s:13:"Telefonnumber";}}i:5;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:3:"Fax";}s:1:"B";a:3:{s:4:"type";s:4:"text";s:4:"name";s:5:"w_fax";s:4:"help";s:9:"Faxnumber";}}i:6;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:7:"Founded";}s:1:"B";a:4:{s:4:"type";s:4:"date";s:4:"size";s:7:"Y-m-d,1";s:4:"name";s:7:"founded";s:4:"help";s:28:"when was the company founded";}}}s:4:"rows";i:6;s:4:"cols";i:2;s:4:"size";s:4:"100%";}}','size' => '100%','style' => '','modified' => '1046598820',);
|
||||
|
||||
$templ_data[] = array('name' => 'etemplate.test-no-grid','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:7:{s:5:"class";s:9:"someClass";s:5:"width";s:3:"50%";s:6:"height";s:3:"500";s:4:"type";s:3:"box";i:1;a:5:{s:4:"type";s:8:"groupbox";s:5:"label";s:18:"Selection grouping";i:1;a:4:{s:5:"label";s:18:"%s selection #1 or";s:4:"name";s:9:"selection";s:4:"size";s:1:"1";s:4:"type";s:5:"radio";}s:4:"size";s:1:"2";i:2;a:4:{s:5:"label";s:15:"%s selection #2";s:4:"name";s:9:"selection";s:4:"size";s:1:"2";s:4:"type";s:5:"radio";}}s:4:"size";s:1:"2";i:2;a:5:{s:4:"type";s:8:"groupbox";s:5:"label";s:17:"An other grouping";i:1;a:4:{s:5:"label";s:18:"%s selection #3 or";s:4:"name";s:5:"other";s:4:"size";s:1:"1";s:4:"type";s:5:"radio";}s:4:"size";s:1:"2";i:2;a:4:{s:5:"label";s:15:"%s selection #4";s:4:"name";s:5:"other";s:4:"size";s:1:"2";s:4:"type";s:5:"radio";}}}}','size' => '','style' => '','modified' => '1107864007',);
|
||||
|
||||
|
@ -239,6 +239,7 @@ paste etemplate de Einf
|
||||
path etemplate de Pfad
|
||||
please enter table-name first !!! etemplate de Bitte geben Sie zuerst einen Tabellennamen an !!!
|
||||
pm etemplate de Nachmittag
|
||||
popup etemplate de Popup
|
||||
precision etemplate de Genauigkeit
|
||||
primary key etemplate de Primary Key
|
||||
primary key for the table, gets automaticaly indexed etemplate de Hauptindex (Primary Key) der Tabelle, wird automatisch indiziert
|
||||
|
@ -239,6 +239,7 @@ paste etemplate en Paste
|
||||
path etemplate en Path
|
||||
please enter table-name first !!! etemplate en Please enter table-name first !!!
|
||||
pm etemplate en pm
|
||||
popup etemplate en Popup
|
||||
precision etemplate en Precision
|
||||
primary key etemplate en Primary Key
|
||||
primary key for the table, gets automaticaly indexed etemplate en Primary key for the table, gets automaticaly indexed
|
||||
|
79
etemplate/templates/default/editor.list_result.xet
Normal file
79
etemplate/templates/default/editor.list_result.xet
Normal file
@ -0,0 +1,79 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- $Id$ -->
|
||||
<overlay>
|
||||
<template id="etemplate.editor.keys" template="" lang="" group="0" version="1.0.1.001">
|
||||
<grid>
|
||||
<columns>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<textbox size="25" maxlength="80" label="Name" id="name" statustext="name of the eTemplate, should be in form application.function[.subTemplate]"/>
|
||||
<textbox size="8" maxlength="20" label="Template" id="template" statustext="name of phpgw-template set (e.g. verdilak): '' = default (will read pref. template, us 'default' to read default template '')"/>
|
||||
<textbox size="5" maxlength="5" label="Lang" id="lang" statustext="language-short (eg. 'en' for english) for language-dependent template ('' reads your pref. languages or the default, us 'default' to read the default template '')"/>
|
||||
<textbox size="9" maxlength="20" label="Version" id="version" statustext="version-number, should be in the form: major.minor.revision.number (eg. 0.9.13.001 all numbers filled up with zeros)"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
</template>
|
||||
<template id="etemplate.editor.list_result.list" template="" lang="" group="0" version="1.0.0.002">
|
||||
<grid>
|
||||
<columns>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row class="th">
|
||||
<description value="Name" class="lr_padding"/>
|
||||
<description value="Template" class="lr_padding"/>
|
||||
<description value="Lang" class="lr_padding"/>
|
||||
<description align="center" value="Version" class="lr_padding"/>
|
||||
<button label="Search" align="center" id="search" statustext="start new search for the above pattern" class="lr_padding"/>
|
||||
<button label="Delete" id="delete_selected" statustext="delete ALL selected eTemplates, WITHOUT further inquiry" class="lr_padding"/>
|
||||
</row>
|
||||
<row class="row">
|
||||
<description no_lang="1" options=",,,selected[$row]" value="@${row}[name]" class="lr_padding"/>
|
||||
<description no_lang="1" id="${row}[template]" class="lr_padding"/>
|
||||
<description no_lang="1" id="${row}[lang]" class="lr_padding"/>
|
||||
<description no_lang="1" options=",,,selected[$row]" value="@${row}[version]" class="lr_padding"/>
|
||||
<hbox align="center">
|
||||
<button label="Edit" id="read[$row]" image="edit" statustext="load this template into the editor"/>
|
||||
<button label="Delete" onclick="return confirm('Delete this eTemplate');" id="delete[$row]" image="delete" statustext="Delete this eTemplate"/>
|
||||
</hbox>
|
||||
<checkbox align="center" id="selected[$row]" statustext="select this eTemplate to delete it"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<styles>
|
||||
td.lr_padding { padding-left: 5px; padding-right: 5px; }
|
||||
</styles>
|
||||
</template>
|
||||
<template id="etemplate.editor.list_result" template="" lang="" group="0" version="1.0.0.002">
|
||||
<grid width="100%">
|
||||
<columns>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row disabled="!@msg">
|
||||
<description span="all" class="redItalic" no_lang="1" id="msg"/>
|
||||
</row>
|
||||
<row>
|
||||
<template id="etemplate.editor.keys"/>
|
||||
</row>
|
||||
<row>
|
||||
<template span="all" id="etemplate.editor.list_result.list"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<styles>
|
||||
.redItalic { color:red; font-style:italic;}
|
||||
</styles>
|
||||
</template>
|
||||
</overlay>
|
69
etemplate/templates/default/editor.new.xet
Normal file
69
etemplate/templates/default/editor.new.xet
Normal file
@ -0,0 +1,69 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- $Id$ -->
|
||||
<overlay>
|
||||
<template id="etemplate.editor.keys" template="" lang="" group="0" version="1.0.1.001">
|
||||
<grid>
|
||||
<columns>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<textbox size="25" maxlength="80" label="Name" id="name" statustext="name of the eTemplate, should be in form application.function[.subTemplate]"/>
|
||||
<textbox size="8" maxlength="20" label="Template" id="template" statustext="name of phpgw-template set (e.g. verdilak): '' = default (will read pref. template, us 'default' to read default template '')"/>
|
||||
<textbox size="5" maxlength="5" label="Lang" id="lang" statustext="language-short (eg. 'en' for english) for language-dependent template ('' reads your pref. languages or the default, us 'default' to read the default template '')"/>
|
||||
<textbox size="9" maxlength="20" label="Version" id="version" statustext="version-number, should be in the form: major.minor.revision.number (eg. 0.9.13.001 all numbers filled up with zeros)"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
</template>
|
||||
<template id="etemplate.editor.new" template="" lang="" group="0" version="1.0.1.003">
|
||||
<grid>
|
||||
<columns>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row disabled="!@msg">
|
||||
<description span="all" class="redItalic" no_lang="1" id="msg"/>
|
||||
</row>
|
||||
<row disabled="!@xml">
|
||||
<groupbox span="all">
|
||||
<caption label="Export XML"/>
|
||||
<html id="xml"/>
|
||||
</groupbox>
|
||||
</row>
|
||||
<row>
|
||||
<hbox span="all">
|
||||
<template id="etemplate.editor.keys"/>
|
||||
<button label="Read" id="read" statustext="read eTemplate from database (for the keys above)"/>
|
||||
<button label="Save" id="save" statustext="save the eTemplate under the above keys (name, ...), change them for a SaveAs"/>
|
||||
<button label="Delete" id="delete" statustext="Delete the spezified eTemplate" onclick="return confirm('Delete the spezified eTemplate');"/>
|
||||
</hbox>
|
||||
</row>
|
||||
<row>
|
||||
<hbox span="all">
|
||||
<button id="styles" label="CSS-Styles" statustext="edit embeded CSS styles or of the applications app.css file" onclick="window.open(egw::link('/index.php','menuaction=etemplate.editor.styles&name=$cont[name]&template=$cont[template]&lang=$cont[lang]&version=$cont[version]'),'etemplate_editor_styles','dependent=yes,width=600,height=450,location=no,menubar=no,toolbar=no,scrollbars=yes,status=yes'); return false;"/>
|
||||
<button label="Show values" id="values" statustext="shows / allows you to enter values into the eTemplate for testing"/>
|
||||
<button label="Dump4Setup" id="dump" statustext="writes a 'etemplates.inc.php' file (for application in Name) in the setup-dir of the app"/>
|
||||
<button label="Write Langfile" id="langfile" statustext="creates an english ('en') langfile from label and helptexts (for application in Name)"/>
|
||||
<button label="Export XML" id="export_xml" statustext="export the loaded eTemplate into a xml-file"/>
|
||||
<file id="file" statustext="xml-file to import"/>
|
||||
<button label="Import XML" id="import_xml" statustext="import an eTemplate from a xml-file"/>
|
||||
</hbox>
|
||||
</row>
|
||||
<row>
|
||||
<hrule span="all"/>
|
||||
</row>
|
||||
<row>
|
||||
<html span="all" id="onclick"/>
|
||||
</row>
|
||||
<row>
|
||||
<template content="cont"/>
|
||||
<description/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
</template>
|
||||
</overlay>
|
32
etemplate/templates/default/editor.styles.xet
Normal file
32
etemplate/templates/default/editor.styles.xet
Normal file
@ -0,0 +1,32 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- $Id$ -->
|
||||
<overlay>
|
||||
<template id="etemplate.editor.styles" template="" lang="" group="0" version="1.0.1.001">
|
||||
<grid>
|
||||
<columns>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row disabled="!@msg">
|
||||
<description id="msg" class="redItalic" no_lang="1"/>
|
||||
</row>
|
||||
<row>
|
||||
<menulist>
|
||||
<menupopup label="CSS-Styles" id="from" onchange="1" no_lang="1" statustext=" edit embeded CSS styles or of the applications app.css file"/>
|
||||
</menulist>
|
||||
</row>
|
||||
<row>
|
||||
<textbox multiline="true" rows="22" cols="70" id="styles"/>
|
||||
</row>
|
||||
<row>
|
||||
<hbox>
|
||||
<button label="Save" id="save" statustext="save the changes made and close the window"/>
|
||||
<button label="Apply" id="apply" statustext="applies the changes made"/>
|
||||
<button label="Cancel" id="cancel" statustext="closes the window without saving the changes" onclick="window.close();"/>
|
||||
<html id="java_script"/>
|
||||
</hbox>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
</template>
|
||||
</overlay>
|
@ -1,204 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- $Id$ -->
|
||||
<overlay>
|
||||
<grid id="etemplate.editor.keys" template="" lang="" group="0" version="0.9.13.003">
|
||||
<columns>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<textbox size="30" label="Name" id="name" statustext="name of the eTemplate, should be in form application.function[.subTemplate]"/>
|
||||
<textbox size="12" label="Template" id="template" statustext="name of phpgw-template set (e.g. verdilak): '' = default (will read pref. template, us 'default' to read default template '')"/>
|
||||
<textbox size="7" maxlength="5" label="Lang" id="lang" statustext="language-short (eg. 'en' for english) for language-dependent template ('' reads your pref. languages or the default, us 'default' to read the default template '')"/>
|
||||
<textbox size="12" maxlength="10" label="Version" id="version" statustext="version-number, should be in the form: major.minor.revision.number (eg. 0.9.13.001 all numbers filled up with zeros)"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<grid id="etemplate.editor.options" template="" lang="" group="0" version="0.9.15.001">
|
||||
<columns>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<textbox size="8" label="Width" id="width" statustext="Width of the table in % or pixels for the table-tag and (optional) div"/>
|
||||
<textbox size="8" label="Height" id="height" statustext="Height of the table in % or pixels for the table-tag and (optional) div"/>
|
||||
<menulist>
|
||||
<menupopup label="Overflow" no_lang="1" id="overflow" statustext="what happens with overflowing content: visible (default), hidden, scroll, auto (browser decides)"/>
|
||||
</menulist>
|
||||
<int label="Border" id="border" statustext="Border-line-thickness for the table-tag"/>
|
||||
<textbox size="12" label="Class" id="class" statustext="CSS class for the table-tag"/>
|
||||
<int label="Spacing" id="spacing" statustext="Cellspacing for the table-tag"/>
|
||||
<int label="Padding" id="padding" statustext="Cellpadding for the table-tag"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<grid id="etemplate.editor.col_header" template="" lang="" group="0" version="0.9.15.001" width="100%">
|
||||
<columns>
|
||||
<column width="5%"/>
|
||||
<column width="5%"/>
|
||||
<column width="50%"/>
|
||||
<column width="40%"/>
|
||||
<column/>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<button label="+" no_lang="1" id="insert_col[0]" statustext="insert new column in front of all"/>
|
||||
<button label=">|<" no_lang="1" id="exchange_col[$c_]" statustext="exchange this two columns"/>
|
||||
<description options="b" no_lang="1" align="center" id=".col"/>
|
||||
<textbox size="8" label="Width, Disabled" align="right" id="width[$col_]" statustext="width of col (in % or pixel), disable col: [! = not]<value>[=<check>] eg: '!@data' disable col if content of data is empty"/>
|
||||
<button label="-" no_lang="1" align="right" id="delete_col[$c_]" statustext="delete whole column (can NOT be undone!!!)"/>
|
||||
<button label="+" no_lang="1" align="right" id="insert_col[$c_]" statustext="insert new column behind this one"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<grid id="etemplate.editor.row_header" template="" lang="" group="0" version="0.9.15.004" height="100%">
|
||||
<columns>
|
||||
<column/>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<hbox>
|
||||
<button label="+" no_lang="1" id="insert_row[0]" statustext="insert new row in front of first Line"/>
|
||||
<button label="X" no_lang="1" id="exchange_row[$row_]" statustext="exchange this row with the one above"/>
|
||||
</hbox>
|
||||
<description value="Height, Disabled" align="center"/>
|
||||
</row>
|
||||
<row>
|
||||
<description options="b" no_lang="1" align="center" id=".row"/>
|
||||
<textbox size="6" align="center" id="height[h$row_]" statustext="height of row (in % or pixel), disable row: [! = not]<value>[=<check>] eg: '!@data' disable row if content of data is empty"/>
|
||||
</row>
|
||||
<row>
|
||||
<button label="-" no_lang="1" align="center" id="delete_row[$row_]" statustext="remove Row (can NOT be undone!!!)"/>
|
||||
<description value="class, Valign" align="center"/>
|
||||
</row>
|
||||
<row>
|
||||
<button label="+" no_lang="1" align="center" id="insert_row[$row_]" statustext="insert new row after this one"/>
|
||||
<textbox size="6" align="center" id="class[c$row_]" statustext="CSS-class name for this row, preset: 'nmh' = NextMatch header, 'nmr' = alternating NM row, 'nmr0'+'nmr1' NM rows"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<grid id="etemplate.editor.cell" template="" lang="" group="0" version="0.9.15.003" height="100%">
|
||||
<columns>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row class="row">
|
||||
<description value="Type"/>
|
||||
<menulist>
|
||||
<menupopup id="type" statustext="type of the field (select Label if field should be empty)"/>
|
||||
</menulist>
|
||||
<description value="Options" align="center"/>
|
||||
<textbox size="10" id="size" statustext="Label:[bold][italic] Text:[len][,max] Numbers:[min][,[max][,len]] T.area:[rows][,cols] Radiob.:value H.Rule:[width] Templ.:[IndexInContent] Select:[multiselect] Date:[values: eg. 'Y-m-d']"/>
|
||||
<description value="Span, Class" align="center"/>
|
||||
<textbox size="10" id="span" statustext="number of colums the field/cell should span or 'all' for the remaining columns, CSS-class name (for the TD tag)"/>
|
||||
</row>
|
||||
<row class="row">
|
||||
<description value="Label"/>
|
||||
<textbox id="label" statustext="displayed in front of input or input is inserted for a '%s' in the label (label of the Submitbutton or Image-filename)"/>
|
||||
<checkbox span="2" label="%s NoTranslation" align="center" id="no_lang" statustext="select if content of field should not be translated (label gets always translated)"/>
|
||||
<description value="Align" align="center"/>
|
||||
<menulist>
|
||||
<menupopup id="align" statustext="alignment of label and input-field in table-cell"/>
|
||||
</menulist>
|
||||
</row>
|
||||
<row class="row">
|
||||
<description value="Name"/>
|
||||
<textbox id="name" statustext="index/name of returned content (name of the Template, Link / Method for Image)"/>
|
||||
<hbox span="4">
|
||||
<checkbox label="%s needed" align="center" id="needed" statustext="check if field has to be filled by user"/>
|
||||
<checkbox label="%s readonly" align="center" id="readonly" statustext="check if content should only be displayed but not altered (the content is not send back then!)"/>
|
||||
<checkbox label="%s disabled" align="center" id="disabled" statustext="if field is disabled an empty table-cell is displayed, for (temporal) removement of a field/cell"/>
|
||||
<checkbox label="%s onChange" align="center" id="onchange" statustext="enable JavaScript onChange submit"/>
|
||||
</hbox>
|
||||
</row>
|
||||
<row class="row">
|
||||
<description value="Help"/>
|
||||
<textbox size="45" span="3" id="help" statustext="displayed in statusline of browser if input-field gets focus"/>
|
||||
<description value="blurText" align="center"/>
|
||||
<textbox size="10" id="blur" statustext="this text gets displayed if the input-field is empty and has no focus (blur)"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<grid id="etemplate.editor.edit" template="" lang="" group="0" version="1.0.0.001" border="1" class="thinBorder">
|
||||
<columns>
|
||||
<column/>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row class="th">
|
||||
<image align="center" src="navbar.gif"/>
|
||||
<grid content="Col$col," id="etemplate.editor.col_header"/>
|
||||
</row>
|
||||
<row valign="top">
|
||||
<grid content="Row$row," class="th" id="etemplate.editor.row_header"/>
|
||||
<grid content="$col$row" id="etemplate.editor.cell"/>
|
||||
</row>
|
||||
</rows>
|
||||
<styles>
|
||||
.thinBorder { border: 1px solid black; border-collapse: collapse; }
|
||||
</styles>
|
||||
</grid>
|
||||
<grid id="etemplate.editor" template="" lang="" group="" version="1.0.0.001" width="100%" height="100%">
|
||||
<columns>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row disabled="!@msg">
|
||||
<description class="redItalic" no_lang="1" id="msg"/>
|
||||
</row>
|
||||
<row disabled="!@xml">
|
||||
<groupbox span="all">
|
||||
<caption label="@xml_label"/>
|
||||
<html id="xml"/>
|
||||
</groupbox>
|
||||
</row>
|
||||
<row>
|
||||
<grid span="all" id="etemplate.editor.keys"/>
|
||||
</row>
|
||||
<row>
|
||||
<hbox span="all">
|
||||
<button label="Read" id="read" statustext="read eTemplate from database (for the keys above)"/>
|
||||
<button label="Show" id="show" statustext="shows/displays eTemplate for testing, does NOT save it before"/>
|
||||
<button label="Save" id="save" statustext="save the eTemplate under the above keys (name, ...), change them for a SaveAs"/>
|
||||
<button label="Delete" id="delete" statustext="deletes the eTemplate spez. above"/>
|
||||
<button label="Dump4Setup" id="dump" statustext="writes a 'etemplates.inc.php' file (for application in Name) in the setup-dir of the app"/>
|
||||
<button label="Write Langfile" id="langfile" statustext="creates an english ('en') langfile from label and helptexts (for application in Name)"/>
|
||||
<button label="Export XML" id="export_xml" statustext="export the loaded eTemplate into a xml-file"/>
|
||||
<button label="Import XML" id="import_xml" statustext="import an eTemplate from a xml-file"/>
|
||||
<file id="file" statustext="xml-file to import"/>
|
||||
</hbox>
|
||||
</row>
|
||||
<row>
|
||||
<grid content="options" span="all" id="etemplate.editor.options"/>
|
||||
</row>
|
||||
<row>
|
||||
<grid span="all" id="etemplate.editor.edit"/>
|
||||
</row>
|
||||
<row>
|
||||
<description span="all" value="CSS-styles"/>
|
||||
</row>
|
||||
<row>
|
||||
<textbox multiline="true" rows="10" cols="80" span="all" id="style" statustext="embeded CSS styles, eg. '.red { background: red; }' (note the '.' before the class-name) or '@import url(...)' (class names are global for the whole page!)"/>
|
||||
</row>
|
||||
</rows>
|
||||
<styles>
|
||||
.redItalic { color: red; font-style: italic; }
|
||||
</styles>
|
||||
</grid>
|
||||
</overlay>
|
Loading…
Reference in New Issue
Block a user