1
0
mirror of https://github.com/e107inc/e107.git synced 2025-09-01 18:32:44 +02:00

Comment fixes. News table comment count was not incrementing. (may be manually corrected in debug mode)

This commit is contained in:
Cameron
2016-03-13 22:24:28 -07:00
parent f5e9a1345b
commit fa8f25dfc5
5 changed files with 67 additions and 8 deletions

View File

@@ -762,6 +762,12 @@ class news_admin_ui extends e_admin_ui
$this->saveSettings();
}
if(e_DEBUG == true) // allowing manual fixing of comment total in DEBUG mode.
{
$this->fields['news_comment_total']['noedit'] = false;
$this->fields['news_comment_total']['inline'] = true;
}
$this->fields['news_email_notify']['writeParms']['post'] = "<span class='radio-inline radio inline'><a class='e-modal btn btn-xs btn-mini btn-primary' data-modal-caption='".ADLAN_149."' href='notify.php?iframe=1&type=admin_news_notify#/tab-news-events'>".LAN_CONFIGURE."</a></span>";