Cotonti / Cotonti

Fast, reliable and flexible PHP CMF/CMS
https://www.cotonti.com
BSD 3-Clause "New" or "Revised" License
92 stars 51 forks source link

??? in admin-area #635

Closed trustmaster closed 13 years ago

trustmaster commented 13 years ago

In the page structure there are ??? in the pagination. I got eg: 1 2 > >> Total: 49, ???: 30

In '''admin.structure.tpl''' I found the following:

{ADMIN_STRUCTURE_PAGINATION_PREV}{ADMIN_STRUCTURE_PAGNAV}{ADMIN_STRUCTURE_PAGINATION_NEXT} {PHP.L.Total}: {ADMIN_STRUCTURE_TOTALITEMS}, '''???''': {ADMIN_STRUCTURE_COUNTER_ROW}

The ??? should be replaced by a tag. But I have no idea which one. I guess "Displayed" as name. But I didn't find the tag anywhere for it.

trustmaster commented 13 years ago

I found this tag: {PHP.L.adm_polls_on_page} but also {PHP.L.Onpage} Which is the best one to use? I guess the last because the other is in the polls module. If someone deletes the module, you loose the tag also.

  1. We need to changed "???" to {PHP.L.Onpage} in admin.structure.tpl and in page.admin.tpl.
  2. Best is to change it on all of them I guess. {PHP.L.adm_polls_on_page} -->> {PHP.L.Onpage}. Also in
  3. admin.extrafields.tpl
  4. admin.log.tpl
  5. bbcode.admin.tpl
  6. comments.tools.tpl
  7. polls.admin.tpl
  8. ratings.admin.tpl
  9. referers.admin.tpm
  10. trashcan.admin.tpl
  11. Delete the tag {PHP.L.adm_polls_on_page} in /modules/polls/lang/polls.en.lang.php
trustmaster commented 13 years ago

Solved in revision http://trac.cotonti.com/changeset/2046