Modify

Opened 10 years ago

Closed 10 years ago

#744 closed Bug/Fehler (fixed)

xtc_draw_date_selector(): festes Jahr

Reported by: Volker Strähle Owned by: somebody
Priority: normal Milestone: modified-shop-2.0.0.0
Component: Admin Version: 2.0.0.0
Keywords: Cc:
Blocked By: Blocking:

Description

in admin /includes/functions/general.php ist in der Funktion xtc_draw_date_selector() das max. Jahr hard-coded.

    $date_selector .= '</select>';
    $date_selector .= '<select name="'.$prefix.'_year">';
    for ($i = 2001; $i < 2019; $i ++) {
      $date_selector .= '<option value="'.$i.'"';
      if ($i == $year)
        $date_selector .= 'selected';
      $date_selector .= '>'.$i.'</option>';
    }


Hier sollte so etwas wie current_year + 4 als max. Wert rein.

Für 2.0 ist das aber wohl nicht mehr relevant

Attachments (0)

Change History (2)

comment:1 by Torsten Riemer, 10 years ago

Version: 1.062.0

comment:2 by Torsten Riemer, 10 years ago

Resolution: fixed
Status: newclosed

In 9249:

Fix #744

Modify Ticket

Action
as closed The owner will remain somebody.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.