Commit 922d375b authored by Franco Fichtner's avatar Franco Fichtner

src: whitespace sweep

parent ea257700
...@@ -1035,7 +1035,7 @@ server.document-root = "{$document_root}" ...@@ -1035,7 +1035,7 @@ server.document-root = "{$document_root}"
#alias.url += ( "/ui/" => "/usr/local/opnsense/mvc/public/" ) #alias.url += ( "/ui/" => "/usr/local/opnsense/mvc/public/" )
#alias.url += ( "/api/" => "/usr/local/opnsense/mvc/public/" ) #alias.url += ( "/api/" => "/usr/local/opnsense/mvc/public/" )
#url.rewrite-if-not-file = ( "^/ui/(.*)$" => "/ui/index.php?_url=/$1" , #url.rewrite-if-not-file = ( "^/ui/(.*)$" => "/ui/index.php?_url=/$1" ,
# "^/api/(.*)$" => "/api/api.php?_url=/$1" # "^/api/(.*)$" => "/api/api.php?_url=/$1"
#) #)
{$captive_portal_rewrite} {$captive_portal_rewrite}
......
...@@ -33,4 +33,3 @@ API call result : <div id="msgid"></div> ...@@ -33,4 +33,3 @@ API call result : <div id="msgid"></div>
}); });
</script> </script>
...@@ -826,7 +826,7 @@ include("head.inc"); ...@@ -826,7 +826,7 @@ include("head.inc");
<button name="del" type="submit" title="<?=gettext("delete selected rules");?>" onclick="return confirm('<?=gettext('Do you really want to delete the selected rules?');?>')" class="btn btn-default btn-xs"><span class="glyphicon glyphicon-remove"></span></button> <button name="del" type="submit" title="<?=gettext("delete selected rules");?>" onclick="return confirm('<?=gettext('Do you really want to delete the selected rules?');?>')" class="btn btn-default btn-xs"><span class="glyphicon glyphicon-remove"></span></button>
<a href="firewall_rules_edit.php?if=<?=htmlspecialchars($if);?>" title="<?=gettext("add new rule");?>" class="btn btn-default btn-xs"><span class="glyphicon glyphicon-plus"></span></a> <a href="firewall_rules_edit.php?if=<?=htmlspecialchars($if);?>" title="<?=gettext("add new rule");?>" class="btn btn-default btn-xs"><span class="glyphicon glyphicon-plus"></span></a>
<?php endif; ?> <?php endif; ?>
</td> </td>
</tr> </tr>
</tbody> </tbody>
......
...@@ -50,13 +50,13 @@ if($_GET) { ...@@ -50,13 +50,13 @@ if($_GET) {
?> ?>
<body> <body>
<script type="text/javascript"> <script type="text/javascript">
function post_choices() { function post_choices() {
var ous = <?php echo count($ous); ?>; var ous = <?php echo count($ous); ?>;
var i; var i;
var values = jQuery("#ou:checked").map(function(){ var values = jQuery("#ou:checked").map(function(){
return jQuery(this).val(); return jQuery(this).val();
}).get().join(';'); }).get().join(';');
window.opener.document.getElementById('ldapauthcontainers').value=values; window.opener.document.getElementById('ldapauthcontainers').value=values;
window.close(); window.close();
......
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