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