Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
domain-3458051
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
domain-3458051
Commits
740df407
Commit
740df407
authored
14 years ago
by
Ken Rickard
Browse files
Options
Downloads
Patches
Plain Diff
-- Ports Domain Content.
-- Rolls 7.x.2.0-beta 1. Stable test release!
parent
531be95b
No related branches found
Branches containing commit
Tags
8.x-3.0-beta5
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.txt
+2
-0
2 additions, 0 deletions
CHANGELOG.txt
domain_content/domain_content.admin.inc
+9
-11
9 additions, 11 deletions
domain_content/domain_content.admin.inc
with
11 additions
and
11 deletions
CHANGELOG.txt
+
2
−
0
View file @
740df407
...
...
@@ -2,6 +2,8 @@
06-APR-2010
-- #763025 by hefox. Site names cannot be update_all.
-- Ports Domain Content.
-- Rolls 7.x.2.0-beta 1. Stable test release!
05-APR-2010
-- Updates Domain Nav.
...
...
This diff is collapsed.
Click to expand it.
domain_content/domain_content.admin.inc
+
9
−
11
View file @
740df407
...
...
@@ -67,11 +67,10 @@ function domain_content_list() {
$query
=
$query
->
extend
(
'PagerDefault'
)
->
limit
(
variable_get
(
'domain_list_size'
,
DOMAIN_LIST_SIZE
));
// Get the domains.
$result
=
$query
->
execute
();
# $query .= tablesort_sql($header);
# $result = pager_query($query, variable_get('domain_list_size', DOMAIN_LIST_SIZE), 0, NULL, $user->domain_user);
foreach
(
$result
as
$data
)
{
$domains
[]
=
(
array
)
$data
;
}
// Create the table.
$rows
=
array
();
foreach
(
$domains
as
$domain
)
{
$path
=
trim
(
domain_get_path
(
$domain
),
'/'
);
...
...
@@ -107,13 +106,12 @@ function domain_content_list() {
* fetches the appropirate content for batch editing.
*
* @param $domain_id
* The unique identifier for the currently active domain.
*
The unique identifier for the currently active domain.
* @param $all_affiliates
* A boolean flag that indicates whether to grant the domain_site node access
* realm for this content view.
*
* A boolean flag that indicates whether to grant the domain_site node access
* realm for this content view.
* @return
* A link group for each domain the user can access.
*
A link group for each domain the user can access.
*/
function
domain_content_view
(
$domain_id
=
NULL
,
$all_affiliates
=
FALSE
)
{
$_domain
=
domain_get_domain
();
...
...
@@ -150,7 +148,7 @@ function domain_content_view($domain_id = NULL, $all_affiliates = FALSE) {
* Content admin page callback.
*
* @return
* A themed HTML batch content editing form.
*
A themed HTML batch content editing form.
*/
function
domain_content_admin
()
{
// Load the form basics for administering nodes.
...
...
@@ -180,7 +178,7 @@ function domain_content_admin() {
* Rewrites node_admin_nodes() to use db_rewrite_sql().
*
* @return
* A form array according to the FormsAPI.
*
A form array according to the FormsAPI.
*/
function
domain_content_form
()
{
module_load_include
(
'inc'
,
'node'
,
'node.admin'
);
...
...
@@ -386,9 +384,9 @@ function domain_content_view_domains($node) {
* Filters the node batch operations based on the user's permissions.
*
* @param &$operations
* The complete list of operations, passed by reference.
*
The complete list of operations, passed by reference.
* @return
* No return value. Modify by reference.
*
No return value. Modify by reference.
*/
function
domain_content_filter_operations
(
&
$operations
)
{
$settings
=
variable_get
(
'domain_form_elements'
,
array
(
'options'
,
'delete'
,
'comment_settings'
,
'path'
));
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment