Skip to content

Commit 977a934

Browse files
committed
Small tweaks to existing prs not waiting for 7..5
1 parent c1e060c commit 977a934

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

docs/add-ons/file.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ You can hard code the file entries tag to show specific files. You may also spec
126126

127127
folder_id="34"
128128

129-
If you want to display only the files that are in certain folder within Upload Directory, specify folder ID using this parameter.
129+
If you want to display only the files that are in certain folder within an Upload Directory, specify the folder ID using this parameter.
130130

131131
### `limit=`
132132

@@ -227,7 +227,7 @@ The URL to the file.
227227

228228
### `{folder_id}`
229229

230-
If the file is in a subfolder, will return ID of the folder. If the file is in root or upload directory, will return 0.
230+
The ID of the folder the file is in. If the file is in the top level folder of the upload directory, it will return 0.
231231

232232
### `{height}`
233233

docs/comment/entries.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Here is a basic example showing how you might use the comment tag:
2222
<p>By {name} on {comment_date format="%Y %m %d"}</p>
2323
{/exp:comment:entries}
2424

25-
NOTE: **Important:** The Comment Entries tag should **not** be nested inside of a standard {exp:channel:entries} tag. If you do, the outer tag will parse and resolve many of these variables and conditionals before the Comment Entries tag has the chance to do so.
25+
NOTE: **Important:** The Comment Entries tag should **not** be nested inside of a standard {exp:channel:entries} tag. If you do, the outer tag will replace many of these variables and conditionals before the Comment Entries tag has the chance to do so.
2626

2727
## Parameters
2828

@@ -485,7 +485,7 @@ TRUE / FALSE, This variable will be used in a conditional to allow [comment edit
485485

486486
{if is_ignored} content {/if}
487487

488-
This conditionals allows you to show (or hide) specific content if the comment was made by a member on the logged-in user's ignore list. A simplified example of how this might be used is:
488+
This conditional allows you to show (or hide) specific content if the comment was made by a member on the logged-in user's ignore list. A simplified example of how this might be used is:
489489

490490
{exp:comment:entries}
491491
{if is_ignored}You are ignoring {author}.{/if}

docs/comment/form.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ A request for an edit will return a response array. In the case of an error, an
229229

230230
By using the [{if editable}](/comment/entries.html#if-editable) conditional in the Comment Entries tag, you can output a link, instructions or a form if the viewing member has permission to edit the comment, and by using the {if can_moderate_comment} you can display whatever is appropriate if the viewing member has permission to moderate (close) the comment.
231231

232-
For default regular members, in order to edit a comment, they must be logged in, the author of the comment, and the editing time limit must not have expired. If a member has a role with permission to edit the comments of any entry, that member will have edit permissions regardless of the editing time limit.
232+
For members without administrative access, in order to edit a comment they must be logged in, the author of the comment, and the editing time limit must not have expired. If a member has a role with permission to edit the comments of any entry, that member will have edit permissions regardless of the editing time limit.
233233

234234
Comment moderators may close the comment. The edit time limit does not apply to moderators.
235235

docs/fieldtypes/file.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ If you have defined any [image manipulations](control-panel/file-manager/upload-
134134

135135
### `{folder_id}`
136136

137-
If the file is in a subfolder, will return ID of the folder. If the file is in root or upload directory, will return 0.
137+
The ID of the folder the file is in. If the file is in the top level folder of the upload directory, it will return 0.
138138

139139
### `{height}`
140140

docs/templates/globals/single-variables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ This variable will be substituted for the global character set (UTF-8). It is ty
3333

3434
### `{cp_session_id}`
3535

36-
The active session id for the control panel. This is the value needed in the "S=" portion of the control panel URL. Only made available for logged-in members who have access to the Control Panel. Used to build a URL from the front-end to, for instance, an add-on in the control panel.
36+
The active session id for the control panel. This is the value needed in the "S=" portion of the control panel URL. Only made available for logged-in members who have access to the Control Panel. Used to build a URL from the front-end to, for instance, an add-on in the control panel. If sessions are not required for control panel login, this variable returns 0.
3737

3838
{if logged_in_primary_role_id == 1}
3939
&bull; <a href="{cp_url}?/cp/addons/settings/my_addon{if cp_session_id}&S={cp_session_id}{/if}">CP Link</a>

0 commit comments

Comments
 (0)