Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-25293

Make the copyright end date in the footer auto-update

    XMLWordPrintable

    Details

    • Type: (Deprecated) Contributed Patch
    • Status: CLOSED
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9.3, 10.0
    • Fix Version/s: 10.0
    • Component/s: Config, Portal
    • Labels:
      None
    • Property addition/change required:
      Yes

      Description

      To save system administrators' time, the copyright end date should automatically update to the current year, if the institution chooses.

      This patch updates the end-date of the copyright message (Copyright 2003-2013 The Sakai Foundation.) in the footer by looking for a keyword placed in the bottom.copyrighttext in sakai.properties. If the keyword is found, the server's date's year is substituted into the place of the keyword. The keyword can be used multiple times by this substitution, if the institution chooses to use it. If the keyword is not found, no substitution takes place and the message will work as it does before the patch (for backwards compatibility or if an institution chooses not to have it auto-updated).

      The keyword in sakai.properties for bottom.copyrighttext is "currentYearFromServer", which should be unique enough to avoid false substitutions and yet clear enough for the reader to understand what will happen and applicable for multiple uses in the same line (e.g. not unique to a Copyright date).

      The config patch updates the default.sakai.properties with a comment about the use of this keyword for new Sakai adopters.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jonespm Matthew Jones
                  Reporter:
                  sfoster9 Shawn Foster
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code