/[cvs]/nfo/php/libs/org.netfrag.app/WebExplorer/utils.php
ViewVC logotype

Diff of /nfo/php/libs/org.netfrag.app/WebExplorer/utils.php

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

revision 1.7 by jonen, Wed Jul 2 12:32:27 2003 UTC revision 1.8 by jonen, Sun Dec 14 01:52:26 2003 UTC
# Line 4  Line 4 
4   * $Id$   * $Id$
5   *   *
6   * $Log$   * $Log$
7     * Revision 1.8  2003/12/14 01:52:26  jonen
8     * implemented 'SELECT' mode for selecting existing object-refereneces as child-nodes
9     *
10   * Revision 1.7  2003/07/02 12:32:27  jonen   * Revision 1.7  2003/07/02 12:32:27  jonen
11   * fixed bugs   * fixed bugs
12   *   *
# Line 167  Line 170 
170               }               }
171          $url_short = url::short($_SERVER["PHP_SELF"], $link_vars_create);          $url_short = url::short($_SERVER["PHP_SELF"], $link_vars_create);
172          $item = html_a( $url_short,  " create");          $item = html_a( $url_short,  " create");
173          } elseif($item == "_REF_SELECT") {
174            $link_vars_create = array(
175              'ecdid' => $options[label],
176              'ecdm' => $options[parent_guid],
177              'ecdmx' => $options[parent_class],
178              'ecmod' => "select",
179              'ecat' => 'list'
180            );
181            foreach($hidden_elements as $label => $value) {
182              if(!$link_vars_create[$label]) {
183               $link_vars_create[$label] = $value;
184              }
185                 }
186            $url_short = url::short($_SERVER["PHP_SELF"], $link_vars_create);
187            $item = html_a( $url_short,  " select");
188        } else {        } else {
189          // resolve 'o_{guid}_{classname}' - encoded string          // resolve 'o_{guid}_{classname}' - encoded string
190          $link_meta = php::untwingle_reference($item);          $link_meta = php::untwingle_reference($item);

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

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