Community Support Forums — WordPress® ( Users Helping Users ) — 2011-12-20T09:50:28-05:00 http://www.primothemes.com/forums/feed.php?f=40&t=13082 2011-12-20T09:50:28-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13082&p=57818#p57818 <![CDATA[s2Member v111220 / Source Code: s2member\i...]]>
s2Member v111220
Source Code: s2member\includes\classes\translations.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:36-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13082&p=55500#p55500 <![CDATA[s2Member v111206 / Source Code: s2member\i...]]>
s2Member v111206
Source Code: s2member\includes\classes\translations.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:23-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13082&p=51874#p51874 <![CDATA[s2Member v111105 / Source Code: s2member\i...]]>
s2Member v111105
Source Code: s2member\includes\classes\translations.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:23-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13082&p=49969#p49969 <![CDATA[s2Member v111029 / Source Code: s2member\i...]]>
s2Member v111029
Source Code: s2member\includes\classes\translations.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:30-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13082&p=47763#p47763 <![CDATA[s2Member v111017 / Source Code: s2member\i...]]>
s2Member v111017
Source Code: s2member\includes\classes\translations.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:26-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13082&p=46164#p46164 <![CDATA[s2Member v111011 / Source Code: s2member\i...]]>
s2Member v111011
Source Code: s2member\includes\classes\translations.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:50-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13082&p=44294#p44294 <![CDATA[s2Member v111003 / Source Code: s2member\i...]]>
s2Member v111003
Source Code: s2member\includes\classes\translations.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:23-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13082&p=43001#p43001 <![CDATA[s2Member v111002 / Source Code: s2member\i...]]>
s2Member v111002
Source Code: s2member\includes\classes\translations.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:49-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13082&p=41247#p41247 <![CDATA[s2Member v110927 / Source Code: s2member\i...]]>
s2Member v110927
Source Code: s2member\includes\classes\translations.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:26-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13082&p=40003#p40003 <![CDATA[s2Member v110926 / Source Code: s2member\i...]]>
s2Member v110926
Source Code: s2member\includes\classes\translations.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:49-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13082&p=38145#p38145 <![CDATA[s2Member v110915 / Source Code: s2member\i...]]>
s2Member v110915
Source Code: s2member\includes\classes\translations.inc.php
Docs updated: September 17, 2011, 2:20 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:02-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13082&p=36726#p36726 <![CDATA[s2Member v110913 / Source Code: s2member\i...]]>
s2Member v110913
Source Code: s2member\includes\classes\translations.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:06-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13082&p=35454#p35454 <![CDATA[s2Member v110912 / Source Code: s2member\i...]]>
s2Member v110912
Source Code: s2member\includes\classes\translations.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:14-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13082&p=31575#p31575 <![CDATA[s2Member v110815 / Source Code: s2member\i...]]>
s2Member v110815
Source Code: s2member\includes\classes\translations.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\translations.inc.php ?php /** * Translations. * * 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\Translations * @since 3.5 */ if ( realpath ( __FILE__ ) === realpath ( $_SERVER [ "SCRIPT_FILENAME" ] ) ) exit ( "Do not access this file directly." ) ; /**/ if ( ! class_exists ( "c_ws_plugin__s2member_translations" ) ) { /** * Translations. * * @package s2Member\Translations * @since 3.5 */ class c_ws_plugin__s2member_translations { /** * Handles internal translations via `gettext` Filter. * * @package s2Member\Translations * @since 3.5 * * @attaches-to: ``add_filter("gettext");`` * * @param str $translated Expects already-translated string passed in by Filter. * @param str $original Expects original text string passed in by Filter. * @param str $domain Expects translation domain passed in by Filter. * @return str Translated string, possibly modified by this routine. */ public static function translation_mangler ( $translated = FALSE , $original = FALSE , $domain = FALSE ) { global $current_site , $current_blog ; /* In support of Multisite Networking. */ static $s = array ( ) ; /* This static array optimizes all of these routines. */ /**/ if ( ( isset ( $s [ "is_wp_login" ] ) && $s [ "is_wp_login" ] ) || ( ! isset ( $s [ "is_wp_login" ] ) && ( $s [ "is_wp_login" ] = ( strpos ( $_SERVER [ "REQUEST_URI" ] , "/wp-login.php" ) !== false ) ? true : false ) ) ) { if ( $translated === "Username" || $translated === "Password" ) /* Give Filters a chance here. */ { $translated = apply_filters ( "ws_plugin__s2member_translation_mangler" , $translated . " *" , get_defined_vars ( ) ) ; } else if ( $translated === "E-mail" ) /* Give Filters a chance here. */ { $translated = apply_filters ( "ws_plugin__s2member_translation_mangler" , "Email Address *" , get_defined_vars ( ) ) ; } else if ( $translated === "Registration complete. Please check your e-mail." && $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "custom_reg_password" ] ) { $translated = apply_filters ( "ws_plugin__s2member_translation_mangler" , "Registration complete. Please log in." , get_defined_vars ( ) ) ; } } /**/ else if ( ( isset ( $s [ "is_user_new" ] ) && $s [ "is_user_new" ] ) || ( ! isset ( $s [ "is_user_new" ] ) && ( $s [ "is_user_new" ] = ( strpos ( $_SERVER [ "REQUEST_URI" ] , "/wp-admin/user-new.php" ) !== false ) ? true : false ) ) ) { if ( $translated === "Hi,\n \nYou have been invited to join '%s' at\n %s as a %s.\nPlease click the following link to confirm the invite:\n %s \n" && ! empty ( $_REQUEST [ "role" ] ) && preg_match ( "/^(subscriber|s2member_level[0-9]+)$/" , $_REQUEST [ "role" ] ) ) { $translated = apply_filters ( "ws_plugin__s2member_translation_mangler" , 'You have been invited to join "%1$s" at' . "\n" . '%2$s as a Member.' . "\n" . 'Please click the following link to confirm the invite:' . "\n" . '%4$s' . "\n" , get_defined_vars ( ) ) ; } } /**/ else if ( ( isset ( $s [ "is_wp_activate" ] ) && $s [ "is_wp_activate" ] ) || ( ! isset ( $s [ "is_wp_activate" ] ) && ( $s [ "is_wp_activate" ] = ( strpos ( $_SERVER [ "REQUEST_URI" ] , "/wp-activate.php" ) !== false ) ? true : false ) ) ) { if ( strpos ( "View your site" , $translated ) !== false ) /* Change the way this link reads. */ { $translated = apply_filters ( "ws_plugin__s2member_translation_mangler" , str_replace ( "View your site" , "Visit site" , $translated ) , get_defined_vars ( ) ) ; } } /**/ else if ( ( isset ( $s [ "is_wp_signup" ] ) && $s [ "is_wp_signup" ] ) || ( ! isset ( $s [ "is_wp_signup" ] ) && ( $s [ "is_wp_signup" ] = ( strpos ( $_SERVER [ "REQUEST_URI" ] , "/wp-signup.php" ) !== false ) ? true : false ) ) ) { if ( $translated === "If you’re not going to use a great site domain, leave it for a new user. Now have at it!" ) { $translated = apply_filters ( "ws_plugin__s2member_translation_mangler" , "" , get_defined_vars ( ) ) ; } else if ( $translated === "Welcome back, %s. By filling out the form below, you can strongadd another site to your account/strong. There is no limit to the number of sites you can have, so create to your heart’s content, but write responsibly!" ) { if ( is_user_logged_in ( ) && is_object ( $user = wp_get_current_user ( ) ) ) /* Must have a User obj. */ { $blogs_allowed = $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "mms_registration_blogs_level" . c_ws_plugin__s2member_user_access:: user_access_level ( $user ) ] ; $user_blogs = ( is_array ( $blogs = get_blogs_of_user ( $user - ID ) ) ) ? count ( $blogs ) - 1 : 0 ; /**/ $user_blogs = ( $user_blogs = 0 ) ? $user_blogs : 0 ; /* NOT less than zero. */ $blogs_allowed = ( $blogs_allowed = 0 ) ? $blogs_allowed : 0 ; /**/ $translated = apply_filters ( "ws_plugin__s2member_translation_mangler" , "By filling out the form below, you can strong" . ( ( $user_blogs = 1 ) ? "add another site" : "add a site" ) . " to your account/strong." . ( ( $blogs_allowed 1 ) ? "br /You may create up to " . esc_html ( $blogs_allowed ) . " site" . ( ( $blogs_allowed 1 ) ? "s" : "" ) . "." : "" ) , get_defined_vars ( ) ) ; } } } /**/ return $translated ; /* No Filters. */ } } } ? [ full view ]s2member\includes\classes\translations.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:07-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13082&p=27745#p27745 <![CDATA[s2Member v110710 / Source Code: s2member\i...]]>
s2Member v110710
Source Code: s2member\includes\classes\translations.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\translations.inc.php ?php /** * Translations. * * 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\Translations * @since 3.5 */ if ( realpath ( __FILE__ ) === realpath ( $_SERVER [ "SCRIPT_FILENAME" ] ) ) exit ( "Do not access this file directly." ) ; /**/ if ( ! class_exists ( "c_ws_plugin__s2member_translations" ) ) { /** * Translations. * * @package s2Member\Translations * @since 3.5 */ class c_ws_plugin__s2member_translations { /** * Handles internal translations via `gettext` Filter. * * @package s2Member\Translations * @since 3.5 * * @attaches-to: ``add_filter("gettext");`` * * @param str $translated Expects already-translated string passed in by Filter. * @param str $original Expects original text string passed in by Filter. * @param str $domain Expects translation domain passed in by Filter. * @return str Translated string, possibly modified by this routine. */ public static function translation_mangler ( $translated = FALSE , $original = FALSE , $domain = FALSE ) { global $current_site , $current_blog ; /* In support of Multisite Networking. */ static $s = array ( ) ; /* This static array optimizes all of these routines. */ /**/ if ( ( isset ( $s [ "is_wp_login" ] ) && $s [ "is_wp_login" ] ) || ( ! isset ( $s [ "is_wp_login" ] ) && ( $s [ "is_wp_login" ] = ( strpos ( $_SERVER [ "REQUEST_URI" ] , "/wp-login.php" ) !== false ) ? true : false ) ) ) { if ( $translated === "Username" || $translated === "Password" ) /* Give Filters a chance here. */ { $translated = apply_filters ( "ws_plugin__s2member_translation_mangler" , $translated . " *" , get_defined_vars ( ) ) ; } else if ( $translated === "E-mail" ) /* Give Filters a chance here. */ { $translated = apply_filters ( "ws_plugin__s2member_translation_mangler" , "Email Address *" , get_defined_vars ( ) ) ; } else if ( $translated === "Registration complete. Please check your e-mail." && $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "custom_reg_password" ] ) { $translated = apply_filters ( "ws_plugin__s2member_translation_mangler" , "Registration complete. Please log in." , get_defined_vars ( ) ) ; } } /**/ else if ( ( isset ( $s [ "is_user_new" ] ) && $s [ "is_user_new" ] ) || ( ! isset ( $s [ "is_user_new" ] ) && ( $s [ "is_user_new" ] = ( strpos ( $_SERVER [ "REQUEST_URI" ] , "/wp-admin/user-new.php" ) !== false ) ? true : false ) ) ) { if ( $translated === "Hi,\n \nYou have been invited to join '%s' at\n %s as a %s.\nPlease click the following link to confirm the invite:\n %s \n" && ! empty ( $_REQUEST [ "role" ] ) && preg_match ( "/^(subscriber|s2member_level[0-9]+)$/" , $_REQUEST [ "role" ] ) ) { $translated = apply_filters ( "ws_plugin__s2member_translation_mangler" , 'You have been invited to join "%1$s" at' . "\n" . '%2$s as a Member.' . "\n" . 'Please click the following link to confirm the invite:' . "\n" . '%4$s' . "\n" , get_defined_vars ( ) ) ; } } /**/ else if ( ( isset ( $s [ "is_wp_activate" ] ) && $s [ "is_wp_activate" ] ) || ( ! isset ( $s [ "is_wp_activate" ] ) && ( $s [ "is_wp_activate" ] = ( strpos ( $_SERVER [ "REQUEST_URI" ] , "/wp-activate.php" ) !== false ) ? true : false ) ) ) { if ( strpos ( "View your site" , $translated ) !== false ) /* Change the way this link reads. */ { $translated = apply_filters ( "ws_plugin__s2member_translation_mangler" , str_replace ( "View your site" , "Visit site" , $translated ) , get_defined_vars ( ) ) ; } } /**/ else if ( ( isset ( $s [ "is_wp_signup" ] ) && $s [ "is_wp_signup" ] ) || ( ! isset ( $s [ "is_wp_signup" ] ) && ( $s [ "is_wp_signup" ] = ( strpos ( $_SERVER [ "REQUEST_URI" ] , "/wp-signup.php" ) !== false ) ? true : false ) ) ) { if ( $translated === "If you’re not going to use a great site domain, leave it for a new user. Now have at it!" ) { $translated = apply_filters ( "ws_plugin__s2member_translation_mangler" , "" , get_defined_vars ( ) ) ; } else if ( $translated === "Welcome back, %s. By filling out the form below, you can strongadd another site to your account/strong. There is no limit to the number of sites you can have, so create to your heart’s content, but write responsibly!" ) { if ( is_user_logged_in ( ) && is_object ( $user = wp_get_current_user ( ) ) ) /* Must have a User obj. */ { $blogs_allowed = $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "mms_registration_blogs_level" . c_ws_plugin__s2member_user_access:: user_access_level ( $user ) ] ; $user_blogs = ( is_array ( $blogs = get_blogs_of_user ( $user - ID ) ) ) ? count ( $blogs ) - 1 : 0 ; /**/ $user_blogs = ( $user_blogs = 0 ) ? $user_blogs : 0 ; /* NOT less than zero. */ $blogs_allowed = ( $blogs_allowed = 0 ) ? $blogs_allowed : 0 ; /**/ $translated = apply_filters ( "ws_plugin__s2member_translation_mangler" , "By filling out the form below, you can strong" . ( ( $user_blogs = 1 ) ? "add another site" : "add a site" ) . " to your account/strong." . ( ( $blogs_allowed 1 ) ? "br /You may create up to " . esc_html ( $blogs_allowed ) . " site" . ( ( $blogs_allowed 1 ) ? "s" : "" ) . "." : "" ) , get_defined_vars ( ) ) ; } } } /**/ return $translated ; /* No Filters. */ } } } ? [ full view ]s2member\includes\classes\translations.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:09:59-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13082&p=25377#p25377 <![CDATA[s2Member v111220 / Source Code: s2member\i...]]>
s2Member v111220
Source Code: s2member\includes\classes\translations.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:09 am


]]>