Projekt

Allgemein

Profil

GX-Bug #63324 » couponAdminFix.patch

Till Tepelmann, 18.07.2019 15:39

Unterschiede anzeigen:

src/admin/coupon_admin.php (date 1563457041000)
1 1
<?php
2 2
/* --------------------------------------------------------------
3
   coupon_admin.php 2018-11-15
3
   coupon_admin.php 2019-07-18
4 4
   Gambio GmbH
5 5
   http://www.gambio.de
6
   Copyright (c) 2018 Gambio GmbH
6
   Copyright (c) 2019 Gambio GmbH
7 7
   Released under the GNU General Public License (Version 2)
8 8
   [http://www.gnu.org/licenses/gpl-2.0.html]
9 9

  
......
320 320
<title><?php echo TITLE; ?></title>
321 321
<link rel="stylesheet" type="text/css" href="html/assets/styles/legacy/stylesheet.css">
322 322
<script type="text/javascript" src="html/assets/javascript/legacy/gm/general.js"></script>
323
<link rel="stylesheet" type="text/css" href="includes/javascript/spiffyCal/spiffyCal_v2_1.css">
324
<script type="text/javascript" src="includes/javascript/spiffyCal/spiffyCal_v2_1.js"></script>
325
<script type="text/javascript">
326
  var dateAvailable = new ctlSpiffyCalendarBox("dateAvailable", "new_product", "products_date_available","btnDate1","<?php echo $pInfo->products_date_available; ?>",scBTNMODE_CUSTOMBLUE);
327
</script>
328 323
</head>
329 324
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF">
330
<div id="spiffycalendar" class="text"></div>
331 325
<!-- header //-->
332 326
<?php require(DIR_WS_INCLUDES . 'header.php'); ?>
333 327
<!-- header_eof //-->
......
348 342
      <td class="boxCenter" width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0">
349 343
      <tr>
350 344
        <td>
351
			<div class="pageHeading" style="background-image:url(html/assets/images/legacy/gm_icons/hilfsprogr2.png)"><?php echo HEADING_TITLE; ?></div>
345
			<div class="pageHeading"><?php echo HEADING_TITLE; ?></div>
352 346
		</td>
353 347
      </tr>
354 348
      <tr>
......
1046 1040
      if ( (is_object($cInfo)) && ($cc_list['coupon_id'] == $cInfo->coupon_id) ) {
1047 1041
        echo '          <tr class="dataTableRowSelected active" data-gx-extension="link" data-link-url="' . xtc_href_link('coupon_admin.php', xtc_get_all_get_params(array('cid', 'action')) . 'cid=' . $cInfo->coupon_id . '&action=edit') . '">' . "\n";
1048 1042
      } else {
1049
        echo '          <tr class="dataTableRow" data-gx-extension="link" data-link-url="' . xtc_href_link('coupon_admin.php', xtc_get_all_get_params(array('cid', 'action')) . 'cid=' . $cc_list['coupon_id']) . '">' . "\n";
1043
        echo '          <tr class="dataTableRow" data-gx-extension="link" data-link-url="' . xtc_href_link('coupon_admin.php', xtc_get_all_get_params(array('cid', 'action')) . 'cid=' . $cc_list['coupon_id'] . '&action=edit') . '">' . "\n";
1050 1044
      }
1051 1045
      $coupon_description_query = xtc_db_query("select coupon_name from " . TABLE_COUPONS_DESCRIPTION . " where coupon_id = '" . $cc_list['coupon_id'] . "' and language_id = '" . $_SESSION['languages_id'] . "'");
1052 1046
      $coupon_desc = xtc_db_fetch_array($coupon_description_query);
    (1-1/1)