Update of /cvsroot/phpwebsite-comm/modules/poll/class
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21136/class
Modified Files:
admin.php
Log Message:
Removed calls to help module which weren't working anyway.
Index: admin.php
===================================================================
RCS file: /cvsroot/phpwebsite-comm/modules/poll/class/admin.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** admin.php 22 Feb 2008 04:00:35 -0000 1.8
--- admin.php 12 Jul 2008 00:24:45 -0000 1.9
***************
*** 225,230 ****
}
- PHPWS_Core::initModClass('help', 'Help.php');
-
$form = new PHPWS_Form;
$form->addHidden('module', 'poll');
--- 225,228 ----
***************
*** 299,309 ****
$form->addCheck('users_only');
$form->setMatch('users_only', $poll->users_only);
! $form->addTplTag('USERS_ONLY_LABEL',
! PHPWS_Help::show_link('poll', 'users_only', dgettext('poll', 'Users Only')));
$form->addCheck('allow_comments');
$form->setMatch('allow_comments', $poll->allow_comments);
! $form->addTplTag('ALLOW_COMMENTS_LABEL',
! PHPWS_Help::show_link('poll', 'allow_comments', dgettext('poll', 'Allow Comments')));
$template = $form->getTemplate();
--- 297,305 ----
$form->addCheck('users_only');
$form->setMatch('users_only', $poll->users_only);
! $form->setLabel('users_only', dgettext('poll', 'Users Only'));
$form->addCheck('allow_comments');
$form->setMatch('allow_comments', $poll->allow_comments);
! $form->setLabel('allow_comments', dgettext('poll', 'Allow Comments'));
$template = $form->getTemplate();
|