Changeset 12342

Show
Ignore:
Timestamp:
08/02/11 16:59:27 (2 years ago)
Author:
mickecarlsson
Message:

cdr, added tooltip, fixed spelling errors

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.10/cdr/cdr.css

    r12326 r12342  
    5656  margin : 0 5%; 
    5757  border-width : 0; 
    58   white-space : nowrap; 
    5958  width : 90%; 
    6059  font-size: 10pt; 
  • modules/branches/2.10/cdr/module.xml

    r12340 r12342  
    44  <description>Call Data Record report tools for vieweing reports of your calls</description> 
    55  <name>CDR Viewer</name> 
    6   <version>2.10.0.alpha6</version> 
     6  <version>2.10.0.alpha5</version> 
    77  <publisher>Mikael Carlsson</publisher> 
    88  <license>GPLv2+</license> 
     
    1313  </menuitems> 
    1414  <changelog> 
    15     *2.10.0.alpha6* Bug fix in recordings settings 
    1615    *2.10.0.alpha5* Added localization 
    1716    *2.10.0.alpha4* Added csv export 
     
    2423    <module>core ge 2.6.0</module> 
    2524  </depends> 
    26   <location>release/2.10/cdr-2.10.0.alpha6.tgz</location> 
    27   <md5sum>88b2cf43561156d23ea3d8a7ff209382</md5sum> 
     25  <location>release/2.10/cdr-2.10.0.alpha5.tgz</location> 
     26  <md5sum>6e5efa7187a9e534f8d65c450b97af0c</md5sum> 
    2827</module> 
  • modules/branches/2.10/cdr/page.cdr.php

    r12341 r12342  
    5959      </tr> 
    6060      <tr> 
    61         <td><input <?php if (empty($_POST['order']) || $_POST['order'] == 'calldate') { echo 'checked="checked"'; } ?> type="radio" name="order" value="calldate" />&nbsp;<?php echo _("Call Date")?>:</td> 
     61        <?php $calldate_tooltip = _("Select time span for your report. You can select Date, Month, Year, Hour and Minute to narrow your search");?> 
     62        <td><input <?php if (empty($_POST['order']) || $_POST['order'] == 'calldate') { echo 'checked="checked"'; } ?> type="radio" name="order" value="calldate" />&nbsp;<?php echo "<a href=\"#\" class=\"info\">"._("Call Date")."<span>".$calldate_tooltip."</span></a>"?>:</td> 
    6263        <td><?php echo _("From")?>: 
    6364        <input type="text" name="startday" id="startday" size="2" maxlength="2" value="<?php if (isset($_POST['startday'])) { echo $_POST['startday']; } else { echo '01'; } ?>" /> 
     
    142143</tr> 
    143144<tr> 
    144 <td><input <?php if (isset($_POST['order']) && $_POST['order'] == 'channel') { echo 'checked="checked"'; } ?> type="radio" name="order" value="channel" />&nbsp;<label for="channel"><?php echo _("Src Channel")?>:</label></td> 
     145<?php $channel_tooltip = _("Select Source Channel to search for. You can enter just the channel type like SIP, IAX2 or Local. You can also include the destination for the channel, like SIP/1234.");?> 
     146<td><input <?php if (isset($_POST['order']) && $_POST['order'] == 'channel') { echo 'checked="checked"'; } ?> type="radio" name="order" value="channel" />&nbsp;<label for="channel"><?php echo "<a href=\"#\" class=\"info\">"._("Src Channel")."<span>$channel_tooltip</span></a>"?>:</label></td> 
    145147<td><input type="text" name="channel" id="channel" value="<?php if (isset($_POST['channel'])) { echo $_POST['channel']; } ?>" /> 
    146148<?php echo _("Not")?>:<input <?php if ( isset($_POST['channel_neg'] ) && $_POST['channel_neg'] == 'true' ) { echo 'checked="checked"'; } ?> type="checkbox" name="channel_neg" value="true" /> 
     
    152154</tr> 
    153155<tr> 
    154 <td><input <?php if (isset($_POST['order']) && $_POST['order'] == 'src') { echo 'checked="checked"'; } ?> type="radio" name="order" value="src" />&nbsp;<label for="src"><?php echo _("Source")?>:</label></td> 
     156<?php $source_tooltip = _("Search for source calls. You can enter multiple sources separated by a comma. This field support Asterisk regular expression. Example<br>");?> 
     157<?php $source_tooltip .= _("<b>_2XXN, _562., _.0075</b> = search for any match of these numbers<br>");?> 
     158<?php $source_tooltip .= _("<b>_!2XXN, _562., _.0075</b> = Search for any match <b>except</b> for these numbers");?> 
     159<?php $source_tooltip .= _("<br>Asterisk pattern matching<br>");?> 
     160<?php $source_tooltip .= _("<b>X</b> = matches any digit from 0-9<br>");?> 
     161<?php $source_tooltip .= _("<b>Z</b> = matches any digit from 1-9<br>");?> 
     162<?php $source_tooltip .= _("<b>N</b> = matches any digit from 2-9<br>");?> 
     163<?php $source_tooltip .= _("<b>[1237-9]</b> = matches any digit or letter in the brackets<br>(in this example, 1,2,3,7,8,9)<br>");?> 
     164<?php $source_tooltip .= _("<b>.</b> = wildcard, matches one or more characters<br>");?> 
     165<td><input <?php if (isset($_POST['order']) && $_POST['order'] == 'src') { echo 'checked="checked"'; } ?> type="radio" name="order" value="src" />&nbsp;<label for="src"><?php echo "<a href=\"#\" class=\"info\">"._("Source")."<span>$source_tooltip</span></a>"?>:</label></td> 
    155166<td><input type="text" name="src" id="src" value="<?php if (isset($_POST['src'])) { echo $_POST['src']; } ?>" /> 
    156167<?php echo _("Not")?>:<input <?php if ( isset($_POST['src_neg'] ) && $_POST['src_neg'] == 'true' ) { echo 'checked="checked"'; } ?> type="checkbox" name="src_neg" value="true" /> 
     
    162173</tr> 
    163174<tr> 
    164 <td><input <?php if (isset($_POST['order']) && $_POST['order'] == 'clid') { echo 'checked="checked"'; } ?> type="radio" name="order" value="clid" />&nbsp;<label for="clid"><?php echo _("CallerID")?></label></td> 
     175<?php $callerid_tooltip = _("Search for CallerID. If your CallerID begins with \" then you must supply this in your search if you select Begins With.");?> 
     176<td><input <?php if (isset($_POST['order']) && $_POST['order'] == 'clid') { echo 'checked="checked"'; } ?> type="radio" name="order" value="clid" />&nbsp;<label for="clid"><?php echo "<a href=\"#\" class=\"info\">"._("CallerID")."<span>$callerid_tooltip</span></a>"?></label></td> 
    165177<td><input type="text" name="clid" id="clid" value="<?php if (isset($_POST['clid'])) { echo $_POST['clid']; } ?>" /> 
    166178<?php echo _("Not")?>:<input <?php if ( isset($_POST['clid_neg'] ) && $_POST['clid_neg'] == 'true' ) { echo 'checked="checked"'; } ?> type="checkbox" name="clid_neg" value="true" /> 
     
    172184</tr> 
    173185<tr> 
    174 <td><input <?php if (isset($_POST['order']) && $_POST['order'] == 'dstchannel') { echo 'checked="checked"'; } ?> type="radio" name="order" value="dstchannel" />&nbsp;<label for="dstchannel"><?php echo _("Dst Channel")?>:</label></td> 
     186<?php $dstchannel_tooltip = _("Select Destination Channel to search for. It can be just the channel type like SIP, IAX2 or Local. It can include the destination for the channel, like SIP/1234.");?> 
     187<td><input <?php if (isset($_POST['order']) && $_POST['order'] == 'dstchannel') { echo 'checked="checked"'; } ?> type="radio" name="order" value="dstchannel" />&nbsp;<label for="dstchannel"><?php echo "<a href=\"#\" class=\"info\">"._("Dst Channel")."<span>$dstchannel_tooltip</span></a>"?>:</label></td> 
    175188<td><input type="text" name="dstchannel" id="dstchannel" value="<?php if (isset($_POST['dstchannel'])) { echo $_POST['dstchannel']; } ?>" /> 
    176189<?php echo _("Not")?>:<input <?php if ( isset($_POST['dstchannel_neg'] ) && $_POST['dstchannel_neg'] == 'true' ) { echo 'checked="checked"'; } ?> type="checkbox" name="dstchannel_neg" value="true" /> 
     
    182195</tr> 
    183196<tr> 
    184 <td><input <?php if (isset($_POST['order']) && $_POST['order'] == 'dst') { echo 'checked="checked"'; } ?> type="radio" name="order" value="dst" />&nbsp;<label for="dst"><?php echo _("Destination")?>:</label></td> 
     197<?php $destination_tooltip = _("Search for destination calls. You can enter multiple sources separated by a comma. This field support Asterisk regular expression. Example<br>");?> 
     198<?php $destination_tooltip .= _("<b>_2XXN, _562., _.0075</b> = search for any match of these numbers<br>");?> 
     199<?php $destination_tooltip .= _("<b>_!2XXN, _562., _.0075</b> = Search for any match <b>except</b> for these numbers");?> 
     200<?php $destination_tooltip .= _("<br>Asterisk pattern matching<br>");?> 
     201<?php $destination_tooltip .= _("<b>X</b> = matches any digit from 0-9<br>");?> 
     202<?php $destination_tooltip .= _("<b>Z</b> = matches any digit from 1-9<br>");?> 
     203<?php $destination_tooltip .= _("<b>N</b> = matches any digit from 2-9<br>");?> 
     204<?php $destination_tooltip .= _("<b>[1237-9]</b> = matches any digit or letter in the brackets<br>(in this example, 1,2,3,7,8,9)<br>");?> 
     205<?php $destination_tooltip .= _("<b>.</b> = wildcard, matches one or more characters<br>");?> 
     206<td><input <?php if (isset($_POST['order']) && $_POST['order'] == 'dst') { echo 'checked="checked"'; } ?> type="radio" name="order" value="dst" />&nbsp;<label for="dst"><?php echo "<a href=\"#\" class=\"info\">"._("Destination")."<span>$destination_tooltip</span></a>"?>:</label></td> 
    185207<td><input type="text" name="dst" id="dst" value="<?php if (isset($_POST['dst'])) { echo $_POST['dst']; } ?>" /> 
    186208<?php echo _("Not")?>:<input <?php if ( isset($_POST['dst_neg'] ) &&  $_POST['dst_neg'] == 'true' ) { echo 'checked="checked"'; } ?> type="checkbox" name="dst_neg" value="true" /> 
     
    192214</tr> 
    193215<tr> 
    194 <td><input <?php if (isset($_POST['order']) && $_POST['order'] == 'userfield') { echo 'checked="checked"'; } ?> type="radio" name="order" value="userfield" />&nbsp;<label for="userfield"><?php echo _("Userfield")?>:</label></td> 
     216<?php $userfield_tooltip = _("Search for userfield data (if enabled).");?> 
     217<td><input <?php if (isset($_POST['order']) && $_POST['order'] == 'userfield') { echo 'checked="checked"'; } ?> type="radio" name="order" value="userfield" />&nbsp;<label for="userfield"><?php echo "<a href=\"#\" class=\"info\">"._("Userfield")."<span>$userfield_tooltip</span></a>"?>:</label></td> 
    195218<td><input type="text" name="userfield" id="userfield" value="<?php if (isset($_POST['userfield'])) { echo $_POST['userfield']; } ?>" /> 
    196219<?php echo _("Not")?>:<input <?php if (  isset($_POST['userfield_neg'] ) && $_POST['userfield_neg'] == 'true' ) { echo 'checked="checked"'; } ?> type="checkbox" name="userfield_neg" value="true" /> 
     
    202225</tr> 
    203226<tr> 
    204 <td><input <?php if (isset($_POST['order']) && $_POST['order'] == 'accountcode') { echo 'checked="checked"'; } ?> type="radio" name="order" value="accountcode" />&nbsp;<label for="userfield"><?php echo _("Account Code")?>:</label></td> 
     227<?php $accountcode_tooltip = _("Search for accountcode.");?> 
     228<td><input <?php if (isset($_POST['order']) && $_POST['order'] == 'accountcode') { echo 'checked="checked"'; } ?> type="radio" name="order" value="accountcode" />&nbsp;<label for="userfield"><?php echo "<a href=\"#\" class=\"info\">"._("Account Code")."<span>$accountcode_tooltip</span></a>"?>:</label></td> 
    205229<td><input type="text" name="accountcode" id="accountcode" value="<?php if (isset($_POST['accountcode'])) { echo $_POST['accountcode']; } ?>" /> 
    206230<?php echo _("Not")?>:<input <?php if ( isset($_POST['accountcode_neg'] ) &&  $_POST['accountcode_neg'] == 'true' ) { echo 'checked="checked"'; } ?> type="checkbox" name="accountcode_neg" value="true" /> 
     
    212236</tr> 
    213237<tr> 
    214 <td><input <?php if (isset($_POST['order']) && $_POST['order'] == 'duration') { echo 'checked="checked"'; } ?> type="radio" name="order" value="duration" />&nbsp;<label><?php echo _("Duration")?>:</label></td> 
     238<?php $duration_tooltip = _("Search for calls that matches the call lenght specified.");?> 
     239<td><input <?php if (isset($_POST['order']) && $_POST['order'] == 'duration') { echo 'checked="checked"'; } ?> type="radio" name="order" value="duration" />&nbsp;<label><?php echo "<a href=\"#\" class=\"info\">"._("Duration")."<span>$duration_tooltip</span></a>"?>:</label></td> 
    215240<td><?php echo _("Between")?>: 
    216241<input type="text" name="dur_min" value="<?php if (isset($_POST['dur_min'])) { echo $_POST['dur_min']; } ?>" size="3" maxlength="5" /> 
    217242<?php echo _("And")?>: 
    218243<input type="text" name="dur_max" value="<?php if (isset($_POST['dur_max'])) { echo $_POST['dur_max']; } ?>" size="3" maxlength="5" /> 
    219 <?php echo _("Seconds")?>: 
    220 </td> 
    221 </tr> 
    222 <tr> 
    223 <td><input <?php if (isset($_POST['order']) && $_POST['order'] == 'disposition') { echo 'checked="checked"'; } ?> type="radio" name="order" value="disposition" />&nbsp;<label for="disposition"><?php echo _("Disposition")?>:</label></td> 
     244<?php echo _("Seconds")?> 
     245</td> 
     246</tr> 
     247<tr> 
     248<?php $disposition_tooltip = _("Search for calls that matches either ANSWERED, BUSY, FAILED or NO ANSWER.");?> 
     249<td><input <?php if (isset($_POST['order']) && $_POST['order'] == 'disposition') { echo 'checked="checked"'; } ?> type="radio" name="order" value="disposition" />&nbsp;<label for="disposition"><?php echo "<a href=\"#\" class=\"info\">"._("Disposition")."<span>$disposition_tooltip</span></a>"?>:</label></td> 
    224250<td> 
    225251<?php echo _("Not")?>:<input <?php if ( isset($_POST['dispositio_neg'] ) && $_POST['disposition_neg'] == 'true' ) { echo 'checked="checked"'; } ?> type="checkbox" name="disposition_neg" value="true" />