MOON
Server: Apache
System: Linux server.netcommlabs.in 3.10.0-1160.83.1.el7.x86_64 #1 SMP Wed Jan 25 16:41:43 UTC 2023 x86_64
User: dermova (1051)
PHP: 5.4.45
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/dermova/www/india/wp-content/plugins/wptouch/admin/settings/html/user-agent-list.php
<?php global $wptouch_pro; ?>
<div id="user-agent-list">
	<?php if ( wptouch_get_locale() == 'fr_FR' ) { ?>
	<?php _e( 'WPtouch Pro will be active when any of the following user-agents or user-agent combinations are matched', 'wptouch-pro' ); ?> :
	<?php } else { ?>
	<?php _e( 'WPtouch Pro will be active when any of the following user-agents or user-agent combinations are matched', 'wptouch-pro' ); ?> :
	<?php } ?>

	<br />
	<span class="agents">
		<?php
			$agents = $wptouch_pro->get_supported_user_agents();
			$new_agents = array();

			foreach( $agents as $agent ) {
				if ( is_array( $agent ) && count( $agent ) > 0 ) {
					$new_agent = $agent[0];
					if ( count( $agent ) > 1 ) {
						$new_agent .= ' &amp; ' . $agent[1];
					}
					$new_agents[] = $new_agent;
				} elseif( !is_array( $agent ) ) {
					$new_agents[] = $agent;
				}
			}

			echo implode( ', ', $new_agents );
		?>
	</span>
</div>