Subversion Repositories general

Compare Revisions

Ignore whitespace Rev 1387 → Rev 1386

/asterisk-stats/trunk/originate_call.php
File deleted
/asterisk-stats/trunk/originate_form.php
File deleted
/asterisk-stats/trunk/template/originate_form.tpl
File deleted
/asterisk-stats/trunk/template/telbook_details_begin.tpl
16,5 → 16,3
</select>
</td>
</tr>
<tr>
<td colspan=2>
/asterisk-stats/trunk/template/telbook_details_end.tpl
1,5 → 1,3
</td>
</tr>
<tr class="buttons">
<td colspan=2>
<input type=reset name="reset" value="Reset">
/asterisk-stats/trunk/template/cdr_search.tpl
41,10 → 41,8
<td colspan="4" class="desc">&nbsp;</td>
</tr>
<tr class="buttons">
<td colspan=6>
<input type=reset name="reset" value="Reset">
<input type=submit name=s value="Show CDR">
</td>
<td colspan=5><input type=reset name="reset" value="Reset"></td>
<td><input type=submit name=s value="Show CDR"></td>
</tr>
</table>
</form>
/asterisk-stats/trunk/template/menu.tpl
1,9 → 1,8
<table class="menu">
<tr>
<td><a href=..>Up</a></td>
<td><a href="index.php">Summary</a></td>
<td><a href="cdr_search.php">Search</a></td>
<td><a href="telbook_list.php">Tel. Book</a></td>
<td><a href="originate_form.php">Call</a></td>
</tr>
<tr>
<td><a href=..>Up</a></td>
<td><a href="index.php">Summary</a></td>
<td><a href="cdr_search.php">Search</a></td>
<td><a href="telbook_list.php">Tel. Book</a></td>
</tr>
</table>
/asterisk-stats/trunk/includes/AsteriskManager/AsteriskManagerException.php
File deleted
/asterisk-stats/trunk/includes/AsteriskManager/AsteriskManager.php
File deleted
/asterisk-stats/trunk/includes/config.php-dist
6,13 → 6,6
$db_password = 'password';
$db_database = 'asterisk';
 
$mgr_host = 'localhost';
$mgr_port = 5038;
$mgr_user = 'originator';
$mgr_password = 'password2';
$mgr_channel = 'SIP';
$mgr_context = 'default';
 
// any local specific query
function BaseQuery()
{
/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,10 → 25,8
'comment' => $line['entry_comment']));
$table->addcell(array('text' => $line['entry_value'],
'comment' => $line['entry_comment']));
$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')));
$table->addcell($same_person ? '' : array('class' => 'link', 'html' =>
display_link('telbook_details.php?id=' . $line['person_id'], 'Edit')));
$last_person_id = $line['person_id'];
}
$g_display->add_html_text($table->build());
/asterisk-stats/trunk/style.css
110,15 → 110,10
padding-bottom: 16px;
}
 
table tr.buttons td {
table.search tr.buttons td {
border: none;
text-align: right;
}
 
table tr.buttons:hover td {
background-color: #FFFFFF;
}
 
table.search td.desc {
border: none;
}
127,6 → 122,10
border: none;
}
 
table.search tr.buttons:hover td {
background-color: #FFFFFF;
}
 
table.telbook th {
color: #FFFFFF;
background-color: #6876F8;
142,6 → 141,10
font-size: 8pt;
}
 
table.telbook tr.buttons td {
border: none;
}
 
table td[title] {
background: url("images/red_corner.gif") no-repeat right top;
}