This site can use a federated identity from any of the following identity providers:
+Provider ID | +Logged in at: | +Session expires: | +Federated | ++ |
---|---|---|---|---|
#encodeHTML( $p.provider ) | ++ #if( $p.logged_in ) + #formatDate( $p.login_time ) + #else + + #end + | ++ #if( $p.logged_in && $p.expire_time ) + #formatDate( $p.expire_time ) + #else + + #end + | ++ #if( $p.federated ) + Yes + #else + No + #end + | ++ #if( $p.federated ) +#button( "IMAGE" "terminate" ) + #else +#button( "IMAGE" "federate" ) + #end + #if( $p.logged_in ) + +#button( "IMAGE" "logout" ) + #end + | +
You are currently logged in.
-This Service Provider can interact with the following Identity Providers:
-ProviderID | -Authenticated? | -Federated? | -
$p.provider | -
- #if( $p.logged_in )
- Logged in at: #formatDate( $p.login_time )
- #if( $p.expire_time )
- Session will expire at: #formatDate( $p.expire_time ) - #end - - Click here to log out. - #else - Not logged in. - #end - |
-
- #if( $p.federated )
- Federated. - Click to terminate - federation. - #else - Not federated. - Click to federate. - #end - |
-
User not logged in.
-#end diff --git a/venice-data/scripts/profile.js b/venice-data/scripts/profile.js index cfc8724..5adf65b 100644 --- a/venice-data/scripts/profile.js +++ b/venice-data/scripts/profile.js @@ -54,7 +54,8 @@ menu = mprov.getInlineMenu(user,VeniceNamespaces.USER_PROFILE_NAMESPACE,"user.pr if (menu.getItemCount()>1) { // set up the menu properly menu.setVariable("target",stringutils.encodeURL(target)); - menu.setSelectedIndex(0); + ndx = menu.getItemContainingLinkText("profile.js.vs"); + menu.setSelectedIndex(ndx); } // end if else // don't display the menu diff --git a/venice-web/images/buttons/classic/.gitignore b/venice-web/images/buttons/classic/.gitignore new file mode 100644 index 0000000..5c165d9 --- /dev/null +++ b/venice-web/images/buttons/classic/.gitignore @@ -0,0 +1 @@ +.xvpics diff --git a/venice-web/images/buttons/classic/federate.jpg b/venice-web/images/buttons/classic/federate.jpg new file mode 100644 index 0000000..fe068f7 Binary files /dev/null and b/venice-web/images/buttons/classic/federate.jpg differ diff --git a/venice-web/images/buttons/classic/logout.jpg b/venice-web/images/buttons/classic/logout.jpg new file mode 100644 index 0000000..05bd295 Binary files /dev/null and b/venice-web/images/buttons/classic/logout.jpg differ diff --git a/venice-web/images/buttons/classic/terminate.jpg b/venice-web/images/buttons/classic/terminate.jpg new file mode 100644 index 0000000..e4b7a4e Binary files /dev/null and b/venice-web/images/buttons/classic/terminate.jpg differ diff --git a/venice-web/images/buttons/gelcap/.gitignore b/venice-web/images/buttons/gelcap/.gitignore new file mode 100644 index 0000000..5c165d9 --- /dev/null +++ b/venice-web/images/buttons/gelcap/.gitignore @@ -0,0 +1 @@ +.xvpics diff --git a/venice-web/images/buttons/gelcap/federate.jpg b/venice-web/images/buttons/gelcap/federate.jpg new file mode 100644 index 0000000..516bc68 Binary files /dev/null and b/venice-web/images/buttons/gelcap/federate.jpg differ diff --git a/venice-web/images/buttons/gelcap/logout.jpg b/venice-web/images/buttons/gelcap/logout.jpg new file mode 100644 index 0000000..6d23838 Binary files /dev/null and b/venice-web/images/buttons/gelcap/logout.jpg differ diff --git a/venice-web/images/buttons/gelcap/terminate.jpg b/venice-web/images/buttons/gelcap/terminate.jpg new file mode 100644 index 0000000..b068a47 Binary files /dev/null and b/venice-web/images/buttons/gelcap/terminate.jpg differ