Commit 25cd980d authored by Frank Bergmann's avatar Frank Bergmann

- OpenACS 5.9

parent fa248249
<?xml version="1.0" encoding="ISO-8859-1"?>
<message_catalog package_key="openacs-default-theme" locale="en_US" charset="ISO-8859-1">
<msg key="plain">OpenACS Default Plain</msg>
<msg key="tabbed">OpenACS Default Tabbed</msg>
<msg key="plain">OpenACS Default Plain</msg>
<msg key="tabbed">OpenACS Default Tabbed</msg>
</message_catalog>
<master src="/www/blank-master">
<if @doc@ defined><property name="&doc">doc</property></if>
<if @body@ defined><property name="&body">body</property></if>
<if @head@ not nil><property name="head">@head;noquote@</property></if>
<if @focus@ not nil><property name="focus">@focus;noquote@</property></if>
<property name="skip_link">@skip_link;noquote@</property>
<if @head@ not nil><property name="head">@head;literal@</property></if>
<if @focus@ not nil><property name="focus">@focus;literal@</property></if>
<property name="skip_link">@skip_link;literal@</property>
<div id="wrapper">
<div id="system-name">
......
......@@ -32,7 +32,7 @@ if {[ad_conn url] eq "/"} {
set system_url [ad_url]
}
if {[template::util::is_nil title]} {
if {![info exists title]} {
# TODO: decide how best to set the lang attribute for the title
set title [ad_conn instance_name]
}
......@@ -47,7 +47,7 @@ if { [template::multirow exists navigation] } {
}
for {set i 1} {$i <= [template::multirow size navigation]} {incr i} {
template::multirow get navigation $i
if { [lsearch -exact $navigation_groups $navigation(group)] < 0} {
if {$navigation(group) ni $navigation_groups} {
lappend navigation_groups $navigation(group)
}
}
......
<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>
# 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
<master src="/packages/openacs-default-theme/lib/plain-master">
<if @doc@ defined><property name="&doc">doc</property></if>
<if @body@ defined><property name="&body">body</property></if>
<if @head@ not nil><property name="head">@head;noquote@</property></if>
<if @focus@ not nil><property name="focus">@focus;noquote@</property></if>
<if @context@ not nil><property name="context">@context;noquote@</property></if>
<if @head@ not nil><property name="head">@head;literal@</property></if>
<if @focus@ not nil><property name="focus">@focus;literal@</property></if>
<if @context@ not nil><property name="context">@context;literal@</property></if>
<property name="&navigation">navigation</property>
<slave>
......@@ -7,17 +7,17 @@
<initial-install-p>t</initial-install-p>
<singleton-p>t</singleton-p>
<version name="5.7.0" url="http://openacs.org/repository/download/apm/openacs-default-theme-5.7.0.apm">
<version name="5.10.0d1" url="http://openacs.org/repository/download/apm/openacs-default-theme-5.10.0d1.apm">
<owner url="mailto:dhogaza@pacifier.com">Don Baccus</owner>
<summary>Provides the default &quot;plain&quot; and &quot;tabbed&quot; themes for OpenACS Subsites.</summary>
<release-date>2011-06-12</release-date>
<description format="text/plain">Provides the default &quot;plain&quot; and &quot;tabbed&quot; themes for OpenACS Subsites. This has been moved out to a separate package, with availability recorded in the database, to make it easier for developer's to create their own themes and distribute and/or install them in package form.
<release-date>2013-09-08</release-date>
<description format="text/plain">Provides the default &quot;plain&quot; and &quot;tabbed&quot; themes for OpenACS Subsites. This has been moved out to a separate package, with availability recorded in the database, to make it easier for developer's to create their own themes and distribute and/or install them in package form.
</description>
<maturity>0</maturity>
<license>GPL version 2</license>
<maturity>3</maturity>
<provides url="openacs-default-theme" version="5.7.0"/>
<requires url="acs-subsite" version="5.7.0"/>
<provides url="openacs-default-theme" version="5.10.0d1"/>
<requires url="acs-subsite" version="5.10.0d1"/>
<callbacks>
<callback type="after-install" proc="openacs_default_theme::install::after_install"/>
......
......@@ -11,7 +11,6 @@
#main-navigation ul {
margin:0;
padding:10px 10px 0;
list-style:none;
}
#main-navigation li {
......@@ -19,6 +18,7 @@
background:url("/resources/openacs-default-theme/images/left.gif") no-repeat left top;
margin:0;
padding:0 0 0 9px;
list-style: none;
}
#main-navigation a {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment