- Something
- Sunday, June 17th, 2007 at 11:26:43pm MDT
- <?php
- require_once('../config.php');
- $text = ' <span lang="fr">You can search material:</span> ';
- $search = '/(<(?:lang|span) lang="[a-zA-Z0-9_-]*".*?>.+?<\/(?:lang|span)>)(\s*<(?:lang|span) lang="[a-zA-Z0-9_-]*".*?>.+?<\/(?:lang|span)>)+/is';
- print_object($text);
- print_object($newtext);
- function multilangupgrade_impl($langblock) {
- print_object($langblock);
- $searchtosplit = '/<(?:lang|span) lang="([a-zA-Z0-9_-]*)".*?>(.+?)<\/(?:lang|span)>/is';
- $return = '';
- foreach ($rawlanglist[1] as $index=>$lang) {
- $return .= '<span lang="'.$lang.'" class="multilang">'.$rawlanglist[2][$index].'</span>';
- }
- return $return;
- }
- ?>
advertising
Update the Post
Soit mettez à jour ce message et ré-envoyez-le avec les modifications, soit créer un nouveau message.
You may also comment on this post.
Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.