From 112b4ffaebf91f4324fa5b7f8a836972caf5cb9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cornelius=20Wei=C3=9F?= Date: Tue, 15 Feb 2005 16:26:21 +0000 Subject: [PATCH] save pictures and thumbs via vfs --- resources/inc/class.bo_resources.inc.php | 92 ++++++++++++++++++------ resources/inc/class.so_resources.inc.php | 5 +- resources/inc/class.ui_resources.inc.php | 7 +- resources/setup/etemplates.inc.php | 8 +-- resources/setup/etemplates.old.inc.php | 28 ++++---- 5 files changed, 93 insertions(+), 47 deletions(-) diff --git a/resources/inc/class.bo_resources.inc.php b/resources/inc/class.bo_resources.inc.php index 6f476b81a9..aaea13e7f0 100755 --- a/resources/inc/class.bo_resources.inc.php +++ b/resources/inc/class.bo_resources.inc.php @@ -17,11 +17,15 @@ class bo_resources ( 'get_rows' => True );*/ + var $vfs_basedir = '/resources/'; + var $pictures_dir = '/resources/pictures/'; + var $thumbs_dir = '/resources/pictures/thumbs/'; function bo_resources() { $this->so = CreateObject('resources.so_resources'); $this->acl = CreateObject('resources.bo_acl'); + $this->vfs = CreateObject('phpgwapi.vfs'); } /*! @@ -44,13 +48,14 @@ class bo_resources 'useable' => '', 'bookable' => '', 'cat_id' => '', - 'location' => '' + 'location' => '', + 'picture_src' => '' )); $order_by = $query['order'] ? $query['order'].' '. $query['sort'] : ''; $nr = $this->so->search($criteria,$cats,&$rows,$order_by,$offset=$query['start'],$num_rows=0); - +// print_r($rows);die(); foreach($rows as $num => $resource) { if (!$this->acl->is_permitted($resource['cat_id'],PHPGW_ACL_EDIT)) @@ -65,6 +70,10 @@ class bo_resources { $readonlys["bookable[$resource[id]]"] = true; } +// if($resource['picture_src'] == 'own_src') +// { + $rows[$num]['picture_thumb'] = 'generic.png'; +// } } return $nr; } @@ -88,7 +97,7 @@ class bo_resources /*! @function save - @abstract saves a resource including picture upload ... + @abstract saves a resource. pictures are saved in vfs @param array $resource array with key => value of all needed datas @return string msg if somthing went wrong TODO make thumb an picture sizes choosable by preferences @@ -101,9 +110,28 @@ class bo_resources return lang('You are not permitted to edit this reource!'); } - if($resource['own_file']['size']>0 && ($resource['picture_src']=='db_src' || sizeof($resource['picture_src'])<1)) + if(!$resource['id']) { - $resource['picture_src'] = 'db_src'; + $resource['id'] = $this->so->save($resource); + } + + if($resource['own_file']['size']>0 && ($resource['picture_src']=='own_src' || sizeof($resource['picture_src'])<1)) + { + $resource['picture_src'] = 'own_src'; + + // test upload dir + $vfs_data = array('string'=>$this->vfs_basedir,'relatives'=>array(RELATIVE_ROOT)); + if (!($this->vfs->file_exists($vfs_data))) + { + $this->vfs->override_acl = 1; + $this->vfs->mkdir($vfs_data); + $vfs_data['string'] = $this->pictures_dir; + $this->vfs->mkdir($vfs_data); + $vfs_data['string'] = $this->thumbs_dir; + $this->vfs->mkdir($vfs_data); + $this->vfs->override_acl = 0; + } + switch($resource['own_file']['type']) { case 'image/gif': @@ -122,42 +150,60 @@ class bo_resources } $img_size = getimagesize($resource['own_file']['tmp_name']); + $tmp_dir = $GLOBALS['phpgw_info']['server']['temp_dir'].'/'; if($img_size[0] > 64 || $img_size[1] > 48) { $dst_img = imagecreatetruecolor(64, 48); imagecopyresized($dst_img,$src_img,0,0,0,0,64,48,$img_size[0],$img_size[1]); - ob_start(); - imagepng($dst_img); - $resource['picture_thumb'] = ob_get_contents(); - ob_end_clean(); - + imagejpeg($dst_img,$tmp_dir.$resource['id'].'.thumb.jpg'); + if($img_size[0] > 320 || $img_size[1] > 240) { $dst_img = imagecreatetruecolor(320, 240); imagecopyresized($dst_img,$src_img,0,0,0,0,320,240,$img_size[0],$img_size[1]); - ob_start(); - imagepng($dst_img); - $resource['picture'] = ob_get_contents(); - ob_end_clean(); + imagejpeg($dst_img,$tmp_dir.$resource['id'].'.jpg'); } else { - ob_start(); - imagepng($src_img); - $resource['picture'] = ob_get_contents(); - ob_end_clean(); + imagejpeg($src_img,$tmp_dir.$resource['id'].'.jpg'); } imagedestroy($dst_img); } else { - ob_start(); - imagepng($src_img); - $resource['picture'] = ob_get_contents(); - $resource['picture_thumb'] = ob_get_contents(); - ob_end_clean(); + imagejpeg($src_img,$tmp_dir.$resource['id'].'.jpg'); + imagejpeg($src_img,$tmp_dir.$resource['id'].'.thumb.jpg'); } imagedestroy($src_img); + + $this->vfs->override_acl = 1; + $this->vfs->mv(array( + 'from' => $tmp_dir.$resource['id'].'.jpg', + 'to' => $this->pictures_dir.$resource['id'].'.jpg', + 'relatives' => array(RELATIVE_NONE|VFS_REAL,RELATIVE_ROOT) + )); + $this->vfs->set_attributes(array( + 'string' => $this->pictures_dir.$resource['id'].'.jpg', + 'relatives' => array (RELATIVE_ROOT), + 'attributes' => array ( + 'mime_type' => 'image/jpeg', + 'comment' => 'picture of resource no.'.$resource['id'], + 'app' => $GLOBALS['phpgw_info']['flags']['currentapp'] + ))); + $this->vfs->mv(array( + 'from' => $tmp_dir.$resource['id'].'.thumb.jpg', + 'to' => $this->thumbs_dir.$resource['id'].'.jpg', + 'relatives' => array(RELATIVE_NONE|VFS_REAL,RELATIVE_ROOT) + )); + $this->vfs->set_attributes(array( + 'string' => $this->thumbs_dir.$resource['id'].'.jpg', + 'relatives' => array (RELATIVE_ROOT), + 'attributes' => array ( + 'mime_type' => 'image/jpeg', + 'comment' => 'thumbnail of resource no.'.$resource['id'], + 'app' => $GLOBALS['phpgw_info']['flags']['currentapp'] + ))); + $this->vfs->override_acl = 0; } if($resource['picture_src'] == 'gen_src') diff --git a/resources/inc/class.so_resources.inc.php b/resources/inc/class.so_resources.inc.php index c6cce3e742..d6ea2bbde7 100755 --- a/resources/inc/class.so_resources.inc.php +++ b/resources/inc/class.so_resources.inc.php @@ -18,7 +18,6 @@ class so_resources $this->rs_table = 'egw_resources'; } - /*! @function search @abstract searches db for rows matching searchcriteria and categories @@ -115,7 +114,7 @@ class so_resources @function save @abstract saves a resource including binary datas @param array $resource key => value - @return bool succsess or not! + @return mixed id of resource if all right, false if fale */ function save($resource) { @@ -133,7 +132,7 @@ class so_resources $data[$fielddef['name']] = $this->get_value($fielddef['name'],$resource['id']); } } - return $this->db->insert($this->rs_table,$data,$where,__LINE__,__FILE__) ? true : false; + return $this->db->insert($this->rs_table,$data,$where,__LINE__,__FILE__) ? $this->db->get_last_insert_id($this->rs_table, 'id') : false; } } diff --git a/resources/inc/class.ui_resources.inc.php b/resources/inc/class.ui_resources.inc.php index c2a38672e9..51406eecbb 100755 --- a/resources/inc/class.ui_resources.inc.php +++ b/resources/inc/class.ui_resources.inc.php @@ -27,6 +27,7 @@ class ui_resources */ function ui_resources() { +// print_r($GLOBALS['phpgw_info']); die(); $this->tmpl = CreateObject('etemplate.etemplate','resources.show'); $this->bo = CreateObject('resources.bo_resources'); @@ -68,9 +69,9 @@ class ui_resources $content['nm']['get_rows'] = 'resources.bo_resources.get_rows'; $content['nm']['no_filter'] = False; - $content['nm']['filter_label'] = lang('Category'); - $content['nm']['filter_help'] = lang('Select a category'); // is this used??? - $content['nm']['options-filter']= array('0'=>lang('all categories'))+(array)$this->bo->acl->get_cats(PHPGW_ACL_READ); + $content['nm']['filter_label'] = 'Category'; + $content['nm']['filter_help'] = 'Select a category'; // is this used??? + $content['nm']['options-filter']= array('0'=>'all categories')+(array)$this->bo->acl->get_cats(PHPGW_ACL_READ); $content['nm']['no_filter2'] = True; $content['nm']['no_cat'] = True; diff --git a/resources/setup/etemplates.inc.php b/resources/setup/etemplates.inc.php index c0fb4b9c15..aa2faa965d 100644 --- a/resources/setup/etemplates.inc.php +++ b/resources/setup/etemplates.inc.php @@ -1,5 +1,5 @@ 'resources.edit','template' => '','lang' => '',' $templ_data[] = array('name' => 'resources.edit_buttons','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:1:{s:1:\"C\";s:4:\"100%\";}i:1;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:21:\"Saves entry and exits\";}s:1:\"B\";a:3:{s:4:\"type\";s:6:\"button\";s:5:\"label\";s:6:\"Cancel\";s:4:\"name\";s:6:\"cancel\";}s:1:\"C\";a:4:{s:4:\"type\";s:6:\"button\";s:5:\"label\";s:6:\"Delete\";s:5:\"align\";s:5:\"right\";s:4:\"name\";s:6:\"delete\";}}}s:4:\"rows\";i:1;s:4:\"cols\";i:3;s:4:\"size\";s:4:\"100%\";}}','size' => '100%','style' => '','modified' => '1093597552',); -$templ_data[] = array('name' => 'resources.edit_pictures','template' => '','lang' => '','group' => '0','version' => '','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:3:\"nmr\";s:2:\"c2\";s:3:\"nmr\";s:2:\"c3\";s:3:\"nmr\";}i:1;a:3:{s:1:\"A\";a:3:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:26:\"Use general resources icon\";s:5:\"align\";s:5:\"right\";}s:1:\"B\";a:3:{s:4:\"type\";s:5:\"radio\";s:4:\"size\";s:7:\"gen_src\";s:4:\"name\";s:11:\"picture_src\";}s:1:\"C\";a:2:{s:4:\"type\";s:6:\"select\";s:4:\"name\";s:12:\"gen_scr_list\";}}i:2;a:3:{s:1:\"A\";a:3:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:23:\"Use the category\'s icon\";s:5:\"align\";s:5:\"right\";}s:1:\"B\";a:3:{s:4:\"type\";s:5:\"radio\";s:4:\"size\";s:7:\"cat_src\";s:4:\"name\";s:11:\"picture_src\";}s:1:\"C\";a:1:{s:4:\"type\";s:5:\"label\";}}i:3;a:3:{s:1:\"A\";a:3:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:15:\"Use own picture\";s:5:\"align\";s:5:\"right\";}s:1:\"B\";a:3:{s:4:\"type\";s:5:\"radio\";s:4:\"size\";s:6:\"db_src\";s:4:\"name\";s:11:\"picture_src\";}s:1:\"C\";a:2:{s:4:\"type\";s:4:\"file\";s:4:\"name\";s:8:\"own_file\";}}}s:4:\"rows\";i:3;s:4:\"cols\";i:3;}}','size' => '','style' => '','modified' => '1108124763',); +$templ_data[] = array('name' => 'resources.edit_pictures','template' => '','lang' => '','group' => '0','version' => '','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:3:\"nmr\";s:2:\"c2\";s:3:\"nmr\";s:2:\"c3\";s:3:\"nmr\";}i:1;a:3:{s:1:\"A\";a:3:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:26:\"Use general resources icon\";s:5:\"align\";s:5:\"right\";}s:1:\"B\";a:3:{s:4:\"type\";s:5:\"radio\";s:4:\"size\";s:7:\"gen_src\";s:4:\"name\";s:11:\"picture_src\";}s:1:\"C\";a:2:{s:4:\"type\";s:6:\"select\";s:4:\"name\";s:12:\"gen_scr_list\";}}i:2;a:3:{s:1:\"A\";a:3:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:23:\"Use the category\'s icon\";s:5:\"align\";s:5:\"right\";}s:1:\"B\";a:3:{s:4:\"type\";s:5:\"radio\";s:4:\"size\";s:7:\"cat_src\";s:4:\"name\";s:11:\"picture_src\";}s:1:\"C\";a:1:{s:4:\"type\";s:5:\"label\";}}i:3;a:3:{s:1:\"A\";a:3:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:15:\"Use own picture\";s:5:\"align\";s:5:\"right\";}s:1:\"B\";a:3:{s:4:\"type\";s:5:\"radio\";s:4:\"size\";s:7:\"own_src\";s:4:\"name\";s:11:\"picture_src\";}s:1:\"C\";a:2:{s:4:\"type\";s:4:\"file\";s:4:\"name\";s:8:\"own_file\";}}}s:4:\"rows\";i:3;s:4:\"cols\";i:3;}}','size' => '','style' => '','modified' => '1108466336',); $templ_data[] = array('name' => 'resources.edit_tabs','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:5:{s:4:\"type\";s:4:\"grid\";s:4:\"data\";a:4:{i:0;a:3:{s:1:\"A\";s:3:\"250\";s:2:\"c1\";s:6:\"row_on\";s:2:\"c2\";s:7:\"row_off\";}i:1;a:2:{s:1:\"A\";a:4:{s:4:\"type\";s:4:\"text\";s:5:\"label\";s:4:\"Name\";s:4:\"name\";s:4:\"name\";s:4:\"help\";s:16:\"Name of resource\";}s:1:\"B\";a:6:{s:4:\"type\";s:6:\"select\";s:4:\"size\";s:10:\"select one\";s:5:\"label\";s:8:\"Category\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:6:\"cat_id\";s:4:\"help\";s:44:\"Which category does this resource belong to?\";}}i:2;a:2:{s:1:\"A\";a:5:{s:4:\"type\";s:3:\"tab\";s:4:\"span\";s:3:\"all\";s:5:\"label\";s:60:\"General|Accessories|Pictures|Page|Location|Prizeing|Calendar\";s:4:\"name\";s:60:\"general|accessories|pictures|page|location|prizeing|calendar\";s:4:\"help\";s:194:\"General informations about resource|Informations about the location of resource|Prizeing information for booking or buying|Web-Page of resource|Pictures or resource|The Calendar of this resource\";}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\";}}}s:4:\"rows\";i:3;s:4:\"cols\";i:2;s:4:\"size\";s:4:\"100%\";}}','size' => '100%','style' => '','modified' => '1107959809',); @@ -21,11 +21,11 @@ $templ_data[] = array('name' => 'resources.edit_tabs.page','template' => '','lan $templ_data[] = array('name' => 'resources.edit_tabs.pictures','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:4:{s:4:\"type\";s:4:\"grid\";s:4:\"data\";a:3:{i:0;a:0:{}i:1;a:2:{s:1:\"A\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"B\";a:2:{s:4:\"type\";s:5:\"label\";s:4:\"size\";s:1:\"b\";}}i:2;a:2:{s:1:\"A\";a:3:{s:4:\"type\";s:5:\"image\";s:5:\"align\";s:6:\"center\";s:4:\"name\";s:43:\"resources.bo_resources.get_images,$cont[id]\";}s:1:\"B\";a:5:{s:4:\"type\";s:8:\"groupbox\";s:4:\"size\";s:1:\"2\";s:5:\"label\";s:14:\"picture source\";i:1;a:1:{s:4:\"type\";s:5:\"label\";}i:2;a:2:{s:4:\"type\";s:8:\"template\";s:4:\"name\";s:23:\"resources.edit_pictures\";}}}}s:4:\"rows\";i:2;s:4:\"cols\";i:2;}}','size' => '','style' => '','modified' => '1108391552',); -$templ_data[] = array('name' => 'resources.show','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:5:{s:4:\"type\";s:4:\"grid\";s:4:\"data\";a:3:{i:0;a:0:{}i:1;a:1:{s:1:\"A\";a:3:{s:4:\"type\";s:9:\"nextmatch\";s:4:\"size\";s:19:\"resources.show.rows\";s:4:\"name\";s:2:\"nm\";}}i:2;a:1:{s:1:\"A\";a:3:{s:4:\"type\";s:6:\"button\";s:5:\"label\";s:3:\"Add\";s:4:\"name\";s:3:\"add\";}}}s:4:\"rows\";i:2;s:4:\"cols\";i:1;s:4:\"size\";s:4:\"100%\";}}','size' => '100%','style' => '','modified' => '1098892283',); +$templ_data[] = array('name' => 'resources.show','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:4:{s:4:\"type\";s:4:\"grid\";s:4:\"data\";a:3:{i:0;a:1:{s:1:\"A\";s:4:\"100%\";}i:1;a:1:{s:1:\"A\";a:4:{s:4:\"type\";s:9:\"nextmatch\";s:4:\"size\";s:19:\"resources.show.rows\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:2:\"nm\";}}i:2;a:1:{s:1:\"A\";a:3:{s:4:\"type\";s:6:\"button\";s:5:\"label\";s:3:\"Add\";s:4:\"name\";s:3:\"add\";}}}s:4:\"rows\";i:2;s:4:\"cols\";i:1;}}','size' => '','style' => '','modified' => '1108479422',); $templ_data[] = array('name' => 'resources.show.actions','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:5:{s:4:\"type\";s:4:\"grid\";s:4:\"data\";a:3:{i:0;a:3:{s:1:\"F\";s:2:\"3%\";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:20:\"nextmatch-sortheader\";s:5:\"label\";s:4:\"Name\";s:4:\"name\";s:4:\"name\";}s:1:\"B\";a:3:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:17:\"Short description\";s:4:\"name\";s:17:\"short_description\";}s:1:\"C\";a:3:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:7:\"Useable\";s:4:\"name\";s:7:\"useable\";}s:1:\"D\";a:3:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:8:\"Category\";s:4:\"name\";s:6:\"cat_id\";}s:1:\"E\";a:3:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:8:\"Location\";s:4:\"name\";s:8:\"location\";}s:1:\"F\";a:3:{s:4:\"type\";s:8:\"template\";s:5:\"align\";s:5:\"right\";s:4:\"name\";s:29:\"resources.show.actions_header\";}}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:12:\"${row}[name]\";}s:1:\"B\";a:3:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:25:\"${row}[short_description]\";}s:1:\"C\";a:3:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:14:\"${row}[usable]\";}s:1:\"D\";a:3:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:16:\"${row}[category]\";}s:1:\"E\";a:3:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:16:\"${row}[location]\";}s:1:\"F\";a:3:{s:4:\"type\";s:6:\"button\";s:5:\"align\";s:5:\"right\";s:4:\"name\";s:20:\"lukas[$row_cont[id]]\";}}}s:4:\"rows\";i:2;s:4:\"cols\";i:6;s:4:\"size\";s:4:\"100%\";}}','size' => '100%','style' => '','modified' => '1098891355',); $templ_data[] = array('name' => 'resources.show.actions_header','template' => '','lang' => '','group' => '0','version' => '','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:2:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:6:\"Action\";}s:1:\"B\";a:3:{s:4:\"type\";s:6:\"button\";s:4:\"size\";s:9:\"check.png\";s:4:\"name\";s:30:\"javascript:check_all(\'select\')\";}}}s:4:\"rows\";i:1;s:4:\"cols\";i:2;}}','size' => '','style' => '','modified' => '1094025049',); -$templ_data[] = array('name' => 'resources.show.rows','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:5:{s:4:\"type\";s:4:\"grid\";s:4:\"data\";a:3:{i:0;a:3:{s:1:\"G\";s:2:\"3%\";s:2:\"c1\";s:3:\"nmh\";s:2:\"c2\";s:3:\"nmr\";}i:1;a:7:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:7:\"Picture\";}s:1:\"B\";a:3:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:4:\"Name\";s:4:\"name\";s:4:\"name\";}s:1:\"C\";a:3:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:17:\"Short description\";s:4:\"name\";s:17:\"short_description\";}s:1:\"D\";a:3:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:7:\"Useable\";s:4:\"name\";s:7:\"useable\";}s:1:\"E\";a:3:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:8:\"Category\";s:4:\"name\";s:6:\"cat_id\";}s:1:\"F\";a:3:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:8:\"Location\";s:4:\"name\";s:8:\"location\";}s:1:\"G\";a:3:{s:4:\"type\";s:8:\"template\";s:5:\"align\";s:5:\"right\";s:4:\"name\";s:29:\"resources.show.actions_header\";}}i:2;a:7:{s:1:\"A\";a:3:{s:4:\"type\";s:5:\"image\";s:5:\"align\";s:6:\"center\";s:4:\"name\";s:47:\"resources.bo_resources.get_images,$row_cont[id]\";}s:1:\"B\";a:3:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:12:\"${row}[name]\";}s:1:\"C\";a:3:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:25:\"${row}[short_description]\";}s:1:\"D\";a:4:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:5:\"align\";s:5:\"right\";s:4:\"name\";s:15:\"${row}[useable]\";}s:1:\"E\";a:4:{s:4:\"type\";s:10:\"select-cat\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:14:\"${row}[cat_id]\";s:8:\"readonly\";s:1:\"1\";}s:1:\"F\";a:3:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:16:\"${row}[location]\";}s:1:\"G\";a:8:{s:4:\"type\";s:4:\"hbox\";s:4:\"size\";s:1:\"5\";s:5:\"align\";s:5:\"right\";i:1;a:3:{s:4:\"type\";s:6:\"button\";s:4:\"size\";s:8:\"view.gif\";s:4:\"name\";s:19:\"view[$row_cont[id]]\";}i:2;a:3:{s:4:\"type\";s:6:\"button\";s:4:\"size\";s:10:\"browse.gif\";s:4:\"name\";s:19:\"book[$row_cont[id]]\";}i:3;a:3:{s:4:\"type\";s:6:\"button\";s:4:\"size\";s:8:\"edit.gif\";s:4:\"name\";s:19:\"edit[$row_cont[id]]\";}i:4;a:3:{s:4:\"type\";s:6:\"button\";s:4:\"size\";s:10:\"delete.gif\";s:4:\"name\";s:21:\"delete[$row_cont[id]]\";}i:5;a:2:{s:4:\"type\";s:8:\"checkbox\";s:4:\"name\";s:20:\"check[$row_cont[id]]\";}}}}s:4:\"rows\";i:2;s:4:\"cols\";i:7;s:4:\"size\";s:4:\"100%\";}}','size' => '100%','style' => '','modified' => '1107886236',); +$templ_data[] = array('name' => 'resources.show.rows','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:4:{s:4:\"type\";s:4:\"grid\";s:4:\"data\";a:3:{i:0;a:3:{s:1:\"G\";s:2:\"3%\";s:2:\"c1\";s:3:\"nmh\";s:2:\"c2\";s:3:\"nmr\";}i:1;a:7:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:7:\"Picture\";}s:1:\"B\";a:3:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:4:\"Name\";s:4:\"name\";s:4:\"name\";}s:1:\"C\";a:3:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:17:\"Short description\";s:4:\"name\";s:17:\"short_description\";}s:1:\"D\";a:3:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:7:\"Useable\";s:4:\"name\";s:7:\"useable\";}s:1:\"E\";a:3:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:8:\"Category\";s:4:\"name\";s:6:\"cat_id\";}s:1:\"F\";a:3:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:8:\"Location\";s:4:\"name\";s:8:\"location\";}s:1:\"G\";a:3:{s:4:\"type\";s:8:\"template\";s:5:\"align\";s:5:\"right\";s:4:\"name\";s:29:\"resources.show.actions_header\";}}i:2;a:7:{s:1:\"A\";a:3:{s:4:\"type\";s:5:\"image\";s:5:\"align\";s:6:\"center\";s:4:\"name\";s:21:\"${row}[picture_thumb]\";}s:1:\"B\";a:3:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:12:\"${row}[name]\";}s:1:\"C\";a:3:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:25:\"${row}[short_description]\";}s:1:\"D\";a:4:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:5:\"align\";s:5:\"right\";s:4:\"name\";s:15:\"${row}[useable]\";}s:1:\"E\";a:4:{s:4:\"type\";s:10:\"select-cat\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:14:\"${row}[cat_id]\";s:8:\"readonly\";s:1:\"1\";}s:1:\"F\";a:3:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:16:\"${row}[location]\";}s:1:\"G\";a:8:{s:4:\"type\";s:4:\"hbox\";s:4:\"size\";s:1:\"5\";s:5:\"align\";s:5:\"right\";i:1;a:3:{s:4:\"type\";s:6:\"button\";s:4:\"size\";s:8:\"view.gif\";s:4:\"name\";s:19:\"view[$row_cont[id]]\";}i:2;a:3:{s:4:\"type\";s:6:\"button\";s:4:\"size\";s:10:\"browse.gif\";s:4:\"name\";s:19:\"book[$row_cont[id]]\";}i:3;a:3:{s:4:\"type\";s:6:\"button\";s:4:\"size\";s:8:\"edit.gif\";s:4:\"name\";s:19:\"edit[$row_cont[id]]\";}i:4;a:3:{s:4:\"type\";s:6:\"button\";s:4:\"size\";s:10:\"delete.gif\";s:4:\"name\";s:21:\"delete[$row_cont[id]]\";}i:5;a:2:{s:4:\"type\";s:8:\"checkbox\";s:4:\"name\";s:20:\"check[$row_cont[id]]\";}}}}s:4:\"rows\";i:2;s:4:\"cols\";i:7;}}','size' => '','style' => '','modified' => '1108467015',); diff --git a/resources/setup/etemplates.old.inc.php b/resources/setup/etemplates.old.inc.php index 4687a543fb..2beda4fec0 100755 --- a/resources/setup/etemplates.old.inc.php +++ b/resources/setup/etemplates.old.inc.php @@ -1,31 +1,31 @@ 'resources.add','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:3:{i:0;a:0:{}i:1;a:1:{s:1:\"A\";a:2:{s:4:\"type\";s:8:\"template\";s:4:\"name\";s:19:\"resources.edit_tabs\";}}i:2;a:1:{s:1:\"A\";a:2:{s:4:\"type\";s:8:\"template\";s:4:\"name\";s:21:\"resources.add_buttons\";}}}','size' => '100%','style' => '','modified' => '1094579218',); +$templ_data[] = array('name' => 'resources.add','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:5:{s:4:\"type\";s:4:\"grid\";s:4:\"data\";a:3:{i:0;a:0:{}i:1;a:1:{s:1:\"A\";a:2:{s:4:\"type\";s:8:\"template\";s:4:\"name\";s:19:\"resources.edit_tabs\";}}i:2;a:1:{s:1:\"A\";a:2:{s:4:\"type\";s:8:\"template\";s:4:\"name\";s:21:\"resources.add_buttons\";}}}s:4:\"rows\";i:2;s:4:\"cols\";i:1;s:4:\"size\";s:4:\"100%\";}}','size' => '100%','style' => '','modified' => '1094579218',); -$templ_data[] = array('name' => 'resources.add_buttons','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:2:{i:0;a:1:{s:1:\"C\";s:4:\"100%\";}i:1;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:21:\"Saves entry and exits\";}s:1:\"B\";a:3:{s:4:\"type\";s:6:\"button\";s:5:\"label\";s:6:\"Cancel\";s:4:\"name\";s:6:\"cancel\";}s:1:\"C\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"align\";s:5:\"right\";}}}','size' => '100%','style' => '','modified' => '1094579498',); +$templ_data[] = array('name' => 'resources.add_buttons','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:1:{s:1:\"C\";s:4:\"100%\";}i:1;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:21:\"Saves entry and exits\";}s:1:\"B\";a:3:{s:4:\"type\";s:6:\"button\";s:5:\"label\";s:6:\"Cancel\";s:4:\"name\";s:6:\"cancel\";}s:1:\"C\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"align\";s:5:\"right\";}}}s:4:\"rows\";i:1;s:4:\"cols\";i:3;s:4:\"size\";s:4:\"100%\";}}','size' => '100%','style' => '','modified' => '1094579498',); -$templ_data[] = array('name' => 'resources.edit','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:4:{i:0;a:0:{}i:1;a:1:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";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:19:\"resources.edit_tabs\";}}i:3;a:1:{s:1:\"A\";a:2:{s:4:\"type\";s:8:\"template\";s:4:\"name\";s:22:\"resources.edit_buttons\";}}}','size' => '100%','style' => '','modified' => '1099310308',); +$templ_data[] = array('name' => 'resources.edit','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:5:{s:4:\"type\";s:4:\"grid\";s:4:\"data\";a:4:{i:0;a:0:{}i:1;a:1:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";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:19:\"resources.edit_tabs\";}}i:3;a:1:{s:1:\"A\";a:2:{s:4:\"type\";s:8:\"template\";s:4:\"name\";s:22:\"resources.edit_buttons\";}}}s:4:\"rows\";i:3;s:4:\"cols\";i:1;s:4:\"size\";s:4:\"100%\";}}','size' => '100%','style' => '','modified' => '1099310308',); -$templ_data[] = array('name' => 'resources.edit_buttons','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:2:{i:0;a:1:{s:1:\"C\";s:4:\"100%\";}i:1;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:21:\"Saves entry and exits\";}s:1:\"B\";a:3:{s:4:\"type\";s:6:\"button\";s:5:\"label\";s:6:\"Cancel\";s:4:\"name\";s:6:\"cancel\";}s:1:\"C\";a:4:{s:4:\"type\";s:6:\"button\";s:5:\"label\";s:6:\"Delete\";s:5:\"align\";s:5:\"right\";s:4:\"name\";s:6:\"delete\";}}}','size' => '100%','style' => '','modified' => '1093597552',); +$templ_data[] = array('name' => 'resources.edit_buttons','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:1:{s:1:\"C\";s:4:\"100%\";}i:1;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:21:\"Saves entry and exits\";}s:1:\"B\";a:3:{s:4:\"type\";s:6:\"button\";s:5:\"label\";s:6:\"Cancel\";s:4:\"name\";s:6:\"cancel\";}s:1:\"C\";a:4:{s:4:\"type\";s:6:\"button\";s:5:\"label\";s:6:\"Delete\";s:5:\"align\";s:5:\"right\";s:4:\"name\";s:6:\"delete\";}}}s:4:\"rows\";i:1;s:4:\"cols\";i:3;s:4:\"size\";s:4:\"100%\";}}','size' => '100%','style' => '','modified' => '1093597552',); -$templ_data[] = array('name' => 'resources.edit_pictures','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:4:{i:0;a:3:{s:2:\"c1\";s:3:\"nmr\";s:2:\"c2\";s:3:\"nmr\";s:2:\"c3\";s:3:\"nmr\";}i:1;a:3:{s:1:\"A\";a:3:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:26:\"Use general resources icon\";s:5:\"align\";s:5:\"right\";}s:1:\"B\";a:3:{s:4:\"type\";s:5:\"radio\";s:4:\"size\";s:7:\"gen_src\";s:4:\"name\";s:11:\"picture_src\";}s:1:\"C\";a:2:{s:4:\"type\";s:6:\"select\";s:4:\"name\";s:12:\"gen_scr_list\";}}i:2;a:3:{s:1:\"A\";a:3:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:23:\"Use the category\'s icon\";s:5:\"align\";s:5:\"right\";}s:1:\"B\";a:3:{s:4:\"type\";s:5:\"radio\";s:4:\"size\";s:7:\"cat_src\";s:4:\"name\";s:11:\"picture_src\";}s:1:\"C\";a:1:{s:4:\"type\";s:5:\"label\";}}i:3;a:3:{s:1:\"A\";a:3:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:15:\"Use own picture\";s:5:\"align\";s:5:\"right\";}s:1:\"B\";a:3:{s:4:\"type\";s:5:\"radio\";s:4:\"size\";s:6:\"db_src\";s:4:\"name\";s:11:\"picture_src\";}s:1:\"C\";a:2:{s:4:\"type\";s:4:\"file\";s:4:\"name\";s:8:\"own_file\";}}}','size' => '','style' => '','modified' => '1108124763',); +$templ_data[] = array('name' => 'resources.edit_pictures','template' => '','lang' => '','group' => '0','version' => '','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:3:\"nmr\";s:2:\"c2\";s:3:\"nmr\";s:2:\"c3\";s:3:\"nmr\";}i:1;a:3:{s:1:\"A\";a:3:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:26:\"Use general resources icon\";s:5:\"align\";s:5:\"right\";}s:1:\"B\";a:3:{s:4:\"type\";s:5:\"radio\";s:4:\"size\";s:7:\"gen_src\";s:4:\"name\";s:11:\"picture_src\";}s:1:\"C\";a:2:{s:4:\"type\";s:6:\"select\";s:4:\"name\";s:12:\"gen_scr_list\";}}i:2;a:3:{s:1:\"A\";a:3:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:23:\"Use the category\'s icon\";s:5:\"align\";s:5:\"right\";}s:1:\"B\";a:3:{s:4:\"type\";s:5:\"radio\";s:4:\"size\";s:7:\"cat_src\";s:4:\"name\";s:11:\"picture_src\";}s:1:\"C\";a:1:{s:4:\"type\";s:5:\"label\";}}i:3;a:3:{s:1:\"A\";a:3:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:15:\"Use own picture\";s:5:\"align\";s:5:\"right\";}s:1:\"B\";a:3:{s:4:\"type\";s:5:\"radio\";s:4:\"size\";s:7:\"own_src\";s:4:\"name\";s:11:\"picture_src\";}s:1:\"C\";a:2:{s:4:\"type\";s:4:\"file\";s:4:\"name\";s:8:\"own_file\";}}}s:4:\"rows\";i:3;s:4:\"cols\";i:3;}}','size' => '','style' => '','modified' => '1108466336',); -$templ_data[] = array('name' => 'resources.edit_tabs','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:4:{i:0;a:3:{s:1:\"A\";s:3:\"250\";s:2:\"c1\";s:6:\"row_on\";s:2:\"c2\";s:7:\"row_off\";}i:1;a:2:{s:1:\"A\";a:4:{s:4:\"type\";s:4:\"text\";s:5:\"label\";s:4:\"Name\";s:4:\"name\";s:4:\"name\";s:4:\"help\";s:16:\"Name of resource\";}s:1:\"B\";a:6:{s:4:\"type\";s:6:\"select\";s:4:\"size\";s:10:\"select one\";s:5:\"label\";s:8:\"Category\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:6:\"cat_id\";s:4:\"help\";s:44:\"Which category does this resource belong to?\";}}i:2;a:2:{s:1:\"A\";a:5:{s:4:\"type\";s:3:\"tab\";s:4:\"span\";s:3:\"all\";s:5:\"label\";s:60:\"General|Accessories|Pictures|Page|Location|Prizeing|Calendar\";s:4:\"name\";s:60:\"general|accessories|pictures|page|location|prizeing|calendar\";s:4:\"help\";s:194:\"General informations about resource|Informations about the location of resource|Prizeing information for booking or buying|Web-Page of resource|Pictures or resource|The Calendar of this resource\";}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\";}}}','size' => '100%','style' => '','modified' => '1107959809',); +$templ_data[] = array('name' => 'resources.edit_tabs','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:5:{s:4:\"type\";s:4:\"grid\";s:4:\"data\";a:4:{i:0;a:3:{s:1:\"A\";s:3:\"250\";s:2:\"c1\";s:6:\"row_on\";s:2:\"c2\";s:7:\"row_off\";}i:1;a:2:{s:1:\"A\";a:4:{s:4:\"type\";s:4:\"text\";s:5:\"label\";s:4:\"Name\";s:4:\"name\";s:4:\"name\";s:4:\"help\";s:16:\"Name of resource\";}s:1:\"B\";a:6:{s:4:\"type\";s:6:\"select\";s:4:\"size\";s:10:\"select one\";s:5:\"label\";s:8:\"Category\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:6:\"cat_id\";s:4:\"help\";s:44:\"Which category does this resource belong to?\";}}i:2;a:2:{s:1:\"A\";a:5:{s:4:\"type\";s:3:\"tab\";s:4:\"span\";s:3:\"all\";s:5:\"label\";s:60:\"General|Accessories|Pictures|Page|Location|Prizeing|Calendar\";s:4:\"name\";s:60:\"general|accessories|pictures|page|location|prizeing|calendar\";s:4:\"help\";s:194:\"General informations about resource|Informations about the location of resource|Prizeing information for booking or buying|Web-Page of resource|Pictures or resource|The Calendar of this resource\";}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\";}}}s:4:\"rows\";i:3;s:4:\"cols\";i:2;s:4:\"size\";s:4:\"100%\";}}','size' => '100%','style' => '','modified' => '1107959809',); -$templ_data[] = array('name' => 'resources.edit_tabs.general','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:7:{i:0;a:1:{s:1:\"C\";s:2:\"10\";}i:1;a:4:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:19:\"Description (short)\";}s:1:\"B\";a:4:{s:4:\"type\";s:4:\"text\";s:4:\"size\";s:6:\"50,100\";s:4:\"name\";s:17:\"short_description\";s:4:\"help\";s:29:\"Short description of resource\";}s:1:\"C\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"D\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:29:\"Short description of resource\";}}i:2;a:4:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:8:\"Location\";}s:1:\"B\";a:4:{s:4:\"type\";s:4:\"text\";s:4:\"size\";s:6:\"50,100\";s:4:\"name\";s:8:\"location\";s:4:\"help\";s:20:\"Location of resource\";}s:1:\"C\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"D\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:28:\"Where to find this resource?\";}}i:3;a:4:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:8:\"Quantity\";}s:1:\"B\";a:4:{s:4:\"type\";s:4:\"text\";s:4:\"size\";s:4:\"5,10\";s:4:\"name\";s:8:\"quantity\";s:4:\"help\";s:20:\"Quantity of resource\";}s:1:\"C\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"D\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:20:\"Quantity of resource\";}}i:4;a:4:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:7:\"Useable\";}s:1:\"B\";a:4:{s:4:\"type\";s:4:\"text\";s:4:\"size\";s:4:\"5,10\";s:4:\"name\";s:7:\"useable\";s:4:\"help\";s:29:\"How many of them are useable?\";}s:1:\"C\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"D\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:38:\"How many of the resources are useable?\";}}i:5;a:4:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:8:\"Bookable\";}s:1:\"B\";a:3:{s:4:\"type\";s:8:\"checkbox\";s:4:\"name\";s:8:\"bookable\";s:4:\"help\";s:21:\"Is resource bookable?\";}s:1:\"C\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"D\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:26:\"Is this resource bookable?\";}}i:6;a:4:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:7:\"Buyable\";}s:1:\"B\";a:3:{s:4:\"type\";s:8:\"checkbox\";s:4:\"name\";s:7:\"buyable\";s:4:\"help\";s:20:\"Is resource buyable?\";}s:1:\"C\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"D\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:25:\"Is this resource buyable?\";}}}','size' => '100%','style' => '','modified' => '1093597682',); +$templ_data[] = array('name' => 'resources.edit_tabs.general','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:1:{s:1:\"C\";s:2:\"10\";}i:1;a:4:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:19:\"Description (short)\";}s:1:\"B\";a:4:{s:4:\"type\";s:4:\"text\";s:4:\"size\";s:6:\"50,100\";s:4:\"name\";s:17:\"short_description\";s:4:\"help\";s:29:\"Short description of resource\";}s:1:\"C\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"D\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:29:\"Short description of resource\";}}i:2;a:4:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:8:\"Location\";}s:1:\"B\";a:4:{s:4:\"type\";s:4:\"text\";s:4:\"size\";s:6:\"50,100\";s:4:\"name\";s:8:\"location\";s:4:\"help\";s:20:\"Location of resource\";}s:1:\"C\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"D\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:28:\"Where to find this resource?\";}}i:3;a:4:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:8:\"Quantity\";}s:1:\"B\";a:4:{s:4:\"type\";s:4:\"text\";s:4:\"size\";s:4:\"5,10\";s:4:\"name\";s:8:\"quantity\";s:4:\"help\";s:20:\"Quantity of resource\";}s:1:\"C\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"D\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:20:\"Quantity of resource\";}}i:4;a:4:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:7:\"Useable\";}s:1:\"B\";a:4:{s:4:\"type\";s:4:\"text\";s:4:\"size\";s:4:\"5,10\";s:4:\"name\";s:7:\"useable\";s:4:\"help\";s:29:\"How many of them are useable?\";}s:1:\"C\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"D\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:38:\"How many of the resources are useable?\";}}i:5;a:4:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:8:\"Bookable\";}s:1:\"B\";a:3:{s:4:\"type\";s:8:\"checkbox\";s:4:\"name\";s:8:\"bookable\";s:4:\"help\";s:21:\"Is resource bookable?\";}s:1:\"C\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"D\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:26:\"Is this resource bookable?\";}}i:6;a:4:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:7:\"Buyable\";}s:1:\"B\";a:3:{s:4:\"type\";s:8:\"checkbox\";s:4:\"name\";s:7:\"buyable\";s:4:\"help\";s:20:\"Is resource buyable?\";}s:1:\"C\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"D\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:25:\"Is this resource buyable?\";}}}s:4:\"rows\";i:6;s:4:\"cols\";i:4;s:4:\"size\";s:4:\"100%\";}}','size' => '100%','style' => '','modified' => '1093597682',); -$templ_data[] = array('name' => 'resources.edit_tabs.page','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:2:{i:0;a:0:{}i:1;a:1:{s:1:\"A\";a:3:{s:4:\"type\";s:8:\"htmlarea\";s:4:\"name\";s:16:\"long_description\";s:4:\"help\";s:26:\"Web-Site for this resource\";}}}','size' => '100%','style' => '','modified' => '1093599237',); +$templ_data[] = array('name' => 'resources.edit_tabs.page','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:0:{}i:1;a:1:{s:1:\"A\";a:3:{s:4:\"type\";s:8:\"htmlarea\";s:4:\"name\";s:16:\"long_description\";s:4:\"help\";s:26:\"Web-Site for this resource\";}}}s:4:\"rows\";i:1;s:4:\"cols\";i:1;s:4:\"size\";s:4:\"100%\";}}','size' => '100%','style' => '','modified' => '1093599237',); -$templ_data[] = array('name' => 'resources.edit_tabs.pictures','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:4:{s:4:\"type\";s:4:\"grid\";s:4:\"data\";a:3:{i:0;a:0:{}i:1;a:2:{s:1:\"A\";a:3:{s:4:\"type\";s:5:\"label\";s:4:\"size\";s:1:\"b\";s:5:\"label\";s:7:\"Picture\";}s:1:\"B\";a:2:{s:4:\"type\";s:5:\"label\";s:4:\"size\";s:1:\"b\";}}i:2;a:2:{s:1:\"A\";a:3:{s:4:\"type\";s:5:\"image\";s:5:\"align\";s:6:\"center\";s:4:\"name\";s:43:\"resources.bo_resources.get_images,$cont[id]\";}s:1:\"B\";a:5:{s:4:\"type\";s:8:\"groupbox\";s:4:\"size\";s:1:\"2\";s:5:\"label\";s:14:\"picture source\";i:1;a:1:{s:4:\"type\";s:5:\"label\";}i:2;a:2:{s:4:\"type\";s:8:\"template\";s:4:\"name\";s:23:\"resources.edit_pictures\";}}}}s:4:\"rows\";i:2;s:4:\"cols\";i:2;}}','size' => '','style' => '','modified' => '1108391426',); +$templ_data[] = array('name' => 'resources.edit_tabs.pictures','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:4:{s:4:\"type\";s:4:\"grid\";s:4:\"data\";a:3:{i:0;a:0:{}i:1;a:2:{s:1:\"A\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"B\";a:2:{s:4:\"type\";s:5:\"label\";s:4:\"size\";s:1:\"b\";}}i:2;a:2:{s:1:\"A\";a:3:{s:4:\"type\";s:5:\"image\";s:5:\"align\";s:6:\"center\";s:4:\"name\";s:43:\"resources.bo_resources.get_images,$cont[id]\";}s:1:\"B\";a:5:{s:4:\"type\";s:8:\"groupbox\";s:4:\"size\";s:1:\"2\";s:5:\"label\";s:14:\"picture source\";i:1;a:1:{s:4:\"type\";s:5:\"label\";}i:2;a:2:{s:4:\"type\";s:8:\"template\";s:4:\"name\";s:23:\"resources.edit_pictures\";}}}}s:4:\"rows\";i:2;s:4:\"cols\";i:2;}}','size' => '','style' => '','modified' => '1108391552',); -$templ_data[] = array('name' => 'resources.show','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:3:{i:0;a:0:{}i:1;a:1:{s:1:\"A\";a:3:{s:4:\"type\";s:9:\"nextmatch\";s:4:\"size\";s:19:\"resources.show.rows\";s:4:\"name\";s:2:\"nm\";}}i:2;a:1:{s:1:\"A\";a:3:{s:4:\"type\";s:6:\"button\";s:5:\"label\";s:3:\"Add\";s:4:\"name\";s:3:\"add\";}}}','size' => '100%','style' => '','modified' => '1098892283',); +$templ_data[] = array('name' => 'resources.show','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:5:{s:4:\"type\";s:4:\"grid\";s:4:\"data\";a:3:{i:0;a:0:{}i:1;a:1:{s:1:\"A\";a:3:{s:4:\"type\";s:9:\"nextmatch\";s:4:\"size\";s:19:\"resources.show.rows\";s:4:\"name\";s:2:\"nm\";}}i:2;a:1:{s:1:\"A\";a:3:{s:4:\"type\";s:6:\"button\";s:5:\"label\";s:3:\"Add\";s:4:\"name\";s:3:\"add\";}}}s:4:\"rows\";i:2;s:4:\"cols\";i:1;s:4:\"size\";s:4:\"100%\";}}','size' => '100%','style' => '','modified' => '1098892283',); -$templ_data[] = array('name' => 'resources.show.actions','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:3:{i:0;a:3:{s:1:\"F\";s:2:\"3%\";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:20:\"nextmatch-sortheader\";s:5:\"label\";s:4:\"Name\";s:4:\"name\";s:4:\"name\";}s:1:\"B\";a:3:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:17:\"Short description\";s:4:\"name\";s:17:\"short_description\";}s:1:\"C\";a:3:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:7:\"Useable\";s:4:\"name\";s:7:\"useable\";}s:1:\"D\";a:3:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:8:\"Category\";s:4:\"name\";s:6:\"cat_id\";}s:1:\"E\";a:3:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:8:\"Location\";s:4:\"name\";s:8:\"location\";}s:1:\"F\";a:3:{s:4:\"type\";s:8:\"template\";s:5:\"align\";s:5:\"right\";s:4:\"name\";s:29:\"resources.show.actions_header\";}}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:12:\"${row}[name]\";}s:1:\"B\";a:3:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:25:\"${row}[short_description]\";}s:1:\"C\";a:3:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:14:\"${row}[usable]\";}s:1:\"D\";a:3:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:16:\"${row}[category]\";}s:1:\"E\";a:3:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:16:\"${row}[location]\";}s:1:\"F\";a:3:{s:4:\"type\";s:6:\"button\";s:5:\"align\";s:5:\"right\";s:4:\"name\";s:20:\"lukas[$row_cont[id]]\";}}}','size' => '100%','style' => '','modified' => '1098891355',); +$templ_data[] = array('name' => 'resources.show.actions','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:5:{s:4:\"type\";s:4:\"grid\";s:4:\"data\";a:3:{i:0;a:3:{s:1:\"F\";s:2:\"3%\";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:20:\"nextmatch-sortheader\";s:5:\"label\";s:4:\"Name\";s:4:\"name\";s:4:\"name\";}s:1:\"B\";a:3:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:17:\"Short description\";s:4:\"name\";s:17:\"short_description\";}s:1:\"C\";a:3:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:7:\"Useable\";s:4:\"name\";s:7:\"useable\";}s:1:\"D\";a:3:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:8:\"Category\";s:4:\"name\";s:6:\"cat_id\";}s:1:\"E\";a:3:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:8:\"Location\";s:4:\"name\";s:8:\"location\";}s:1:\"F\";a:3:{s:4:\"type\";s:8:\"template\";s:5:\"align\";s:5:\"right\";s:4:\"name\";s:29:\"resources.show.actions_header\";}}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:12:\"${row}[name]\";}s:1:\"B\";a:3:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:25:\"${row}[short_description]\";}s:1:\"C\";a:3:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:14:\"${row}[usable]\";}s:1:\"D\";a:3:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:16:\"${row}[category]\";}s:1:\"E\";a:3:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:16:\"${row}[location]\";}s:1:\"F\";a:3:{s:4:\"type\";s:6:\"button\";s:5:\"align\";s:5:\"right\";s:4:\"name\";s:20:\"lukas[$row_cont[id]]\";}}}s:4:\"rows\";i:2;s:4:\"cols\";i:6;s:4:\"size\";s:4:\"100%\";}}','size' => '100%','style' => '','modified' => '1098891355',); -$templ_data[] = array('name' => 'resources.show.actions_header','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:2:{i:0;a:0:{}i:1;a:2:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:6:\"Action\";}s:1:\"B\";a:3:{s:4:\"type\";s:6:\"button\";s:4:\"size\";s:9:\"check.png\";s:4:\"name\";s:30:\"javascript:check_all(\'select\')\";}}}','size' => '','style' => '','modified' => '1094025049',); +$templ_data[] = array('name' => 'resources.show.actions_header','template' => '','lang' => '','group' => '0','version' => '','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:2:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:6:\"Action\";}s:1:\"B\";a:3:{s:4:\"type\";s:6:\"button\";s:4:\"size\";s:9:\"check.png\";s:4:\"name\";s:30:\"javascript:check_all(\'select\')\";}}}s:4:\"rows\";i:1;s:4:\"cols\";i:2;}}','size' => '','style' => '','modified' => '1094025049',); -$templ_data[] = array('name' => 'resources.show.rows','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:3:{i:0;a:3:{s:1:\"G\";s:2:\"3%\";s:2:\"c1\";s:3:\"nmh\";s:2:\"c2\";s:3:\"nmr\";}i:1;a:7:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:7:\"Picture\";}s:1:\"B\";a:3:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:4:\"Name\";s:4:\"name\";s:4:\"name\";}s:1:\"C\";a:3:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:17:\"Short description\";s:4:\"name\";s:17:\"short_description\";}s:1:\"D\";a:3:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:7:\"Useable\";s:4:\"name\";s:7:\"useable\";}s:1:\"E\";a:3:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:8:\"Category\";s:4:\"name\";s:6:\"cat_id\";}s:1:\"F\";a:3:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:8:\"Location\";s:4:\"name\";s:8:\"location\";}s:1:\"G\";a:3:{s:4:\"type\";s:8:\"template\";s:5:\"align\";s:5:\"right\";s:4:\"name\";s:29:\"resources.show.actions_header\";}}i:2;a:7:{s:1:\"A\";a:3:{s:4:\"type\";s:5:\"image\";s:5:\"align\";s:6:\"center\";s:4:\"name\";s:47:\"resources.bo_resources.get_images,$row_cont[id]\";}s:1:\"B\";a:3:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:12:\"${row}[name]\";}s:1:\"C\";a:3:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:25:\"${row}[short_description]\";}s:1:\"D\";a:4:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:5:\"align\";s:5:\"right\";s:4:\"name\";s:15:\"${row}[useable]\";}s:1:\"E\";a:4:{s:4:\"type\";s:10:\"select-cat\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:14:\"${row}[cat_id]\";s:8:\"readonly\";s:1:\"1\";}s:1:\"F\";a:3:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:16:\"${row}[location]\";}s:1:\"G\";a:8:{s:4:\"type\";s:4:\"hbox\";s:4:\"size\";s:1:\"5\";s:5:\"align\";s:5:\"right\";i:1;a:3:{s:4:\"type\";s:6:\"button\";s:4:\"size\";s:8:\"view.gif\";s:4:\"name\";s:19:\"view[$row_cont[id]]\";}i:2;a:3:{s:4:\"type\";s:6:\"button\";s:4:\"size\";s:10:\"browse.gif\";s:4:\"name\";s:19:\"book[$row_cont[id]]\";}i:3;a:3:{s:4:\"type\";s:6:\"button\";s:4:\"size\";s:8:\"edit.gif\";s:4:\"name\";s:19:\"edit[$row_cont[id]]\";}i:4;a:3:{s:4:\"type\";s:6:\"button\";s:4:\"size\";s:10:\"delete.gif\";s:4:\"name\";s:21:\"delete[$row_cont[id]]\";}i:5;a:2:{s:4:\"type\";s:8:\"checkbox\";s:4:\"name\";s:20:\"check[$row_cont[id]]\";}}}}','size' => '100%','style' => '','modified' => '1107886236',); +$templ_data[] = array('name' => 'resources.show.rows','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:5:{s:4:\"type\";s:4:\"grid\";s:4:\"data\";a:3:{i:0;a:3:{s:1:\"G\";s:2:\"3%\";s:2:\"c1\";s:3:\"nmh\";s:2:\"c2\";s:3:\"nmr\";}i:1;a:7:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:7:\"Picture\";}s:1:\"B\";a:3:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:4:\"Name\";s:4:\"name\";s:4:\"name\";}s:1:\"C\";a:3:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:17:\"Short description\";s:4:\"name\";s:17:\"short_description\";}s:1:\"D\";a:3:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:7:\"Useable\";s:4:\"name\";s:7:\"useable\";}s:1:\"E\";a:3:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:8:\"Category\";s:4:\"name\";s:6:\"cat_id\";}s:1:\"F\";a:3:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:8:\"Location\";s:4:\"name\";s:8:\"location\";}s:1:\"G\";a:3:{s:4:\"type\";s:8:\"template\";s:5:\"align\";s:5:\"right\";s:4:\"name\";s:29:\"resources.show.actions_header\";}}i:2;a:7:{s:1:\"A\";a:3:{s:4:\"type\";s:5:\"image\";s:5:\"align\";s:6:\"center\";s:4:\"name\";s:47:\"resources.bo_resources.get_images,$row_cont[id]\";}s:1:\"B\";a:3:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:12:\"${row}[name]\";}s:1:\"C\";a:3:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:25:\"${row}[short_description]\";}s:1:\"D\";a:4:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:5:\"align\";s:5:\"right\";s:4:\"name\";s:15:\"${row}[useable]\";}s:1:\"E\";a:4:{s:4:\"type\";s:10:\"select-cat\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:14:\"${row}[cat_id]\";s:8:\"readonly\";s:1:\"1\";}s:1:\"F\";a:3:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:16:\"${row}[location]\";}s:1:\"G\";a:8:{s:4:\"type\";s:4:\"hbox\";s:4:\"size\";s:1:\"5\";s:5:\"align\";s:5:\"right\";i:1;a:3:{s:4:\"type\";s:6:\"button\";s:4:\"size\";s:8:\"view.gif\";s:4:\"name\";s:19:\"view[$row_cont[id]]\";}i:2;a:3:{s:4:\"type\";s:6:\"button\";s:4:\"size\";s:10:\"browse.gif\";s:4:\"name\";s:19:\"book[$row_cont[id]]\";}i:3;a:3:{s:4:\"type\";s:6:\"button\";s:4:\"size\";s:8:\"edit.gif\";s:4:\"name\";s:19:\"edit[$row_cont[id]]\";}i:4;a:3:{s:4:\"type\";s:6:\"button\";s:4:\"size\";s:10:\"delete.gif\";s:4:\"name\";s:21:\"delete[$row_cont[id]]\";}i:5;a:2:{s:4:\"type\";s:8:\"checkbox\";s:4:\"name\";s:20:\"check[$row_cont[id]]\";}}}}s:4:\"rows\";i:2;s:4:\"cols\";i:7;s:4:\"size\";s:4:\"100%\";}}','size' => '100%','style' => '','modified' => '1107886236',);