svn commit: r429 - trunk/mapbender/http/php/mod_wfs_conf.php
astrid_emde at osgeo.org
astrid_emde at osgeo.org
Tue Jun 13 06:36:17 EDT 2006
Author: astrid_emde
Date: 2006-06-13 10:36:17+0000
New Revision: 429
Modified:
trunk/mapbender/http/php/mod_wfs_conf.php
Log:
style and textes
Modified: trunk/mapbender/http/php/mod_wfs_conf.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/php/mod_wfs_conf.php?view=diff&rev=429&p1=trunk/mapbender/http/php/mod_wfs_conf.php&p2=trunk/mapbender/http/php/mod_wfs_conf.php&r1=428&r2=429
==============================================================================
--- trunk/mapbender/http/php/mod_wfs_conf.php (original)
+++ trunk/mapbender/http/php/mod_wfs_conf.php 2006-06-13 10:36:17+0000
@@ -19,12 +19,28 @@
require("../classes/class_wfs_conf.php");
require("../../conf/mapbender.conf");
+$con = db_connect(DBSERVER,OWNER,PW);
+db_select_db(DB,$con);
?>
<html>
<head>
<?php
-echo '<meta http-equiv="Content-Type" content="text/html; charset='.CHARSET.'">';
+echo '<meta http-equiv="Content-Type" content="text/html; charset='.CHARSET.'">';
+
+#include '../include/dyn_css.php';
?>
+<style type="text/css">
+ <!--
+ body{
+ background-color: #ffffff;
+ font-family: Arial, Helvetica, sans-serif;
+ font-size : 12px;
+ color: #808080
+ }
+
+ -->
+</style>
+
<title>wfs_conf</title>
<script language="JavaScript" type="text/javascript">
function selectWFS(){
@@ -47,9 +63,13 @@
</head>
<body>
-wfs_conf Configuration<br>
+<br>
+<b>WFS Configuration</b>
+<br>
<form method='POST' onsubmit='return validate()'>
-<a href="mod_wfs_edit.php">edit</a><br>
+<br>
+<a href="mod_wfs_edit.php">edit WFS Configuration</a><br><br>
+Select WFS:
<?php
$aWFS = new wfs_conf();
$aWFS->getallwfs();
@@ -57,8 +77,7 @@
/* save wfs_conf properties */
if(isset($_REQUEST["save"])){
- global $DBSERVER,$DB,$OWNER,$PW;
- $con = db_connect($DBSERVER,$OWNER,$PW);
+
db_select_db($DB,$con);
$sql = "INSERT INTO wfs_conf (wfs_conf_abstract,fkey_wfs_id,fkey_featuretype_id,g_label,g_label_id,g_button,g_button_id,g_style,g_buffer,g_res_style,g_use_wzgraphics) VALUES(";
More information about the Mapbender_commits
mailing list