removed et_notes example from the 1.2 release of eTemplate as it's not a good example anymore, we have now many well writen eTemplate apps

This commit is contained in:
Ralf Becker 2005-11-09 20:53:49 +00:00
parent 7a4a18ec0a
commit 358c88d786
26 changed files with 0 additions and 1198 deletions

View File

@ -1,277 +0,0 @@
<?php
/***************************************************************************\
* eGroupWare - Notes eTemplate Port *
* http://www.egroupware.org *
* Written by : Andy Holman (LoCdOg) *
* Bettina Gille [ceb@phpgroupware.org] *
* Ported to eTemplate by Ralf Becker [ralfbecker@outdoor-training.de] *
* ------------------------------------------------- *
* This program is free software; you can redistribute it and/or modify it *
* under the terms of the GNU General Public License as published by the *
* Free Software Foundation; either version 2 of the License, or (at your *
* option) any later version. *
\***************************************************************************/
/* $Id$ */
class bo
{
var $start;
var $search;
var $filter;
var $cat_id;
var $public_functions = array
(
'read' => True,
'read_single' => True,
'save' => True,
'delete' => True,
'check_perms' => True,
'set_font' => True,
'set_font_size' => True,
'read_preferences' => True,
'save_preferences' => True,
'get_rows' => True
);
var $soap_functions = array(
'list' => array(
'in' => array('int','int','struct','string','int'),
'out' => array('array')
),
'read' => array(
'in' => array('int','struct'),
'out' => array('array')
),
'save' => array(
'in' => array('int','struct'),
'out' => array()
),
'delete' => array(
'in' => array('int','struct'),
'out' => array()
)
);
function bo($session=False)
{
$this->so = CreateObject('et_notes.so');
$this->account = $GLOBALS['phpgw_info']['user']['account_id'];
$this->grants = $GLOBALS['phpgw']->acl->get_grants('et_notes');
$this->grants[$this->account] = PHPGW_ACL_READ + PHPGW_ACL_ADD + PHPGW_ACL_EDIT + PHPGW_ACL_DELETE;
if ($session)
{
$this->read_sessiondata();
$this->use_session = True;
}
global $start, $search, $filter, $cat_id;
if(isset($start)) { $this->start = $start; }
if(isset($search)) { $this->search = $search; }
if(!empty($filter)) { $this->filter = $filter; }
if(isset($cat_id)) { $this->cat_id = $cat_id; }
}
function list_methods($_type='xmlrpc')
{
/*
This handles introspection or discovery by the logged in client,
in which case the input might be an array. The server always calls
this function to fill the server dispatch map using a string.
*/
if (is_array($_type))
{
$_type = $_type['type'] ? $_type['type'] : $_type[0];
}
switch($_type)
{
case 'xmlrpc':
$xml_functions = array(
'read' => array(
'function' => 'read',
'signature' => array(array(xmlrpcInt,xmlrpcStruct)),
'docstring' => lang('Read a single entry by passing the id and fieldlist.')
),
'save' => array(
'function' => 'save',
'signature' => array(array(xmlrpcStruct,xmlrpcStruct)),
'docstring' => lang('Update a single entry by passing the fields.')
),
'delete' => array(
'function' => 'delete',
'signature' => array(array(xmlrpcBoolean,xmlrpcInt)),
'docstring' => lang('Delete a single entry by passing the id.')
),
'list' => array(
'function' => '_list',
'signature' => array(array(xmlrpcStruct,xmlrpcStruct)),
'docstring' => lang('Read a list of entries.')
),
'list_methods' => array(
'function' => 'list_methods',
'signature' => array(array(xmlrpcStruct,xmlrpcString)),
'docstring' => lang('Read this list of methods.')
)
);
return $xml_functions;
break;
case 'soap':
return $this->soap_functions;
break;
default:
return array();
break;
}
}
function save_sessiondata($data)
{
if ($this->use_session)
{
$GLOBALS['phpgw']->session->appsession('session_data','et_notes',$data);
}
}
function read_sessiondata()
{
$data = $GLOBALS['phpgw']->session->appsession('session_data','et_notes');
$this->start = $data['start'];
$this->search = $data['search'];
$this->filter = $data['filter'];
$this->cat_id = $data['cat_id'];
}
function check_perms($has, $needed)
{
return (!!($has & $needed) == True);
}
function read($start = '', $search = '', $filter = '', $cat_id = '')
{
if (is_array($start))
{
$params = $start;
}
else
{
$params['start'] = $start;
$params['search'] = $search;
$params['filter'] = $filter;
$params['cat_id'] = $cat_id;
}
$notes = $this->so->read($params['start'],$params['search'],$params['filter'],$params['cat_id']);
$this->total_records = $this->so->total_records;
for ($i=0; $i<count($notes); $i++)
{
$notes[$i]['date'] = $GLOBALS['phpgw']->common->show_date($notes[$i]['date']);
$notes[$i]['owner'] = $GLOBALS['phpgw']->accounts->id2name($notes[$i]['owner']);
}
return $notes;
}
function read_single($note_id)
{
return $this->so->read_single($note_id);
}
function save($note)
{
if ($note['access'])
{
$note['access'] = 'private';
}
else
{
$note['access'] = 'public';
}
if ($note['id'])
{
if ($note['id'] != 0)
{
$this->so->edit($note);
}
}
else
{
$this->so->add($note);
}
}
function delete($params)
{
if (is_array($params))
{
$this->so->delete($params[0]);
}
else
{
$this->so->delete($params);
}
}
function read_preferences()
{
$GLOBALS['phpgw']->preferences->read_repository();
$prefs = array();
if ($GLOBALS['phpgw_info']['user']['preferences']['notes'])
{
$prefs['notes_font'] = $GLOBALS['phpgw_info']['user']['preferences']['notes']['notes_font'];
$prefs['notes_font_size'] = $GLOBALS['phpgw_info']['user']['preferences']['notes']['notes_font_size'];
}
return $prefs;
}
function save_preferences($prefs)
{
$GLOBALS['phpgw']->preferences->read_repository();
if ($prefs)
{
$GLOBALS['phpgw']->preferences->change('notes','notes_font',$prefs['notes_font']);
$GLOBALS['phpgw']->preferences->change('notes','notes_font_size',$prefs['notes_font_size']);
$GLOBALS['phpgw']->preferences->save_repository(True);
}
}
function get_rows($query,&$rows,&$readonlys)
{
//echo "<p>notes.ui.get_rows(start=$query[start],search='$query[search]',filter='$query[filter]',cat_id=$query[cat_id]): notes_list =";
$rows = $this->read($query['start'],$query['search'],$query['filter'],$query['cat_id']);
if (!is_array($rows))
{
$rows = array( );
}
else
{
array_unshift($rows,0); each($rows); // first entry is not used
//_debug_array($notes_list);
}
$readonlys = array( );
while (list($n,$note) = each($rows))
{
if (!$this->check_perms($this->grants[$note['owner_id']],PHPGW_ACL_EDIT))
{
$readonlys["edit[$note[id]]"] = True;
}
if (!$this->check_perms($this->grants[$note['owner_id']],PHPGW_ACL_DELETE))
{
$readonlys["delete[$note[id]]"] = True;
}
$rows[$n]['access'] = $note['access'] == 'private' ? 'private' : 'public';
}
reset($rows);
return $this->total_records;
}
}
?>

View File

@ -1,138 +0,0 @@
<?php
/***************************************************************************\
* eGroupWare - Notes eTemplate Port *
* http://www.egroupware.org *
* Written by : Bettina Gille [ceb@phpgroupware.org] *
* Ported to eTemplate by Ralf Becker [ralfbecker@outdoor-training.de] *
* ------------------------------------------------- *
* This program is free software; you can redistribute it and/or modify it *
* under the terms of the GNU General Public License as published by the *
* Free Software Foundation; either version 2 of the License, or (at your *
* option) any later version. *
\***************************************************************************/
/* $Id$ */
class so
{
var $grants;
function so()
{
$this->db = $GLOBALS['phpgw']->db;
$this->db2 = $this->db;
$this->grants = $GLOBALS['phpgw']->acl->get_grants('et_notes');
$this->owner = $GLOBALS['phpgw_info']['user']['account_id'];
}
function read($start, $search = '', $filter = '',$cat_id = '')
{
if (! $filter)
{
$filter = 'all';
}
if ($filter == 'all')
{
$filtermethod = " ( note_owner=" . $this->owner;
if (is_array($this->grants))
{
$grants = $this->grants;
while (list($user) = each($grants))
{
$public_user_list[] = $user;
}
reset($public_user_list);
$filtermethod .= " OR (note_access='public' AND note_owner IN(" . implode(',',$public_user_list) . ")))";
}
else
{
$filtermethod .= ' )';
}
}
elseif ($filter == 'public')
{
$filtermethod = " note_owner='" . $this->owner . "'";
}
else
{
$filtermethod = " note_owner='" . $this->owner . "' AND note_access='private'";
}
if ($cat_id)
{
$filtermethod .= " AND note_category='$cat_id' ";
}
if($search)
{
$search = ereg_replace("'",'',$search);
$search = ereg_replace('"','',$search);
$searchmethod = " AND note_content LIKE '%$search%'";
}
$sql = "SELECT * FROM phpgw_et_notes WHERE $filtermethod $searchmethod ORDER BY note_date DESC";
$this->db2->query($sql,__LINE__,__FILE__);
$this->total_records = $this->db2->num_rows();
$this->db->limit_query($sql,$start,__LINE__,__FILE__);
while ($this->db->next_record())
{
$ngrants = (int)$this->grants[$this->db->f('note_owner')];
$notes[] = array
(
'id' => (int)$this->db->f('note_id'),
'owner' => $this->db->f('note_owner'),
'owner_id' => (int)$this->db->f('note_owner'),
'access' => $this->db->f('note_access'),
'date' => $this->db->f('note_date'),
'cat' => (int)$this->db->f('note_category'),
'content' => $this->db->f('note_content'),
'grants' => $ngrants
);
}
return $notes;
}
function read_single($note_id)
{
$this->db->query("select * from phpgw_et_notes where note_id='$note_id'",__LINE__,__FILE__);
if ($this->db->next_record())
{
$note['id'] = (int)$this->db->f('note_id');
$note['owner'] = $this->db->f('note_owner');
$note['content'] = $this->db->f('note_content');
$note['access'] = $this->db->f('note_access');
$note['date'] = $this->db->f('note_date');
$note['cat'] = (int)$this->db->f('note_category');
return $note;
}
}
function add($note)
{
$note['content'] = $this->db->db_addslashes($note['content']);
$this->db->query("INSERT INTO phpgw_et_notes (note_owner,note_access,note_date,note_content,note_category) "
. "VALUES ('" . $this->owner . "','" . $note['access'] . "','" . time() . "','" . $note['content']
. "','" . $note['cat'] . "')",__LINE__,__FILE__);
//return $this->db->get_last_insert_id('phpgw_et_notes','note_id');
}
function edit($note)
{
$note['content'] = $this->db->db_addslashes($note['content']);
$this->db->query("UPDATE phpgw_et_notes set note_content='" . $note['content'] . "', note_date='" . time() . "', note_category='"
. $note['cat'] . "', note_access='" . $note['access'] . "' WHERE note_id=" . intval($note['id']),__LINE__,__FILE__);
}
function delete($note_id)
{
$this->db->query('DELETE FROM phpgw_et_notes WHERE note_id=' . intval($note_id),__LINE__,__FILE__);
}
}
?>

View File

@ -1,210 +0,0 @@
<?php
/***************************************************************************\
* eGroupWare - Notes eTemplate Port *
* http://www.egroupware.org *
* Written by : Bettina Gille [ceb@phpgroupware.org] *
* Andy Holman (LoCdOg) *
* Ported to eTemplate by Ralf Becker [ralfbecker@outdoor-training.de] *
* ------------------------------------------------- *
* This program is free software; you can redistribute it and/or modify it *
* under the terms of the GNU General Public License as published by the *
* Free Software Foundation; either version 2 of the License, or (at your *
* option) any later version. *
\***************************************************************************/
/* $Id$ */
class ui
{
var $grants;
var $session_data;
var $message;
var $public_functions = array
(
'index' => True,
'view' => True,
'add' => True,
'edit' => True,
'delete' => True,
'preferences' => True
);
function ui()
{
$this->cats = CreateObject('phpgwapi.categories');
$this->account = $GLOBALS['phpgw_info']['user']['account_id'];
$this->tpl = CreateObject('etemplate.etemplate','et_notes.edit');
$this->bo = CreateObject('et_notes.bo',True);
$this->session_data = array(
'start' => $this->bo->start,
'search' => $this->bo->search,
'filter' => $this->bo->filter,
'cat_id' => $this->bo->cat_id
);
$this->data = $this->bo->data;
}
function save_sessiondata()
{
$this->bo->save_sessiondata($this->session_data);
}
function index($values = 0)
{
//echo "<p>notes.ui.index: values = "; _debug_array($values);
if (!is_array($values))
{
$values = array('nm' => $this->session_data);
}
if ($values['add'] || $values['cats'] || isset($values['nm']['rows']))
{
$this->session_data = $values['nm'];
unset($this->session_data['rows']);
$this->save_sessiondata();
if ($values['add'])
{
return $this->edit();
}
elseif ($values['cats'])
{
Header('Location: ' .$GLOBALS['phpgw']->link('/index.php?menuaction=preferences.uicategories.index&cats_app=et_notes&cats_level=True&global_cats=True'));
$GLOBALS['phpgw']->common->phpgw_exit();
}
elseif (isset($values['nm']['rows']['view']))
{
list($id) = each($values['nm']['rows']['view']);
return $this->view($id);
}
elseif (isset($values['nm']['rows']['edit']))
{
list($id) = each($values['nm']['rows']['edit']);
return $this->edit($id);
}
elseif (isset($values['nm']['rows']['delete']))
{
list($id) = each($values['nm']['rows']['delete']);
return $this->delete($id);
}
}
$this->tpl->read('et_notes.index');
$values['nm']['options-filter'] = array
(
'all' => 'Show all',
'public' => 'Only yours',
'private' => 'Private'
);
$values['nm']['get_rows'] = 'et_notes.bo.get_rows';
$values['nm']['no_filter2'] = True;
$values['user'] = $GLOBALS['phpgw_info']['user']['fullname'];
$this->tpl->exec('et_notes.ui.index',$values);
}
function edit($values=0,$view=False)
{
//echo "<p>notes.ui.edit():"; _debug_array($values);
if (!is_array($values))
{
$id = $values > 0 ? $values : get_var('id',array('POST','GET'));
$values = array( );
}
else
{
$id = $values['id'];
}
if ($id > 0)
{
$content = $this->bo->read_single($id);
}
else
{
$content = array();
}
if ($this->debug)
{
echo '<p>edit: id=$id, values = ' . _debug_array($values);
}
if ($values['save'])
{
$this->bo->save($values);
return $this->index();
}
elseif($values['done'])
{
return $this->index();
}
elseif($values['delete'])
{
return $this->delete($values['id']);
}
elseif($values['reset'])
{
$content = array();
}
elseif($values['cats'])
{
Header('Location: ' .$GLOBALS['phpgw']->link('/index.php?menuaction=preferences.uicategories.index&cats_app=et_notes&cats_level=True&global_cats=True'));
$GLOBALS['phpgw']->common->phpgw_exit();
}
if ($view)
{
$content['header'] = 'Notes - View note for';
$this->tpl->read('et_notes.view');
$no_button['content'] = $no_button['cat_id'] = $no_button['access'] = True; // make the tpl readonly
$no_button['delete'] = !$this->bo->check_perms($this->bo->grants[$content['owner']],PHPGW_ACL_DELETE);
$no_button['edit'] = !$this->bo->check_perms($this->bo->grants[$content['owner']],PHPGW_ACL_EDIT);
}
else
{
if ($content['id'] <= 0)
{
$no_button['delete'] = True;
$content['header'] = 'Notes - Add note for';
$content['owner'] = $GLOBALS['phpgw_info']['user']['account_id'];
}
else
{
$no_button['reset'] = True;
$no_button['delete'] = !$this->bo->check_perms($this->bo->grants[$content['owner']],PHPGW_ACL_DELETE);
$content['header'] = 'Notes - Edit note for';
}
}
$content['user'] = $GLOBALS['phpgw_info']['user']['fullname'];
$this->tpl->exec('et_notes.ui.edit',$content,'',$no_button,array('id' => $id));
}
function view($id)
{
$this->edit($id,True);
}
function delete($values=0)
{
if (!is_array($values))
{
if (!$values)
{
$values = get_var('id',array('POST','GET'));
}
if ($values > 0)
{
$content = $this->bo->read_single($values);
$this->tpl->read('et_notes.delete');
$this->tpl->exec('et_notes.ui.delete',$content,'','',array('id' => $values));
return;
}
}
elseif ($values['confirm'])
{
$this->bo->delete($values['id']);
}
$this->index();
}
}
?>

View File

@ -1,16 +0,0 @@
<?php
/***************************************************************************\
* eGroupWare - Notes *
* http://www.egroupware.org *
* ----------------------------------------------- *
* This program is free software; you can redistribute it and/or modify it *
* under the terms of the GNU General Public License as published by the *
* Free Software Foundation; either version 2 of the License, or (at your *
* option) any later version. *
\***************************************************************************/
/* $Id$ */
global $pref;
$pref->change('notes','notes_font','Verdana,Arial,Helvetica,sans-serif');
$pref->change('notes','notes_font_size','3');
?>

View File

@ -1,23 +0,0 @@
<?php
/**************************************************************************\
* eGroupWare *
* http://www.egroupware.org *
* Written by Joseph Engo <jengo@phpgroupware.org> *
* -------------------------------------------- *
* This program is free software; you can redistribute it and/or modify it *
* under the terms of the GNU General Public License as published by the *
* Free Software Foundation; either version 2 of the License, or (at your *
* option) any later version. *
\**************************************************************************/
// $Id$
// $Source$
{
$values = array
(
'Global Categories' => $GLOBALS['phpgw']->link('/index.php','menuaction=admin.uicategories.index&appname=' . $appname . '&global_cats=True')
);
display_section($appname,$appname,$values);
}
?>

View File

@ -1,32 +0,0 @@
<?php
/**************************************************************************\
* eGroupWare *
* http://www.egroupware.org *
* Written by Mark Peters <skeeter@phpgroupware.org> *
* -------------------------------------------- *
* This program is free software; you can redistribute it and/or modify it *
* under the terms of the GNU General Public License as published by the *
* Free Software Foundation; either version 2 of the License, or (at your *
* option) any later version. *
\**************************************************************************/
/* $Id$ */
// Delete all records for a user
$table_locks = Array('phpgw_et_notes');
$db2 = $GLOBALS['phpgw']->db;
$db2->lock($table_locks);
$new_owner = intval(get_var('new_owner',Array('POST')));
$account_id = intval(get_var('account_id',Array('POST')));
if($new_owner==0)
{
$db2->query('DELETE FROM phpgw_et_notes WHERE note_owner='.$account_id,__LINE__,__FILE__);
}
else
{
$db2->query('UPDATE phpgw_et_notes SET note_owner='.$new_owner
. ' WHERE note_owner='.$account_id,__LINE__,__FILE__);
}
$db2->unlock();
?>

View File

@ -1,25 +0,0 @@
<?php
/**************************************************************************\
* eGroupWare - Notes eTemplate Port *
* http://www.egroupware.org *
* Written by Bettina Gille [ceb@phpgroupware.org] *
* Ported to eTemplate by Ralf Becker [ralfbecker@outdoor-training.de] *
* ----------------------------------------------- *
* This program is free software; you can redistribute it and/or modify it *
* under the terms of the GNU General Public License as published by the *
* Free Software Foundation; either version 2 of the License, or (at your *
* option) any later version. *
\**************************************************************************/
/* $Id$ */
$GLOBALS['phpgw_info']['flags'] = array
(
'currentapp' => 'et_notes',
'noheader' => True,
'nonavbar' => True
);
include('../header.inc.php');
header('Location: '.$GLOBALS['phpgw']->link('/index.php','menuaction=et_notes.ui.index'));
$GLOBALS['phpgw']->common->phpgw_exit();
?>

View File

@ -1,15 +0,0 @@
<?php
// eTemplates for Application 'et_notes', generated by etemplate.dump() 2003-04-03 02:08
/* $Id$ */
$templ_data[] = array('name' => 'et_notes.index.rows','template' => '','lang' => '','group' => '0','version' => '0.9.15.003','data' => 'a:3:{i:0;a:2:{s:2:\"c1\";s:2:\"th\";s:2:\"c2\";s:7:\"row,top\";}i:1;a:7:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:4:\"Date\";}s:1:\"B\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:4:\"Note\";}s:1:\"C\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:5:\"Owner\";}s:1:\"D\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:6:\"Access\";}s:1:\"E\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:4:\"View\";}s:1:\"F\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:4:\"Edit\";}s:1:\"G\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:6:\"Delete\";}}i:2;a:7:{s:1:\"A\";a:3:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:12:\"${row}[date]\";}s:1:\"B\";a:3:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:15:\"${row}[content]\";}s:1:\"C\";a:3:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:13:\"${row}[owner]\";}s:1:\"D\";a:2:{s:4:\"type\";s:5:\"label\";s:4:\"name\";s:14:\"${row}[access]\";}s:1:\"E\";a:5:{s:4:\"type\";s:6:\"button\";s:5:\"label\";s:4:\"View\";s:4:\"name\";s:19:\"view[$row_cont[id]]\";s:8:\"onchange\";s:1:\"1\";s:4:\"help\";s:14:\"view this note\";}s:1:\"F\";a:5:{s:4:\"type\";s:6:\"button\";s:5:\"label\";s:4:\"Edit\";s:4:\"name\";s:19:\"edit[$row_cont[id]]\";s:8:\"onchange\";s:1:\"1\";s:4:\"help\";s:14:\"edit this note\";}s:1:\"G\";a:5:{s:4:\"type\";s:6:\"button\";s:5:\"label\";s:6:\"Delete\";s:4:\"name\";s:21:\"delete[$row_cont[id]]\";s:8:\"onchange\";s:1:\"1\";s:4:\"help\";s:16:\"delete this note\";}}}','size' => '','style' => '','modified' => '1049327127',);
$templ_data[] = array('name' => 'et_notes.edit','template' => '','lang' => '','group' => '0','version' => '0.9.15.003','data' => 'a:10:{i:0;a:8:{s:1:\"A\";s:3:\"10%\";s:1:\"B\";s:3:\"10%\";s:1:\"C\";s:3:\"10%\";s:1:\"D\";s:3:\"10%\";s:2:\"c4\";s:3:\"nmr\";s:2:\"c5\";s:7:\"nmr,top\";s:2:\"c6\";s:3:\"nmr\";s:2:\"c7\";s:3:\"nmr\";}i:1;a:5:{s:1:\"A\";a:6:{s:4:\"type\";s:5:\"label\";s:4:\"size\";s:1:\"b\";s:4:\"span\";s:1:\"4\";s:5:\"label\";s:21:\"Notes - Edit Note for\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:4:\"user\";}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:5:{s:4:\"type\";s:6:\"button\";s:5:\"label\";s:10:\"Categories\";s:5:\"align\";s:5:\"right\";s:4:\"name\";s:4:\"cats\";s:4:\"help\";s:28:\"add, edit, delete categories\";}}i:2;a:5:{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\";}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\";}}i:3;a:5:{s:1:\"A\";a:4:{s:4:\"type\";s:5:\"label\";s:4:\"span\";s:3:\"all\";s:5:\"align\";s:6:\"center\";s:4:\"name\";s:3:\"msg\";}s:1:\"B\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"C\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"D\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"E\";a:1:{s:4:\"type\";s:5:\"label\";}}i:4;a:5:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:8:\"Category\";}s:1:\"B\";a:5:{s:4:\"type\";s:10:\"select-cat\";s:4:\"size\";s:4:\"None\";s:4:\"span\";s:3:\"all\";s:4:\"name\";s:6:\"cat_id\";s:4:\"help\";s:19:\"select the category\";}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\";}}i:5;a:5:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:7:\"Content\";}s:1:\"B\";a:5:{s:4:\"type\";s:8:\"textarea\";s:4:\"size\";s:5:\"10,60\";s:4:\"span\";s:3:\"all\";s:4:\"name\";s:7:\"content\";s:4:\"help\";s:23:\"the content of the note\";}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\";}}i:6;a:5:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:6:\"Privat\";}s:1:\"B\";a:5:{s:4:\"type\";s:8:\"checkbox\";s:4:\"size\";s:16:\"private,public,x\";s:4:\"span\";s:3:\"all\";s:4:\"name\";s:6:\"access\";s:4:\"help\";s:19:\"access for the note\";}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\";}}i:7;a:5:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:5:\"Owner\";}s:1:\"B\";a:6:{s:4:\"type\";s:14:\"select-account\";s:4:\"size\";s:11:\",accounts,2\";s:4:\"span\";s:3:\"all\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:5:\"owner\";s:8:\"readonly\";s:1:\"1\";}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\";}}i:8;a:5:{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\";}s:1:\"D\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"E\";a:1:{s:4:\"type\";s:5:\"label\";}}i:9;a:5:{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:14:\"saves the note\";}s:1:\"B\";a:4:{s:4:\"type\";s:6:\"button\";s:5:\"label\";s:6:\"Cancel\";s:4:\"name\";s:4:\"done\";s:4:\"help\";s:38:\"back to the notes list without saveing\";}s:1:\"C\";a:4:{s:4:\"type\";s:6:\"button\";s:5:\"label\";s:12:\"deletes the \";s:4:\"name\";s:5:\"reset\";s:4:\"help\";s:15:\"clears the form\";}s:1:\"D\";a:6:{s:4:\"type\";s:6:\"button\";s:4:\"span\";s:3:\"all\";s:5:\"label\";s:6:\"Delete\";s:5:\"align\";s:5:\"right\";s:4:\"name\";s:6:\"delete\";s:4:\"help\";s:16:\"deletes the note\";}s:1:\"E\";a:1:{s:4:\"type\";s:5:\"label\";}}}','size' => '100%','style' => '','modified' => '1049328517',);
$templ_data[] = array('name' => 'et_notes.view','template' => '','lang' => '','group' => '0','version' => '0.9.15.003','data' => 'a:10:{i:0;a:8:{s:1:\"A\";s:3:\"10%\";s:1:\"B\";s:3:\"10%\";s:1:\"C\";s:3:\"10%\";s:1:\"D\";s:3:\"10%\";s:2:\"c4\";s:3:\"row\";s:2:\"c5\";s:7:\"row,top\";s:2:\"c6\";s:3:\"row\";s:2:\"c7\";s:3:\"row\";}i:1;a:5:{s:1:\"A\";a:6:{s:4:\"type\";s:5:\"label\";s:4:\"size\";s:1:\"b\";s:4:\"span\";s:1:\"4\";s:5:\"label\";s:7:\"@header\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:4:\"user\";}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:5:{s:4:\"type\";s:6:\"button\";s:5:\"label\";s:10:\"Categories\";s:5:\"align\";s:5:\"right\";s:4:\"name\";s:4:\"cats\";s:4:\"help\";s:28:\"add, edit, delete categories\";}}i:2;a:5:{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\";}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\";}}i:3;a:5:{s:1:\"A\";a:4:{s:4:\"type\";s:5:\"label\";s:4:\"span\";s:3:\"all\";s:5:\"align\";s:6:\"center\";s:4:\"name\";s:3:\"msg\";}s:1:\"B\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"C\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"D\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"E\";a:1:{s:4:\"type\";s:5:\"label\";}}i:4;a:5:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:8:\"Category\";}s:1:\"B\";a:6:{s:4:\"type\";s:10:\"select-cat\";s:4:\"size\";s:4:\"None\";s:4:\"span\";s:3:\"all\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:6:\"cat_id\";s:8:\"readonly\";s:1:\"1\";}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\";}}i:5;a:5:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:7:\"Content\";}s:1:\"B\";a:5:{s:4:\"type\";s:8:\"textarea\";s:4:\"size\";s:5:\"10,60\";s:4:\"span\";s:3:\"all\";s:4:\"name\";s:7:\"content\";s:8:\"readonly\";s:1:\"1\";}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\";}}i:6;a:5:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:7:\"Private\";}s:1:\"B\";a:5:{s:4:\"type\";s:8:\"checkbox\";s:4:\"size\";s:16:\"private,public,x\";s:4:\"span\";s:3:\"all\";s:4:\"name\";s:6:\"access\";s:8:\"readonly\";s:1:\"1\";}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\";}}i:7;a:5:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:5:\"Owner\";}s:1:\"B\";a:5:{s:4:\"type\";s:14:\"select-account\";s:4:\"size\";s:10:\",account,2\";s:4:\"span\";s:3:\"all\";s:4:\"name\";s:5:\"owner\";s:8:\"readonly\";s:1:\"1\";}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\";}}i:8;a:5:{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\";}s:1:\"D\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"E\";a:1:{s:4:\"type\";s:5:\"label\";}}i:9;a:5:{s:1:\"A\";a:4:{s:4:\"type\";s:6:\"button\";s:5:\"label\";s:4:\"Done\";s:4:\"name\";s:4:\"done\";s:4:\"help\";s:22:\"back to the notes list\";}s:1:\"B\";a:4:{s:4:\"type\";s:6:\"button\";s:5:\"label\";s:4:\"Edit\";s:4:\"name\";s:4:\"edit\";s:4:\"help\";s:13:\"edit the note\";}s:1:\"C\";a:6:{s:4:\"type\";s:6:\"button\";s:4:\"span\";s:3:\"all\";s:5:\"label\";s:6:\"Delete\";s:5:\"align\";s:5:\"right\";s:4:\"name\";s:6:\"delete\";s:4:\"help\";s:16:\"deletes the note\";}s:1:\"D\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"E\";a:1:{s:4:\"type\";s:5:\"label\";}}}','size' => '100%','style' => '','modified' => '1049328134',);
$templ_data[] = array('name' => 'et_notes.delete','template' => '','lang' => '','group' => '0','version' => '0.9.15.003','data' => 'a:10:{i:0;a:6:{s:1:\"A\";s:3:\"10%\";s:2:\"h8\";s:2:\"50\";s:2:\"c4\";s:3:\"row\";s:2:\"c5\";s:7:\"row,top\";s:2:\"c6\";s:3:\"row\";s:2:\"c7\";s:3:\"row\";}i:1;a:2:{s:1:\"A\";a:3:{s:4:\"type\";s:5:\"label\";s:4:\"span\";s:3:\"all\";s:5:\"label\";s:19:\"Notes - Delete note\";}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:4:{s:4:\"type\";s:5:\"label\";s:4:\"span\";s:3:\"all\";s:5:\"align\";s:6:\"center\";s:4:\"name\";s:3:\"msg\";}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:\"label\";s:5:\"label\";s:8:\"Category\";}s:1:\"B\";a:5:{s:4:\"type\";s:10:\"select-cat\";s:4:\"size\";s:4:\"None\";s:4:\"span\";s:3:\"all\";s:4:\"name\";s:6:\"cat_id\";s:8:\"readonly\";s:1:\"1\";}}i:5;a:2:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:7:\"Content\";}s:1:\"B\";a:5:{s:4:\"type\";s:8:\"textarea\";s:4:\"size\";s:5:\"10,60\";s:4:\"span\";s:3:\"all\";s:4:\"name\";s:7:\"content\";s:8:\"readonly\";s:1:\"1\";}}i:6;a:2:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:6:\"Access\";}s:1:\"B\";a:3:{s:4:\"type\";s:5:\"label\";s:4:\"span\";s:3:\"all\";s:4:\"name\";s:6:\"access\";}}i:7;a:2:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:5:\"Owner\";}s:1:\"B\";a:5:{s:4:\"type\";s:14:\"select-account\";s:4:\"size\";s:10:\",account,2\";s:4:\"span\";s:3:\"all\";s:4:\"name\";s:5:\"owner\";s:8:\"readonly\";s:1:\"1\";}}i:8;a:2:{s:1:\"A\";a:4:{s:4:\"type\";s:5:\"label\";s:4:\"size\";s:1:\"b\";s:4:\"span\";s:3:\"all\";s:5:\"label\";s:17:\"Delete this note?\";}s:1:\"B\";a:1:{s:4:\"type\";s:5:\"label\";}}i:9;a:2:{s:1:\"A\";a:4:{s:4:\"type\";s:6:\"button\";s:5:\"label\";s:3:\"Yes\";s:4:\"name\";s:7:\"confirm\";s:4:\"help\";s:16:\"deletes the note\";}s:1:\"B\";a:5:{s:4:\"type\";s:6:\"button\";s:4:\"span\";s:3:\"all\";s:5:\"label\";s:2:\"No\";s:4:\"name\";s:4:\"done\";s:4:\"help\";s:16:\"back to the list\";}}}','size' => '100%','style' => '','modified' => '1049325129',);
$templ_data[] = array('name' => 'et_notes.index','template' => '','lang' => '','group' => '0','version' => '0.9.15.002','data' => 'a:5:{i:0;a:2:{s:1:\"A\";s:3:\"40%\";s:1:\"C\";s:2:\"5%\";}i:1;a:3:{s:1:\"A\";a:5:{s:4:\"type\";s:5:\"label\";s:4:\"size\";s:1:\"b\";s:5:\"label\";s:22:\"Notes - List notes for\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:4:\"user\";}s:1:\"B\";a:5:{s:4:\"type\";s:5:\"label\";s:4:\"size\";s:1:\"i\";s:7:\"no_lang\";s:1:\"1\";s:5:\"align\";s:6:\"center\";s:4:\"name\";s:3:\"msg\";}s:1:\"C\";a:5:{s:4:\"type\";s:6:\"button\";s:5:\"label\";s:10:\"Categories\";s:5:\"align\";s:5:\"right\";s:4:\"name\";s:4:\"cats\";s:4:\"help\";s:30:\"add, edit or delete categories\";}}i:2;a:3:{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\";}s:1:\"C\";a:1:{s:4:\"type\";s:5:\"label\";}}i:3;a:3:{s:1:\"A\";a:4:{s:4:\"type\";s:9:\"nextmatch\";s:4:\"size\";s:19:\"et_notes.index.rows\";s:4:\"span\";s:3:\"all\";s:4:\"name\";s:2:\"nm\";}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:6:\"button\";s:4:\"span\";s:3:\"all\";s:5:\"label\";s:8:\"Add note\";s:4:\"name\";s:3:\"add\";s:4:\"help\";s:17:\"to add a new note\";}s:1:\"B\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"C\";a:1:{s:4:\"type\";s:5:\"label\";}}}','size' => '100%','style' => '','modified' => '1049328379',);

View File

@ -1,30 +0,0 @@
access et_notes de Zugriff
access for the note et_notes de Zugriffsberechtigung für diese Notiz
add note et_notes de Notiz hinzfügen
add, edit or delete categories et_notes de Hinzufügen, bearbeiten oder löschen von Kategorien
add, edit, delete categories et_notes de Hinzufügen, bearbeiten oder löschen von Kategorien
back to the list et_notes de zurück zur Liste
back to the notes list et_notes de zurück zur Liste der Notizen
back to the notes list without saveing et_notes de zurück zur Liste der Notizen ohne zu speichern
categories et_notes de Kategorien
category et_notes de Kategorie
clears the form et_notes de löscht das Formular
content et_notes de Inhalt
delete this note et_notes de Diese Notiz löschen?
delete this note? et_notes de Diese Notiz löschen?
deletes the note et_notes de löscht diese Notiz
edit the note et_notes de bearbeitet diese Notiz
edit this note et_notes de bearbeitet diese Notiz
et_notes common de eTemplate Notizen
note et_notes de Notiz
notes - delete note et_notes de Notiz - Löschen
notes - edit note et_notes de Notiz - Bearbeiten
notes - list notes for et_notes de Notiz - Anzeigen für
notes - view note et_notes de Notiz - Anzeigen
privat et_notes de Privat
private et_notes de Private
saves the note et_notes de speichert diese Notiz
select the category et_notes de eine Kategorie auswählen
the content of the note et_notes de der Inhalt dieser Notiz
to add a new note et_notes de um eine neue Notiz zuzufügen
view this note et_notes de diese Notiz anzeigen

View File

@ -1,30 +0,0 @@
access et_notes en Access
access for the note et_notes en access for the note
add note et_notes en Add note
add, edit or delete categories et_notes en add, edit or delete categories
add, edit, delete categories et_notes en add, edit, delete categories
back to the list et_notes en back to the list
back to the notes list et_notes en back to the notes list
back to the notes list without saveing et_notes en back to the notes list without saveing
categories et_notes en Categories
category et_notes en Category
clears the form et_notes en clears the form
content et_notes en Content
delete this note et_notes en delete this note
delete this note? et_notes en Delete this note?
deletes the note et_notes en deletes the note
edit the note et_notes en edit the note
edit this note et_notes en edit this note
et_notes common en eTemplate Notes
note et_notes en Note
notes - delete note et_notes en Notes - Delete note
notes - edit note et_notes en Notes - Edit Note
notes - list notes for et_notes en Notes - List notes for
notes - view note et_notes en Notes - View Note
privat et_notes en Privat
private et_notes en Private
saves the note et_notes en saves the note
select the category et_notes en select the category
the content of the note et_notes en the content of the note
to add a new note et_notes en to add a new note
view this note et_notes en view this note

View File

@ -1,30 +0,0 @@
access et_notes fr Accès
access for the note et_notes fr Accès pour la note
add note et_notes fr Ajouter une note
add, edit or delete categories et_notes fr Ajouter, modifier ou effacer les catégories
add, edit, delete categories et_notes fr Ajouter, modifier, effacer les catégories
back to the list et_notes fr Retour à la liste
back to the notes list et_notes fr Retour à la liste des notes
back to the notes list without saveing et_notes fr Retour à la liste des notes sans enregistrer
categories et_notes fr Catégories
category et_notes fr Catégorie
clears the form et_notes fr Vide le formulaire
content et_notes fr Contenu
delete this note et_notes fr Effacer cette note
delete this note? et_notes fr Effacer cette note?
deletes the note et_notes fr Efface la note
edit the note et_notes fr Modifier la note
edit this note et_notes fr Modifier cette note
et_notes common fr Notes eTemplate
note et_notes fr Note
notes - delete note et_notes fr Notes - Effacer la Note
notes - edit note et_notes fr Notes - Modifier la Note
notes - list notes for et_notes fr Notes - Lister les notes pour
notes - view note et_notes fr Notes - Voir la note
privat et_notes fr Privé
private et_notes fr Privé
saves the note et_notes fr Enregistre la Note
select the category et_notes fr Sélectionner la catégorie
the content of the note et_notes fr Le contenu de la note
to add a new note et_notes fr Pour ajouter une nouvelle note
view this note et_notes fr Voir cette note

View File

@ -1,43 +0,0 @@
<?php
/**************************************************************************\
* eGroupWare - Notes eTemplates Port *
* http://www.egroupware.org *
* Ported to eTemplate by Ralf Becker [ralfbecker@outdoor-training.de] *
* -------------------------------------------- *
* This program is free software; you can redistribute it and/or modify it *
* under the terms of the GNU General Public License as published by the *
* Free Software Foundation; either version 2 of the License, or (at your *
* option) any later version. *
\**************************************************************************/
/* $Id$ */
$setup_info['et_notes']['name'] = 'et_notes';
$setup_info['et_notes']['version'] = '0.9.15.001';
$setup_info['et_notes']['app_order'] = 8;
$setup_info['et_notes']['tables'] = array('phpgw_et_notes');
$setup_info['et_notes']['enable'] = 1;
$setup_info['et_notes']['licenze'] = 'GPL';
$setup_info['et_notes']['description'] =
'Notes and short texts can go in here';
$setup_info['et_notes']['description'] =
'This is an eTemplate port of the notes app.';
$setup_info['et_notes']['author'] = 'Bettina Gille, Andy Holman (LoCdOg)';
$setup_info['et_notes']['maintainer'] = 'Ralf Becker';
$setup_info['et_notes']['maintainer_email'] = 'ralfbecker@outdoor-training.de';
/* The hooks this app includes, needed for hooks registration */
$setup_info['et_notes']['hooks'][] = 'deleteaccount';
$setup_info['et_notes']['hooks'][] = 'admin';
/* Dependencies for this app to work */
$setup_info['et_notes']['depends'][] = array(
'appname' => 'phpgwapi',
'versions' => Array('0.9.13','0.9.14','1.0.0','1.0.1')
);
$setup_info['et_media']['depends'][] = array( // this is only necessary as long the etemplate-class is not in the api
'appname' => 'etemplate',
'versions' => Array('0.9.13','0.9.14','0.9.15','1.0.0')
);

View File

@ -1,30 +0,0 @@
<?php
/**************************************************************************\
* eGroupWare - Notes eTemplate Port *
* http://www.egroupware.org *
* -------------------------------------------- *
* This program is free software; you can redistribute it and/or modify it *
* under the terms of the GNU General Public License as published by the *
* Free Software Foundation; either version 2 of the License, or (at your *
* option) any later version. *
\**************************************************************************/
/* $Id$ */
$phpgw_baseline = array(
'phpgw_et_notes' => array(
'fd' => array(
'note_id' => array('type' => 'auto', 'nullable' => false),
'note_owner' => array('type' => 'int', 'precision' => 4),
'note_access' => array('type' => 'varchar', 'precision' => 7),
'note_date' => array('type' => 'int', 'precision' => 4),
'note_category' => array('type' => 'int', 'precision' => 4),
'note_content' => array('type' => 'text')
),
'pk' => array('note_id'),
'fk' => array(),
'ix' => array(),
'uc' => array()
)
);
?>

View File

@ -1,51 +0,0 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Id$ -->
<overlay>
<grid id="et_notes.delete" template="" lang="" group="" version="0.9.15.003" width="100%">
<columns>
<column width="10%"/>
<column/>
</columns>
<rows>
<row>
<description span="all" value="Notes - Delete note"/>
</row>
<row>
<hrule span="all"/>
</row>
<row>
<description span="all" align="center" id="msg"/>
</row>
<row class="row">
<description value="Category"/>
<menulist span="all">
<menupopup type="select-cat" options="None" id="cat_id" readonly="true"/>
</menulist>
</row>
<row class="row" valign="top">
<description value="Content"/>
<textbox multiline="true" rows="10" cols="60" span="all" id="content" readonly="true"/>
</row>
<row class="row">
<description value="Access"/>
<description span="all" id="access"/>
</row>
<row class="row">
<description value="Owner"/>
<menulist span="all">
<menupopup type="select-account" options=",account,2" id="owner" readonly="true"/>
</menulist>
</row>
<row height="50">
<description options="b" span="all" class="bigbold" value="Delete this note?"/>
</row>
<row>
<button label="Yes" id="confirm" statustext="deletes the note"/>
<button span="all" label="No" id="done" statustext="back to the list"/>
</row>
</rows>
<styles>
.bigbold { font-size:+1; font-weight: bold; }
</styles>
</grid>
</overlay>

View File

@ -1,60 +0,0 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Id$ -->
<overlay>
<grid id="et_notes.edit" template="" lang="" group="" version="0.9.15.003" width="100%">
<columns>
<column width="10%"/>
<column width="10%"/>
<column width="10%"/>
<column width="10%"/>
<column/>
</columns>
<rows>
<row>
<description span="4" value="Notes - Edit Note"/>
<button label="Categories" align="right" id="cats" statustext="add, edit, delete categories"/>
</row>
<row>
<hrule span="all"/>
</row>
<row>
<description span="all" align="center" id="msg"/>
</row>
<row class="nmr">
<description value="Category"/>
<menulist span="all">
<menupopup type="select-cat" options="None" id="cat_id" statustext="select the category"/>
</menulist>
<description/>
<description/>
<description/>
</row>
<row class="nmr" valign="top">
<description value="Content"/>
<textbox multiline="true" rows="10" cols="60" span="all" id="content" statustext="the content of the note"/>
</row>
<row class="nmr">
<description value="Privat"/>
<checkbox options="private,public,x" span="all" id="access" statustext="access for the note"/>
</row>
<row class="nmr">
<description value="Owner"/>
<menulist span="all">
<menupopup type="select-account" options=",accounts,2" no_lang="1" id="owner" readonly="true"/>
</menulist>
<description/>
<description/>
<description/>
</row>
<row>
<description span="all"/>
</row>
<row>
<button label="Save" id="save" statustext="saves the note"/>
<button label="Cancel" id="done" statustext="back to the notes list without saveing"/>
<button label="deletes the " id="reset" statustext="clears the form"/>
<button span="all" label="Delete" align="right" id="delete" statustext="deletes the note"/>
</row>
</rows>
</grid>
</overlay>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

View File

@ -1,35 +0,0 @@
<?xml version="1.0"?>
<!-- $Id$ -->
<overlay>
<grid id="notes.index.rows" template="" lang="" group="0" version="0.9.15.003">
<columns>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
</columns>
<rows>
<row class="th">
<description value="Date"/>
<description value="Note"/>
<description value="Owner"/>
<description value="Access"/>
<description value="View"/>
<description value="Edit"/>
<description value="Delete"/>
</row>
<row class="row" valign="top">
<description no_lang="1" id="${row}[date]"/>
<description no_lang="1" id="${row}[content]"/>
<description no_lang="1" id="${row}[owner]"/>
<description id="${row}[access]"/>
<button label="View" id="view[$row_cont[id]]" onchange="1" statustext="view this note"/>
<button label="Edit" id="edit[$row_cont[id]]" onchange="1" statustext="edit this note"/>
<button label="Delete" id="delete[$row_cont[id]]" onchange="1" statustext="delete this note"/>
</row>
</rows>
</grid>
</overlay>

View File

@ -1,58 +0,0 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Id$ -->
<overlay>
<grid id="et_notes.index.rows" template="" lang="" group="0" version="0.9.15.003">
<columns>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
</columns>
<rows>
<row class="th">
<description value="Date"/>
<description value="Note"/>
<description value="Owner"/>
<description value="Access"/>
<description value="View"/>
<description value="Edit"/>
<description value="Delete"/>
</row>
<row class="row" valign="top">
<description no_lang="1" id="${row}[date]"/>
<description no_lang="1" id="${row}[content]"/>
<description no_lang="1" id="${row}[owner]"/>
<description id="${row}[access]"/>
<button label="View" id="view[$row_cont[id]]" onchange="1" statustext="view this note"/>
<button label="Edit" id="edit[$row_cont[id]]" onchange="1" statustext="edit this note"/>
<button label="Delete" id="delete[$row_cont[id]]" onchange="1" statustext="delete this note"/>
</row>
</rows>
</grid>
<grid id="et_notes.index" template="" lang="" group="" version="0.9.15.002" width="100%">
<columns>
<column width="40%"/>
<column/>
<column width="5%"/>
</columns>
<rows>
<row>
<description options="b" value="Notes - List notes for" no_lang="1" id="user"/>
<description options="i" no_lang="1" align="center" id="msg"/>
<button label="Categories" align="right" id="cats" statustext="add, edit or delete categories"/>
</row>
<row>
<hrule span="all"/>
</row>
<row>
<nextmatch options="et_notes.index.rows" span="all" id="nm"/>
</row>
<row>
<button span="all" label="Add note" id="add" statustext="to add a new note"/>
</row>
</rows>
</grid>
</overlay>

View File

@ -1,25 +0,0 @@
{errors}
{title}
<table border="0" align="center" width="70%">
<tr>
{nml}
<td width="40%">
<div align="center">
<form method="POST" action="{action_url}">
{common_hidden_vars}
<input type="text" name="query" value="{search_value}">
<input type="submit" name="search" value="{search}">
</form>
</div>
</td>
{nmr}
</tr>
</table>
<form method="POST" action="{action_url}">
<table border="0" align="center" width="50%">
{row}
</table>
{common_hidden_vars_form}
<input type="hidden" name="processed" value="{processed}">
<center><input type="submit" name="submit" value="{submit_lang}"></center>
</form>

View File

@ -1,9 +0,0 @@
<!-- $Id$ -->
<tr bgcolor="{row_color}">
<td>{user}</td>
<td align="center"><input type="checkbox" name="{read}" value="Y"{read_selected}></td>
<td align="center"><input type="checkbox" name="{add}" value="Y"{add_selected}></td>
<td align="center"><input type="checkbox" name="{edit}" value="Y"{edit_selected}></td>
<td align="center"><input type="checkbox" name="{delete}" value="Y"{delete_selected}></td>
<td align="center"><input type="checkbox" name="{private}" value="Y"{private_selected}></td>
</tr>

View File

@ -1,8 +0,0 @@
<tr bgcolor="{bg_color}">
<td>{string}</td>
<td align="center">{read_lang}</td>
<td align="center">{add_lang}</td>
<td align="center">{edit_lang}</td>
<td align="center">{delete_lang}</td>
<td align="center">{private_lang}</td>
</tr>

View File

@ -1,53 +0,0 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Id$ -->
<overlay>
<grid id="et_notes.view" template="" lang="" group="" version="0.9.15.003" width="100%">
<columns>
<column width="10%"/>
<column width="80%"/>
<column width="10%"/>
</columns>
<rows>
<row>
<description span="2" value="Notes - View Note"/>
<button label="Categories" id="cats" statustext="add, edit, delete categories"/>
</row>
<row>
<hrule span="all"/>
</row>
<row>
<description span="all" align="center" id="msg"/>
</row>
<row class="row">
<description value="Category"/>
<menulist span="all">
<menupopup type="select-cat" options="None" no_lang="1" id="cat_id" readonly="true"/>
</menulist>
<description/>
</row>
<row class="row" valign="top">
<description value="Content"/>
<textbox multiline="true" rows="10" cols="60" span="all" id="content" readonly="true"/>
</row>
<row class="row">
<description value="Private"/>
<checkbox options="private,public,x" span="all" id="access" readonly="true"/>
</row>
<row class="row">
<description value="Owner"/>
<menulist span="all">
<menupopup type="select-account" options=",account,2" id="owner" readonly="true"/>
</menulist>
<description/>
</row>
<row>
<description span="all"/>
</row>
<row>
<button label="Done" id="done" statustext="back to the notes list"/>
<button label="Edit" id="edit" statustext="edit the note"/>
<button span="all" label="Delete" align="right" id="delete" statustext="deletes the note"/>
</row>
</rows>
</grid>
</overlay>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 442 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 381 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 437 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 318 B