list : 2 rows each entry

This commit is contained in:
Cornelius Weiß 2005-02-17 12:43:26 +00:00
parent a9a0455efa
commit 6260f01774
4 changed files with 6 additions and 6 deletions

View File

@ -16,7 +16,6 @@ TODO:
- sitemgr module - sitemgr module
- list - list
2 rows each entry
don't translate cats in header (eTemplate bug --> Ralf) don't translate cats in header (eTemplate bug --> Ralf)
handle select all button --> add actions for selected handle select all button --> add actions for selected

View File

@ -45,6 +45,7 @@ class bo_resources
$rows = array( 0 => array( 'id' => '', $rows = array( 0 => array( 'id' => '',
'name' => '', 'name' => '',
'short_description' => '', 'short_description' => '',
'quantity' => '',
'useable' => '', 'useable' => '',
'bookable' => '', 'bookable' => '',
'cat_id' => '', 'cat_id' => '',

View File

@ -1,5 +1,5 @@
<?php <?php
// eTemplates for Application 'resources', generated by etemplate.dump() 2005-02-17 12:14 // eTemplates for Application 'resources', generated by etemplate.dump() 2005-02-17 13:41
/* $Id$ */ /* $Id$ */
@ -27,5 +27,5 @@ $templ_data[] = array('name' => 'resources.show.actions','template' => '','lang'
$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.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: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',); $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:4:{s:1:\"G\";s:2:\"3%\";s:1:\"H\";s:2:\"3%\";s:2:\"c1\";s:3:\"nmh\";s:2:\"c2\";s:7:\"nmr,top\";}i:1;a:8:{s:1:\"A\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"B\";a:4:{s:4:\"type\";s:4:\"vbox\";s:4:\"size\";s:1:\"2\";i:1;a:3:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:4:\"Name\";s:4:\"name\";s:4:\"name\";}i:2;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:4:{s:4:\"type\";s:4:\"vbox\";s:4:\"size\";s:1:\"2\";i:1;a:4:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:7:\"Useable\";s:4:\"name\";s:7:\"useable\";s:4:\"help\";s:36:\"How many of this resource are usable\";}i:2;a:4:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:8:\"Quantity\";s:4:\"name\";s:8:\"quantity\";s:4:\"help\";s:32:\"How many of this resource exists\";}}s:1:\"D\";a:4:{s:4:\"type\";s:4:\"vbox\";s:4:\"size\";s:1:\"2\";i:1;a:3:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:8:\"Category\";s:4:\"name\";s:6:\"cat_id\";}i:2;a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:13:\"Administrator\";}}s:1:\"E\";a:4:{s:4:\"type\";s:4:\"vbox\";s:4:\"size\";s:1:\"2\";i:1;a:3:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:8:\"Location\";s:4:\"name\";s:8:\"location\";}i:2;a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:18:\"Storage Inforation\";}}s:1:\"F\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:4:\"Info\";}s:1:\"G\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"align\";s:5:\"right\";}s:1:\"H\";a:3:{s:4:\"type\";s:6:\"button\";s:4:\"size\";s:9:\"check.png\";s:5:\"align\";s:6:\"center\";}}i:2;a:8:{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:4:{s:4:\"type\";s:4:\"vbox\";s:4:\"size\";s:1:\"2\";i:1;a:3:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:12:\"${row}[name]\";}i:2;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:4:{s:4:\"type\";s:4:\"vbox\";s:4:\"size\";s:1:\"2\";i:1;a:3:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:15:\"${row}[useable]\";}i:2;a:2:{s:4:\"type\";s:5:\"label\";s:4:\"name\";s:16:\"${row}[quantity]\";}}s:1:\"D\";a:4:{s:4:\"type\";s:4:\"vbox\";s:4:\"size\";s:1:\"2\";i:1;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\";}i:2;a:2:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";}}s:1:\"E\";a:4:{s:4:\"type\";s:4:\"vbox\";s:4:\"size\";s:1:\"2\";i:1;a:3:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:16:\"${row}[location]\";}i:2;a:2:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";}}s:1:\"F\";a:4:{s:4:\"type\";s:4:\"vbox\";s:4:\"size\";s:1:\"2\";i:1;a:1:{s:4:\"type\";s:5:\"label\";}i:2;a:1:{s:4:\"type\";s:5:\"label\";}}s:1:\"G\";a:4:{s:4:\"type\";s:4:\"vbox\";s:4:\"size\";s:1:\"2\";i:1;a:6:{s:4:\"type\";s:6:\"button\";s:4:\"size\";s:8:\"edit.gif\";s:5:\"label\";s:4:\"Edit\";s:5:\"align\";s:6:\"center\";s:4:\"name\";s:19:\"edit[$row_cont[id]]\";s:4:\"help\";s:15:\"Edit this entry\";}i:2;a:6:{s:4:\"type\";s:6:\"button\";s:4:\"size\";s:10:\"delete.gif\";s:5:\"label\";s:6:\"Delete\";s:5:\"align\";s:6:\"center\";s:4:\"name\";s:21:\"delete[$row_cont[id]]\";s:4:\"help\";s:17:\"Delete this entry\";}}s:1:\"H\";a:4:{s:4:\"type\";s:4:\"vbox\";s:4:\"size\";s:1:\"2\";i:1;a:6:{s:4:\"type\";s:6:\"button\";s:4:\"size\";s:8:\"view.gif\";s:5:\"label\";s:4:\"View\";s:5:\"align\";s:6:\"center\";s:4:\"name\";s:19:\"view[$row_cont[id]]\";s:4:\"help\";s:15:\"View this entry\";}i:2;a:3:{s:4:\"type\";s:8:\"checkbox\";s:5:\"align\";s:6:\"center\";s:4:\"name\";s:8:\"checkbox\";}}}}s:4:\"rows\";i:2;s:4:\"cols\";i:8;}}','size' => '','style' => '','modified' => '1108644076',);

View File

@ -1,5 +1,5 @@
<?php <?php
// eTemplates for Application 'resources', generated by etemplate.dump() 2005-02-17 12:13 // eTemplates for Application 'resources', generated by etemplate.dump() 2005-02-17 13:39
/* $Id$ */ /* $Id$ */
@ -11,7 +11,7 @@ $templ_data[] = array('name' => '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_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:4:{s:4:\"type\";s:6:\"select\";s:4:\"size\";s:16:\"general resource\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:12:\"gen_src_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' => '1108637208',); $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:3:{s:4:\"type\";s:6:\"select\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:12:\"gen_src_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' => '1108638846',);
$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','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',);
@ -27,5 +27,5 @@ $templ_data[] = array('name' => 'resources.show.actions','template' => '','lang'
$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.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: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',); $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:4:{s:1:\"G\";s:2:\"3%\";s:1:\"H\";s:2:\"3%\";s:2:\"c1\";s:3:\"nmh\";s:2:\"c2\";s:7:\"nmr,top\";}i:1;a:8:{s:1:\"A\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"B\";a:4:{s:4:\"type\";s:4:\"vbox\";s:4:\"size\";s:1:\"2\";i:1;a:3:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:4:\"Name\";s:4:\"name\";s:4:\"name\";}i:2;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:4:{s:4:\"type\";s:4:\"vbox\";s:4:\"size\";s:1:\"2\";i:1;a:4:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:7:\"Useable\";s:4:\"name\";s:7:\"useable\";s:4:\"help\";s:36:\"How many of this resource are usable\";}i:2;a:4:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:8:\"Quantity\";s:4:\"name\";s:8:\"quantity\";s:4:\"help\";s:32:\"How many of this resource exists\";}}s:1:\"D\";a:4:{s:4:\"type\";s:4:\"vbox\";s:4:\"size\";s:1:\"2\";i:1;a:3:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:8:\"Category\";s:4:\"name\";s:6:\"cat_id\";}i:2;a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:13:\"Administrator\";}}s:1:\"E\";a:4:{s:4:\"type\";s:4:\"vbox\";s:4:\"size\";s:1:\"2\";i:1;a:3:{s:4:\"type\";s:20:\"nextmatch-sortheader\";s:5:\"label\";s:8:\"Location\";s:4:\"name\";s:8:\"location\";}i:2;a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:18:\"Storage Inforation\";}}s:1:\"F\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:4:\"Info\";}s:1:\"G\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"align\";s:5:\"right\";}s:1:\"H\";a:2:{s:4:\"type\";s:6:\"button\";s:4:\"size\";s:9:\"check.png\";}}i:2;a:8:{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:4:{s:4:\"type\";s:4:\"vbox\";s:4:\"size\";s:1:\"2\";i:1;a:3:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:12:\"${row}[name]\";}i:2;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:4:{s:4:\"type\";s:4:\"vbox\";s:4:\"size\";s:1:\"2\";i:1;a:3:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:15:\"${row}[useable]\";}i:2;a:2:{s:4:\"type\";s:5:\"label\";s:4:\"name\";s:16:\"${row}[quantity]\";}}s:1:\"D\";a:4:{s:4:\"type\";s:4:\"vbox\";s:4:\"size\";s:1:\"2\";i:1;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\";}i:2;a:2:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";}}s:1:\"E\";a:4:{s:4:\"type\";s:4:\"vbox\";s:4:\"size\";s:1:\"2\";i:1;a:3:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:16:\"${row}[location]\";}i:2;a:2:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";}}s:1:\"F\";a:4:{s:4:\"type\";s:4:\"vbox\";s:4:\"size\";s:1:\"2\";i:1;a:1:{s:4:\"type\";s:5:\"label\";}i:2;a:1:{s:4:\"type\";s:5:\"label\";}}s:1:\"G\";a:4:{s:4:\"type\";s:4:\"vbox\";s:4:\"size\";s:1:\"2\";i:1;a:5:{s:4:\"type\";s:6:\"button\";s:4:\"size\";s:8:\"edit.gif\";s:5:\"label\";s:4:\"Edit\";s:4:\"name\";s:19:\"edit[$row_cont[id]]\";s:4:\"help\";s:15:\"Edit this entry\";}i:2;a:5:{s:4:\"type\";s:6:\"button\";s:4:\"size\";s:10:\"delete.gif\";s:5:\"label\";s:6:\"Delete\";s:4:\"name\";s:21:\"delete[$row_cont[id]]\";s:4:\"help\";s:17:\"Delete this entry\";}}s:1:\"H\";a:4:{s:4:\"type\";s:4:\"vbox\";s:4:\"size\";s:1:\"2\";i:1;a:5:{s:4:\"type\";s:6:\"button\";s:4:\"size\";s:8:\"view.gif\";s:5:\"label\";s:4:\"View\";s:4:\"name\";s:19:\"view[$row_cont[id]]\";s:4:\"help\";s:15:\"View this entry\";}i:2;a:2:{s:4:\"type\";s:8:\"checkbox\";s:4:\"name\";s:8:\"checkbox\";}}}}s:4:\"rows\";i:2;s:4:\"cols\";i:8;}}','size' => '','style' => '','modified' => '1108643985',);