description

  • chumak1974
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 6 months ago #652 by chumak1974
description was created by chumak1974
Как вывести вместо поля description поле descriptionhtml при добавлении метки пользователем?

Please Log in or Create an account to join the conversation.

More
12 years 6 months ago #654 by Dima
Replied by Dima on topic Re: description
Аналогично :lol: :lol: :lol: :lol:
Ждету релиза с конструктором. Или сами :silly: :silly: :silly:

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

  • chumak1974
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 6 months ago #655 by chumak1974
Replied by chumak1974 on topic Re: description
forum.zhuk.cc/index.php/component/kunena...t/643-links?Itemid=0 да так же Спасибо!

Только я не добавил а заменил поля description на поле descriptionhtml

строка 84
Code:
$descriptionhtml = $_POST["markerdescriptionhtml"];

строка 185
Code:
$newRow->descriptionhtml = str_replace('\\','', htmlspecialchars($descriptionhtml, ENT_NOQUOTES, 'UTF-8'));

строки 406-408
Code:
$scripttext .= ' \''.JText::_( 'COM_ZHGOOGLEMAP_MAP_USER_DESCRIPTION' ).' \'+' ."\n"; $scripttext .= ' \'<br />\'+' ."\n"; $scripttext .= ' \'<input name="markerdescriptionhtml" type="text" maxlength="250" size="50" value="'. htmlspecialchars($currentmarker->descriptionhtml, ENT_QUOTES, 'UTF-8').'" />\'+' ."\n";

строка 3279
Code:
$scripttext .= ' \'<input name="markerdescriptionhtml" type="text" maxlength="250" size="50" />\'+' ."\n";
Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.226 seconds
Powered by Kunena Forum