From 37c6e304f2e65f75767a38634a0c30dfe4c77105 Mon Sep 17 00:00:00 2001 From: Travis 'Nep' Smith Date: Thu, 31 Jul 2025 18:36:30 -0500 Subject: [PATCH] Update single-variables.md One fix of a variable in an example, and a few small wording improvements. --- docs/templates/globals/single-variables.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/templates/globals/single-variables.md b/docs/templates/globals/single-variables.md index 46ea02b54..e0b41de50 100755 --- a/docs/templates/globals/single-variables.md +++ b/docs/templates/globals/single-variables.md @@ -33,15 +33,15 @@ This variable will be substituted for the global character set (UTF-8). It is ty ### `{cp_session_id}` -The session id for the control panel. This is the value needed in the "S=" portion of the control panel URL. Only output for logged-in members who have access to the Control Panel, for instance to build a front-end URL to an add-on in the control panel: +The session id for the control panel. This is the value needed in the "S=" portion of the control panel URL, for instance to build a URL from the front-end to an add-on in the control panel. Will only produce output for logged-in members who have access to the Control Panel. - {if logged_in_role_id == 1} + {if logged_in_primary_role_id == 1} • {/if} ### `{cp_url}` -The URL to the control panel for this site. Only output for logged-in members who have access to the Control Panel. +The URL to the control panel for this site. Will only produce output for logged-in members who have access to the Control Panel. ### `{csrf_token}`