printLatestImages, printPopularImages

The above referenced functions have an unnecessary ``after each hyperlink and an unnecessary `` before the last `` I tried removing the `` and the `` from the "image_album_statistics.php", but whenever I change it I get an error message. Any idea how can I fix this? It is not fixed it does not displays correctly in Internet Explorer.

These is a examples of what is rendered in the browser:

`<?php printLatestImages(); ?>` will produce the following:

`
`
`
    `
    `
  • 1`
    `
  • 2`
    `
  • 3`
    `
  • 4`
    `
  • 5`
    `
`

Also printRandomImages is not enclose by a div and has no starting `
    ` but only and ending `
`

`<?php printRandomImages(); ?>` will produce the following:

`1`
` 2`
` 3`
` 4`
` 5`
``

Comments

  • acrylian Administrator, Developer
    Is that in the 1.1.6 or the nightly?

    EDIT: Found it. Will be corrected in tonights nightly. Thanks for the report.
  • zucye Member
    Thanks Acrylian!
    Which file exactly in the nightly built contains the fix?
    I replaced the "image_album_statistics.php" which helps me render the "printLatestImages" and the "printPopularImages" correctly, but the "printRandomImages" is still missing the opening
    `
      ` and is not enclosed in a div as the previous 2.

      Everything else is working fine for me and the download page says "These may be unstable packages! ... They should be used only for testing purposes" Therefore I prefer not to reinstall the whole nightly built!

      Where is the fix for the random images?
  • acrylian Administrator, Developer
    I will take a look at the random images again, might be that I forgot it.... (it is in template-functions.php, since it's not a statistic function)

    The nightlies are pretty stable, but of course may contain some bugs (well, the official release do sometimes, too...:-))
    It is not recommended to take parts of the nightly to use with the official release, since it can happen that the new files use new functions or anything else the official release does not have.
Sign In or Register to comment.