Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-13224

Rewrite gen_sort_selects() function to allow styling

    Details

    • Type: Improvement
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.1.0-RC6
    • Fix Version/s: 3.2.9-RC1
    • Component/s: Viewing forums
    • Labels:
      None

      Description

      Styling of the select tags for sorting topics is not possible without changing functions_content.php.

      The evil seems to lie within the function gen_sort_selects(), where an array containing the HTML tags is returned. I would like to create a dropdown menu with a button, so the select tag would have to go, but for that I need to edit a file that I shouldn't have to edit for a template.

      I think something like a loop would be much better for styling purposes. I would do it myself, but unfortunately my PHP knowledge isn't good enough.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              phpusher phpusher [X] (Inactive)
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: