Subversion Repositories general

Compare Revisions

Ignore whitespace Rev 1385 → Rev 1387

/asterisk-stats/trunk/telbook_list.php
10,7 → 10,7
. " left join telbook_entries e on p.person_id=e.entry_person"
. " order by person_name, entry_title, entry_value");
 
$table = new Table(array('Name', 'Category', 'Type', 'Number', ''));
$table = new Table(array('Name', 'Category', 'Type', 'Number', '', ''));
$table->set_table_class('telbook list');
 
$last_person_id = NULL;
25,8 → 25,10
'comment' => $line['entry_comment']));
$table->addcell(array('text' => $line['entry_value'],
'comment' => $line['entry_comment']));
$table->addcell($same_person ? '' : array('class' => 'link', 'html' =>
display_link('telbook_details.php?id=' . $line['person_id'], 'Edit')));
$table->addcell(array('class' => 'link', 'html' =>
$same_person ? '' : display_link('telbook_details.php?id=' . $line['person_id'], 'Edit')));
$table->addcell(array('class' => 'link', 'html' =>
display_link('originate_form.php?dst=' . $line['entry_value'], 'Call')));
$last_person_id = $line['person_id'];
}
$g_display->add_html_text($table->build());