Exemplo n.º 1
0
 static function outputColophonAddressLong($wid = "colophon-longaddress", $divclass = "", $includeextra = FALSE)
 {
     return "          <div id='" . $wid . "'" . (!empty($divclass) ? " class='" . $divclass . "'" : "") . ">\r\n" . "            <h4>Contact us:</h4>\r\n" . "            <p><span>Nordita</span>\r\n" . "            <br>Roslagstullsbacken 23\r\n" . "            <br>106 91 Stockholm\r\n" . "            <br>Sweden</p>\r\n" . "            <p>Phone: <a href='tel:" . str_replace("&nbsp;", "", SWITCHBOARD_STOCKHOLM) . "'>" . SWITCHBOARD_STOCKHOLM . "</a>\r\n" . "            <br>Fax: +46 8 5537 8404\r\n" . "            <br>E-mail: <a href='mailto:" . INFOMASTER_ACCOUNT . "&#64;" . MAIL_DOMAIN . "'>" . INFOMASTER_ACCOUNT . "&#64;" . MAIL_DOMAIN . "</a></p>\r\n" . ($includeextra ? colophon::outputColophonAlacarte('colophon-alacarte', '') : "") . "          </div> <!-- " . $wid . " -->\r\n" . "\r\n";
 }
Exemplo n.º 2
0
 public static function BcolophonExtended($id = "colophon", $class = "extended")
 {
     if ($GLOBALS["documentClass"]->getConfig("nocolophon")) {
         return "";
     }
     if (!class_exists("colophon", FALSE)) {
         require_once PATH_CLASSES . "/lib/colophon.php";
     }
     $stdout = "";
     $content = colophon::outputColophonLinks("colophon-links") . colophon::outputColophonAddressLong('colophon-longaddress', '', TRUE) . colophon::outputColophonHowtogethere("colophon-howtogethere", "colophon-map-canvas") . colophon::outputColophonSupportNordita("colophon-support", "", "box infosection splash") . colophon::outputColophonGovernance("colophon-governance", "") . colophon::outputColophonPrintDate("colophon-printdate");
     if (!empty($content) && !$GLOBALS["documentClass"]->getConfig("nocolophon")) {
         $stdout .= "        <div id='block-" . $id . "' class='" . $class . "'>\r\n\r\n" . $content . "        </div> <!-- " . $id . " -->\r\n\r\n" . colophon::outputColophonFootprint("colophon-footprint") . "";
     }
     // end if
     return $stdout;
 }