<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>.htaccess</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -6,8 +6,8 @@ $admin_openid = 'http://my.openid.site.com/';
 
 $website_title = &quot;Our Family Website&quot;;
 
-# internal RDF use only.  Recommended to be your website address, followed by '/rdf-graph'.  If your website address changes, though, keep this the same forever.
-$rdf_graph_uri = 'http://www.myfamily.net/rdf-graph';
+# internal RDF use only.  Recommended to be your website address, followed by '/rdf-data'.  If your website address changes, though, it's best to keep this the same forever.
+$rdf_uri_prefix = 'http://www.myfamily.net/rdf-data';
 
 $arc_config = array(
   /* db */</diff>
      <filename>config-example.php</filename>
    </modified>
    <modified>
      <diff>@@ -41,7 +41,7 @@ if ($_POST) {
     if (!$r) die (print_r($rdf-&gt;getErrors(),true));
     
     function insert($rdf, $s, $s_type, $p, $o) {
-        global $prefixes, $rdf_graph_uri;
+        global $prefixes, $rdf_uri_prefix;
         # a lot of rigamarole to insert
         # full graph name is required
         # since its a bnode, it's prone to make a new one
@@ -54,7 +54,7 @@ if ($_POST) {
         }
         
         $q = $prefixes.
-        &quot;INSERT INTO &lt;$rdf_graph_uri&gt;
+        &quot;INSERT INTO &lt;$rdf_uri_prefix/graph&gt;
         { ?s $p $o . }
         WHERE {
         ?s a $s_type .
@@ -135,7 +135,7 @@ $shared_addr = $rdf-&gt;query($shared_addr_q, 'rows');
 ?&gt;
 &lt;div&gt;
     &lt;label for=&quot;name&quot;&gt;Full Name&lt;/label&gt;
-    &lt;input type=&quot;text&quot; name=&quot;name&quot; value=&quot;&lt;?php echo htmlspecialchars($r['name'])?&gt;&quot;/&gt;&lt;/label&gt;
+    &lt;input type=&quot;text&quot; name=&quot;name&quot; value=&quot;&lt;?php echo htmlspecialchars(@$r['name'])?&gt;&quot;/&gt;&lt;/label&gt;
 &lt;/div&gt;
 
 &lt;?php
@@ -148,40 +148,40 @@ $email = str_replace('mailto:','',$email);
 &lt;/div&gt;
 &lt;div&gt;
     &lt;label for=&quot;web&quot;&gt;Website&lt;/label&gt;
-    &lt;input type=&quot;text&quot; name=&quot;web&quot; value=&quot;&lt;?php echo htmlspecialchars($r['web'])?&gt;&quot;/&gt;
+    &lt;input type=&quot;text&quot; name=&quot;web&quot; value=&quot;&lt;?php echo htmlspecialchars(@$r['web'])?&gt;&quot;/&gt;
 &lt;/div&gt;
 &lt;div&gt;
     &lt;label for=&quot;bday&quot;&gt;Birthdate&lt;/label&gt;
-    &lt;input type=&quot;text&quot; name=&quot;bday&quot; value=&quot;&lt;?php echo htmlspecialchars($r['bday'])?&gt;&quot; style=&quot;width:7em&quot;/&gt;
+    &lt;input type=&quot;text&quot; name=&quot;bday&quot; value=&quot;&lt;?php echo htmlspecialchars(@$r['bday'])?&gt;&quot; style=&quot;width:7em&quot;/&gt;
 &lt;/div&gt;
 &lt;div&gt;
     &lt;label&gt;Gender&lt;/label&gt;
     &lt;label style=&quot;width:auto;float:none&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;gender&quot; value=&quot;female&quot;
-        &lt;?php if ($r['gender']=='female') echo &quot;checked='checked'&quot;;?&gt;&gt; Female&lt;/label&gt;
+        &lt;?php if (@$r['gender']=='female') echo &quot;checked='checked'&quot;;?&gt;&gt; Female&lt;/label&gt;
     &lt;label style=&quot;width:auto;float:none&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;gender&quot; value=&quot;male&quot;
-        &lt;?php if ($r['gender']=='male') echo &quot;checked='checked'&quot;;?&gt;&gt; Male&lt;/label&gt;
+        &lt;?php if (@$r['gender']=='male') echo &quot;checked='checked'&quot;;?&gt;&gt; Male&lt;/label&gt;
 &lt;/div&gt;
 &lt;fieldset&gt;
     &lt;legend&gt;Home Address&lt;/legend&gt;
     &lt;div&gt;
         &lt;label for=&quot;street-address&quot;&gt;Street Address&lt;/label&gt;
-        &lt;input type=&quot;text&quot; name=&quot;street-address&quot; value=&quot;&lt;?php echo htmlspecialchars($r['street_address'])?&gt;&quot;/&gt;
+        &lt;input type=&quot;text&quot; name=&quot;street-address&quot; value=&quot;&lt;?php echo htmlspecialchars(@$r['street_address'])?&gt;&quot;/&gt;
     &lt;/div&gt;
     &lt;div&gt;
         &lt;label for=&quot;extended-address&quot;&gt;Line 2&lt;/label&gt;
-        &lt;input type=&quot;text&quot; name=&quot;extended-address&quot; value=&quot;&lt;?php echo htmlspecialchars($r['extended_address'])?&gt;&quot;/&gt;
+        &lt;input type=&quot;text&quot; name=&quot;extended-address&quot; value=&quot;&lt;?php echo htmlspecialchars(@$r['extended_address'])?&gt;&quot;/&gt;
     &lt;/div&gt;
     &lt;div&gt;
         &lt;label for=&quot;locality&quot;&gt;City&lt;/label&gt;
-        &lt;input type=&quot;text&quot; name=&quot;locality&quot; value=&quot;&lt;?php echo htmlspecialchars($r['locality'])?&gt;&quot;/&gt;
+        &lt;input type=&quot;text&quot; name=&quot;locality&quot; value=&quot;&lt;?php echo htmlspecialchars(@$r['locality'])?&gt;&quot;/&gt;
     &lt;/div&gt;
     &lt;div&gt;
         &lt;label for=&quot;region&quot;&gt;State&lt;/label&gt;
-        &lt;input type=&quot;text&quot; name=&quot;region&quot; value=&quot;&lt;?php echo htmlspecialchars($r['region'])?&gt;&quot; style=&quot;width:2em&quot; maxlength=&quot;2&quot;/&gt;
+        &lt;input type=&quot;text&quot; name=&quot;region&quot; value=&quot;&lt;?php echo htmlspecialchars(@$r['region'])?&gt;&quot; style=&quot;width:2em&quot; maxlength=&quot;2&quot;/&gt;
     &lt;/div&gt;
     &lt;div&gt;
         &lt;label for=&quot;postal-code&quot;&gt;Zip&lt;/label&gt;
-        &lt;input type=&quot;text&quot; name=&quot;postal-code&quot; value=&quot;&lt;?php echo htmlspecialchars($r['postal_code'])?&gt;&quot; style=&quot;width:7em;&quot; maxlength=&quot;10&quot;/&gt;
+        &lt;input type=&quot;text&quot; name=&quot;postal-code&quot; value=&quot;&lt;?php echo htmlspecialchars(@$r['postal_code'])?&gt;&quot; style=&quot;width:7em;&quot; maxlength=&quot;10&quot;/&gt;
     &lt;/div&gt;
     &lt;?php if (sizeof($shared_addr) &gt; 0) { ?&gt;
         &lt;div&gt;</diff>
      <filename>edit.php</filename>
    </modified>
    <modified>
      <diff>@@ -1,11 +1,14 @@
 &lt;?php
+
 if (!file_exists(dirname(__FILE__).'/config.php')) {
     die(&quot;You need to create a config.php.  Please copy config-example.php and modify to suit your environment.&quot;);
 }
 require_once(dirname(__FILE__).'/config.php');
+
 require_once(dirname(__FILE__).'/arc/ARC2.php');
 require_once(dirname(__FILE__).'/openid.php');
 
+
 if (isset($_GET['logout'])) {
     $_SESSION = array();
 }
@@ -38,7 +41,7 @@ if ($_SESSION['openid'] and !$_SESSION['id']) {
     
     # set up a new account
     if ($_SESSION['openid'] == $admin_openid and !isset($me['p'])) {
-        $r = $rdf-&gt;query($prefixes.&quot;INSERT INTO &lt;$rdf_graph_uri&gt; { [ a foaf:Person; foaf:openid &lt;$admin_openid&gt;; foaf:name 'New Admin User - Please change to your name' ] . }&quot;);
+        $r = $rdf-&gt;query($prefixes.&quot;INSERT INTO &lt;$rdf_uri_prefix/graph&gt; { [ a foaf:Person; foaf:openid &lt;$admin_openid&gt;; foaf:name 'New Admin User - Please change to your name' ] . }&quot;);
         if (!$r) die (print_r($rdf-&gt;getErrors(),true));
         # requery
         $me = $rdf-&gt;query($q, 'row');</diff>
      <filename>header.php</filename>
    </modified>
    <modified>
      <diff>@@ -6,7 +6,10 @@ echo &quot;&lt;p&gt;Welcome, &quot;, $_SESSION['name'], &quot;&lt;/p&gt;&quot;;
 echo &quot;&lt;p&gt;&quot;; print_r($_SESSION); echo &quot;&lt;/p&gt;&quot;;
 */
 
-
+?&gt;
+&lt;h2&gt;Family Members:&lt;/h2&gt;
+&lt;p&gt;&lt;a href=&quot;edit.php?add&quot;&gt;Add someone&lt;/a&gt;&lt;/p&gt;
+&lt;?php
 $q = $prefixes.'SELECT ?p ?name ?email ?email2
 WHERE {
     ?p a foaf:Person .</diff>
      <filename>index.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>8fafbead858d1c19e76fe2b9e46da54e2a675356</id>
    </parent>
  </parents>
  <author>
    <name>Dave Brondsema</name>
    <email>dave@brondsema.net</email>
  </author>
  <url>http://github.com/brondsem/familysite/commit/f397107103d986d8d4d34d522157b2d64c59ac1e</url>
  <id>f397107103d986d8d4d34d522157b2d64c59ac1e</id>
  <committed-date>2008-12-21T13:46:21-08:00</committed-date>
  <authored-date>2008-12-21T13:46:21-08:00</authored-date>
  <message>get ready for URIs for everything; squash some warnings; link to new</message>
  <tree>b2dc01272f53f70b50eb69963cc42c28b3087085</tree>
  <committer>
    <name>Dave Brondsema</name>
    <email>dave@brondsema.net</email>
  </committer>
</commit>
