@@ -1,4 +1,6 @@ |
||
| 1 | -<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); |
|
| 1 | +<?php if ( ! defined('BASEPATH')) { |
|
| 2 | + exit('No direct script access allowed'); |
|
| 3 | +} |
|
| 2 | 4 | |
| 3 | 5 | //DID list |
| 4 | 6 | $lang['DID.MANAGE_DIDs'] = 'Manage DIDs'; |
@@ -1,4 +1,6 @@ |
||
| 1 | -<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); |
|
| 1 | +<?php if ( ! defined('BASEPATH')) { |
|
| 2 | + exit('No direct script access allowed'); |
|
| 3 | +} |
|
| 2 | 4 | |
| 3 | 5 | //did list |
| 4 | 6 | $lang['DID.MANAGE_DIDs'] = 'Gestionar DIDs'; |
@@ -104,7 +104,7 @@ |
||
| 104 | 104 | foreach($csv_value as $field_name => $field_val){ |
| 105 | 105 | if($csv_key == 0){ |
| 106 | 106 | echo "<th>".ucfirst($field_name)."</th>"; |
| 107 | - }else{ |
|
| 107 | + } else{ |
|
| 108 | 108 | echo "<td class='portlet-content'>".$field_val."</td>"; |
| 109 | 109 | } |
| 110 | 110 | } |
@@ -40,7 +40,10 @@ |
||
| 40 | 40 | <select class="form-control" name="host_id" id="host_id"> |
| 41 | 41 | <?php |
| 42 | 42 | foreach($fs_data as $name) { ?> |
| 43 | - <option value="<?= $name['id'] ?>"<?php if(isset($host_id) && ($name['id'] == $host_id))echo 'selected';?>><?= $name['freeswitch_host'] ?></option> |
|
| 43 | + <option value="<?= $name['id'] ?>"<?php if(isset($host_id) && ($name['id'] == $host_id)) { |
|
| 44 | + echo 'selected'; |
|
| 45 | +} |
|
| 46 | +?>><?= $name['freeswitch_host'] ?></option> |
|
| 44 | 47 | <?php |
| 45 | 48 | } ?> |
| 46 | 49 | </select> |
@@ -1,4 +1,6 @@ |
||
| 1 | -<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); |
|
| 1 | +<?php if ( ! defined('BASEPATH')) { |
|
| 2 | + exit('No direct script access allowed'); |
|
| 3 | +} |
|
| 2 | 4 | //Main Menu |
| 3 | 5 | $lang['Home'] = 'Home'; |
| 4 | 6 | $lang['Global Accounts'] = 'Global Accounts'; |
@@ -1,3 +1,5 @@ |
||
| 1 | -<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); |
|
| 1 | +<?php if ( ! defined('BASEPATH')) { |
|
| 2 | + exit('No direct script access allowed'); |
|
| 3 | +} |
|
| 2 | 4 | $lang['FOOTER.FOOTER'] = 'Copyright © 2003 - 2012. ASTPP - Open Source VOIP Billing Solution. All Rights Reserved.'; |
| 3 | 5 | ?> |
@@ -1,4 +1,6 @@ |
||
| 1 | -<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); |
|
| 1 | +<?php if ( ! defined('BASEPATH')) { |
|
| 2 | + exit('No direct script access allowed'); |
|
| 3 | +} |
|
| 2 | 4 | //Main Menu |
| 3 | 5 | $lang['Home'] = 'Casa'; |
| 4 | 6 | $lang['Global Accounts'] = 'cuentas globales'; |
@@ -1,3 +1,5 @@ |
||
| 1 | -<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); |
|
| 1 | +<?php if ( ! defined('BASEPATH')) { |
|
| 2 | + exit('No direct script access allowed'); |
|
| 3 | +} |
|
| 2 | 4 | $lang['FOOTER.FOOTER'] = 'Copyright © 2003 - 2012. ASTPP - Open Source Solución de Facturación VOIP. Todos los Derechos Reservados.'; |
| 3 | 5 | ?> |
@@ -208,7 +208,7 @@ |
||
| 208 | 208 | <?php |
| 209 | 209 | if($account_data['logo'] != ''){ |
| 210 | 210 | $logo=$account_data['file']; |
| 211 | - }else{ |
|
| 211 | + } else{ |
|
| 212 | 212 | $logo=$account_data['logo']; |
| 213 | 213 | } |
| 214 | 214 | if($logo != ''){ |