From 48a1b592a91ca586e1443e98952ed4368b7de1f2 Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Sun, 3 Jun 2012 21:01:39 +0100 Subject: [PATCH 1/3] Infinite Improbability Drive - a very simple addon to make navigating randprof less cumbersome. Wouldn't normally put something this simple in the the git, but it was user requested, and now other admins have expressed interest in having it here. --- .../infiniteimprobabilitydrive.css | 4 ++ .../infiniteimprobabilitydrive.php | 49 +++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 infiniteimprobabilitydrive/infiniteimprobabilitydrive.css create mode 100644 infiniteimprobabilitydrive/infiniteimprobabilitydrive.php diff --git a/infiniteimprobabilitydrive/infiniteimprobabilitydrive.css b/infiniteimprobabilitydrive/infiniteimprobabilitydrive.css new file mode 100644 index 00000000..f4be6051 --- /dev/null +++ b/infiniteimprobabilitydrive/infiniteimprobabilitydrive.css @@ -0,0 +1,4 @@ +section { + padding-left: 0px; + +} \ No newline at end of file diff --git a/infiniteimprobabilitydrive/infiniteimprobabilitydrive.php b/infiniteimprobabilitydrive/infiniteimprobabilitydrive.php new file mode 100644 index 00000000..dce36924 --- /dev/null +++ b/infiniteimprobabilitydrive/infiniteimprobabilitydrive.php @@ -0,0 +1,49 @@ +' . t('Infinite Improbability Drive') . ''; +} + + +function infiniteimprobabilitydrive_module() { +return; +} + + +function infiniteimprobabilitydrive_content(&$a) { +$baseurl = $a->get_baseurl() . '/addon/infiniteimprobabilitydrive'; +$o = ''; + +$a->page['htmlhead'] .= ''; + + +$baseurl = $a->get_baseurl(); + + + $o .= <<< EOT + +

+

Try another destination with the Infinite Improbability Drive +