About 20,241 results: "php strtr"
Page 6 of 50
Filter Results
Sources
Languages
Filter Results
Try Search On
















  1. 				// Validate the name and email.
  2. 				if (!isset($_REQUEST['guestname']) || trim(strtr($_REQUEST['guestname'], '_', ' ')) == '')
  3. 	{
  4. 		$context['allowed_extensions'] = strtr($modSettings['attachmentExtensions'], array(',' => ', '));
  5. 		$topicData[$key]['subject'] = un_htmlspecialchars($topicData[$key]['subject']);
  6. 		$topicData[$key]['body'] = trim(un_htmlspecialchars(strip_tags(strtr(parse_bbc($topicData[$key]['body'], false), array('<br />' => "\n", '</div>' => "\n", '</li>' => "\n", '&#91;' => '[', '&#93;' => ']')))));
  7. 			require_once($sourcedir . '/Subs-Editor.php');
  8. 			$row['body'] = strtr($row['body'], array('&lt;' => '#smlt#', '&gt;' => '#smgt#', '&amp;' => '#smamp#'));
  9. 		$context['quote']['xml'] = '[quote author=' . $row['poster_name'] . ' link=topic=' . $row['id_topic'] . '.msg' . (int) $_REQUEST['quote'] . '#msg' . (int) $_REQUEST['quote'] . ' date=' . $row['poster_time'] . ']' . $lb . $row['body'] . $lb . '[/quote]';
  10. 		$context['quote']['text'] = strtr(un_htmlspecialchars($context['quote']['xml']), array('\'' => '\\\'', '\\' => '\\\\', "\n" => '\\n', '</script>' => '</\' + \'script>'));
  11. 		$context['quote']['xml'] = strtr($context['quote']['xml'], array('&nbsp;' => '&#160;', '<' => '&lt;', '>' => '&gt;'));
  12. 
                        
  13. 	{
  14. 		$_POST['subject'] = strtr($smcFunc['htmlspecialchars']($_POST['subject']), array("\r" => '', "\n" => '', "\t" => ''));
  15. 				'first_in_topic' => $row['id_msg'] == $row['id_first_msg'],
  16. 				'body' => strtr($msgOptions['body'], array(']]>' => ']]]]><![CDATA[>')),




Back to Top