*/
private static $instance;
- /**
- * Application name
- * @var string
- */
- private $application = 'Unknown ISSO Project';
-
- /**
- * Application path
- * @var string
- */
- private $appPath;
-
- /**
- * Application version
- * @var string
- */
- private $appVersion;
-
- /**
- * Web path
- * @var string
- */
- private $webPath;
-
/**
* Debug mode?
* @var bool
return self::$instance;
}
- // ###################################################################
- /**
- * Sets the application name
- *
- * @param string Application name
- */
- public static function set_application($name)
- {
- self::_instance()->application = $name;
- }
-
- // ###################################################################
- /**
- * Gets the application name
- *
- * @return string Application name
- */
- public static function get_application()
- {
- return self::_instance()->application;
- }
-
- // ###################################################################
- /**
- * Sets the application's working path
- *
- * @param string Path
- */
- public static function set_app_path($path)
- {
- self::_instance()->appPath = BSFunctions::fetch_source_path($path);
- }
-
- // ###################################################################
- /**
- * Returns the path to the application
- *
- * @return string Application path
- */
- public static function get_app_path()
- {
- return self::_instance()->appPath;
- }
-
- // ###################################################################
- /**
- * Sets the application version
- *
- * @param string Application version
- */
- public static function set_app_version($vers)
- {
- self::_instance()->appVersion = $vers;
- }
-
- // ###################################################################
- /**
- * Gets the application version
- *
- * @return string Application version
- */
- public static function get_app_version()
- {
- return self::_instance()->appVersion;
- }
-
- // ###################################################################
- /**
- * Sets the application's web path, which is the full path from the
- * server's web root
- *
- * @param string Path
- */
- public static function set_web_path($path)
- {
- self::_instance()->webPath = BSFunctions::fetch_source_path($path);
- }
-
- // ###################################################################
- /**
- * Returns the web path to the application
- *
- * @return string Application's web path
- */
- public static function get_web_path()
- {
- return self::_instance()->webPath;
- }
-
// ###################################################################
/**
* Sets the debug state
*/
private $realm = 'BSPrinterOutput';
+ /**
+ * The copyright string used in the footer
+ * @var string
+ */
+ private $copyright;
+
// ###################################################################
/**
* Constructor (private)
return self::$instance;
}
+ /**
+ * Returns the copyright string
+ *
+ * @return string
+ */
+ public static function get_copyright()
+ {
+ self::_instance()->copyright;
+ }
+
+ /**
+ * Sets the copyright string
+ *
+ * @param string The copyright string
+ */
+ public static function set_copyright($copyright)
+ {
+ self::_instance()->copyright = $copyright;
+ }
+
// ###################################################################
/**
* Returns the realm
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n";
echo "<html xml:lang=\"" . $language['langcode'] . "\" lang=\"" . $language['langcode'] . "\" dir=\"" . $language['direction'] . "\">\n<head>";
- echo "\n\t<title>" . sprintf(_('%1$s - %2$s - %3$s'), BSApp::get_application(), BSPrinter::get_realm(), $this->title) . "</title>";
+ echo "\n\t<title>" . BSPrinter::get_realm() . " - " $this->title . "</title>";
echo "\n\t<meta http-equiv=\"Content-Type\" content=\"text/html; charset=" . $language['charset'] . "\" />";
echo "\n\t<link rel=\"stylesheet\" href=\"" . BSPrinter::get_stylesheet() . "\" />";
echo "\n</head>\n<body>\n";
echo BSApp::GetType('PrinterNavigation')->constructFooterHtml();
}
- $copyright = "\n<br />\n<p align=\"center\" class=\"copyright\">\n\t<a href=\"http://www.bluestatic.org\" target=\"_blank\">" . BSApp::get_application() . ' ' . BSApp::get_app_version() . ", ©2002 - " . gmdate('Y') . " Blue Static</a>\n</p>";
+ $copyright = "\n<br />\n<p align=\"center\" class=\"copyright\">\n\t" . BSPrinter::get_copyright() . "\n</p>";
if (!defined('ISSO_PRINTER_HIDE_SETUP'))
{