[geeklog-hg] geeklog: jQuery help dialog will only be used if the theme is gr...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sun Jan 12 15:24:12 EST 2014


changeset 9421:00fcbbf47915
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/00fcbbf47915
user: Tom <websitemaster at cogeco.net>
date: Sun Jan 12 15:23:42 2014 -0500
description:
jQuery help dialog will only be used if the theme is greater than version 1.8.1, and in the help directory

diffstat:

 public_html/lib-common.php |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r 5d22f9c38a05 -r 00fcbbf47915 public_html/lib-common.php
--- a/public_html/lib-common.php	Mon Jan 13 00:17:40 2014 +0900
+++ b/public_html/lib-common.php	Sun Jan 12 15:23:42 2014 -0500
@@ -2327,7 +2327,8 @@
 
     if( !empty( $helpfile )) {
         // Only works when header generated all at once
-        if ($_CONF['supported_version_theme'] != '1.8.1') {
+        // Make sure not a full link. Needs to follow help file format (correct location and divs)  
+        if ($_CONF['supported_version_theme'] != '1.8.1' AND !stristr( $helpfile, 'http://')) {
             // Only need to set it once
             if (! defined('GL-HELP-SET')) {
                 define('GL-HELP-SET', true);



More information about the geeklog-cvs mailing list