Note: this list is kept only as a demonstration for CVSNotice. For the latest CVS notices, see the Xaraya and Postnuke sites
View Statistics - Next Notice - Previous NoticeDirectory filter : [ all ] / postnuke_modules / articles [ view in CVS ]
Date | Directory [filter] | File(s) [view] | Author [filter] |
29 Jul 2002 14:57:34 | postnuke_modules/articles | pnadmin.php,1.22,1.23 | Mike |
show allowed HTML tags in admin |
Update of /home/cvsroot/postnuke_modules/articles In directory ns7.hostnuke.net:/tmp/cvs-serv9649 Modified Files: pnadmin.php Log Message: show allowed HTML tags in admin Index: pnadmin.php =================================================================== RCS file: /home/cvsroot/postnuke_modules/articles/pnadmin.php,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** pnadmin.php 29 Jul 2002 14:10:30 -0000 1.22 --- pnadmin.php 29 Jul 2002 14:57:32 -0000 1.23 *************** *** 111,118 **** // Show allowable HTML ! $item['allowed'] = ''; foreach (pnConfigGetVar('AllowableHTML') as $k=>$v) { if ($v) { ! $item['allowed'] .= '<' . $k . '>'; } } --- 111,118 ---- // Show allowable HTML ! $item['allowedhtml'] = ''; foreach (pnConfigGetVar('AllowableHTML') as $k=>$v) { if ($v) { ! $item['allowedhtml'] .= '<' . $k . '> '; } } *************** *** 542,546 **** $item['bodytext'] = $article['body']; ! // TODO - show allowable HTML // TODO - language --- 542,552 ---- $item['bodytext'] = $article['body']; ! // Show allowable HTML ! $item['allowedhtml'] = ''; ! foreach (pnConfigGetVar('AllowableHTML') as $k=>$v) { ! if ($v) { ! $item['allowedhtml'] .= '<' . $k . '> '; ! } ! } // TODO - language *************** *** 557,560 **** --- 563,567 ---- $labels['bodytext'] = pnVarPrepForDisplay(_BODYTEXT); $labels['bodyfile'] = pnVarPrepForDisplay(_BODYFILE); + $labels['allowedhtml'] = pnVarPrepForDisplay(_ALLOWEDHTML); $labels['update'] = pnVarPrepForDisplay(_ARTICLESUPDATE);
View Statistics - Next Notice - Previous Notice
Visit Developer Site - Browse CVS Repository |
Syndicate via backend.rss (max. once per hour please) | Powered by CVSNotice 0.1.3 |