Example #1
0
 public function finalize()
 {
     parent::finalize();
     $this->layout->addHtmlHeadEntrySet(XML_RPCAjax::getHtmlHeadEntrySet());
     $yui = new SwatYUI(array('dom', 'event'));
     $this->layout->addHtmlHeadEntrySet($yui->getHtmlHeadEntrySet());
     $this->layout->addHtmlHeadEntry(new SwatJavaScriptHtmlHeadEntry('packages/pinhole/admin/javascript/pinhole-geo-tag-map.js', Pinhole::PACKAGE_ID));
     $this->layout->addHtmlHeadEntry(new SwatStyleSheetHtmlHeadEntry('packages/pinhole/admin/styles/pinhole-geo-tag-index.css', Pinhole::PACKAGE_ID));
     $this->layout->startCapture('html_head_entries');
     echo "\n\n<!-- head entries for Google Maps -->\n";
     printf('<script src="http://maps.google.com/maps?file=api&amp;' . 'v=2&amp;sensor=false&amp;key=%s"></script>', $this->app->config->pinhole->google_maps_admin_api_key);
     echo "\n\n";
     $this->layout->endCapture();
 }
Example #2
0
 public function finalize()
 {
     parent::finalize();
     $this->layout->addHtmlHeadEntry(new SwatStyleSheetHtmlHeadEntry('packages/blorg/admin/styles/blorg-front-page.css', Blorg::PACKAGE_ID));
 }
Example #3
0
 public function finalize()
 {
     parent::finalize();
     $this->layout->addHtmlHeadEntry(new SwatJavaScriptHtmlHeadEntry('packages/pinhole/admin/javascript/pinhole-photo-upload-page.js', Pinhole::PACKAGE_ID));
     $this->layout->addHtmlHeadEntry(new SwatStyleSheetHtmlHeadEntry('packages/pinhole/admin/styles/pinhole-photo-upload-page.css', Pinhole::PACKAGE_ID));
 }