Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
acs-admin
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
acs-admin
Commits
23c5ee4d
Commit
23c5ee4d
authored
Dec 03, 2015
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- OpenACS 5.9 Import
parent
ac5bafea
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
104 additions
and
0 deletions
+104
-0
acs-admin.de_DE.ISO-8859-1.xml
catalog/acs-admin.de_DE.ISO-8859-1.xml
+6
-0
apm.adp
www/apm/apm.adp
+5
-0
package-instance-create.tcl
www/apm/package-instance-create.tcl
+11
-0
package-instances.tcl
www/apm/package-instances.tcl
+59
-0
package-load.adp
www/apm/package-load.adp
+23
-0
No files found.
catalog/acs-admin.de_DE.ISO-8859-1.xml
0 → 100644
View file @
23c5ee4d
<?xml version="1.0" encoding="ISO-8859-1"?>
<message_catalog
package_key=
"acs-admin"
locale=
"de_DE"
charset=
"ISO-8859-1"
>
<msg
key=
"No"
>
Nein
</msg>
<msg
key=
"Yes"
>
Ja
</msg>
</message_catalog>
www/apm/apm.adp
0 → 100644
View file @
23c5ee4d
<master>
<property name="doc(title)">@title;literal@</property>
<property name="context">@context;literal@</property>
@body;noquote@
www/apm/package-instance-create.tcl
0 → 100644
View file @
23c5ee4d
ad_page_contract
{
Create
(
unmounted
)
package instance.
@author Gustaf Neumann
@creation-date 8 Sept 2014
@cvs-id $Id$
}
{
{
package_key:notnull
}
{
return_url /acs/admin/apm
}
}
apm_package_instance_new -package_key
$package
_key
ad_returnredirect
$return
_url
www/apm/package-instances.tcl
0 → 100644
View file @
23c5ee4d
ad_page_contract
{
Show package instances
@author Gustaf Neumann
@creation-date 3 Sept 2014
@cvs-id $Id$
}
{
{
package_key:token,notnull
}
}
set
version_id
[
apm_highest_version
$package
_key
]
apm_version_info
$version
_id
set
title
"Instances of Package
$pretty
_name
$version
_name (
$package
_key)"
set
context
[
list
\
[
list
"../developer"
"Developer's Administration"
]
\
[
list
"/acs-admin/apm/"
"Package Manager"
]
\
[
list
"/acs-admin/apm/version-view?version_id=
$version
_id"
"Package
$pretty
_name"
]
\
$title
]
set
return_url
[
export_vars -base
[
ad_conn url
]
{
package_key
}]
append
body <h3>$title</h3><ul>
db_foreach get_version_info
{
select package_id, instance_name from apm_packages where package_key = :package_key
order by package_id
}
{
set urls
[
site_node::get_url_from_object_id -object_id
$package
_id
]
if
{[
llength
$urls
]
> 0
}
{
foreach url
$urls
{
set node_id
[
dict
get
[
site_node::get -url
$url
]
node_id
]
set delete_href
[
export_vars -base /admin/applications/application-delete
{
node_id return_url
}]
set smap_href
[
export_vars -base /admin/site-map
{
{
root_id
$node
_id
}
return_url
}]
append body
[
subst
{
<li>$package_id
$instance
_name <a href=
"
$url
"
>$url</a>
(
node_id
$node
_id
)
:
\[
<a href=
"
[
ns_quotehtml
$delete
_href
]
"
>delete</a>,
<a href=
"
[
ns_quotehtml
$smap
_href
]
"
>Site Map</a>
\]
</li>
}]
}
}
else
{
set delete_href
[
export_vars -base /admin/applications/application-delete
{
package_id return_url
}]
append body
[
subst
{
<li>$package_id
$instance
_name
(
unmounted
)
:
\[
<a href=
"
[
ns_quotehtml
$delete
_href
]
"
>delete</a>
\]
</li>
}]
}
}
append
body </ul>
ad_return_template apm
#
# Local variables:
# mode: tcl
# tcl-indent-level: 4
# indent-tabs-mode: nil
# End:
www/apm/package-load.adp
0 → 100644
View file @
23c5ee4d
<master>
<property name="doc(title)">@title;literal@</property>
<property name="context">@context;literal@</property>
<form action='package-load-2' method='post'>
<p>
You can retrieve a package archive to prepare for installation by using
one of the options below.
Otherwise, please specify a filesystem location for the packages you want to install.
You can also copy the extracted package files directly into the <code>@acs::rootdir@/packages/</code> directory if you prefer.
<p>
Load a package from the <tt>.apm</tt> file at this URL:
<blockquote>http:// <input name="url" size="50"></blockquote>
<p>
Specify a local path including a filename for the APM file or a directory containing several APM files.<p>
<blockquote>Path: <input name="file_path" size="50"></blockquote>
<p>
<input type="checkbox" name="delete" value="1">Check this box if you want to delete all of the packages
currently in the installation directory.<p>
<center><input type="submit" value="Load"></blockquote></center>
\ No newline at end of file
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