Commit 366ac330 authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

whitespace index.php

(cherry picked from commit 13ae2f59)
parent 29ce7f45
......@@ -328,25 +328,14 @@ include("head.inc");
<body>
<!--script type="text/javascript">
//<![CDATA[
columns = ['col1','col2','col3','col4', 'col5','col6','col7','col8','col9','col10'];
//]]>
</script-->
<?php
include("fbegin.inc");
echo $jscriptstr;
?>
<?php
## If it is the first time webConfigurator has been
## accessed since initial install show this stuff.
## If it is the first time webConfigurator has been
## accessed since initial install show this stuff.
if (isset($config['trigger_initial_wizard'])) :
?>
<header class="page-content-head">
......@@ -361,9 +350,7 @@ if (isset($config['trigger_initial_wizard'])) :
<section class="col-xs-12">
<div class="content-box" style="padding: 20px;">
<div class="table-responsive">
<?php
echo "<img src=\"/ui/themes/{$themename}/build/images/default-logo.png\" border=\"0\" alt=\"logo\" /><p>\n";
?>
<img src="/ui/themes/<?=$themename;?>/build/images/default-logo.png" border="0" alt="logo" />
<br />
<div class="content-box-main">
<?php
......@@ -386,10 +373,8 @@ endif; ?>
<section class="page-content-main">
<div class="container-fluid">
<div class="row">
<?php
<?php
$crash_report = get_crash_report();
if ($crash_report != '') {
print_info_box($crash_report);
......@@ -479,20 +464,15 @@ endif; ?>
break;
}
}
}
?>
}?>
<section class="col-xs-12 col-md-6 widgetdiv" id="<?= $widgetname ?>" style="display:<?= $divdisplay ?>;">
<div class="content-box">
<form action="<?=$_SERVER['REQUEST_URI'];?>" method="post" id="iform">
<input type="hidden" value="" name="sequence" id="sequence" />
<header class="content-box-head container-fluid">
<ul class="list-inline __nomb">
<li><h3>
<?php
<?php
$widgettitle = $widgetname . "_title";
$widgettitlelink = $widgetname . "_title_link";
if (isset($$widgettitle)) {
......@@ -521,20 +501,14 @@ endif; ?>
</span></u>
<?php
}
}
?>
}?>
</h3></li>
<li class="pull-right">
<div class="btn-group">
<button type="button" class="btn btn-default btn-xs" title="minimize" id="<?= $widgetname ?>-min" onclick='return minimizeWidget("<?= $widgetname ?>",true)' style="display:<?= $mindiv ?>;"><span class="glyphicon glyphicon-minus"></span></button>
<button type="button" class="btn btn-default btn-xs" title="maximize" id="<?= $widgetname ?>-max" onclick='return showWidget("<?= $widgetname ?>",true)' style="display:<?= $mindiv == 'none' ? 'inline' : 'none' ?>;"><span class="glyphicon glyphicon-plus"></span></button>
<button type="button" class="btn btn-default btn-xs" title="remove widget" onclick='return closeWidget("<?= $widgetname ?>",true)'><span class="glyphicon glyphicon-remove"></span></button>
<button type="button" class="btn btn-default btn-xs" id="<?= $widgetname ?>-configure" onclick='return configureWidget("<?= $widgetname ?>")' style="display:none; cursor:pointer" ><span class="glyphicon glyphicon-pencil"></span></button>
</div>
</li>
</ul>
......@@ -542,31 +516,25 @@ endif; ?>
</form>
<div class="content-box-main collapse in" id="<?= $widgetname ?>-container" style="display:<?= $mindiv ?>">
<input type="hidden" value="<?= $inputdisplay ?>" id="<?= $widgetname ?>-config" name="<?= $widgetname ?>-config" />
<?php if ($divdisplay != "block") {
?>
<?php
if ($divdisplay != "block") {?>
<div id="<?= $widgetname ?>-loader" style="display:<?= $display ?>;" align="center">
<br />
<span class="glyphicon glyphicon-refresh"></span> <?= gettext("Loading selected widget") ?>
<br />
</div> <?php $display = "none";
} ?>
<?php
}
if (file_exists($directory . $widget)) {
if ($divdisplay == 'block') {
include($directory . $widget);
}
} ?>
<?php $widgetcounter++; ?>
}
$widgetcounter++; ?>
</div>
</div>
</section>
<?php
<?php
} //end foreach ?>
</div>
</div>
</section>
......
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