diff options
| author | Simon | 2011-04-04 16:33:59 +0200 |
|---|---|---|
| committer | Simon | 2011-04-04 16:33:59 +0200 |
| commit | e5e65c03c4d1879c4cf4ef5e0f77a80e7eb73ece (patch) | |
| tree | b5e094bd07a9b783e6b8e4418997be0458af74e0 /application/modules/user/views/scripts/client | |
| parent | leerzeichen in kcl entfernt (diff) | |
| download | pbs2-e5e65c03c4d1879c4cf4ef5e0f77a80e7eb73ece.tar.gz pbs2-e5e65c03c4d1879c4cf4ef5e0f77a80e7eb73ece.tar.xz pbs2-e5e65c03c4d1879c4cf4ef5e0f77a80e7eb73ece.zip | |
highlight für suche eingebaut
Diffstat (limited to 'application/modules/user/views/scripts/client')
| -rw-r--r-- | application/modules/user/views/scripts/client/index.phtml | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/application/modules/user/views/scripts/client/index.phtml b/application/modules/user/views/scripts/client/index.phtml index 0442d95..ca78db1 100644 --- a/application/modules/user/views/scripts/client/index.phtml +++ b/application/modules/user/views/scripts/client/index.phtml @@ -5,7 +5,20 @@ <input type='submit' value='search'> <?php if(isset($this->search)){ - echo "<a href='/user/client/'><img src='/media/img/delete.png' alt='Delete Client'/></a>"; + ?> + <a href='/user/client/'><img src='/media/img/delete.png' alt='Delete Client'/></a> + <script type='text/javascript' src='/media/js/jquery.highlight-3.js'></script> + <script> + $(document).ready(function(){ + <?php foreach($this->searchterms as $term){?> + $('table').highlight('<?php echo $term;?>'); + <?php + } + ?> + }); + </script> + + <?php } ?> </form> |
