Skip to main content

add_filter('admin_footer-edit.php', 'expose_form'); function expose_form(){

?>

Andruck wählen

AndruckenSeiteTitelseite andrucken
  • Graustufenbilder

<?php  

    

add_filter('admin_footer-edit.php', 'expose_form');
function expose_form(){
    
  ?> 
    <div id="expo" style="display:none;" >
        <h3>Andruck wählen</h3>
        <div class="form">
            <table class="expformtable">
        <form action="" method="post" class="expgen">
             <input type="hidden" class="id" name="id" value="">
            <tr>
                <th>Andrucken</th>
                <th>Seite</th>
            </tr>
              <tr>
                <td><input type="checkbox" name="titlepage" value="titlepage" checked="true"></td>
                <td><label for="titlepage">Titelseite andrucken</label>
                    <ul>
                        <li><input type="checkbox" name="grayscale" value="grayscale"> Graustufenbilder</li>
                    </ul>
                
                </td>
            </tr> 
            <tr>
                <td><input type="checkbox" name="detailpage" value="detailpage" checked="true"></td>
                <td><label for="titlepage">Detialsseite andrucken</label>
                    <ul>
                        <li><input type="radio" name="adaptiveheight" value="adaptive" checked="true"> Adaptive Zeilenhöhe</li>
                        <li><input type="radio" name="adaptiveheight" value="fixed"> Fixe Zeilenhöhe</li>
                    </ul>
                
                
                </td>
            </tr>
            <tr>
                <td><input type="checkbox" name="mappage" value="mappage" checked="true"></td>
                <td><label for="titlepage">Karte andrucken</label></td>
            </tr>
            <tr>
                <td><input type="checkbox" name="textpage" value="textpage" checked="true"></td>
                <td><label for="titlepage">Textseiten andrucken</label></td>
            </tr>
            <tr>
                <td><input type="checkbox" name="picpage" value="picpage" checked="true"></td>
                <td><label for="titlepage">Bildseiten andrucken</label></td>
            </tr>
            <tr>
                <td><input type="checkbox" name="agbpage" value="agbpage" checked="true"></td>
                <td><label for="titlepage">AGB Seite andrucken</label></td>
            </tr>
            <tr>
                <td><input type="checkbox" name="docpage" value="docpage" checked="true"></td>
                <td><label for="titlepage">Mieterliste andrucken</label></td>
            </tr>
             <tr>
                <td><input type="text" name="imagequality" value="30"></td>
                <td><label for="imagequality">Bildqualität %</label><p>100 = Originalbilder 0 = kleinste Dateigröße</p></td>
            </tr>
             <tr>
                 <td colspan="2">  <input type="submit" class="button-primary" value="genereieren"></td>
            </tr>         
        </form>
            </table>
       </div> 
        <div class="ajaxloading">
            <div class="spinner"></div>
        </div>     
   </div>
       
  <?php     
}
It`s just a simple form added via admin_footer filter the-edit.php sufix ensures that its only added at the post pages.

It`s just a simple form added via admin_footer filter the -edit.php sufix ensures that its only added at the post pages.

add_filter('admin_footer-edit.php', 'expose_form'); function expose_form(){

?>

Andruck wählen

AndruckenSeiteTitelseite andrucken
  • Graustufenbilder

            </td>
        </tr> 
        <tr>
            <td><input type="checkbox" name="detailpage" value="detailpage" checked="true"></td>
            <td><label for="titlepage">Detialsseite andrucken</label>
                <ul>
                    <li><input type="radio" name="adaptiveheight" value="adaptive" checked="true"> Adaptive Zeilenhöhe</li>
                    <li><input type="radio" name="adaptiveheight" value="fixed"> Fixe Zeilenhöhe</li>
                </ul>
            
            
            </td>
        </tr>
        <tr>
            <td><input type="checkbox" name="mappage" value="mappage" checked="true"></td>
            <td><label for="titlepage">Karte andrucken</label></td>
        </tr>
        <tr>
            <td><input type="checkbox" name="textpage" value="textpage" checked="true"></td>
            <td><label for="titlepage">Textseiten andrucken</label></td>
        </tr>
        <tr>
            <td><input type="checkbox" name="picpage" value="picpage" checked="true"></td>
            <td><label for="titlepage">Bildseiten andrucken</label></td>
        </tr>
        <tr>
            <td><input type="checkbox" name="agbpage" value="agbpage" checked="true"></td>
            <td><label for="titlepage">AGB Seite andrucken</label></td>
        </tr>
        <tr>
            <td><input type="checkbox" name="docpage" value="docpage" checked="true"></td>
            <td><label for="titlepage">Mieterliste andrucken</label></td>
        </tr>
         <tr>
            <td><input type="text" name="imagequality" value="30"></td>
            <td><label for="imagequality">Bildqualität %</label><p>100 = Originalbilder 0 = kleinste Dateigröße</p></td>
        </tr>
         <tr>
             <td colspan="2">  <input type="submit" class="button-primary" value="genereieren"></td>
        </tr>         
    </form>
        </table>
   </div> 
    <div class="ajaxloading">
        <div class="spinner"></div>
    </div>     
It`s just a simple form added via admin_footer filter the-edit.php sufix ensures that its only added at the post pages.

<?php  

    

add_filter('admin_footer-edit.php', 'expose_form');
function expose_form(){
    
  ?> 
    <div id="expo" style="display:none;" >
        <h3>Andruck wählen</h3>
        <div class="form">
            <table class="expformtable">
        <form action="" method="post" class="expgen">
             <input type="hidden" class="id" name="id" value="">
            <tr>
                <th>Andrucken</th>
                <th>Seite</th>
            </tr>
              <tr>
                <td><input type="checkbox" name="titlepage" value="titlepage" checked="true"></td>
                <td><label for="titlepage">Titelseite andrucken</label>
                    <ul>
                        <li><input type="checkbox" name="grayscale" value="grayscale"> Graustufenbilder</li>
                    </ul>
                
                </td>
            </tr> 
            <tr>
                <td><input type="checkbox" name="detailpage" value="detailpage" checked="true"></td>
                <td><label for="titlepage">Detialsseite andrucken</label>
                    <ul>
                        <li><input type="radio" name="adaptiveheight" value="adaptive" checked="true"> Adaptive Zeilenhöhe</li>
                        <li><input type="radio" name="adaptiveheight" value="fixed"> Fixe Zeilenhöhe</li>
                    </ul>
                
                
                </td>
            </tr>
            <tr>
                <td><input type="checkbox" name="mappage" value="mappage" checked="true"></td>
                <td><label for="titlepage">Karte andrucken</label></td>
            </tr>
            <tr>
                <td><input type="checkbox" name="textpage" value="textpage" checked="true"></td>
                <td><label for="titlepage">Textseiten andrucken</label></td>
            </tr>
            <tr>
                <td><input type="checkbox" name="picpage" value="picpage" checked="true"></td>
                <td><label for="titlepage">Bildseiten andrucken</label></td>
            </tr>
            <tr>
                <td><input type="checkbox" name="agbpage" value="agbpage" checked="true"></td>
                <td><label for="titlepage">AGB Seite andrucken</label></td>
            </tr>
            <tr>
                <td><input type="checkbox" name="docpage" value="docpage" checked="true"></td>
                <td><label for="titlepage">Mieterliste andrucken</label></td>
            </tr>
             <tr>
                <td><input type="text" name="imagequality" value="30"></td>
                <td><label for="imagequality">Bildqualität %</label><p>100 = Originalbilder 0 = kleinste Dateigröße</p></td>
            </tr>
             <tr>
                 <td colspan="2">  <input type="submit" class="button-primary" value="genereieren"></td>
            </tr>         
        </form>
            </table>
       </div> 
        <div class="ajaxloading">
            <div class="spinner"></div>
        </div>     
   </div>
       
  <?php     
}

It`s just a simple form added via admin_footer filter the -edit.php sufix ensures that its only added at the post pages.

added 3253 characters in body
Source Link

Ok so here is the code how i added a form:

add_filter('admin_footer-edit.php', 'expose_form'); function expose_form(){

?>

Andruck wählen

AndruckenSeiteTitelseite andrucken
  • Graustufenbilder

            </td>
        </tr> 
        <tr>
            <td><input type="checkbox" name="detailpage" value="detailpage" checked="true"></td>
            <td><label for="titlepage">Detialsseite andrucken</label>
                <ul>
                    <li><input type="radio" name="adaptiveheight" value="adaptive" checked="true"> Adaptive Zeilenhöhe</li>
                    <li><input type="radio" name="adaptiveheight" value="fixed"> Fixe Zeilenhöhe</li>
                </ul>
            
            
            </td>
        </tr>
        <tr>
            <td><input type="checkbox" name="mappage" value="mappage" checked="true"></td>
            <td><label for="titlepage">Karte andrucken</label></td>
        </tr>
        <tr>
            <td><input type="checkbox" name="textpage" value="textpage" checked="true"></td>
            <td><label for="titlepage">Textseiten andrucken</label></td>
        </tr>
        <tr>
            <td><input type="checkbox" name="picpage" value="picpage" checked="true"></td>
            <td><label for="titlepage">Bildseiten andrucken</label></td>
        </tr>
        <tr>
            <td><input type="checkbox" name="agbpage" value="agbpage" checked="true"></td>
            <td><label for="titlepage">AGB Seite andrucken</label></td>
        </tr>
        <tr>
            <td><input type="checkbox" name="docpage" value="docpage" checked="true"></td>
            <td><label for="titlepage">Mieterliste andrucken</label></td>
        </tr>
         <tr>
            <td><input type="text" name="imagequality" value="30"></td>
            <td><label for="imagequality">Bildqualität %</label><p>100 = Originalbilder 0 = kleinste Dateigröße</p></td>
        </tr>
         <tr>
             <td colspan="2">  <input type="submit" class="button-primary" value="genereieren"></td>
        </tr>         
    </form>
        </table>
   </div> 
    <div class="ajaxloading">
        <div class="spinner"></div>
    </div>     
It`s just a simple form added via admin_footer filter the-edit.php sufix ensures that its only added at the post pages.

Ok so here is the code how i added a form:

add_filter('admin_footer-edit.php', 'expose_form'); function expose_form(){

?>

Andruck wählen

AndruckenSeiteTitelseite andrucken
  • Graustufenbilder

            </td>
        </tr> 
        <tr>
            <td><input type="checkbox" name="detailpage" value="detailpage" checked="true"></td>
            <td><label for="titlepage">Detialsseite andrucken</label>
                <ul>
                    <li><input type="radio" name="adaptiveheight" value="adaptive" checked="true"> Adaptive Zeilenhöhe</li>
                    <li><input type="radio" name="adaptiveheight" value="fixed"> Fixe Zeilenhöhe</li>
                </ul>
            
            
            </td>
        </tr>
        <tr>
            <td><input type="checkbox" name="mappage" value="mappage" checked="true"></td>
            <td><label for="titlepage">Karte andrucken</label></td>
        </tr>
        <tr>
            <td><input type="checkbox" name="textpage" value="textpage" checked="true"></td>
            <td><label for="titlepage">Textseiten andrucken</label></td>
        </tr>
        <tr>
            <td><input type="checkbox" name="picpage" value="picpage" checked="true"></td>
            <td><label for="titlepage">Bildseiten andrucken</label></td>
        </tr>
        <tr>
            <td><input type="checkbox" name="agbpage" value="agbpage" checked="true"></td>
            <td><label for="titlepage">AGB Seite andrucken</label></td>
        </tr>
        <tr>
            <td><input type="checkbox" name="docpage" value="docpage" checked="true"></td>
            <td><label for="titlepage">Mieterliste andrucken</label></td>
        </tr>
         <tr>
            <td><input type="text" name="imagequality" value="30"></td>
            <td><label for="imagequality">Bildqualität %</label><p>100 = Originalbilder 0 = kleinste Dateigröße</p></td>
        </tr>
         <tr>
             <td colspan="2">  <input type="submit" class="button-primary" value="genereieren"></td>
        </tr>         
    </form>
        </table>
   </div> 
    <div class="ajaxloading">
        <div class="spinner"></div>
    </div>     
It`s just a simple form added via admin_footer filter the-edit.php sufix ensures that its only added at the post pages.

Source Link

A bit late now but maybe it helps anyway. I solved it by adding the thickbox div to the 'admin_footer' via filter. If you do so the code is outside the general form.