Project

General

Profile

« Previous | Next » 

Revision 2038

Minor changes to allow the registry to work in the knb skin, mainly in
how to treat the 'site' field. Now it is a free-text organization
field in the KNB skin. Need to test, install this on ecoinfo and link it
into the KNB web pages.

View differences:

register-dataset.cgi
1269 1269
            $creat .= "</creator>\n";
1270 1270
        }
1271 1271
    } else {
1272
	$creat .= "<creator>\n";
1273
	$creat .= "<organizationName>".normalize($FORM::site)."</organizationName>\n";
1274
	$creat .= "</creator>\n";
1272
	    $creat .= "<creator>\n";
1273
	    $creat .= "<organizationName>".normalize($FORM::site)."</organizationName>\n";
1274
	    $creat .= "</creator>\n";
1275 1275
    }
1276 1276

  
1277
    $creat .= "<creator>\n";
1278
    $creat .= "<organizationName>".normalize($organization)."</organizationName>\n";
1279
    $creat .= "</creator>\n";
1277
    if ($FORM::cfg ne 'knb') {
1278
        $creat .= "<creator>\n";
1279
        $creat .= "<organizationName>".normalize($organization)."</organizationName>\n";
1280
        $creat .= "</creator>\n";
1281
    }
1280 1282

  
1281 1283
    $doc .= $creat;
1282 1284
    $doc .= $metaP;

Also available in: Unified diff