Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Third batch of module tmpl codestyle #17855

Closed
wants to merge 12 commits into from
Closed

Conversation

zero-24
Copy link
Contributor

@zero-24 zero-24 commented Sep 3, 2017

Summary of Changes

Third batch of module tmpl codestyle

Testing Instructions

Please test and review the following frontend modules using the testing sampledata

  • mod_menu
  • mod_random_image
  • mod_realted_items

Expected result

Still works

Actual result

Works with codestyle problems

Documentation Changes Required

none

<?php endif; ?>
<?php // The next item is deeper. ?>
<?php if ($item->deeper) : ?>
<?php echo '<ul class="nav-child unstyled small">'; ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use HTML only

<?php echo '<ul class="nav-child unstyled small">'; ?>
<?php elseif ($item->shallower) : ?>
<?php // The next item is shallower. ?>
<?php echo '</li>'; ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use HTML only

<?php echo str_repeat('</ul></li>', $item->level_diff); ?>
<?php else : ?>
<?php // The next item is on the same level. ?>
<?php echo '</li>'; ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use HTML only

@Quy
Copy link
Contributor

Quy commented Sep 12, 2017

I have tested this item ✅ successfully on 90aef02

Code review


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/17855.

@zero-24
Copy link
Contributor Author

zero-24 commented Jan 13, 2018

can we have a second review & merged here?

@zero-24 zero-24 closed this Feb 8, 2018
@zero-24 zero-24 deleted the modules#3 branch February 8, 2018 05:28
@zero-24 zero-24 restored the modules#3 branch February 8, 2018 05:28
@zero-24 zero-24 deleted the modules#3 branch April 22, 2019 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants