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:20:37postnuke_official/html/modules/autolinkspnadmin.php,1.3,1.4 pnadminapi.php,1.3,1.4 pnuserapi.php,1.4,1.5John Cox
 E_ALL Fixes

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

Modified Files:
	pnadmin.php pnadminapi.php pnuserapi.php 
Log Message:
E_ALL Fixes


Index: pnadmin.php
===================================================================
RCS file: /home/cvsroot/postnuke_official/html/modules/autolinks/pnadmin.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** pnadmin.php	2 Jul 2002 14:53:20 -0000	1.3
--- pnadmin.php	9 Aug 2002 02:20:35 -0000	1.4
***************
*** 240,244 ****
  
      // Security check
!     if (!pnSecAuthAction(0, 'Autolinks::Item', "$item[keyword]::$lid", ACCESS_EDIT)) {
          $output->Text(_AUTOLINKSNOAUTH);
          return $output->GetOutput();
--- 240,244 ----
  
      // Security check
!     if (!pnSecAuthAction(0, 'Autolinks::Item', "$link[keyword]::$lid", ACCESS_EDIT)) {
          $output->Text(_AUTOLINKSNOAUTH);
          return $output->GetOutput();
***************
*** 418,422 ****
  
      // Security check
!     if (!pnSecAuthAction(0, 'Autolinks::Item', "$item[keyword]::$lid", ACCESS_DELETE)) {
          $output->Text(_AUTOLINKSNOAUTH);
          return $output->GetOutput();
--- 418,422 ----
  
      // Security check
!     if (!pnSecAuthAction(0, 'Autolinks::Item', "$link[keyword]::$lid", ACCESS_DELETE)) {
          $output->Text(_AUTOLINKSNOAUTH);
          return $output->GetOutput();
***************
*** 436,440 ****
  
          // Title
!         $output->Title(_AUTOLINKSDELETE . " $item[keyword]");
  
          // Add confirmation to output.
--- 436,440 ----
  
          // Title
!         $output->Title(_AUTOLINKSDELETE . " $link[keyword]");
  
          // Add confirmation to output.
***************
*** 559,569 ****
                                                     'modify',
                                                     array('lid' => $link['lid'])),
!                                           _EDIT);
!                 if (pnSecAuthAction(0, 'Autolinks::', "$item[keyword]::$link[lid]", ACCESS_DELETE)) {
                      $options[] = $output->URL(pnModURL('autolinks',
                                                         'admin',
                                                         'delete',
                                                         array('lid' => $link['lid'])),
!                                               _DELETE);
                  }
              }
--- 559,569 ----
                                                     'modify',
                                                     array('lid' => $link['lid'])),
!                                           '_EDIT');
!                 if (pnSecAuthAction(0, 'Autolinks::', "$link[keyword]::$link[lid]", ACCESS_DELETE)) {
                      $options[] = $output->URL(pnModURL('autolinks',
                                                         'admin',
                                                         'delete',
                                                         array('lid' => $link['lid'])),
!                                               '_DELETE');
                  }
              }

Index: pnadminapi.php
===================================================================
RCS file: /home/cvsroot/postnuke_official/html/modules/autolinks/pnadminapi.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** pnadminapi.php	2 Jul 2002 14:53:20 -0000	1.3
--- pnadminapi.php	9 Aug 2002 02:20:35 -0000	1.4
***************
*** 83,92 ****
  
      if ($dbconn->ErrorNo() != 0) {
!         pnSessionSetVar('errormsg', _AUTOLINKSLINKCREATEFAILED);
          return false;
      }
  
      // Get the ID of the item that we inserted
!     $lid = $dbconn->PO_Insert_ID($autolinkstable, pn_lid);
  
      // Let any hooks know that we have created a new link
--- 83,92 ----
  
      if ($dbconn->ErrorNo() != 0) {
!         pnSessionSetVar('errormsg', '_AUTOLINKSLINKCREATEFAILED');
          return false;
      }
  
      // Get the ID of the item that we inserted
!     $lid = $dbconn->PO_Insert_ID($autolinkstable, 'pn_lid');
  
      // Let any hooks know that we have created a new link

Index: pnuserapi.php
===================================================================
RCS file: /home/cvsroot/postnuke_official/html/modules/autolinks/pnuserapi.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** pnuserapi.php	2 Jul 2002 14:53:20 -0000	1.4
--- pnuserapi.php	9 Aug 2002 02:20:35 -0000	1.5
***************
*** 61,65 ****
  
      if ($dbconn->ErrorNo() != 0) {
!         pnSessionSetVar('errormsg', _SELECTFAILED);
          return false;
      }
--- 61,65 ----
  
      if ($dbconn->ErrorNo() != 0) {
!         pnSessionSetVar('errormsg', '_SELECTFAILED');
          return false;
      }


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