как убрать TABLE вокруг image?
Подскажите, как убрать HTML-код (таблицы и всякий мусор) вокруг элемента контента image?
Я нашел один способ (см.ниже), но там пропадают ссылки, которые стояли у картинки. Идеально, чтобы было <div class=\"image\"><a href=\"URL\">IMAGE</a></div> temp.image = COA temp.image { wrap = <img src=\"|\" alt=\"\" /> 10 = TEXT 10 { field = image field.listNum = 0 wrap = uploads/pics/| } 20 = TEXT 20 { field = imagewidth # nur wrappen, wenn imagewidth nicht 0 oder NULL ist fieldRequired = imagewidth noTrimWrap = |\" width=\"|\"\"| } 30 = TEXT 30 { field = imageheight # nur wrappen, wenn imagewidth nicht 0 oder NULL ist fieldRequired = imageheight noTrimWrap = |\" height=\"|\"\"| } } tt_content.textpic.20 > tt_content.textpic.20 < temp.image tt_content.image.20 > tt_content.image.20 < temp.image СПАСИБО! |
Часовой пояс GMT +4, время: 15:19. |
Работает на vBulletin® версия 3.8.1.
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Перевод: zCarot