Community Support Forums — WordPress® ( Users Helping Users ) — 2011-12-20T09:50:35-05:00 http://www.primothemes.com/forums/feed.php?f=40&t=13095 2011-12-20T09:50:35-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13095&p=57831#p57831 <![CDATA[s2Member v111220 / Source Code: s2member\i...]]>
s2Member v111220
Source Code: s2member\includes\classes\utils-css.inc.php
Docs updated: December 20, 2011, 9:50 am

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — December 20th, 2011, 9:50 am


]]>
2011-12-07T01:03:42-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13095&p=55513#p55513 <![CDATA[s2Member v111206 / Source Code: s2member\i...]]>
s2Member v111206
Source Code: s2member\includes\classes\utils-css.inc.php
Docs updated: December 7, 2011, 1:03 am

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — December 7th, 2011, 1:03 am


]]>
2011-11-05T19:26:29-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13095&p=51887#p51887 <![CDATA[s2Member v111105 / Source Code: s2member\i...]]>
s2Member v111105
Source Code: s2member\includes\classes\utils-css.inc.php
Docs updated: November 5, 2011, 8:26 pm

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — November 5th, 2011, 7:26 pm


]]>
2011-10-29T20:35:29-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13095&p=49982#p49982 <![CDATA[s2Member v111029 / Source Code: s2member\i...]]>
s2Member v111029
Source Code: s2member\includes\classes\utils-css.inc.php
Docs updated: October 29, 2011, 9:35 pm

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — October 29th, 2011, 8:35 pm


]]>
2011-10-17T15:39:37-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13095&p=47776#p47776 <![CDATA[s2Member v111017 / Source Code: s2member\i...]]>
s2Member v111017
Source Code: s2member\includes\classes\utils-css.inc.php
Docs updated: October 17, 2011, 1:39 pm

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — October 17th, 2011, 3:39 pm


]]>
2011-10-11T14:35:34-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13095&p=46177#p46177 <![CDATA[s2Member v111011 / Source Code: s2member\i...]]>
s2Member v111011
Source Code: s2member\includes\classes\utils-css.inc.php
Docs updated: October 11, 2011, 12:35 pm

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — October 11th, 2011, 2:35 pm


]]>
2011-10-03T15:47:58-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13095&p=44307#p44307 <![CDATA[s2Member v111003 / Source Code: s2member\i...]]>
s2Member v111003
Source Code: s2member\includes\classes\utils-css.inc.php
Docs updated: October 3, 2011, 1:47 pm

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — October 3rd, 2011, 3:47 pm


]]>
2011-10-03T03:41:35-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13095&p=43014#p43014 <![CDATA[s2Member v111002 / Source Code: s2member\i...]]>
s2Member v111002
Source Code: s2member\includes\classes\utils-css.inc.php
Docs updated: October 3, 2011, 1:41 am

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — October 3rd, 2011, 3:41 am


]]>
2011-09-27T05:26:55-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13095&p=41260#p41260 <![CDATA[s2Member v110927 / Source Code: s2member\i...]]>
s2Member v110927
Source Code: s2member\includes\classes\utils-css.inc.php
Docs updated: September 27, 2011, 3:26 am

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — September 27th, 2011, 5:26 am


]]>
2011-09-26T21:03:32-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13095&p=40016#p40016 <![CDATA[s2Member v110926 / Source Code: s2member\i...]]>
s2Member v110926
Source Code: s2member\includes\classes\utils-css.inc.php
Docs updated: September 26, 2011, 7:03 pm

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — September 26th, 2011, 9:03 pm


]]>
2011-09-17T16:20:57-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13095&p=38158#p38158 <![CDATA[s2Member v110915 / Source Code: s2member\i...]]>
s2Member v110915
Source Code: s2member\includes\classes\utils-css.inc.php
Docs updated: September 17, 2011, 2:21 pm

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — September 17th, 2011, 4:20 pm


]]>
2011-09-14T01:28:07-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13095&p=36739#p36739 <![CDATA[s2Member v110913 / Source Code: s2member\i...]]>
s2Member v110913
Source Code: s2member\includes\classes\utils-css.inc.php
Docs updated: September 13, 2011, 11:28 pm

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — September 14th, 2011, 1:28 am


]]>
2011-09-13T12:03:13-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13095&p=35467#p35467 <![CDATA[s2Member v110912 / Source Code: s2member\i...]]>
s2Member v110912
Source Code: s2member\includes\classes\utils-css.inc.php
Docs updated: September 13, 2011, 10:03 am

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — September 13th, 2011, 12:03 pm


]]>
2011-08-15T15:14:32-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13095&p=31588#p31588 <![CDATA[s2Member v110815 / Source Code: s2member\i...]]>
s2Member v110815
Source Code: s2member\includes\classes\utils-css.inc.php
Docs updated: August 15, 2011, 4:14 pm

Open for public discussion.
(!-- s-words :: --)Source Code Documentation Packages ( Overview ) Classes Deprecated Todo Index Source Code jQuery(window).load(function(){ if(typeof location.hash === 'string' && location.hash.match(/^#/)) jQuery('olli'+location.hash).addClass('hilite'); }); jQuery(window).bind('hashchange', function(){ if(typeof location.hash === 'string' && location.hash.match(/^#/)) jQuery('olli').removeClass('hilite'); jQuery('olli'+location.hash).addClass('hilite'); }); [ full view ]s2member\includes\classes\utils-css.inc.php ?php /** * CSS utilities. * * Copyright: © 2009-2011 * {@link http://www.websharks-inc.com/ WebSharks, Inc.} * ( coded in the USA ) * * Released under the terms of the GNU General Public License. * You should have received a copy of the GNU General Public License, * along with this software. In the main directory, see: /licensing/ * If not, see: {@link http://www.gnu.org/licenses/}. * * @package s2Member\Utilities * @since 3.5 */ if ( realpath ( __FILE__ ) === realpath ( $_SERVER [ "SCRIPT_FILENAME" ] ) ) exit ( "Do not access this file directly." ) ; /**/ if ( ! class_exists ( "c_ws_plugin__s2member_utils_css" ) ) { /** * CSS utilities. * * @package s2Member\Utilities * @since 3.5 */ class c_ws_plugin__s2member_utils_css { /** * Handles CSS compression. * * @package s2Member\Utilities * @since 3.5 * * @param str $css A string of CSS. * @return str String of CSS, after compression. */ public static function compress_css ( $css = FALSE ) { $c6 = "/(\:#| #)([A-Z0-9]{6})/i" ; $css = preg_replace ( "/\/\*(.*?)\*\//s" , "" , $css ) ; $css = preg_replace ( "/[\r \n \t]+/" , "" , $css ) ; $css = preg_replace ( "/ {2,}/" , " " , $css ) ; $css = preg_replace ( "/ , | ,|, /" , "," , $css ) ; $css = preg_replace ( "/ \ | \|\ /" , "" , $css ) ; $css = preg_replace ( "/\[ /" , "[" , $css ) ; $css = preg_replace ( "/ \]/" , "]" , $css ) ; $css = preg_replace ( "/ \!\= | \!\=|\!\= /" , "!=" , $css ) ; $css = preg_replace ( "/ \|\= | \|\=|\|\= /" , "|=" , $css ) ; $css = preg_replace ( "/ \^\= | \^\=|\^\= /" , "^=" , $css ) ; $css = preg_replace ( "/ \$\= | \$\=|\$\= /" , "$=" , $css ) ; $css = preg_replace ( "/ \*\= | \*\=|\*\= /" , "*=" , $css ) ; $css = preg_replace ( "/ ~\= | ~\=|~\= /" , "~=" , $css ) ; $css = preg_replace ( "/ \= | \=|\= /" , "=" , $css ) ; $css = preg_replace ( "/ \+ | \+|\+ /" , "+" , $css ) ; $css = preg_replace ( "/ ~ | ~|~ /" , "~" , $css ) ; $css = preg_replace ( "/ \{ | \{|\{ /" , "{" , $css ) ; $css = preg_replace ( "/ \} | \}|\} /" , "}" , $css ) ; $css = preg_replace ( "/ \: | \:|\: /" , ":" , $css ) ; $css = preg_replace ( "/ ; | ;|; /" , ";" , $css ) ; $css = preg_replace ( "/;\}/" , "}" , $css ) ; /**/ return preg_replace_callback ( $c6 , "c_ws_plugin__s2member_utils_css::_compress_css_c3" , $css ) ; } /** * Handles CSS compression of hex colors. * * Reduces 6 character hex codes to just 3 whenever possible. * * @package s2Member\Utilities * @since 3.5 * * @param array $m Array of matches from ``preg_replace_callback()``. * @return str Shortened hex code when possible, full hex code when not possible. */ public static function _compress_css_c3 ( $m = FALSE ) { if ( $m [ 2 ] [ 0 ] === $m [ 2 ] [ 1 ] && $m [ 2 ] [ 2 ] === $m [ 2 ] [ 3 ] && $m [ 2 ] [ 4 ] === $m [ 2 ] [ 5 ] ) return $m [ 1 ] . $m [ 2 ] [ 0 ] . $m [ 2 ] [ 2 ] . $m [ 2 ] [ 4 ] ; return $m [ 0 ] ; } } } ? [ full view ]s2member\includes\classes\utils-css.inc.php Source Code Documentation Packages ( Overview ) Classes Deprecated Todo Index Source Code(!-- :: s-words --)

Statistics: Posted by System Robot — August 15th, 2011, 3:14 pm


]]>
2011-07-11T17:30:32-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13095&p=27758#p27758 <![CDATA[s2Member v110710 / Source Code: s2member\i...]]>
s2Member v110710
Source Code: s2member\includes\classes\utils-css.inc.php
Docs updated: July 11, 2011, 6:30 pm

Open for public discussion.
(!-- s-words :: --)Source Code Documentation Packages ( Overview ) Classes Deprecated Todo Index Source Code jQuery(window).load(function(){ if(typeof location.hash === 'string' && location.hash.match(/^#/)) jQuery('olli'+location.hash).addClass('hilite'); }); jQuery(window).bind('hashchange', function(){ if(typeof location.hash === 'string' && location.hash.match(/^#/)) jQuery('olli').removeClass('hilite'); jQuery('olli'+location.hash).addClass('hilite'); }); [ full view ]s2member\includes\classes\utils-css.inc.php ?php /** * CSS utilities. * * Copyright: © 2009-2011 * {@link http://www.websharks-inc.com/ WebSharks, Inc.} * ( coded in the USA ) * * Released under the terms of the GNU General Public License. * You should have received a copy of the GNU General Public License, * along with this software. In the main directory, see: /licensing/ * If not, see: {@link http://www.gnu.org/licenses/}. * * @package s2Member\Utilities * @since 3.5 */ if ( realpath ( __FILE__ ) === realpath ( $_SERVER [ "SCRIPT_FILENAME" ] ) ) exit ( "Do not access this file directly." ) ; /**/ if ( ! class_exists ( "c_ws_plugin__s2member_utils_css" ) ) { /** * CSS utilities. * * @package s2Member\Utilities * @since 3.5 */ class c_ws_plugin__s2member_utils_css { /** * Handles CSS compression. * * @package s2Member\Utilities * @since 3.5 * * @param str $css A string of CSS. * @return str String of CSS, after compression. */ public static function compress_css ( $css = FALSE ) { $c6 = "/(\:#| #)([A-Z0-9]{6})/i" ; $css = preg_replace ( "/\/\*(.*?)\*\//s" , "" , $css ) ; $css = preg_replace ( "/[\r \n \t]+/" , "" , $css ) ; $css = preg_replace ( "/ {2,}/" , " " , $css ) ; $css = preg_replace ( "/ , | ,|, /" , "," , $css ) ; $css = preg_replace ( "/ \ | \|\ /" , "" , $css ) ; $css = preg_replace ( "/\[ /" , "[" , $css ) ; $css = preg_replace ( "/ \]/" , "]" , $css ) ; $css = preg_replace ( "/ \!\= | \!\=|\!\= /" , "!=" , $css ) ; $css = preg_replace ( "/ \|\= | \|\=|\|\= /" , "|=" , $css ) ; $css = preg_replace ( "/ \^\= | \^\=|\^\= /" , "^=" , $css ) ; $css = preg_replace ( "/ \$\= | \$\=|\$\= /" , "$=" , $css ) ; $css = preg_replace ( "/ \*\= | \*\=|\*\= /" , "*=" , $css ) ; $css = preg_replace ( "/ ~\= | ~\=|~\= /" , "~=" , $css ) ; $css = preg_replace ( "/ \= | \=|\= /" , "=" , $css ) ; $css = preg_replace ( "/ \+ | \+|\+ /" , "+" , $css ) ; $css = preg_replace ( "/ ~ | ~|~ /" , "~" , $css ) ; $css = preg_replace ( "/ \{ | \{|\{ /" , "{" , $css ) ; $css = preg_replace ( "/ \} | \}|\} /" , "}" , $css ) ; $css = preg_replace ( "/ \: | \:|\: /" , ":" , $css ) ; $css = preg_replace ( "/ ; | ;|; /" , ";" , $css ) ; $css = preg_replace ( "/;\}/" , "}" , $css ) ; /**/ return preg_replace_callback ( $c6 , "c_ws_plugin__s2member_utils_css::_compress_css_c3" , $css ) ; } /** * Handles CSS compression of hex colors. * * Reduces 6 character hex codes to just 3 whenever possible. * * @package s2Member\Utilities * @since 3.5 * * @param array $m Array of matches from ``preg_replace_callback()``. * @return str Shortened hex code when possible, full hex code when not possible. */ public static function _compress_css_c3 ( $m = FALSE ) { if ( $m [ 2 ] [ 0 ] === $m [ 2 ] [ 1 ] && $m [ 2 ] [ 2 ] === $m [ 2 ] [ 3 ] && $m [ 2 ] [ 4 ] === $m [ 2 ] [ 5 ] ) return $m [ 1 ] . $m [ 2 ] [ 0 ] . $m [ 2 ] [ 2 ] . $m [ 2 ] [ 4 ] ; return $m [ 0 ] ; } } } ? [ full view ]s2member\includes\classes\utils-css.inc.php Source Code Documentation Packages ( Overview ) Classes Deprecated Todo Index Source Code(!-- :: s-words --)

Statistics: Posted by System Robot — July 11th, 2011, 5:30 pm


]]>
2011-07-09T06:10:32-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13095&p=25390#p25390 <![CDATA[s2Member v111220 / Source Code: s2member\i...]]>
s2Member v111220
Source Code: s2member\includes\classes\utils-css.inc.php
Docs updated: December 20, 2011, 9:50 am

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — July 9th, 2011, 6:10 am


]]>