$headers['User']='string';
$headers["Tech"]='string';
if ($has_disabled_persons) $headers["Disabled"]='string';
+ $notes=array('S = slices');
$table=new PlekitTable('persons',$headers,'1r-3r-0',array('search_area'=>false,
- 'notes_area'=>false,
+ 'notes'=>$notes,
'pagesize_area'=>false));
$table->start();
if ($persons) foreach ($persons as $person) {
$headers ['I'] = 'string';
$headers ['N']='int';
$headers ['U']='int';
- $notes=array('I column shows instantiation type',
- 'N column shows number of nodes',
- 'U column shows number of users');
+ $notes=array('I = instantiation type',
+ 'N = number of nodes',
+ 'U = number of users');
$table=new PlekitTable ('slices',$headers,0,array('search_area'=>false,
'pagesize_area'=>false,
'notes'=>$notes));
////////////////////////////////////////
function notes_area_html () {
- $default_notes = array(
- "Enter & or | in the search area to switch between <span class='bold'>AND</span> and <span class='bold'>OR</span> search modes",
- "Hold down the shift key to select multiple columns to sort");
+ $search_notes =
+ array("Enter & or | in the search area to switch between <span class='bold'>AND</span> and <span class='bold'>OR</span> search modes");
+ $sort_notes =
+ array ("Hold down the shift key to select multiple columns to sort");
if ($this->notes)
$notes=$this->notes;
else
$notes=array();
- $notes=array_merge($notes,$default_notes);
+ $notes=array_merge($notes,$sort_notes);
+ if ($this->search_area)
+ $notes=array_merge($notes,$search_notes);
if (! $notes)
return "";
$result = "";