default-master.tcl

  • last updated 21 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Unset titles for default and site master CSS. They weren't applied when alternative stylesheets were available (e.g. forums)

  1. … 1 more file in changeset.
Edited to avoid empty UL when main and sub navigations are empty (thanks to Lee who provides the code)

Merged the 5.3 branch with HEAD. Look for tags with the pattern

drb-*-20070513

  1. … 324 more files in changeset.
fixing and simplifying passing of package_id in export_vars

Committed Zen / Accessibility changes to master templates.

  1. … 10 more files in changeset.
Cleaned up CSS with Jeff, moved context bar to site-master for easier customization

  1. … 3 more files in changeset.
Use templated context bar

  1. … 1 more file in changeset.
added handling for subnavbar link text

  1. … 1 more file in changeset.
fix eval of context to avoid potential function evaluation

context bar barfed with site node starting with a -

Merged 4.6.4d1 (unreleased) to HEAD. This marks the end of the life of the oacs-4-6 branch.

  1. … 816 more files in changeset.
Added more safety check for focus

1. Split up default-master into blank-master and default-master;

2. Added a lists.css stylesheet for list-builder lists.

  1. … 4 more files in changeset.
Use apm_package_installed_p instead for the curriculum check.

Fixed some noquote stuff in form templates, fixed conflicts in default-master

caused by the curriculum update and my bracketing of "if" exprs (failure to do

so causes Tcl to compile the expr every time)

  1. … 8 more files in changeset.
I added a check for whether the curriculum package is installed or not to the default-master.\nIf it is installed, the (possibly empty) bar will be included.\nThis won't fail even if there's no instance of curriculum mounted (knock wood)

  1. … 1 more file in changeset.
merge of 4.6.3b1 to HEAD

  1. … 29 more files in changeset.
changes to our default master: 1) Making it take a doc_type property so that packages can choose for example to change from 4.01 transitional (default) to XHTML 1.0 2) Checking that the default master validates as both 4.01 transitional and XHTML 1.0 strict 3) indenting the the html more properly

  1. … 1 more file in changeset.
Changing the page title default to be the name of the current package rather than the system name

adding a check to avoid Javascript error when there is no form field to focus on

Made the form element focus mechanism safer by checking if the element exists before trying to focus it. This avoids annoying javscript errors from the browser.

add title and context to sitewide master

  1. … 2 more files in changeset.
Changed the form focus facility to handle form elements whose names contain a dot. SDM #1527.

get rid of my site-specific-master stuff. doh! it's unnecessary. just use the DefaultMaster param.

Adding site-specifc-master fuctionality. This allows a site to modify

the look of the entire site by adding a tcl/adp pair named

"site-specific-master" and setting the "UseSiteSpecificMaster"

ad_param of the parent acs-subsite package. The param defaults to

"false".

Why not just edit the "default-master" files? Well, if you break

default master much of the site will be broken. This feature allows

you to experiment with the site-specific-master with the knoledge that

with the flip of a parameter the pristine "default-master" will be

used. And there's no risk for committers to check in their

custom site-specific-master files into the tree unlike with editing

def-master.

OpenACS 4.x

  1. … 1321 more files in changeset.
Initial revision

    • -0
    • +52
    ./default-master.tcl
  1. … 1321 more files in changeset.