Xaraya / Postnuke CVS Notices - Message

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 Notice

Directory filter : [ all ] / postnuke_official / html / modules / autolinks [ view in CVS ]

Date Directory [filter] File(s) [view] Author [filter]
09 Aug 2002 02:46:57postnuke_official/html/modules/autolinkspnadmin.php,1.4,1.5John Cox
 First Template Complete, also added pnException call.

Update of /home/cvsroot/postnuke_official/html/modules/autolinks
In directory ns7.hostnuke.net:/tmp/cvs-serv16885/html/modules/autolinks

Modified Files:
	pnadmin.php 
Log Message:
First Template Complete, also added pnException call.


Index: pnadmin.php
===================================================================
RCS file: /home/cvsroot/postnuke_official/html/modules/autolinks/pnadmin.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** pnadmin.php	9 Aug 2002 02:20:35 -0000	1.4
--- pnadmin.php	9 Aug 2002 02:46:54 -0000	1.5
***************
*** 29,47 ****
  {
      // Create output object
-     $output = new pnHTML();
- 
      // Security check
      if (!pnSecAuthAction(0, 'Autolinks::', '::', ACCESS_EDIT)) {
!         $output->Text(_AUTOLINKSNOAUTH);
!         return $output->GetOutput();
      }
- 
-     // Add menu to output
-     $output->SetInputMode(_PNH_VERBATIMINPUT);
-     $output->Text(autolinks_adminmenu());
-     $output->SetInputMode(_PNH_PARSEINPUT);
- 
      // Return the output
!     return $output->GetOutput();
  }
  
--- 29,43 ----
  {
      // Create output object
      // Security check
      if (!pnSecAuthAction(0, 'Autolinks::', '::', ACCESS_EDIT)) {
!         $msg = pnML('Not authorized to access #(1) module administration',
!                     'AutoLinks');
!         pnExceptionSet(PN_SYSTEM_EXCEPTION, 
!                     'NO_PERMISSION',
!                      new SystemException($msg));
!         return;
      }
      // Return the output
!     return array();
  }
  


Directory filter : [ all ] / postnuke_official / html / modules / autolinks [ view in CVS ]

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