Changeset 18842


Ignore:
Timestamp:
04/28/17 02:56:54 (8 years ago)
Author:
Daniela Dorner
Message:
added option to allow for using the website for another calendar and database for ToO visibilities
Location:
trunk/FACT++/www/shift
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/www/shift/calendar.js

    r18034 r18842  
    5454var institutes= ["Shift", "Debug", "moon", "ETHZ", "ISDC", "TUDO", "UNIWUE" ];
    5555
     56if (window.location.href.includes("ToO"))
     57{
     58//    var institutes= [ "XMM-Mrk421", "INTEGRAL-Mrk421", "NuSTAR-Mrk421", "Swift-Mrk421", "XMM-Mrk501", "INTEGRAL-Mrk501", "NuSTAR-Mrk501", "Swift-Mrk501" ];
     59    var institutes= [ "XMM", "INTEGRAL", "NuSTAR", "Swift", "ASTROSAT", "MAGIC" ];
     60    document.title = "Visibilities for ToOs";
     61}
     62
    5663function CalendarJS()
    5764{
  • trunk/FACT++/www/shift/config.template.php

    r13689 r18842  
    66$dbname = "calendar";
    77
     8if (strpos($_SERVER['PHP_SELF'], 'ToO') !== false)
     9    $dbname= "ToOcalendar";
     10
    811$ldaphost = "161.72.93.133:389";
    912$baseDN   = "dc=fact,dc=iac,dc=es";
Note: See TracChangeset for help on using the changeset viewer.