/[cvs]/nfo/php/libs/org.netfrag.glib/utils/links.php
ViewVC logotype

Diff of /nfo/php/libs/org.netfrag.glib/utils/links.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by joko, Sun Apr 6 04:30:10 2003 UTC revision 1.2 by joko, Tue Apr 8 17:56:09 2003 UTC
# Line 4  Line 4 
4  ##  $Id$  ##  $Id$
5  ## -------------------------------------------------------------------------  ## -------------------------------------------------------------------------
6  ##  $Log$  ##  $Log$
7    ##  Revision 1.2  2003/04/08 17:56:09  joko
8    ##  bugfixes
9    ##
10  ##  Revision 1.1  2003/04/06 04:30:10  joko  ##  Revision 1.1  2003/04/06 04:30:10  joko
11  ##  initial commit  ##  initial commit
12  ##  ##
# Line 79  class link { Line 82  class link {
82      $query_string = httpQuery($args);      $query_string = httpQuery($args);
83      return html_a($query_string, $caption);      return html_a($query_string, $caption);
84    }    }
85      
86      function action($action_name, $args = array()) {
87        $query_string = linkargs::action($action_name, $args);
88        return html_a($query_string, "[$action_name]");
89      }
90    
91  }  }
92    
# Line 117  class linkargs { Line 125  class linkargs {
125      return httpQuery($args);      return httpQuery($args);
126    }    }
127        
128      function action($action_name, $args = array()) {
129        $args[ga] = $action_name;
130        return httpQuery($args);
131      }
132    
133  }  }
134    
135    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed