Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
acs-templating
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-templating
Commits
9abd446e
Commit
9abd446e
authored
Nov 03, 2020
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Added missing OpenACS 5.9.1 upgrade scripts
parent
8c397cd7
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
197 additions
and
0 deletions
+197
-0
plain-streaming-head.adp
resources/masters/plain-streaming-head.adp
+66
-0
plain-streaming-head.tcl
resources/masters/plain-streaming-head.tcl
+24
-0
compile.adp
www/doc/demo/compile.adp
+8
-0
show.adp
www/doc/demo/show.adp
+8
-0
listtemplate.adp
www/doc/tagref/listtemplate.adp
+37
-0
listtemplate.html
www/doc/tagref/listtemplate.html
+54
-0
No files found.
resources/masters/plain-streaming-head.adp
0 → 100644
View file @
9abd446e
<html>
<link
rel=
"stylesheet"
href=
"/resources/openacs-default-theme/styles/default-master.css"
type=
"text/css"
media=
"all"
>
<title>
@title@
</title>
<body>
<div
id=
"wrapper"
>
<div
id=
"system-name"
>
<if
@
system_url
@
not
nil
><a
href=
"@system_url@"
>
@system_name@
</a></if>
<else>
@system_name@
</else>
</div>
<div
id=
"header"
>
<div
class=
"block-marker"
>
Begin header
</div>
<div
id=
"header-navigation"
>
<ul
class=
"compact"
>
<li>
<if
@
untrusted_user_id
@
ne
0
>
#acs-subsite.Welcome_user#
</if>
<else>
#acs-subsite.Not_logged_in#
</else>
|
</li>
<li><a
href=
"@whos_online_url@"
title=
"#acs-subsite.view_all_online_members#"
>
@num_users_online@
<if
@
num_users_online
@
eq
1
>
#acs-subsite.Member#
</if><else>
#acs-subsite.Members#
</else>
#acs-subsite.Online#
</a>
|
</li>
<if
@
pvt_home_url
@
not
nil
>
<li><a
href=
"@pvt_home_url@"
title=
"#acs-subsite.Change_pass_email_por#"
>
@pvt_home_name@
</a>
|
</li>
</if>
<if
@
login_url
@
not
nil
>
<li><a
href=
"@login_url@"
title=
"#acs-subsite.Log_in_to_system#"
>
#acs-subsite.Log_In#
</a></li>
</if>
<if
@
logout_url
@
not
nil
>
<li><a
href=
"@logout_url@"
title=
"#acs-subsite.Logout_from_system#"
>
#acs-subsite.Logout#
</a></li>
</if>
</ul>
</div>
<div
id=
"breadcrumbs"
>
<if
@
context_bar
@
not
nil
>
@context_bar;noquote@
</if>
<else>
<if
@
context:rowcount
@
not
nil
>
<ul
class=
"compact"
>
<multiple
name=
"context"
>
<if
@
context
.
url
@
not
nil
>
<li><a
href=
"@context.url@"
>
@context.label@
</a>
@separator@
</li>
</if>
<else>
<li>
@context.label@
</li>
</else>
</multiple>
</ul>
</if>
</else>
</div>
</div>
<!-- /header -->
<if
@
navigation:rowcount
@
not
nil
>
<list
name=
"navigation_groups"
>
<div
id=
"@navigation_groups:item@-navigation"
>
<div
class=
"block-marker"
>
Begin @navigation_groups:item@ navigation
</div>
<ul>
<multiple
name=
"navigation"
>
<if
@
navigation
.
group
@
eq
@
navigation_groups:item
@
>
<li
<
if
@
navigation
.
id
@
not
nil
>
id="@navigation.id@"
</if>
>
<a
href=
"@navigation.href@"
<
if
@
navigation
.
target
@
not
nil
>
target="@navigation.target;noquote@"
</if><if
@
navigation
.
class
@
not
nil
>
class="@navigation.class;noquote@"
</if><if
@
navigation
.
title
@
not
nil
>
title="@navigation.title;noquote@"
</if><if
@
navigation
.
lang
@
not
nil
>
lang="@navigation.lang;noquote@"
</if><if
@
navigation
.
accesskey
@
not
nil
>
accesskey="@navigation.accesskey;noquote@"
</if><if
@
navigation
.
tabindex
@
not
nil
>
tabindex="@navigation.tabindex;noquote@"
</if>
>@navigation.label@
</a></li>
</if>
</multiple>
</ul>
</div>
</list>
</if>
resources/masters/plain-streaming-head.tcl
0 → 100644
View file @
9abd446e
# The streaming head template provides means for styling streaming
# HTML output and supports the standard title and navigation bar
# conventions. It can be used e.g. like in the following:
#
# set title "Contents of Loaded Package"
# set context [list [list "." "Package Manager"
]
[
list
"package-load"
"Load a New Package"
]
$title
]
# ad_return_top_of_page [ad_parse_template -params [list context title
]
\
#
"/packages/openacs-default-theme/lib/plain-streaming-head"
]
#
#
set
separator :
set
system_name
[
ad_system_name
]
set
untrusted_user_id
[
ad_conn untrusted_user_id
]
set
user_name
[
person::name -person_id
$untrusted
_user_id
]
set
whos_online_url
[
subsite::get_element -element url
]
shared/whos-online
set
num_users_online
[
lc_numeric
[
whos_online::num_users
]]
ad_context_bar_multirow --
$context
# Local variables:
# mode: tcl
# tcl-indent-level: 4
# indent-tabs-mode: nil
# End:
www/doc/demo/compile.adp
0 → 100644
View file @
9abd446e
<property name="context">{/doc/acs-templating {Templating}} {/doc/acs-templating/demo {Demo}} {Compiled File}</property>
<property name="doc(title)">Compiled File</property>
<master>
<h2>Compiled Template @file;noi18n@</h2>
<pre>
@compiled;noi18n@
</pre>
\ No newline at end of file
www/doc/demo/show.adp
0 → 100644
View file @
9abd446e
<property name="context">{/doc/acs-templating {Templating}} {/doc/acs-templating/demo {Demo}} {Source File}</property>
<property name="doc(title)">Source File</property>
<master>
<h2>Source of @file;noi18n@</h2>
<pre>
@source;noi18n@
</pre>
\ No newline at end of file
www/doc/tagref/listtemplate.adp
0 → 100644
View file @
9abd446e
<property name="context">{/doc/acs-templating {ACS Templating}} {Templating System Tag Reference: Listtemplate}</property>
<property name="doc(title)">Templating System Tag Reference: Listtemplate</property>
<master>
<h2>Listtemplate</h2>
<a href="..">Templating System</a>
: <a href="../designer-guide">Designer Guide</a>
: <a href="index">Tag Reference</a>
: Listtemplate
<h3>Summary</h3>
<p>The <kbd>listtemplate</kbd> tag is used to embed a multirow list
template. The name of the multirow is passed to the template.
Optionally, also <kbd>listfilters</kbd> can be specified that can
be used to filter the displayed elements.</p>
<h3>Usage</h3>
<pre>
<table>
<tr>
<td class="list-filter-pane">
<listfilters name="notes"></listfilters>
</td>
<td class="list-list-pane">
<listtemplate name="notes"></listtemplate>
</td>
</tr>
</table>
</pre>
<h3>Notes</h3>
<p>Both, the <kbd>listtemplate</kbd> and the <kbd>listfilters</kbd>
can be tailored with an optional <kbd>style</kbd> attribute. If no
<kbd>style</kbd> attribute is specified, the package parameters
<kbd>DefaultListStyle</kbd> and <kbd>DefaultListFilterStyle</kbd>
of acs-templating are used as default values.</p>
<p>See the <a href="/doc/acs-templating/demo/#listbuilder"><kbd>listbuilder
demos</kbd></a> for more detailed examples.</p>
<hr>
<!-- <a href="mailto:templating\@arsdigita.com">templating\@arsdigita.com</a> -->
\ No newline at end of file
www/doc/tagref/listtemplate.html
0 → 100644
View file @
9abd446e
<html>
<head>
<title>
Templating System Tag Reference: Listtemplate
</title>
</head>
<body
bgcolor=
"#ffffff"
>
<h2>
Listtemplate
</h2>
<a
href=
".."
>
Templating System
</a>
:
<a
href=
"../designer-guide.html"
>
Designer Guide
</a>
:
<a
href=
"index.html"
>
Tag Reference
</a>
: Listtemplate
<hr>
<h3>
Summary
</h3>
<p>
The
<kbd>
listtemplate
</kbd>
tag is used to embed a multirow list
template. The name of the multirow is passed to the template.
Optionally, also
<kbd>
listfilters
</kbd>
can be specified that can be
used to filter the displayed elements.
</p>
<h3>
Usage
</h3>
<pre>
<
table
>
<
tr
>
<
td class="list-filter-pane"
>
<
listfilters name="notes"
><
/listfilters
>
<
/td
>
<
td class="list-list-pane"
>
<
listtemplate name="notes"
><
/listtemplate
>
<
/td
>
<
/tr
>
<
/table
>
</pre>
<h3>
Notes
</h3>
<p>
Both, the
<kbd>
listtemplate
</kbd>
and the
<kbd>
listfilters
</kbd>
can be tailored with an optional
<kbd>
style
</kbd>
attribute. If no
<kbd>
style
</kbd>
attribute is
specified, the package parameters
<kbd>
DefaultListStyle
</kbd>
and
<kbd>
DefaultListFilterStyle
</kbd>
of acs-templating are used as
default values.
</p>
<p>
See the
<a
href=
"/doc/acs-templating/demo/#listbuilder"
><kbd>
listbuilder
demos
</kbd></a>
for more detailed examples.
</p>
</ul>
<hr>
<!-- <a href="mailto:templating@arsdigita.com">templating@arsdigita.com</a> -->
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