libraries/tbs/plugins/tbs_plugin_opentbs.php
function XML_BlockAlias_Prefix($TagPrefix, $Txt, $PosBeg, $Forward, $LevelStop) {

		$loc = clsTbsXmlLoc::FindStartTagByPrefix($Txt, $TagPrefix, $PosBeg, false);

		if ($Forward) {
			$loc->FindEndTag();
			return $loc->PosEnd;
		} else {
			return $loc->PosBeg;
		}

	}
function XML_BlockAlias_Prefix($TagPrefix, $Txt, $PosBeg, $Forward, $LevelStop) {

		$loc = clsTbsXmlLoc::FindStartTagByPrefix($Txt, $TagPrefix, $PosBeg, false);

		if ($Forward) {
			$loc->FindEndTag();
			return $loc->PosEnd;
		} else {
			return $loc->PosBeg;
		}

	}
function XML_BlockAlias_Prefix ( $ TagPrefix , $ Txt , $ PosBeg , $ Forward , $ LevelStop ) { $ loc = clsTbsXmlLoc :: FindStartTagByPrefix ( $ Txt , $ TagPrefix , $ PosBeg , false ) ; if ( $ Forward ) { $ loc -> FindEndTag ( ) ; return $ loc -> PosEnd ; } else { return $ loc -> PosBeg ; } }
Function used by Block Alias
The first start tag on the left is supposed to be the good one.
Note: encapuslation is not yet supported in this version.
Function used by Block Alias The first start tag on the left is supposed to be the good one . Note : encapuslation is not yet supported in this version .