Projekt

Allgemein

Profil

GX-Bug #63405 » mediaFinanzFix.patch

Till Tepelmann, 17.07.2019 17:59

Unterschiede anzeigen:

src/admin/includes/modules/mediafinanz/process_claims.php (date 1563377267000)
100 100
                     }
101 101
                ?>
102 102
                <form action="mediafinanz.php?action=process_claim&store=true&oID=<?php echo $ordersId; ?>" method="POST" name="newClaim">
103
                     <script type="text/javascript">
104
                        var dateAvailable = new ctlSpiffyCalendarBox("dateAvailable", "newClaim", "dateOfLastReminder","btnDate1","<?php echo date('Y-m-d', strtotime($order['purchaseDate']) + $config->getValue('daysFromLastReminder') * 86400); ?>",scBTNMODE_CUSTOMBLUE);
105
                     </script>
106 103
                     <?php echo '<!--'.date('Y-m-d', strtotime($order['purchaseDate']) + $config->getValue('daysFromLastReminder') * 86400).'-->'; ?>
107 104
                     <table border="0" cellspacing="1" cellpadding="3" class="smalltext">
108 105
                      <tr bgcolor="white">
......
155 152
                      </tr>
156 153
                       <tr bgcolor="white">
157 154
                        <td><b>##date_last_appeal</b></td>
158
                        <td><script type="text/javascript">dateAvailable.writeControl(); dateAvailable.dateFormat="yyyy-MM-dd";</script></td>
155
	                       <td><input type="text" class="cursor-pointer hasDatepicker" id="dateOfLastReminder" name="dateOfLastReminder"  data-jse-widget="datepicker" data-datepicker-gx-container value="<?php echo date('Y-m-d', strtotime($order['purchaseDate']) + $config->getValue('daysFromLastReminder') * 86400); ?>"></td>
159 156
                      </tr>
160 157
                      <tr bgcolor="white">
161 158
                        <td><b>##notice</b></td>
src/admin/mediafinanz.php (date 1563377213000)
7 7
   Released under the GNU General Public License (Version 2)
8 8
   [http://www.gnu.org/licenses/gpl-2.0.html]
9 9

  
10
   IMPORTANT! THIS FILE IS DEPRECATED AND WILL BE REPLACED IN THE FUTURE. 
10
   IMPORTANT! THIS FILE IS DEPRECATED AND WILL BE REPLACED IN THE FUTURE.
11 11
   MODIFY IT ONLY FOR FIXES. DO NOT APPEND IT WITH NEW FEATURES, USE THE
12 12
   NEW GX-ENGINE LIBRARIES INSTEAD.
13 13
   --------------------------------------------------------------
......
71 71
    <title><?php echo TITLE; ?></title>
72 72
    <link rel="stylesheet" type="text/css" href="html/assets/styles/legacy/stylesheet.css">
73 73
    <link rel="stylesheet" type="text/css" href="includes/modules/mediafinanz/style/stylesheet.css">
74
    <link href="includes/javascript/spiffyCal/spiffyCal_v2_1.css" type="text/css" rel="stylesheet">
75
    <script src="includes/javascript/spiffyCal/spiffyCal_v2_1.js" type="text/javascript"></script>
76 74
</head>
77 75
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF">
78
<div id="spiffycalendar" class="text"></div>
79 76
<?php
80 77

  
81 78
if (!$isPopup)
    (1-1/1)