Commit 79a08f87 authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

whitespace

(cherry picked from commit d9d87849)
parent 709795a9
......@@ -8,10 +8,10 @@
</div>
<!-- /row-->
</main>
</main>
<?php if (isset($widgetfiles)):
<?php
if (isset($widgetfiles)):
$widgetfiles_add = $widgetfiles;
sort($widgetfiles_add);
......@@ -26,7 +26,7 @@
<div class="modal-body">
<table class="table table-striped table-hover">
<?php
<?php
foreach($widgetfiles_add as $widget):
if(!stristr($widget, "widget.php"))
continue;
......@@ -40,25 +40,28 @@
$widgettitle = $widgetname . "_title";
$widgettitlelink = $widgetname . "_title_link";
if (isset($$widgettitle)):
?>
<tr><td style="cursor: pointer;" onclick='return addWidget("<?php echo $widgetname; ?>")'><?php echo $$widgettitle; ?></td></tr>
<?php elseif ($nicename != ""): ?>
<tr><td style="cursor: pointer;" onclick='return addWidget("<?php echo $widgetname; ?>")'><?php echo $nicename; ?></td></tr>
<?php endif; endforeach; ?>
if (isset($$widgettitle)):?>
<tr>
<td style="cursor: pointer;" onclick='return addWidget("<?=$widgetname; ?>")'><?=$$widgettitle; ?></td>
</tr>
<?php
elseif ($nicename != ""): ?>
<tr>
<td style="cursor: pointer;" onclick='return addWidget("<?=$widgetname; ?>")'><?=$nicename; ?></td>
</tr>
<?php
endif;
endforeach; ?>
</table>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div><!-- /modal-content -->
</div><!-- /modal-dialog -->
</div><!-- /modal -->
<?php endif; ?>
<?php
endif; ?>
<!-- bootstrap script -->
<script type="text/javascript" src="/ui/js/bootstrap.min.js"></script>
......
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