This repository was archived by the owner on May 1, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +13
-22
lines changed
module/User/view/user/helper Expand file tree Collapse file tree 1 file changed +13
-22
lines changed Original file line number Diff line number Diff line change 11<div class="block">
22 <div class="row">
33 <div class="span4">
4- <h4>
5- New Developers
6- </h4>
4+ <h4>New Developers</h4>
75 <hr>
86 </div>
97 </div>
10-
11- <?php
12- $ count = 0 ;
13- foreach ($ this ->users as $ user ) {
14- if ($ count % 4 == 0 ) {
15- ?>
8+ <?php $ count = 0 ; ?>
9+ <?php foreach ($ this ->users as $ user ): ?>
10+ <?php if ($ count % 4 == 0 ): ?>
1611 <div class="row-fluid" style="margin-bottom:10px;">
1712 <div class="span12">
18- <?php } ?>
19- <div class="span3">
20- <a href="https://github.com/<?php echo $ this ->escapeHtml ($ user ->getUserName ()) ?> " data-delay="0" rel="tooltip" title="<?php echo $ this ->escapeHtml ($ user ->getUserName ()) ?> " class="thumbnail">
21- <img src="<?php echo $ user ->getPhotoUrl () ?> " alt="<?php echo $ this ->escapeHtml ($ user ->getUserName ()) ?> ">
22- </a>
23- </div>
24- <?php if ($ count % 4 == 3 ) { ?>
13+ <?php endif ; ?>
14+ <div class="span3">
15+ <a href="https://github.com/<?php echo $ this ->escapeHtmlAttr ($ user ->getUserName ()); ?> " data-delay="0" rel="tooltip" title="<?php echo $ this ->escapeHtmlAttr ($ user ->getUserName ()); ?> " class="thumbnail">
16+ <img src="<?php echo $ this -> escapeHtmlAttr ( $ user ->getPhotoUrl ()); ?> " alt="<?php echo $ this ->escapeHtmlAttr ($ user ->getUserName ()); ?> ">
17+ </a>
18+ </div>
19+ <?php if ($ count++ % 4 == 3 ): ?>
2520 </div>
2621 </div>
27- <?php
28- }
29- $ count ++;
30- }
31- ?>
32-
22+ <?php endif ; ?>
23+ <?php endforeach ; ?>
3324</div>
You can’t perform that action at this time.
0 commit comments