function wikiplugin_trackerlist_info()
{
    $ts = new Table_Plugin();
    $ts->createParams();
    $tsparams = $ts->params;
    $params = array_merge(array('trackerId' => array('required' => true, 'name' => tra('Tracker ID'), 'description' => tra('Numeric value representing the tracker ID'), 'filter' => 'digits', 'default' => '', 'profile_reference' => 'tracker'), 'fields' => array('required' => false, 'name' => tra('Fields'), 'description' => tra('Colon-separated list of field IDs for the fields to be displayed. Example: 2:4:5'), 'filter' => 'digits', 'separator' => ':', 'default' => '', 'profile_reference' => 'tracker_field'), 'sort' => array('required' => false, 'name' => tra('Sort'), 'description' => tra('Display columns in the order listed in the fields parameter instead of by field ID (field ID order is used by default'), 'filter' => 'alpha', 'default' => 'n', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'popup' => array('required' => false, 'name' => tra('Popup'), 'description' => tra('Colon-separated list of fields which will display in a tooltip on mouse over. Example: 6:7'), 'filter' => 'digits', 'separator' => ':', 'default' => ''), 'stickypopup' => array('required' => false, 'name' => tra('Sticky Popup'), 'description' => tra('Choose whether the tooltip will stay displayed on mouse out (does not stay open by default)'), 'filter' => 'alpha', 'default' => '', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'showtitle' => array('required' => false, 'name' => tra('Show Title'), 'description' => tra('Display the title of the tracker (not shown by default)'), 'filter' => 'alpha', 'default' => 'n', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'showlinks' => array('required' => false, 'name' => tra('Show Links'), 'description' => tra('Show links to each tracker item (not shown by default)'), 'filter' => 'alpha', 'default' => 'n', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'showdesc' => array('required' => false, 'name' => tra('Show Description'), 'description' => tra('Show the tracker\'s description (not shown by default)'), 'filter' => 'alpha', 'default' => 'n', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'shownbitems' => array('required' => false, 'name' => tra('Show Item Count'), 'description' => tra('Show the number of items found (not shown by default)'), 'filter' => 'alpha', 'default' => 'n', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'showinitials' => array('required' => false, 'name' => tra('Show Initials'), 'description' => tra('Show an alphabetical index by first letter to assist in navigation (not shown by default)'), 'filter' => 'alpha', 'default' => 'n', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'showstatus' => array('required' => false, 'name' => tra('Show Status'), 'description' => tra('Show the status of the items (not shown by default)'), 'filter' => 'alpha', 'default' => 'n', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'showcreated' => array('required' => false, 'name' => tra('Show Creation Date'), 'description' => tra('Creation date display is based on tracker settings unless overriden here'), 'filter' => 'alpha', 'default' => '', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'showlastmodif' => array('required' => false, 'name' => tra('Last Modification Date'), 'description' => tra('Last modification date display is based on tracker settings unless overriden here'), 'filter' => 'alpha', 'default' => '', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'showfieldname' => array('required' => false, 'name' => tra('Show Field Name'), 'description' => tra('Use the field names as column titles (used by default)'), 'filter' => 'alpha', 'default' => 'y', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'showitemrank' => array('required' => false, 'name' => tra('Show Item Rank'), 'description' => tra('Show item ranks (not shown by default)'), 'filter' => 'alpha', 'default' => 'n', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'status' => array('required' => false, 'name' => tra('Status Filter'), 'description' => tra('Only show items matching certain status filters (only items with open status shown by default)'), 'filter' => 'alpha', 'default' => 'o', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Open'), 'value' => 'o'), array('text' => tra('Pending'), 'value' => 'p'), array('text' => tra('Closed'), 'value' => 'c'), array('text' => tra('Open & Pending'), 'value' => 'op'), array('text' => tra('Open & Closed'), 'value' => 'oc'), array('text' => tra('Pending & Closed'), 'value' => 'pc'), array('text' => tra('Open, Pending & Closed'), 'value' => 'opc'))), 'sort_mode' => array('required' => false, 'name' => tra('Sort Mode'), 'description' => tra('Sort rows in ascending or descending order based on field ID, date created or date last modified using these values: ') . 'created_asc, created_desc, lastModif_asc, lastModif_desc, f_fieldId_asc, f_filedId_desc ' . tra('(replacing fieldId with the field ID number).'), 'filter' => 'word', 'default' => ''), 'sortchoice' => array('required' => false, 'name' => tra('Sort Choice'), 'description' => tra('Add a dropdown of sorting choices. Example with two sorting choices: created_desc|Newest first: lastModif_desc|Last modified first'), 'filter' => 'text', 'separator' => ':', 'default' => ''), 'max' => array('required' => false, 'name' => tra('Maximum Items'), 'description' => tra('Maximum number of items to display or -1 for all values. Defaults to max records preference, if set.'), 'filter' => 'int', 'default' => ''), 'offset' => array('required' => false, 'name' => tra('Offset'), 'description' => tra('Offset of first item. Default is no offset.'), 'filter' => 'int', 'default' => 0), 'forceoffset' => array('required' => false, 'name' => tra('Fix offset always (no pagination)'), 'description' => tra('Fix offset to that specified, disallow pagination.'), 'filter' => 'alpha', 'default' => 'n', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'showpagination' => array('required' => false, 'name' => tra('Show Pagination'), 'description' => tra('Determines whether pagination will be shown (shown by default)'), 'filter' => 'alpha', 'default' => 'y', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'filterfield' => array('required' => false, 'name' => tra('Filter Field'), 'description' => tra('Colon separated list of fields to allow filtering on.'), 'filter' => 'digits', 'separator' => ':', 'default' => '', 'profile_reference' => 'tracker_field'), 'filtervalue' => array('required' => false, 'name' => tra('Filter Value'), 'description' => tra('Filter value of the filterfield. For better performance, use exactvalue instead'), 'filter' => 'text', 'separator' => ':', 'default' => ''), 'exactvalue' => array('required' => false, 'name' => tra('Exact Value'), 'description' => tra('Exact value of the filter'), 'filter' => 'text', 'separator' => ':', 'default' => ''), 'checkbox' => array('required' => false, 'name' => tra('Checkbox'), 'description' => tra('Adds a checkbox on each line to be able to do an action.') . '<br />' . tra('e.g. fieldId/postName/Title/Submit/ActionUrl/tpl/radio|dropdown') . '<br />', 'advanced' => true, 'default' => ''), 'goIfOne' => array('required' => false, 'name' => tra('goIfOne'), 'description' => tra('Go directly to tiki-view_tracker_item.php if only one item is found'), 'filter' => 'alpha', 'advanced' => true, 'default' => '', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'more' => array('required' => false, 'name' => tra('More'), 'description' => tra('Show a \'more\' button that links to tiki-view_tracker.php (not shown by default)'), 'filter' => 'alpha', 'default' => 'n', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'moreurl' => array('required' => false, 'name' => tra('More URL'), 'description' => tra('More link pointing to specified URL instead of default tracker item link'), 'filter' => 'url', 'default' => 'tiki-view_tracker.php'), 'view' => array('required' => false, 'name' => tra('View'), 'description' => tra('Display only the items of the current user, the current page name or the current IP address'), 'filter' => 'alpha', 'advanced' => true, 'default' => '', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Page'), 'value' => 'page'), array('text' => tra('User'), 'value' => 'user'), array('text' => tra('IP address'), 'value' => 'ip'))), 'tpl' => array('required' => false, 'name' => tra('Template File'), 'description' => tra('Use content of the tpl file as template to display the item'), 'advanced' => true, 'default' => ''), 'wiki' => array('required' => false, 'name' => tra('Wiki Page'), 'description' => tra('Use content of the wiki page as template to display the item. The page should have the permission tiki_p_use_as_template set, and that page should be only open for edition to fully trusted users such as other site admins'), 'filter' => 'pagename', 'advanced' => true, 'default' => '', 'profile_reference' => 'wiki_page'), 'tplwiki' => array('required' => false, 'name' => tra('Template file in a Wiki page'), 'description' => tra('Use content of the wiki page as template to display the item but with as little parsing on the content as with a tpl on disk. The page should have the permission tiki_p_use_as_template set, and that page should be only open for edition to fully trusted users such as other site admins'), 'filter' => 'pagename', 'advanced' => true, 'default' => '', 'profile_reference' => 'wiki_page'), 'view_user' => array('required' => false, 'name' => tra('View User'), 'description' => tra('Will display the items of the specified user'), 'default' => ''), 'itemId' => array('required' => false, 'name' => tra('Item ID separated with :'), 'description' => tra('To restrict the list to these item IDs'), 'filter' => 'digits', 'separator' => ':', 'default' => '', 'profile_reference' => 'tracker_item'), 'ignoreRequestItemId' => array('required' => false, 'name' => tra('Ignore ItemId'), 'description' => tra('Ignore the itemId url parameter when filtering list (not ignored by default)'), 'filter' => 'alpha', 'default' => 'n', 'advanced' => true, 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'url' => array('required' => false, 'name' => tra('URL'), 'description' => tra('The link that will be on each main field'), 'filter' => 'url', 'default' => ''), 'ldelim' => array('required' => false, 'name' => tra('Left Deliminator'), 'description' => tra('Smarty left delimiter for Latex generation'), 'advanced' => true, 'default' => ''), 'rdelim' => array('required' => false, 'name' => tra('Right Deliminator'), 'description' => tra('Smarty right delimiter for Latex generation'), 'advanced' => true, 'default' => ''), 'list_mode' => array('required' => false, 'name' => tra('List Mode'), 'description' => tra('Set output format. Yes (y) displays tracker list view with truncated values (default);
					No (n) displays in tracker item view; Comma Separated Values (csv) outputs without any HTML formatting.'), 'filter' => 'alpha', 'default' => 'y', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'), array('text' => tra('Comma Separated Values'), 'value' => 'csv'))), 'export' => array('required' => false, 'name' => tra('Export Button'), 'description' => tra('Show an export button (not shown by default)'), 'filter' => 'alpha', 'advanced' => true, 'default' => 'n', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'compute' => array('required' => false, 'name' => tra('Compute'), 'description' => tra('Sum or average all the values of a field and displays it at the bottom of the table.') . ' ' . tra('fieldId') . '/sum:' . tra('fieldId') . '/avg', 'filter' => 'text', 'advanced' => true, 'default' => '', 'profile_reference' => 'tracker_field_string'), 'silent' => array('required' => false, 'name' => tra('Silent'), 'description' => tra('Show nothing if no items found (the table header and a \'No records found\' message is shown by default).'), 'filter' => 'alpha', 'default' => '', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'showdelete' => array('required' => false, 'name' => tra('Show Delete'), 'description' => tra('Show a delete option (not shown by default)'), 'filter' => 'alpha', 'default' => 'n', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'urlafterdelete' => array('required' => false, 'name' => tra('Url to redirect to after delete'), 'description' => tra('Url to redirect to after delete'), 'filter' => 'url', 'default' => ''), 'showopenitem' => array('required' => false, 'name' => tra('Show Open Item'), 'description' => tra('Show an open item  option (not shown by default)'), 'filter' => 'alpha', 'default' => 'n', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'showcloseitem' => array('required' => false, 'name' => tra('Show Close Item'), 'description' => tra('Show a close item option (not shown by default)'), 'filter' => 'alpha', 'default' => 'n', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'showpenditem' => array('required' => false, 'name' => tra('Show Pending Item'), 'description' => tra('Show a pending item option (not shown by default)'), 'filter' => 'alpha', 'default' => 'n', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'showwatch' => array('required' => false, 'name' => tra('Show Watch Button'), 'description' => tra('Show a watch button (not shown by default)'), 'filter' => 'alpha', 'default' => '', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'showrss' => array('required' => false, 'name' => tra('Show Feed Button'), 'description' => tra('Show an RSS feed button (not shown by default)'), 'filter' => 'alpha', 'default' => 'n', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'showmap' => array('required' => false, 'name' => tra('Show Results Map'), 'description' => tra('Show Map of results (not shown by default)'), 'filter' => 'alpha', 'default' => '', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'calendarfielddate' => array('required' => false, 'name' => tra('Calendar Field IDs'), 'description' => tra('Used to display items in a calendar view. One fieldId if one date, or 2 fieldIds separated with : for start:end'), 'separator' => ':', 'filter' => 'digits', 'default' => '', 'profile_reference' => 'tracker_field'), 'calendarviewmode' => array('required' => false, 'name' => tra('Calendar View Mode'), 'description' => tra('Calendar view type time span (default is month)'), 'filter' => 'word', 'default' => 'month', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Month'), 'value' => 'month'), array('text' => tra('Bimester'), 'value' => 'bimester'), array('text' => tra('Trimester'), 'value' => 'trimester'), array('text' => tra('Quarter'), 'value' => 'quarter'), array('text' => tra('Semester'), 'value' => 'semester'), array('text' => tra('Year'), 'value' => 'year'))), 'calendarpopup' => array('required' => false, 'name' => tra('Calendar Popup'), 'description' => tra('Calendar items will pop-up, overrides Sticky Popup if turned off. Set to y (Yes) by default.'), 'filter' => 'alpha', 'default' => 'y', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'calendarstickypopup' => array('required' => false, 'name' => tra('Sticky Popup'), 'description' => tra('Calendar item pop-ups will stay open if set to y (Yes). Set to n (No) by default.'), 'filter' => 'alpha', 'default' => 'n', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'calendarbeginmonth' => array('required' => false, 'name' => tra('Beginning of Month'), 'description' => tra('Set whether calendar will begin at the beginning of the month (does by default).'), 'filter' => 'alpha', 'default' => 'y', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'calendarviewnavbar' => array('required' => false, 'name' => tra('Navigation Bar'), 'description' => tra('Show calendar navigation bar (shown by default).'), 'filter' => 'alpha', 'default' => 'y', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'), array('text' => tra('Partial'), 'value' => 'partial'))), 'calendartitle' => array('required' => false, 'name' => tra('Calendar Title'), 'description' => tra('Enter a title to display a calendar title (not set by default)'), 'filter' => 'text', 'default' => ''), 'calendardelta' => array('required' => false, 'name' => tra('Calendar Delta'), 'description' => tra('Set the calendar delta that will be shown (not set by default)'), 'filter' => 'text', 'default' => '', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Plus Month'), 'value' => '+month'), array('text' => tra('Minus Month'), 'value' => '-month'), array('text' => tra('Plus Bimester'), 'value' => '+bimester'), array('text' => tra('Minus Bimester'), 'value' => '-bimester'))), 'displaysheet' => array('required' => false, 'name' => tra('Display Spreadsheet.'), 'description' => tra('Display tracker as a spreadsheet (not used by default)'), 'filter' => 'alpha', 'default' => 'n', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'force_compile' => array('required' => false, 'name' => tra('Force Compile.'), 'description' => tra('Force Smarty to recompile the templates for each tracker item when using a wiki page as a template. Default=n (best performance)'), 'filter' => 'alpha', 'default' => 'n', 'advanced' => true, 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'periodQuantity' => array('required' => false, 'name' => tr('Period quantity'), 'description' => tr('Numeric value to display only last tracker items created within a user defined time-frame. Used in conjunction with the next parameter "Period unit", this parameter indicates how many of those units are to be considered to define the time frame. Use in conjunction with "max=-1" to list all items (by default "max" is set to 10).'), 'filter' => 'int', 'default' => ''), 'periodUnit' => array('required' => false, 'name' => tr('Period unit'), 'description' => tr('Time unit used with "Period quantity"'), 'filter' => 'word', 'options' => array(array('text' => '', 'value' => ''), array('text' => tr('Hour'), 'value' => 'hour'), array('text' => tr('Day'), 'value' => 'day'), array('text' => tr('Week'), 'value' => 'week'), array('text' => tr('Month'), 'value' => 'month')), 'default' => ''), 'periodType' => array('required' => false, 'name' => tr('Period type'), 'description' => tr('Time period after creation or after modification'), 'filter' => 'word', 'options' => array(array('text' => '', 'value' => ''), array('text' => tr('Creation'), 'value' => 'c'), array('text' => tr('Modification'), 'value' => 'm')), 'default' => ''), 'editable' => array('required' => false, 'name' => tr('Inline edit'), 'description' => tr('List of fields for which inline editing will be enabled.'), 'filter' => 'digits', 'separator' => ':', 'profile_reference' => 'tracker_field', 'default' => array()), 'editableall' => array('required' => false, 'name' => tr('Inline edit All'), 'description' => tr('Allow all displayed fields to be editable'), 'default' => 'y', 'advanced' => true, 'filter' => 'alpha', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n')))), $tsparams);
    return array('name' => tra('Tracker List'), 'documentation' => 'PluginTrackerList', 'description' => tra('List, filter and sort the items in a tracker'), 'prefs' => array('feature_trackers', 'wikiplugin_trackerlist'), 'tags' => array('basic'), 'body' => '<br>' . tr('Additional information when using tablesorter and the server parameter (Server Side Processing) is set to y:') . '<ul>' . '<li>' . tra('Filtering and sorting on some field types (e.g., items list), may behave unexpectedly') . '</li>' . '<li>' . tra('The status column must be filtered using o (open), p (pending) and c (closed)') . '<li>' . tra('For best results the date filter should only be applied to date field types') . '</li>' . '<li>' . tra('To filter the category field type, the exact category name or id needs to be entered') . '</li>' . '</ul>' . '<br><br>' . tra('Notice'), 'format' => 'html', 'icon' => 'img/icons/database_table.png', 'filter' => 'text', 'params' => $params);
}
function wikiplugin_fancytable_info()
{
    $ts = new Table_Plugin();
    $ts->createParams();
    $tsparams = $ts->params;
    unset($tsparams['server']);
    $params = array_merge(array('head' => array('required' => false, 'name' => tra('Heading Row'), 'description' => tra('Header rows of the table. Use >> to separate multiple rows.'), 'default' => ''), 'headclass' => array('required' => false, 'name' => tra('Heading CSS Class'), 'description' => tra('CSS class to apply to the heading row.'), 'default' => ''), 'headaligns' => array('required' => false, 'name' => tra('Header Horizontal Align'), 'description' => tra('Horizontal alignments for header cells separated by |. Choices: left, right, center, justify.'), 'default' => ''), 'headvaligns' => array('required' => false, 'name' => tra('Header Vertical Align'), 'description' => tra('Vertical alignments for header cells separated by |. Choices: top, middle, bottom, baseline.'), 'default' => ''), 'colwidths' => array('required' => false, 'name' => tra('Column Widths'), 'description' => tra('Column widths followed by px for pixels or % for percentages. Each column separated by |.'), 'default' => ''), 'colaligns' => array('required' => false, 'name' => tra('Cell Horizontal Align'), 'description' => tra('Table body column horizontal alignments separated by |. Choices: left, right, center, justify.'), 'default' => ''), 'colvaligns' => array('required' => false, 'name' => tra('Cell Vertical Align'), 'description' => tra('Table body column vertical alignments separated by |. Choices: top, middle, bottom, baseline.'), 'default' => '')), $tsparams);
    return array('name' => tra('Fancy Table'), 'documentation' => 'PluginFancyTable', 'description' => tra('Create a formatted table'), 'prefs' => array('wikiplugin_fancytable'), 'body' => tra('Rows separated by >> in the header; for the table body, one row per line. Cells separated by | in both cases.'), 'icon' => 'img/icons/table.png', 'tags' => array('basic'), 'params' => $params);
}
function wikiplugin_fancytable_info()
{
    $tsOn = Table_Check::isEnabled();
    if ($tsOn === true) {
        $ts = new Table_Plugin();
        $ts->createParams();
        $tsparams = $ts->params;
        unset($tsparams['server']);
    } else {
        $tsparams = array();
    }
    $params = array_merge(array('head' => array('required' => false, 'name' => tra('Heading Row'), 'description' => tr('Header rows of the table. Use %0 to separate multiple rows.', '<code>>></code>'), 'default' => '', 'since' => '1'), 'headclass' => array('required' => false, 'name' => tra('Heading CSS Class'), 'description' => tra('CSS class to apply to the heading row.'), 'default' => '', 'since' => '1'), 'headaligns' => array('required' => false, 'name' => tra('Header Horizontal Align'), 'description' => tr('Horizontal alignments for header cells separated by %0. Choices: %1', '<code>|</code>', '<code>left</code>, <code>right</code>, <code>center</code>, <code>justify</code>'), 'default' => '', 'since' => '4.1', 'filter' => 'text'), 'headvaligns' => array('required' => false, 'name' => tra('Header Vertical Align'), 'description' => tr('Vertical alignments for header cells separated by %0. Choices: %1', '<code>|</code>', '<code>top</code>, <code>middle</code>, <code>bottom</code>, <code>baseline</code>'), 'default' => '', 'since' => '4.1', 'filter' => 'text'), 'colwidths' => array('required' => false, 'name' => tra('Column Widths'), 'description' => tr('Column widths followed by px for pixels or % for percentages. Each column
				    separated by %0.', '<code>|</code>'), 'default' => '', 'since' => '4.1'), 'colaligns' => array('required' => false, 'name' => tra('Cell Horizontal Align'), 'description' => tr('Table body column horizontal alignments separated by %0. Choices: %1', '<code>|</code>', '<code>left</code>, <code>right</code>, <code>center</code>, <code>justify</code>'), 'default' => '', 'since' => '4.1', 'filter' => 'text'), 'colvaligns' => array('required' => false, 'name' => tra('Cell Vertical Align'), 'description' => tr('Table body column vertical alignments separated by %0. Choices: %1', '<code>|</code>', '<code>top</code>, <code>middle</code>, <code>bottom</code>, <code>baseline</code>'), 'default' => '', 'since' => '4.1', 'filter' => 'text')), $tsparams);
    return array('name' => tra('Fancy Table'), 'documentation' => 'PluginFancyTable', 'description' => tra('Create a formatted table that can be filtered and sorted'), 'prefs' => array('wikiplugin_fancytable'), 'body' => tr('Rows separated by %0 in the header; for the table body, one row per line. Cells separated by %1 (since Tiki4) or %2 in both cases.', '<code>>></code>', '<code>|</code>', '<code>~|~</code>'), 'iconname' => 'table', 'introduced' => 1, 'tags' => array('basic'), 'params' => $params);
}
function wikiplugin_trackerlist_info()
{
    $ts = new Table_Plugin();
    $ts->createParams();
    $tsparams = $ts->params;
    $params = array_merge(array('trackerId' => array('required' => true, 'name' => tra('Tracker ID'), 'description' => tra('Numeric value representing the tracker ID'), 'since' => '1', 'filter' => 'digits', 'default' => '', 'profile_reference' => 'tracker'), 'fields' => array('required' => false, 'name' => tra('Fields'), 'description' => tr('Colon-separated list of field IDs for the fields to be displayed.
					Example: %02:4:5%1. The field order specified here determines the column order if the %0sort%1
					parameter is set to %0y%1.', '<code>', '</code>'), 'since' => '1', 'filter' => 'digits', 'separator' => ':', 'default' => '', 'profile_reference' => 'tracker_field'), 'sort' => array('required' => false, 'name' => tra('Sort'), 'description' => tr('Display columns in the order listed in the %0fields%1 parameter instead of by
					field ID (field ID order is used by default', '<code>', '</code>'), 'since' => '2.0', 'filter' => 'alpha', 'default' => 'n', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'popup' => array('required' => false, 'name' => tra('Popup'), 'description' => tr('Colon-separated list of fields which will display in a tooltip on mouse over.
					Example: %06:7%1', '<code>', '</code>'), 'since' => '2.0', 'filter' => 'digits', 'separator' => ':', 'default' => ''), 'stickypopup' => array('required' => false, 'name' => tra('Sticky Popup'), 'description' => tra('Choose whether the popup tooltip will stay displayed on mouse out (does not stay open by default)'), 'since' => '2.0', 'filter' => 'alpha', 'default' => '', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'showtitle' => array('required' => false, 'name' => tra('Show Title'), 'description' => tra('Display the title of the tracker (not shown by default)'), 'since' => '1', 'doctype' => 'show', 'filter' => 'alpha', 'default' => 'n', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'showlinks' => array('required' => false, 'name' => tra('Show Links'), 'description' => tra('Show links to each tracker item (not shown by default). At least one field needs
					to be set as Public in order for this to work.'), 'since' => '1', 'doctype' => 'show', 'filter' => 'alpha', 'default' => 'n', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'), array('text' => tra('Row'), 'value' => 'r'))), 'showdesc' => array('required' => false, 'name' => tra('Show Description'), 'description' => tra('Show the tracker\'s description (not shown by default)'), 'since' => '1', 'doctype' => 'show', 'filter' => 'alpha', 'default' => 'n', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'shownbitems' => array('required' => false, 'name' => tra('Show Item Count'), 'description' => tra('Show the number of items found (not shown by default)'), 'since' => '2.0', 'doctype' => 'show', 'filter' => 'alpha', 'default' => 'n', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'showinitials' => array('required' => false, 'name' => tra('Show Initials'), 'description' => tra('Show an alphabetical index by first letter to assist in navigation (not shown
					by default)'), 'since' => '1', 'doctype' => 'show', 'filter' => 'alpha', 'default' => 'n', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'showstatus' => array('required' => false, 'name' => tra('Show Status'), 'description' => tra('Show the status of the items (not shown by default)'), 'since' => '1', 'doctype' => 'show', 'filter' => 'alpha', 'default' => 'n', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'showcreated' => array('required' => false, 'name' => tra('Show Creation Date'), 'description' => tra('Creation date display is based on tracker settings unless overridden here'), 'since' => '2.0', 'doctype' => 'show', 'filter' => 'alpha', 'default' => '', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'showlastmodif' => array('required' => false, 'name' => tra('Last Modification Date'), 'description' => tra('Last modification date display is based on tracker settings unless overridden here'), 'since' => '2.0', 'doctype' => 'show', 'filter' => 'alpha', 'default' => '', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'showlastmodifby' => array('required' => false, 'name' => tra('Last modified by'), 'description' => tra('Last modified by user display is based on tracker settings unless overridden here'), 'since' => '14.0', 'doctype' => 'show', 'filter' => 'alpha', 'default' => '', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'showfieldname' => array('required' => false, 'name' => tra('Show Field Name'), 'description' => tra('Use the field names as column titles (used by default)'), 'since' => '1', 'doctype' => 'show', 'filter' => 'alpha', 'default' => 'y', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'showitemrank' => array('required' => false, 'name' => tra('Show Item Rank'), 'description' => tra('Show item ranks (not shown by default)'), 'since' => '4.0', 'doctype' => 'show', 'filter' => 'alpha', 'default' => 'n', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'status' => array('required' => false, 'name' => tra('Status Filter'), 'description' => tra('Only show items matching certain status filters (only items with open status shown by default)'), 'since' => '1', 'doctype' => 'filter', 'filter' => 'alpha', 'default' => 'o', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Open'), 'value' => 'o'), array('text' => tra('Pending'), 'value' => 'p'), array('text' => tra('Closed'), 'value' => 'c'), array('text' => tra('Open & Pending'), 'value' => 'op'), array('text' => tra('Open & Closed'), 'value' => 'oc'), array('text' => tra('Pending & Closed'), 'value' => 'pc'), array('text' => tra('Open, Pending & Closed'), 'value' => 'opc'))), 'sort_mode' => array('required' => false, 'name' => tra('Sort Mode'), 'description' => tra('Sort rows in ascending (_asc) or descending (_desc) order based on field ID,
					date created or date last modified'), 'accepted' => 'created_asc, created_desc, lastModif_asc, lastModif_desc, f_fieldId_asc, f_filedId_desc ' . tr('(replacing %0fieldId%1 with the field ID number, e.g. %0f_3_asc%1)', '<code>', '</code>'), 'since' => '1', 'filter' => 'word', 'default' => ''), 'sortchoice' => array('required' => false, 'name' => tra('Sort Choice'), 'description' => tr('Add a dropdown of sorting choices. Separate each choice with a %0:%1. For each
					choice, use the format %0value|label%1. See %0sort_mode%1 for value choices. Example with two
					sorting choices: %0sortchoice="created_desc|Newest first:lastModif_desc|Last modified first"%1', '<code>', '</code>'), 'since' => '5.0', 'filter' => 'text', 'separator' => ':', 'default' => ''), 'max' => array('required' => false, 'name' => tra('Maximum Items'), 'description' => tra('Maximum number of items to display or -1 for all items. Defaults to max records
					preference, if set. Pagination will not show if all items are shown by setting to -1.'), 'since' => '1', 'doctype' => 'filter', 'filter' => 'int', 'default' => ''), 'offset' => array('required' => false, 'name' => tra('Offset'), 'description' => tra('Offset of first item. Default is no offset.'), 'since' => '6.0', 'doctype' => 'filter', 'filter' => 'int', 'default' => 0), 'forceoffset' => array('required' => false, 'name' => tra('Fix offset always (no pagination)'), 'description' => tra('Fix offset to that specified. This will disallow pagination.'), 'since' => '8.0', 'doctype' => 'filter', 'filter' => 'alpha', 'default' => 'n', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'showpagination' => array('required' => false, 'name' => tra('Show Pagination'), 'description' => tra('Determines whether pagination will be shown (shown by default)'), 'since' => '4.0', 'doctype' => 'show', 'filter' => 'alpha', 'default' => 'y', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'filterfield' => array('required' => false, 'name' => tra('Filter Field'), 'description' => tra('Colon-separated list of fields to allow filtering on.'), 'since' => '1', 'doctype' => 'filter', 'filter' => 'digits', 'separator' => ':', 'default' => '', 'profile_reference' => 'tracker_field'), 'filtervalue' => array('required' => false, 'name' => tra('Filter Value'), 'description' => tr('Filter value (or multiple values) that correspond to %0filterfield%1. For better performance, use %0exactvalue%1
					instead. %2Special search values to match:', '<code>', '</code>', '<br>') . '<br>' . '<code>*value</code> - ' . tra('text that ends in "value"') . '<br>' . '<code>value*</code> - ' . tra('text that begins with "value"') . '<br>' . '<code>#user</code> - ' . tra('the current user\'s login name') . '<br>' . '<code>#group_default</code> - ' . tra('the current user\'s default group') . '<br>', 'since' => '1', 'doctype' => 'filter', 'accepted' => tra('any text'), 'filter' => 'text', 'separator' => ':', 'default' => ''), 'exactvalue' => array('required' => false, 'name' => tra('Exact Value'), 'description' => tr('Exact value (or multiple values) that correspond to %0filterfield%1. %2Special
					search values to filter by:', '<code>', '</code>', '<br>') . '<br>' . '<code>categories(x)</code> - ' . tra('tracker item is in category with ID x or one its descendants') . '<br>' . '<code>notcategories(x)</code> - ' . tra('tracker item is not in category with ID x or one of its descendants') . '<br>' . '<code>preference(name)</code> - ' . tra('match against the value of a Tiki preference') . '<br>' . '<code>notpreference(name)</code> - ' . tra('match if value does not equal a Tiki preference value') . '<br>' . '<code>not(value)</code> - ' . tra('match if the field does not equal "value"') . '<br>' . '<code>field(x, itemid)</code> - ' . tr('match field with ID x in item with ID itemid.
						%0field(x)%1 can be used if the %0itemId%1 URL parameter is set', '<code>', '</code>') . '<br>' . '<code>notfield(x, itemid)</code> - ' . tr('match if not equal to field with ID x in item with ID itemid
						%0field(x)%1 can be used if the %0itemId%1 URL parameter is set', '<code>', '</code>') . '<br>' . tr('The following comparisons can also be applied to date fields by using date phrases that PHP recognizes
						(see http://us.php.net/manual/en/function.strtotime.php ):', '<code>', '</code>') . '<br>' . '<code>less(value)</code> - ' . tra('match if less than "value"') . '<br>' . '<code>greater(value)</code> - ' . tra('match if greater than "value"') . '<br>' . '<code>lessequal(value)</code> - ' . tra('match if less than or equal to "value"') . '<br>' . '<code>greaterequal(value)</code> - ' . tra('match if greater than or equal to "value"') . '<br>', 'since' => '1', 'doctype' => 'filter', 'accepted' => tra('any text'), 'filter' => 'text', 'separator' => ':', 'default' => ''), 'checkbox' => array('required' => false, 'name' => tra('Checkbox'), 'description' => tr('Adds a checkbox on each line to perform an action. Required elements are separated
					by %0/%1. Those elements are:', '<code>', '</code>') . '<br />' . '<code>FieldId</code> - ' . tra('the value of this field will be posted to the action') . '<br>' . '<code>PostName</code> - ' . tra('the name of the post') . '<br>' . '<code>Title</code> - ' . tra('the title of the submit button') . '<br>' . '<code>Submit</code> - ' . tra('the name of the submit button') . '<br>' . '<code>ActionUrl</code> - ' . tra('the file that will be called upon submit') . '<br>' . '<code>Tpl</code> - ' . tra('optional template inserted before the submit button and returned') . '<br>' . '<code>SelectType</code> - ' . tr('Leave empty for multiple select, or use %0dropdown%1 or
						%0radio%1.', '<code>', '</code>') . '<br>' . tr('Format: %0checkbox="FieldId/PostName/Title/Submit/ActionUrl/Tpl/dropdown"%1', '<code>', '</code>') . '<br />' . tr('Example: %0checkbox="6/to/Email to selected/submit/messu-compose.php//dropdown"%1', '<code>', '</code>') . '<br />', 'since' => '1', 'doctype' => 'show', 'advanced' => true, 'default' => ''), 'goIfOne' => array('required' => false, 'name' => tra('goIfOne'), 'description' => tra('Display the item rather than list if only one item is found'), 'since' => '1', 'doctype' => 'filter', 'filter' => 'alpha', 'advanced' => true, 'default' => '', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'more' => array('required' => false, 'name' => tra('More'), 'description' => tra('Show a \'more\' button that links to the tracker item (not shown by default)'), 'since' => '2.0', 'doctype' => 'show', 'filter' => 'alpha', 'default' => 'n', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'moreurl' => array('required' => false, 'name' => tra('More URL'), 'description' => tra('More link pointing to specified URL instead of default tracker item link'), 'since' => '2.0', 'doctype' => 'show', 'filter' => 'url', 'default' => 'tiki-view_tracker.php'), 'view' => array('required' => false, 'name' => tra('View'), 'description' => tr('Display only the items of the following:') . '<br />' . '<code>user</code> - ' . tra('the current user') . '<br>' . '<code>page</code> - ' . tra('the current page name') . '<br>' . '<code>ip</code> - ' . tra('the current IP address') . '<br>', 'since' => '2.0', 'doctype' => 'filter', 'filter' => 'alpha', 'advanced' => true, 'default' => '', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Page'), 'value' => 'page'), array('text' => tra('User'), 'value' => 'user'), array('text' => tra('IP address'), 'value' => 'ip'))), 'tpl' => array('required' => false, 'name' => tra('Template File'), 'description' => tr('Use content of the specified tpl file as template to display the item.
					Use %0{$f_fieldId}%1 to display a field with ID %0fieldId%1.', '<code>', '</code>'), 'since' => '2.0', 'advanced' => true, 'default' => ''), 'wiki' => array('required' => false, 'name' => tra('Wiki Page'), 'description' => tr('Use content of the wiki page as template to display the item. The page should
					have the permission %0tiki_p_use_as_template%1 set, and should only be editable by trusted users
					such as other site admins', '<code>', '</code>'), 'since' => '2.0', 'filter' => 'pagename', 'advanced' => true, 'default' => '', 'profile_reference' => 'wiki_page'), 'tplwiki' => array('required' => false, 'name' => tra('Template Wiki Page'), 'description' => tr('Use content of the wiki page as template to display the item but with as little
					parsing on the content as with a tpl on disk. The page should have the permission
					%0tiki_p_use_as_template%1 set, and should only be editable by trusted users such as other site
					admins', '<code>', '</code>'), 'since' => '6.5 & 7.1', 'filter' => 'pagename', 'advanced' => true, 'default' => '', 'profile_reference' => 'wiki_page'), 'view_user' => array('required' => false, 'name' => tra('View User'), 'description' => tra('Will display the items of the specified user'), 'since' => '2.0', 'doctype' => 'filter', 'default' => ''), 'itemId' => array('required' => false, 'name' => tra('Item ID'), 'description' => tra('Colon-separated list of item IDs to restrict the listing to'), 'since' => '2.0, multiple since 3.0', 'doctype' => 'filter', 'filter' => 'digits', 'separator' => ':', 'default' => '', 'profile_reference' => 'tracker_item'), 'ignoreRequestItemId' => array('required' => false, 'name' => tra('Ignore ItemId'), 'description' => tra('Ignore the itemId url parameter when filtering list (not ignored by default)'), 'since' => '5.0', 'doctype' => 'filter', 'filter' => 'alpha', 'default' => 'n', 'advanced' => true, 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'url' => array('required' => false, 'name' => tra('URL'), 'description' => tr('The link that will be on each main field when %0showlinks="y"%1. Special values:', '<code>', '</code>') . '<br>' . '<code>url="mypage?<strong>itemId</strong>"</code> - ' . tra('will link to the item based on its item ID') . '<br>' . '<code>url="mypage?<strong>tr_offset</strong>"</code> - ' . tra('will link to the item based on its offset value') . '<br>' . '<code>url="<strong>sefurl</strong>"</code> - ' . tr('will link to the item using %0itemX%1 (where X is the item ID) for when SEFURL is being
						used', '<code>', '</code>') . '<br>' . '<code><strong>vi_tpl</strong></code> - ' . tr('use to show the item without admin buttons and with a back button
						when using a template (Display > Section Format must be set to "Configured" in the tracker
						properties). Example:', '<code>', '</code>') . ' <code>url="tiki-view_tracker_item.php?<strong>vi_tpl</strong>=wiki:PageName&itemId"</code><br>' . '<code><strong>ei_tpl</strong></code> - ' . tr('similar to %0vi_tpl%1 except that admin buttons are shown for users
						with proper permissions when "Restrict non admins to wiki page access only" is set in the
						tracker properties.', '<code>', '</code>') . '<br>', 'since' => tr('2.0, 3.0 for %0itemId%1, 11.0 for %0tr_offset%1, 14.0 for %0sefurl%1 and %0vi_tpl%1', '<code>', '</code>'), 'doctype' => 'show', 'parent' => array('name' => 'showlinks', 'value' => 'y'), 'filter' => 'url', 'default' => ''), 'ldelim' => array('required' => false, 'name' => tra('Left Delimiter'), 'description' => tra('Smarty left delimiter for Latex generation. Example:') . '<code>@{</code>', 'since' => '2.0', 'advanced' => true, 'default' => '{'), 'rdelim' => array('required' => false, 'name' => tra('Right Delimiter'), 'description' => tra('Smarty right delimiter for Latex generation Example:') . '<code>}@</code>', 'since' => '2.0', 'advanced' => true, 'default' => '}'), 'list_mode' => array('required' => false, 'name' => tra('List Mode'), 'description' => tra('Set output format. Yes (y) displays tracker list view with truncated values
					(default); No (n) displays in tracker item view; Comma Separated Values (csv) outputs without any
					HTML formatting.'), 'since' => '3.0', 'filter' => 'alpha', 'default' => 'y', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'), array('text' => tra('Comma Separated Values'), 'value' => 'csv'))), 'export' => array('required' => false, 'name' => tra('Export Button'), 'description' => tra('Show an export button (not shown by default)'), 'since' => '3.0', 'filter' => 'alpha', 'advanced' => true, 'default' => 'n', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'compute' => array('required' => false, 'name' => tra('Compute'), 'description' => tra('Sum or average all the values of a field and displays it at the bottom of the
					table.') . ' <code>' . tra('fieldId') . '/sum:' . tra('fieldId') . '/avg</code>', 'since' => '3.0', 'filter' => 'text', 'accepted' => tr('%0, separated by %1', '<code>fieldId/operator</code>', '<code>:</code>'), 'advanced' => true, 'default' => '', 'profile_reference' => 'tracker_field_string'), 'silent' => array('required' => false, 'name' => tra('Silent'), 'description' => tra('Show nothing if no items found (the table header and a \'No records found\'
				    message is shown by default).'), 'since' => '4.0', 'doctype' => 'show', 'filter' => 'alpha', 'default' => '', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'showdelete' => array('required' => false, 'name' => tra('Show Delete'), 'description' => tra('Show a delete icon for each item (not shown by default)'), 'since' => '4.0', 'doctype' => 'show', 'filter' => 'alpha', 'default' => 'n', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'urlafterdelete' => array('required' => false, 'name' => tra('Url to redirect to after delete'), 'description' => tra('Url to redirect to after delete'), 'since' => '11.0', 'filter' => 'url', 'default' => ''), 'showopenitem' => array('required' => false, 'name' => tra('Show Open Item'), 'description' => tra('Show an open item  option (not shown by default)'), 'since' => '8.0', 'doctype' => 'show', 'filter' => 'alpha', 'default' => 'n', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'showcloseitem' => array('required' => false, 'name' => tra('Show Close Item'), 'description' => tra('Show a close item option (not shown by default)'), 'since' => '8.0', 'doctype' => 'show', 'filter' => 'alpha', 'default' => 'n', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'showpenditem' => array('required' => false, 'name' => tra('Show Pending Item'), 'description' => tra('Show a pending item option (not shown by default)'), 'since' => '8.0', 'doctype' => 'show', 'filter' => 'alpha', 'default' => 'n', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'showwatch' => array('required' => false, 'name' => tra('Show Watch Button'), 'description' => tra('Show a watch button (not shown by default)'), 'since' => '5.0', 'doctype' => 'show', 'filter' => 'alpha', 'default' => '', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'showrss' => array('required' => false, 'name' => tra('Show Feed Button'), 'description' => tra('Show an RSS feed button (not shown by default)'), 'since' => '5.0', 'doctype' => 'show', 'filter' => 'alpha', 'default' => 'n', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'showmap' => array('required' => false, 'name' => tra('Show Results Map'), 'description' => tra('Show Map of results (not shown by default)'), 'since' => '12.0', 'doctype' => 'show', 'filter' => 'alpha', 'default' => '', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'calendarfielddate' => array('required' => false, 'name' => tra('Calendar Field IDs'), 'description' => tr('Used to display items in a calendar view. One fieldId if one date, or 2 fieldIds
					separated with %0:%1 for %0start:end%1', '<code>', '</code>'), 'since' => '6.0', 'doctype' => 'calendar', 'separator' => ':', 'filter' => 'digits', 'default' => '', 'profile_reference' => 'tracker_field'), 'calendarviewmode' => array('required' => false, 'name' => tra('Calendar View Mode'), 'description' => tra('Calendar view type time span (default is month)'), 'since' => '6.0', 'doctype' => 'calendar', 'filter' => 'word', 'default' => 'month', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Month'), 'value' => 'month'), array('text' => tra('Two months'), 'value' => 'bimester'), array('text' => tra('Trimester'), 'value' => 'trimester'), array('text' => tra('Quarter'), 'value' => 'quarter'), array('text' => tra('Semester'), 'value' => 'semester'), array('text' => tra('Year'), 'value' => 'year'))), 'calendarpopup' => array('required' => false, 'name' => tra('Calendar Popup'), 'description' => tr('Calendar items will popup, overrides the %0stickypopup%1 parameter if turned off
					(default is to pop up).', '<code>', '</code>'), 'since' => '6.0', 'doctype' => 'calendar', 'filter' => 'alpha', 'default' => 'y', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'calendarstickypopup' => array('required' => false, 'name' => tra('Sticky Popup'), 'description' => tra('Calendar item popups will stay open if set to y (Yes). Not sticky by default'), 'since' => '6.0', 'doctype' => 'calendar', 'filter' => 'alpha', 'default' => 'n', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'calendarbeginmonth' => array('required' => false, 'name' => tra('Beginning of Month'), 'description' => tra('Set whether calendar will begin at the beginning of the month (does by default).'), 'since' => '6.0', 'doctype' => 'calendar', 'filter' => 'alpha', 'default' => 'y', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'calendarviewnavbar' => array('required' => false, 'name' => tra('Navigation Bar'), 'description' => tra('Show calendar navigation bar (shown by default).'), 'since' => '6.0', 'doctype' => 'calendar', 'filter' => 'alpha', 'default' => 'y', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'), array('text' => tra('Partial'), 'value' => 'partial'))), 'calendartitle' => array('required' => false, 'name' => tra('Calendar Title'), 'description' => tra('Enter a title to display a calendar title (not set by default)'), 'since' => '6.0', 'doctype' => 'calendar', 'filter' => 'text', 'default' => ''), 'calendardelta' => array('required' => false, 'name' => tra('Calendar Delta'), 'description' => tra('Set the calendar delta that will be shown (not set by default)'), 'since' => '6.0', 'doctype' => 'calendar', 'filter' => 'text', 'default' => '', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Plus Month'), 'value' => '+month'), array('text' => tra('Minus Month'), 'value' => '-month'), array('text' => tra('Plus Two months'), 'value' => '+bimester'), array('text' => tra('Minus Two months'), 'value' => '-bimester'))), 'displaysheet' => array('required' => false, 'name' => tra('Display Spreadsheet.'), 'description' => tra('Display tracker as a spreadsheet (not used by default)'), 'since' => '6.0', 'filter' => 'alpha', 'default' => 'n', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'force_compile' => array('required' => false, 'name' => tra('Force Compile.'), 'description' => tra('Force Smarty to recompile the templates for each tracker item when using a
				    wiki page as a template. Default=n (best performance)'), 'since' => '6.0', 'filter' => 'alpha', 'default' => 'n', 'advanced' => true, 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'periodQuantity' => array('required' => false, 'name' => tr('Period quantity'), 'description' => tr('Numeric value to display only last tracker items created within a user defined
				    time-frame. Used in conjunction with the next parameter "Period unit", this parameter indicates how
				    many of those units are to be considered to define the time frame. Use in conjunction with
				    %0max=-"1"%1 to list all items (by default %0max%1 is set to %010%1).', '<code>', '</code>'), 'since' => '6.5, <s>7.x</s> & 8.0', 'doctype' => 'filter', 'filter' => 'int', 'default' => ''), 'periodUnit' => array('required' => false, 'name' => tr('Period unit'), 'description' => tr('Time unit used with "Period quantity"'), 'since' => '6.5, <s>7.x</s> & 8.0', 'doctype' => 'filter', 'filter' => 'word', 'options' => array(array('text' => '', 'value' => ''), array('text' => tr('Hour'), 'value' => 'hour'), array('text' => tr('Day'), 'value' => 'day'), array('text' => tr('Week'), 'value' => 'week'), array('text' => tr('Month'), 'value' => 'month')), 'default' => ''), 'periodType' => array('required' => false, 'name' => tr('Period type'), 'description' => tr('Time period after creation or after modification'), 'since' => '6.7, <s>7.x</s>, 8.4 & 9.0', 'doctype' => 'filter', 'filter' => 'word', 'options' => array(array('text' => '', 'value' => ''), array('text' => tr('Creation'), 'value' => 'c'), array('text' => tr('Modification'), 'value' => 'm')), 'default' => ''), 'editable' => array('required' => false, 'name' => tr('Inline edit'), 'description' => tr('Colon-separated list of fields for which inline editing will be enabled.'), 'since' => '11.0', 'filter' => 'digits', 'separator' => ':', 'profile_reference' => 'tracker_field', 'default' => ''), 'editableall' => array('required' => false, 'name' => tr('Inline edit All'), 'description' => tr('Allow all displayed fields to be editable'), 'since' => '11.0', 'default' => 'y', 'advanced' => true, 'filter' => 'alpha', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n'))), 'force_separate_compile' => array('required' => false, 'name' => tra('Compile Each Item'), 'description' => tra('Compile each item separately instead of compiling the entire template.'), 'since' => '11.0', 'filter' => 'alpha', 'default' => 'y', 'options' => array(array('text' => '', 'value' => ''), array('text' => tra('Yes'), 'value' => 'y'), array('text' => tra('No'), 'value' => 'n')))), $tsparams);
    return array('name' => tra('Tracker List'), 'documentation' => 'PluginTrackerList', 'description' => tra('List, filter and sort the items in a tracker'), 'prefs' => array('feature_trackers', 'wikiplugin_trackerlist'), 'tags' => array('basic'), 'body' => tra('Notice'), 'additional' => '<br>' . tr('Additional information when using tablesorter and the %0 parameter (Server Side Processing) is set to y:', '<code>server</code>') . '<ul>' . '<li>' . tra('Filtering and sorting on some field types (e.g., items list), may behave unexpectedly') . '</li>' . '<li>' . tra('For best results the date filter should only be applied to date field types') . '</li>' . '<li>' . tra('To filter the category field type, the exact category name or id needs to be entered') . '</li>' . '</ul>', 'format' => 'html', 'iconname' => 'table', 'introduced' => 1, 'filter' => 'text', 'params' => $params);
}