Anleitung Abbrechen - Aktualisieren - Speichern nochmal oben in der Artikelbearbeitung

Thema wurde von HolgerNils (xycons.de), 19. April 2013 erstellt.

  1. HolgerNils (xycons.de)

    HolgerNils (xycons.de) G-WARD 2013/2014

    Registriert seit:
    29. Oktober 2011
    Beiträge:
    1.982
    Danke erhalten:
    467
    Danke vergeben:
    369
    Na, da gibts doch was von Ratiopharm^^
    Den Anhang 3995 betrachten

    Ging auch mir ordentlich auf die N..erven!

    Man suche in /admin/includes/modules/new_product.php folgenden Bereich (OriginalDatei 2.0.12.2: Zeile 519)
    Code:
    ...
    <table width="100%"  border="0">
      <tr>
        <td>
            <?php
            if (($_GET['pID'])) {
                 echo "<a class='button' href='" .  xtc_href_link('properties_combis.php', 'products_id=' . $_GET['pID'] .  '&cPath=' . $_GET['cPath'] . '&action=edit_category') . "'>" .  BUTTON_PROPERTIES . "</a>";
                echo "<br />";
            }
    ...
            ?>
    
    und packe folgendes dahin:
    Code:
    ...
    <table width="100%"  border="0">
      <tr>
    <!-- Mo'ButtonsPlz (Start) -->
            <td class="main" align="right">
            <?php
            if (($_GET['pID'])) {
                echo '';
    //            echo "<a class='button' href='" . xtc_href_link('properties_combis.php', 'products_id=' . $_GET['pID'] . '&cPath=' . $_GET['cPath'] . '&action=edit_category') . "'>" . BUTTON_PROPERTIES . "</a>";
                echo "<a class='button' style='float:left' href='" . xtc_href_link('properties_combis.php', 'products_id=' . $_GET['pID'] . '&cPath=' . $_GET['cPath'] . '&action=edit_category') . "'>" . BUTTON_PROPERTIES . "</a>";            
                echo '<input type="submit" class="button float_right" name="save" value="'.BUTTON_SAVE.'" onClick="return confirm('.SAVE_ENTRY.')">';
                echo '<input type="submit" class="button float_right" name="gm_update" value="'.BUTTON_UPDATE.'" onClick="return confirm('.SAVE_ENTRY.')">';
                echo '<a class="button float_right" href="' .xtc_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $_GET['pID']) . '">' . BUTTON_CANCEL . '</a>';
                echo '</td>';
    // Mo'ButtonsPlz (Ende)            
            }
            ?>
    ...
    
    ...und die Scrollerei hat ein sicheres Ende!
     

    Anhänge:

  2. Dennis (MotivMonster.de)

    Dennis (MotivMonster.de) G-WARD 2013/14/15/16

    Registriert seit:
    22. September 2011
    Beiträge:
    31.074
    Danke erhalten:
    6.132
    Danke vergeben:
    1.085
    Beruf:
    Mann für alles :)
    Ort:
    Weilburg
    HEy Holger, hab es mal hier auch hin kopiert, damit man es später wieder findet.
     
  3. HolgerNils (xycons.de)

    HolgerNils (xycons.de) G-WARD 2013/2014

    Registriert seit:
    29. Oktober 2011
    Beiträge:
    1.982
    Danke erhalten:
    467
    Danke vergeben:
    369
    Yo, habs auch vor einigen Minuten hier eingetragen^^