Show
Ignore:
Timestamp:
09/05/08 01:33:40 (4 months ago)
Author:
MattRead
Message:

fix compat issues

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • plugins/hpm/trunk/templates/hpm.php

    r566 r896  
    55        <span class="search pct100"><input id="search" type="search" placeholder="Type and wait to search for any entry component" autosave="habaricontent" results="100" value=""></span> 
    66         
    7         <span class="special_search pct100"> 
    8             <a href="#plugin">Plugins</a> 
    9             <a href="#theme">Themes</a> 
    10             <a href="#admin">Administration</a> 
    11             <a href="#spam">Spam Filter</a> 
    12             <a href="#service">3rdparty Services</a> 
    13             <a href="#two column">Two Column</a> 
    14             <a href="#blue">Blue</a> 
    15             <a href="#pink">Pink</a> 
    16         </span> 
     7        <ul class="dropbutton special_search"> 
     8            <li><a href="#plugin">Plugins</a></li> 
     9            <li><a href="#theme">Themes</a></li> 
     10            <li><a href="#admin">Administration</a></li> 
     11            <li><a href="#spam">Spam Filter</a></li> 
     12            <li><a href="#service">3rdparty Services</a></li> 
     13            <li><a href="#two column">Two Column</a></li> 
     14            <li><a href="#blue">Blue</a></li> 
     15            <li><a href="#pink">Pink</a></li> 
     16        </ul> 
    1717    </div> 
    1818     
     
    2626</div> 
    2727 
    28 <div id="comments"> 
    29 <div class="container items entries"> 
     28<div id="comments" class="container manage comments"> 
    3029    <?php $theme->display( 'hpm_packages' ); ?> 
    31 </div> 
    3230</div> 
    3331 
    3432<script type="text/javascript"> 
    35 liveSearch.search= function() { 
    36     spinner.start(); 
    37  
    38     $.post( 
    39         '<?php echo URL::get('auth_ajax', array('context' => 'hpm_packages')) ?>', 
    40         '&search=' + liveSearch.input.val(), 
    41         function(json) { 
    42             $('.entries').html(json.items); 
    43             spinner.stop(); 
    44             itemManage.initItems(); 
    45             findChildren() 
    46         }, 
    47         'json' 
    48         ); 
    49 }; 
     33itemManage.fetchURL = "<?php echo URL::get('auth_ajax', array('context' => 'hpm_packages')) ?>"; 
     34itemManage.fetchReplace = $('#comments'); 
    5035</script> 
    5136