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_official / html / modules / template [ view in CVS ]
| Date | Directory [filter] | File(s) [view] | Author [filter] |
| 28 Jul 2002 13:24:15 | postnuke_official/html/modules/template | pnadmin.php,1.14,1.15 | Mike |
| templatize modifyconfig | |||
Update of /home/cvsroot/postnuke_official/html/modules/template
In directory ns7.hostnuke.net:/tmp/cvs-serv1019
Modified Files:
pnadmin.php
Log Message:
templatize modifyconfig
Index: pnadmin.php
===================================================================
RCS file: /home/cvsroot/postnuke_official/html/modules/template/pnadmin.php,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** pnadmin.php 22 Jul 2002 21:36:47 -0000 1.14
--- pnadmin.php 28 Jul 2002 13:24:12 -0000 1.15
***************
*** 604,611 ****
function template_admin_modifyconfig()
{
- // Create output variable - this variable will store all of our output so that
- // we can return it easily when required
- $out = '';
-
// Security check - important to do this as early as possible to avoid
// potential security holes or just too much wasted processing
--- 604,607 ----
***************
*** 619,632 ****
}
! // Add menu to output - it helps if all of the module pages have a standard
// menu at their head to aid in navigation
! $out = template_admin_menu();
! //Call the appropriate template. Here we do pass arguments into the template
! //TODO fill $args
! $out .= pnModTemplate('template','admin','modifyconfig',$args);
!
! // Return the output that has been generated by this function
! return $out;
}
--- 615,630 ----
}
! // Get menu variables - it helps if all of the module pages have a standard
// menu at their head to aid in navigation
! //$menu = template_admin_menu('modifyconfig');
! $checked = pnModGetVar('template','bold') ? 'checked' : '';
! // Return the template variables defined in this function
! return array('authid' => pnSecGenAuthKey(),
! 'boldlabel' => pnVarPrepForDisplay(_TEMPLATEDISPLAYBOLD),
! 'boldchecked' => $checked,
! 'itemslabel' => pnVarPrepForDisplay(_TEMPLATEITEMSPERPAGE),
! 'itemsvalue' => pnModGetVar('template', 'itemsperpage'),
! 'updatebutton' => pnVarPrepForDisplay(_TEMPLATEUPDATE));
}
***************
*** 641,645 ****
// from other places such as the environment is not allowed, as that makes
// assumptions that will not hold in future versions of PostNuke
! $bold = pnVarCleanFromInput('bold');
// Confirm authorisation code. This checks that the form had a valid
--- 639,645 ----
// from other places such as the environment is not allowed, as that makes
// assumptions that will not hold in future versions of PostNuke
! list($bold,
! $itemsperpage) = pnVarCleanFromInput('bold',
! 'itemsperpage');
// Confirm authorisation code. This checks that the form had a valid
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 |