X-Git-Url: http://git.pjr.cc/?p=gwvp.git;a=blobdiff_plain;f=gwvplib%2Fgwvprepoadmin.php;h=9ead6d3bd2fd88218d0acffe0060d6ebe3337d46;hp=7a0b10c4ec8af8a334b874eb67d12b657b41058c;hb=74399e0d5226d43656c618451b4e6fc06702e5ab;hpb=0a0b03b67435c01c1059f4b084dd6b07aeae81e3 diff --git a/gwvplib/gwvprepoadmin.php b/gwvplib/gwvprepoadmin.php index 7a0b10c..9ead6d3 100644 --- a/gwvplib/gwvprepoadmin.php +++ b/gwvplib/gwvprepoadmin.php @@ -82,10 +82,27 @@ function gwvp_CreateRepoPageBody() echo "

Create a Repo

"; echo "
"; echo ""; - echo ""; - echo ""; - echo ""; + echo ""; + echo ""; + echo ""; + + echo ""; + echo "
Repository Name
Repository Description
Repository BundleCreate a bundle for pro-creating the git repository (export your git bundle with \"git bundle create /tmp/filename --branches\")
Repository Name
Repository Description
Repository BundleCreate a bundle for pro-creating the git repository (export your git bundle with \"git bundle create /tmp/filename --branches\")
Default Permisison Set"; + + echo ""; + echo ""; + echo ""; + echo ""; + echo "
Anyone Can Read, Only you can write
Anyone can see the repository exists, but only you can read or write to it
Repository only visible to you
"; + + + echo "
Permissions can be changed in repository management later
"; + + + + + echo "
"; echo "
"; } @@ -103,12 +120,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 Owner
"; foreach($rlist as $u_res) { + $rid = $u_res["id"]; $rname = $u_res["name"]; $rdesc = $u_res["description"]; - $rown = $u_res["owner"]; - echo ""; + $rown = gwvp_getUserName($u_res["owner"]); + echo ""; } echo "
Repo NameRepo DescriptionRepo OwnerControl
$rname$rdesc$rown
$rname$rdesc$rownModify
";