[geeklog-hg] [Geeklog-Core/geeklog] 2a693d: Added PLG_getCSSClasses so css classes do not nee...

GitHub noreply at github.com
Tue Dec 11 13:44:40 EST 2018


  Branch: refs/heads/master
  Home:   https://github.com/Geeklog-Core/geeklog
  Commit: 2a693dd2ec9a70b47197efe857cf4b1a3dbf613f
      https://github.com/Geeklog-Core/geeklog/commit/2a693dd2ec9a70b47197efe857cf4b1a3dbf613f
  Author: Tom Homer <tomhomer at gmail.com>
  Date:   2018-12-11 (Tue, 11 Dec 2018)

  Changed paths:
    M plugins/calendar/functions.inc
    M plugins/links/functions.inc
    M plugins/polls/functions.inc
    M plugins/staticpages/functions.inc
    M public_html/article.php
    M public_html/directory.php
    M public_html/layout/denim_curve/functions.php
    M public_html/layout/denim_three/functions.php
    M public_html/layout/modern_curve/functions.php
    M public_html/lib-common.php
    M system/lib-article.php
    M system/lib-plugins.php
    M system/lib-topic.php

  Log Message:
  -----------
  Added  PLG_getCSSClasses so css classes do not need to be hardcoded in code and can be theme independent

For Feature #903

A new theme/plugin function called PLG_getCSSClasses has been added. It works with core and plugins and allows us to remove hardcoding of css classes in code. You pass in an id and type. The type is a plugin or core type (like article) and basically specifies the location to look for the css classes. If it is a core type it will check the current theme functions.php for the proper function. If it is a plugin type it will check the plugin theme templates for funcitons.php and the proper function

Id is the name of the location like 'core-list-new' (which is the What's New Block List).


  Commit: b487605a2c90489df0a74a047cb0d81bfd23479f
      https://github.com/Geeklog-Core/geeklog/commit/b487605a2c90489df0a74a047cb0d81bfd23479f
  Author: Tom Homer <tomhomer at gmail.com>
  Date:   2018-12-11 (Tue, 11 Dec 2018)

  Changed paths:
    M public_html/admin/install/devel-db-update.php

  Log Message:
  -----------
  Clean up


Compare: https://github.com/Geeklog-Core/geeklog/compare/d7d7eeaa7aa4...b487605a2c90
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the geeklog-cvs mailing list