Changeset 758
- Timestamp:
- Jan 20, 2014, 3:37:44 PM (11 years ago)
- Location:
- trunk/includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/Version.php
r757 r758 6 6 // and system will need database update. 7 7 8 $Revision = 75 7; // Subversion revision8 $Revision = 758; // Subversion revision 9 9 $DatabaseRevision = 748; // Database structure revision 10 10 $ReleaseTime = '2014-01-13'; -
trunk/includes/global.php
r754 r758 144 144 145 145 146 function GetTranslateGoogle($text ) {146 function GetTranslateGoogle($text,$withouttitle = false) { 147 147 global $System; 148 148 // $text = 'Balthule\'s letter is dire. This Cult of the Dark Strand is a thorn in my side that must be removed. I have been dealing with some of the Dark Strand scum northeast of here at Ordil\'Aran. One of their number possesses a soul gem that I believe holds the secret to the cult\'s power.$b$bBring it to me, and I will be able to decipher the secrets held within.'; … … 167 167 $data = substr($data, strpos($data,'>')+1); 168 168 $data = substr($data, 0, strpos($data,'</div>')); 169 while (strpos($data,'>') !== false and strpos($data,'<') !== false) 169 170 if ($withouttitle) 171 while ((strpos($data,'>') !== false and strpos($data,'<') !== false) and (strpos($data,'>') > strpos($data,'<'))) 170 172 { 171 173 $partbefore = substr($data, 0, strpos($data,'<'));
Note:
See TracChangeset
for help on using the changeset viewer.