Commit 2d2a7c11 authored by Franco Fichtner's avatar Franco Fichtner

src: whitespace sweep

parent 92948294
...@@ -326,4 +326,4 @@ POSSIBILITY OF SUCH DAMAGE. ...@@ -326,4 +326,4 @@ POSSIBILITY OF SUCH DAMAGE.
</div> </div>
</div> </div>
</div> </div>
\ No newline at end of file
...@@ -43,11 +43,11 @@ for conns in s.list_conns(): ...@@ -43,11 +43,11 @@ for conns in s.list_conns():
result[connection_id]['local-id'] = '' result[connection_id]['local-id'] = ''
result[connection_id]['local-class'] = [] result[connection_id]['local-class'] = []
result[connection_id]['remote-id'] = '' result[connection_id]['remote-id'] = ''
result[connection_id]['remote-class'] = [] result[connection_id]['remote-class'] = []
result[connection_id]['children'] = conns[connection_id]['children'] result[connection_id]['children'] = conns[connection_id]['children']
result[connection_id]['sas'] = [] result[connection_id]['sas'] = []
# parse local-% and remote-% keys # parse local-% and remote-% keys
for connKey in conns[connection_id].keys(): for connKey in conns[connection_id].keys():
if connKey.find('local-') == 0: if connKey.find('local-') == 0:
if 'id' in conns[connection_id][connKey]: if 'id' in conns[connection_id][connKey]:
...@@ -57,9 +57,9 @@ for conns in s.list_conns(): ...@@ -57,9 +57,9 @@ for conns in s.list_conns():
if 'id' in conns[connection_id][connKey]: if 'id' in conns[connection_id][connKey]:
result[connection_id]['remote-id'] = conns[connection_id][connKey]['id'] result[connection_id]['remote-id'] = conns[connection_id][connKey]['id']
result[connection_id]['remote-class'].append(conns[connection_id][connKey]['class']) result[connection_id]['remote-class'].append(conns[connection_id][connKey]['class'])
result[connection_id]['local-class'] = '+'.join(result[connection_id]['local-class']) result[connection_id]['local-class'] = '+'.join(result[connection_id]['local-class'])
result[connection_id]['remote-class'] = '+'.join(result[connection_id]['remote-class']) result[connection_id]['remote-class'] = '+'.join(result[connection_id]['remote-class'])
# attach Security Associations # attach Security Associations
for sas in s.list_sas(): for sas in s.list_sas():
...@@ -68,4 +68,3 @@ for sas in s.list_sas(): ...@@ -68,4 +68,3 @@ for sas in s.list_sas():
result[sa]['sas'].append(sas[sa]) result[sa]['sas'].append(sas[sa])
print(ujson.dumps(result)) print(ujson.dumps(result))
...@@ -169,7 +169,7 @@ $main_buttons = array( ...@@ -169,7 +169,7 @@ $main_buttons = array(
</td> </td>
<td valign="middle" class="list nowrap"> <td valign="middle" class="list nowrap">
<a href="services_rfc2136_edit.php?id=<?=$i;?>"> <a href="services_rfc2136_edit.php?id=<?=$i;?>">
<button type="button" class="btn btn-xs btn-default"><span class="fa fa-pencil"></span></button> <button type="button" class="btn btn-xs btn-default"><span class="fa fa-pencil"></span></button>
</a> </a>
<a href="services_rfc2136.php?act=del&amp;id=<?=$i;?>" onclick="return confirm('<?=gettext("Do you really want to delete this client?");?>')"> <a href="services_rfc2136.php?act=del&amp;id=<?=$i;?>" onclick="return confirm('<?=gettext("Do you really want to delete this client?");?>')">
<button type="button" class="btn btn-xs btn-default"><span class="fa fa-trash-o"></span></button> <button type="button" class="btn btn-xs btn-default"><span class="fa fa-trash-o"></span></button>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment