Chrome
Safari
Edge
Firefox
Chrome (Android)
Tap the lock icon next to the address bar. Tap Permissions → Notifications . Adjust your preference.
Chrome (Desktop)
Click the padlock icon in the address bar. Select Site settings . Find Notifications and adjust your preference.
Safari (iOS 16.4+)
Ensure the site is installed via Add to Home Screen . Open Settings App → Notifications . Find your app name and adjust your preference.
Safari (macOS)
Go to Safari → Preferences . Click the Websites tab. Select Notifications in the sidebar. Find this website and adjust your preference.
Edge (Android)
Tap the lock icon next to the address bar. Tap Permissions .
Find Notifications and adjust your preference.
Edge (Desktop)
Click the padlock icon in the address bar. Click Permissions for this site . Find Notifications and adjust your preference.
Firefox (Android)
Go to Settings → Site permissions . Tap Notifications . Find this site in the list and adjust your preference.
Firefox (Desktop)
Open Firefox Settings. Search for Notifications . Find this site in the list and adjust your preference.
Здравствуйте.
Сделал для шаблона showCard вывод кнопки для предупреждения пользователя. Всё работает.
<if test="$this->memberData['g_is_supmod']"> <li><a href='{parse url="app=members&module=profile§ion=warnings&do=add&member={$member['member_id']}&from_app={$this->request['from_app']}&from_id1={$this->request['from_id1']}&from_id2={$this->request['from_id2']}" base="public"}' title='{$this->lang->words['warnings_add']}'>{parse replacement="t_announcement"}</a></li> </if>попытался сделать аналогичную кнопку для шаблона post
<if test="$this->memberData['g_is_supmod']"> <li><a href='{parse url="app=members&module=profile§ion=warnings&do=add&member={$post['author']['member_id']}&from_app={$this->request['from_app']}&from_id1={$this->request['from_id1']}&from_id2={$this->request['from_id2']}" base="public"}' title='{$this->lang->words['warnings_add']}' class='ipsButton_secondary'>{$this->lang->words['warnings_add']}</a></li> </if>и не выводится текст кнопки, задаваемый через
{$this->lang->words['warnings_add']}Почему в одном шаблоне этот код работает, а в другом - нет?
Спасибо!