Skip to content

newroute/lglib

 
 

Repository files navigation

lglib

This plugin provides some javascript and css files that are used by other plugins:

  • a popup calendar
  • a slimbox implementation that allows paging between images without a slideshow
  • image resizing and url creation
  • an updated database backup
  • PDF libraries
    • FPDF, by Olivier PLATHEY
    • HTML2PDF, by Laurent MINGUET

These scripts, especially the calendar, may not work correctly if they are loaded more than once, so this plugin becomes the single source for them.

Also provided are some common functions used across plugins.

A new cron.php has been added that can be called either via URL (http://yoursite/lglib/cron.php?key=xxyyzz) or command line (php -q cron.php xxyyzz). The security key (xxyyzz) is configured in the plugin configuration and is optional but recommended. This cron executor takes over the system cron function to prevent any long-running tasks such as database backups from affecting site visitors.

In addition to the FPDF and HTML2PDF libraries mentioned above, this plugin also includes NameParser.class.pdf ((c) Josh Fraser).

About

Plugin containing common javascript, css and functions for other glFusion plugins

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 67.2%
  • JavaScript 20.1%
  • CSS 12.2%
  • HTML 0.5%