alecpl
2009-09-04 e6f484250561b6e9c8fe72cde0f1a633e88103ae
program/include/rcube_plugin.php
@@ -208,6 +208,18 @@
      $this->api->add_content($this->api->output->button($p), $container);
    }
  }
  /**
   * Generate an absolute URL to the given resource within the current
   * plugin directory
   *
   * @param string The file name
   * @return string Absolute URL to the given resource
   */
  public function url($fn)
  {
      return $this->api->url . $this->resource_url($fn);
  }
  /**
   * Make the given file name link into the plugin directory