includes/nav cleanup
[disclosr.git] / getAgency.php
blob:a/getAgency.php -> blob:b/getAgency.php
--- a/getAgency.php
+++ b/getAgency.php
@@ -1,6 +1,6 @@
 <?php
 
-include_once('common.inc.php');
+include_once('include/common.inc.php');
 include_header();
 
 function displayValue($key, $value, $mode) {
@@ -82,14 +82,14 @@
             window.onload = function() {
                 $(document).ready(function() {
                     // put all your jQuery goodness in here.
-// http://charlie.griefer.com/blog/2009/09/17/jquery-dynamically-adding-form-elements/
+                    // http://charlie.griefer.com/blog/2009/09/17/jquery-dynamically-adding-form-elements/
                     $('#addfield').click(function() {
-                        var field_name=window.prompt("What is your name?","");
+                        var field_name=window.prompt("fieldname?","");
                         if (field_name !="") {
                             $('#submitbutton').before($('<span></span>')
                             .append("<label>"+field_name+"</label>")
                             .append("<input  class='input-text' type='text' id='"+field_name+"' name='"+field_name+"'/>")
-                            );
+                        );
                         }
                     });
                 });
@@ -124,3 +124,4 @@
         }
     }
     include_footer();
+    ?>