From d7ac44cc318972895bfc088ee2e1a27336df6db2 Mon Sep 17 00:00:00 2001 From: paulr Date: Mon, 7 Nov 2011 22:06:02 +1100 Subject: [PATCH] trying a few table layouts and designs fixed the configuration dialog --- gwvplib/gwvpconfig.php | 3 ++- gwvplib/gwvprepoadmin.php | 11 ++++++----- gwvplib/gwvpuseradmin.php | 20 ++++++++++---------- gwvplib/gwvpweb.php | 2 +- 4 files changed, 19 insertions(+), 17 deletions(-) diff --git a/gwvplib/gwvpconfig.php b/gwvplib/gwvpconfig.php index e63c99f..3457e38 100644 --- a/gwvplib/gwvpconfig.php +++ b/gwvplib/gwvpconfig.php @@ -73,6 +73,7 @@ function gwvp_ConfigPageBody() echo "

Global Configuration

"; echo "
"; echo ""; + echo ""; foreach($CONFIG_VARS as $key=>$var) { $name = $key; $text = $var["text"]; @@ -97,7 +98,7 @@ function gwvp_ConfigPageBody() break; } error_log("go config $name as $ltype, $curtypeval"); - echo ""; + echo ""; } echo "
Configuration VariableValue
$text
$text
"; diff --git a/gwvplib/gwvprepoadmin.php b/gwvplib/gwvprepoadmin.php index 7a2b476..66cb85b 100644 --- a/gwvplib/gwvprepoadmin.php +++ b/gwvplib/gwvprepoadmin.php @@ -144,13 +144,14 @@ function gwvp_RepoAdminPageBody() echo "

Your Repo's

"; $ownreps = gwvp_getOwnedRepos($_SESSION["id"]); if($ownreps != false) { - echo ""; - echo ""; + echo "
Repo Name
"; + echo ""; foreach($ownreps as $repos) { $mjay = print_r($repos, true); error_log("snafu: $mjay"); $reponame = $repos["name"]; - echo ""; + $repodesc = $repos["description"]; + echo ""; } echo "
Repo NameRepo description
$reponame
$reponame$repodescManage
"; } else { @@ -164,13 +165,13 @@ function gwvp_RepoAdminPageBody() // i must also remember that the home page will also contain a list of repos and that this page is solely for maintance // and creation of repos - so i dont need to get over-worked about the info stored on this page outside of those activities $rlist = gwvp_GetRepoList(); - echo ""; + echo "
Repo NameRepo DescriptionRepo OwnerControl
"; foreach($rlist as $u_res) { $rid = $u_res["id"]; $rname = $u_res["name"]; $rdesc = $u_res["description"]; $rown = gwvp_getUserName($u_res["owner"]); - echo ""; + echo ""; } echo "
Repo NameRepo DescriptionRepo Owner
$rname$rdesc$rownModify
$rname$rdesc$rownDetails
"; diff --git a/gwvplib/gwvpuseradmin.php b/gwvplib/gwvpuseradmin.php index 7db0c8d..abe586e 100644 --- a/gwvplib/gwvpuseradmin.php +++ b/gwvplib/gwvpuseradmin.php @@ -434,12 +434,12 @@ function gwvp_UserAdminPageBody() echo ""; echo ""; - echo ""; - echo ""; - echo ""; - echo ""; - echo ""; - echo ""; + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; echo ""; echo ""; echo "
EMail$staremailFull Name
Password$starpassPassword Confirm$starpass
Username$starusernameDescription
EMail$staremailFull Name
Password$starpassPassword Confirm$starpass
Username$starusernameDescription
Set account locked and send validation email for initial passsword (not implemented)
"; @@ -482,10 +482,10 @@ function gwvp_UserAdminPageBody() // Create group echo ""; echo ""; - echo ""; - echo ""; - echo ""; - echo ""; + echo ""; + echo ""; + echo ""; } - echo "
Group Name$stargroupname
Group Description
Admin Group?
Owner
Group Name$stargroupname
Group Description
Admin Group?
Owner
"; + echo "
"; gwvp_MenuBuilder(); echo ""; gwvp_LoginBuilder(); -- 1.7.0.4