froechrissi

Untitled

Jan 3rd, 2013
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!doctype html>
  2.     <html lang="en">
  3.         <head>
  4.             <meta charset="utf-8" />
  5.             <title>hocooCMS - Backend</title>
  6.             <link rel="stylesheet" href="img/style_backend.css" />
  7.             <!--[if IE]>
  8.             <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
  9.             <![endif]-->
  10.             <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
  11.             <script type="text/javascript">
  12.                 $(document).ready(function() {
  13.                    
  14.  
  15.                    
  16.                    
  17.                     $("#groups_ul > li").click(function() {
  18.                     ;
  19.                         $("#groups_ul > input").each(function (i) {
  20.                             $(this).replaceWith("<li>" + $(this).attr("value") + "</li>");
  21.                             }
  22.                         );
  23.                         $(this).replaceWith("<input type='text' name='group___" + $(this).html() + "' value='" + $(this).html() + "' />");
  24.                     }
  25.                     );
  26.                
  27.                                
  28.                    
  29.                    
  30.                 });
  31.             </script>
  32.         <body>
  33.             <div id="container">
  34.                 <div id="groups">
  35.                     <?php echo $content; ?>
  36.                    
  37.                 </div>
  38.                 <div id="classes">
  39.                     <?php echo $sidebar; ?>
  40.                 </div>
  41.             </div>
  42.  
  43.         </body>
  44.     </html>
Advertisement
Add Comment
Please, Sign In to add comment