From 4a725d707acb91217e7f4ab420178f5a867e152b Mon Sep 17 00:00:00 2001 From: Tom Slominski Date: Sun, 15 Jan 2012 16:27:49 +0000 Subject: [PATCH] 1.2.4 --- index.php | 13 +++++++------ public/README | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/index.php b/index.php index c3aa158..876fcdc 100644 --- a/index.php +++ b/index.php @@ -9,11 +9,6 @@ require_once( dirname(__FILE__).'/public/config.php' ); class ISQ { public static $general = array(), $links = array(), $social = array(); } // Settings definitions -if (!empty(ISQ::$social['facebook'])) { $ISQfacebook = "Share on Facebook"; } -if (!empty(ISQ::$social['twitter'])) { $ISQtwitter = "Tweet"; } -if (!empty(ISQ::$social['plus'])) { $ISQplus = "Share on Google+"; } -if (!empty(ISQ::$social['linkedin'])) { $ISQlinkedin = ""; } -if (!empty(ISQ::$general['qr'])) { $ISQqr = "

QR code

\n

Share your code with external devices

\nQR code"; } $ISQtitle = ISQ::$general['name']; $ISQname_1= ISQ::$links['name_1']; $ISQurl_1= ISQ::$links['url_1']; @@ -100,7 +95,13 @@ $(document).ready(function() $shorturl = isset( $return['shorturl'] ) ? $return['shorturl'] : ''; $message = isset( $return['message'] ) ? $return['message'] : ''; $title = isset( $return['title'] ) ? $return['title'] : ''; - + + if (!empty(ISQ::$social['facebook'])) { $ISQfacebook = "Share on Facebook"; } + if (!empty(ISQ::$social['twitter'])) { $ISQtwitter = "Tweet"; } + if (!empty(ISQ::$social['plus'])) { $ISQplus = "Share on Google+"; } + if (!empty(ISQ::$social['linkedin'])) { $ISQlinkedin = ""; } + if (!empty(ISQ::$general['qr'])) { $ISQqr = "

QR code

\n

Share your code with external devices

\nQR code"; } + echo << diff --git a/public/README b/public/README index 068a0ca..4b2e5e5 100644 --- a/public/README +++ b/public/README @@ -2,7 +2,7 @@ Infinity Squared, a beautiful theme for YOURLS, by Tom Slominski (http://tomslom See the project's page to view the latest installation and upgrade instructions as well as the latest news on the project -http://tomslominski.net/ +http://tomslominski.net/infinity-squared/ qTip 2 is dual licensed under MIT or GPLv2 licenses http://en.wikipedia.org/wiki/MIT_License