Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-wiki
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
intranet-wiki
Commits
9ddaca4e
Commit
9ddaca4e
authored
Apr 15, 2005
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- added a few more wiki components
parent
c7cb1e5c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
85 additions
and
2 deletions
+85
-2
intranet-wiki-create.sql
sql/postgresql/intranet-wiki-create.sql
+85
-2
No files found.
sql/postgresql/intranet-wiki-create.sql
View file @
9ddaca4e
...
@@ -46,9 +46,7 @@ begin
...
@@ -46,9 +46,7 @@ begin
);
);
return 0;
return 0;
end;'
language
'plpgsql'
;
end;'
language
'plpgsql'
;
select
inline_0
();
select
inline_0
();
drop
function
inline_0
();
drop
function
inline_0
();
...
@@ -78,9 +76,94 @@ begin
...
@@ -78,9 +76,94 @@ begin
);
);
return 0;
return 0;
end;'
language
'plpgsql'
;
end;'
language
'plpgsql'
;
select
inline_0
();
drop
function
inline_0
();
create
or
replace
function
inline_0
()
returns
integer
as
'
declare
v_plugin integer;
begin
-- Home Page
-- Set the wiki to the very end.
--
v_plugin := im_component_plugin__new (
null, -- plugin_id
''
acs_object
''
, -- object_type
now(), -- creation_date
null, -- creation_user
null, -- creation_ip
null, -- context_id
''
Company Wiki Component
''
, -- plugin_name
''
intranet-wiki
''
, -- package_name
''
right
''
, -- location
''
/intranet/companies/view
''
, -- page_url
null, -- view_name
80, -- sort_order
''
im_wiki_company_component $company_id
''
-- component_tcl
);
return 0;
end;'
language
'plpgsql'
;
select
inline_0
();
drop
function
inline_0
();
create
or
replace
function
inline_0
()
returns
integer
as
'
declare
v_plugin integer;
begin
-- Home Page
-- Set the wiki to the very end.
--
v_plugin := im_component_plugin__new (
null, -- plugin_id
''
acs_object
''
, -- object_type
now(), -- creation_date
null, -- creation_user
null, -- creation_ip
null, -- context_id
''
User Wiki Component
''
, -- plugin_name
''
intranet-wiki
''
, -- package_name
''
right
''
, -- location
''
/intranet/users/view
''
, -- page_url
null, -- view_name
80, -- sort_order
''
im_wiki_user_component $user_id
''
-- component_tcl
);
return 0;
end;'
language
'plpgsql'
;
select
inline_0
();
select
inline_0
();
drop
function
inline_0
();
create
or
replace
function
inline_0
()
returns
integer
as
'
declare
v_plugin integer;
begin
-- Home Page
-- Set the wiki to the very end.
--
v_plugin := im_component_plugin__new (
null, -- plugin_id
''
acs_object
''
, -- object_type
now(), -- creation_date
null, -- creation_user
null, -- creation_ip
null, -- context_id
''
Office Wiki Component
''
, -- plugin_name
''
intranet-wiki
''
, -- package_name
''
right
''
, -- location
''
/intranet/offices/view
''
, -- page_url
null, -- view_name
80, -- sort_order
''
im_wiki_office_component $office_id
''
-- component_tcl
);
return 0;
end;'
language
'plpgsql'
;
select
inline_0
();
drop
function
inline_0
();
drop
function
inline_0
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment