addressbook/inc/class.addressbook_wizard_import_vcard.inc.php 2 locations
|
@@ 35-45 (lines=11) @@
|
| 32 |
|
// return from step40 |
| 33 |
|
if ($content['step'] == 'wizard_step40') |
| 34 |
|
{ |
| 35 |
|
switch (array_search('pressed', $content['button'])) |
| 36 |
|
{ |
| 37 |
|
case 'next': |
| 38 |
|
return $GLOBALS['egw']->importexport_definitions_ui->get_step($content['step'],1); |
| 39 |
|
case 'previous' : |
| 40 |
|
return $GLOBALS['egw']->importexport_definitions_ui->get_step($content['step'],-1); |
| 41 |
|
case 'finish': |
| 42 |
|
return 'wizard_finish'; |
| 43 |
|
default : |
| 44 |
|
return $this->wizard_step60($content,$sel_options,$readonlys,$preserv); |
| 45 |
|
} |
| 46 |
|
} |
| 47 |
|
// init step40 |
| 48 |
|
else |
|
@@ 81-91 (lines=11) @@
|
| 78 |
|
// return from step60 |
| 79 |
|
if ($content['step'] == 'wizard_step60') |
| 80 |
|
{ |
| 81 |
|
switch (array_search('pressed', $content['button'])) |
| 82 |
|
{ |
| 83 |
|
case 'next': |
| 84 |
|
return $GLOBALS['egw']->importexport_definitions_ui->get_step($content['step'],1); |
| 85 |
|
case 'previous' : |
| 86 |
|
return $GLOBALS['egw']->importexport_definitions_ui->get_step($content['step'],-1); |
| 87 |
|
case 'finish': |
| 88 |
|
return 'wizard_finish'; |
| 89 |
|
default : |
| 90 |
|
return $this->wizard_step60($content,$sel_options,$readonlys,$preserv); |
| 91 |
|
} |
| 92 |
|
} |
| 93 |
|
// init step60 |
| 94 |
|
else |
addressbook/inc/class.addressbook_wizard_export_contacts_csv.inc.php 1 location
|
@@ 71-81 (lines=11) @@
|
| 68 |
|
} |
| 69 |
|
} |
| 70 |
|
} |
| 71 |
|
switch (array_search('pressed', $content['button'])) |
| 72 |
|
{ |
| 73 |
|
case 'next': |
| 74 |
|
return $GLOBALS['egw']->importexport_definitions_ui->get_step($content['step'],1); |
| 75 |
|
case 'previous' : |
| 76 |
|
return $GLOBALS['egw']->importexport_definitions_ui->get_step($content['step'],-1); |
| 77 |
|
case 'finish': |
| 78 |
|
return 'wizard_finish'; |
| 79 |
|
default : |
| 80 |
|
return $this->wizard_step50($content,$sel_options,$readonlys,$preserv); |
| 81 |
|
} |
| 82 |
|
} |
| 83 |
|
// init step50 |
| 84 |
|
else |
addressbook/inc/class.addressbook_wizard_export_vcard.inc.php 1 location
|
@@ 42-52 (lines=11) @@
|
| 39 |
|
if($this->debug) error_log(get_class($this) . '::wizard_step40->$content '.print_r($content,true)); |
| 40 |
|
// return from step40 |
| 41 |
|
if ($content['step'] == 'wizard_step40') { |
| 42 |
|
switch (array_search('pressed', $content['button'])) |
| 43 |
|
{ |
| 44 |
|
case 'next': |
| 45 |
|
return $GLOBALS['egw']->importexport_definitions_ui->get_step($content['step'],1); |
| 46 |
|
case 'previous' : |
| 47 |
|
return $GLOBALS['egw']->importexport_definitions_ui->get_step($content['step'],-1); |
| 48 |
|
case 'finish': |
| 49 |
|
return 'wizard_finish'; |
| 50 |
|
default : |
| 51 |
|
return $this->wizard_step40($content,$sel_options,$readonlys,$preserv); |
| 52 |
|
} |
| 53 |
|
} |
| 54 |
|
// init step40 |
| 55 |
|
else |
addressbook/inc/class.addressbook_wizard_import_contacts_csv.inc.php 1 location
|
@@ 91-101 (lines=11) @@
|
| 88 |
|
// return from step60 |
| 89 |
|
if ($content['step'] == 'wizard_step60') |
| 90 |
|
{ |
| 91 |
|
switch (array_search('pressed', $content['button'])) |
| 92 |
|
{ |
| 93 |
|
case 'next': |
| 94 |
|
return $GLOBALS['egw']->importexport_definitions_ui->get_step($content['step'],1); |
| 95 |
|
case 'previous' : |
| 96 |
|
return $GLOBALS['egw']->importexport_definitions_ui->get_step($content['step'],-1); |
| 97 |
|
case 'finish': |
| 98 |
|
return 'wizard_finish'; |
| 99 |
|
default : |
| 100 |
|
return $this->wizard_step60($content,$sel_options,$readonlys,$preserv); |
| 101 |
|
} |
| 102 |
|
} |
| 103 |
|
// init step60 |
| 104 |
|
else |
importexport/inc/class.importexport_wizard_basic_export_csv.inc.php 3 locations
|
@@ 103-113 (lines=11) @@
|
| 100 |
|
unset($content['mapping']['']); |
| 101 |
|
unset($content['mapping'][0]); |
| 102 |
|
unset($content['fields']); |
| 103 |
|
switch (array_search('pressed', $content['button'])) |
| 104 |
|
{ |
| 105 |
|
case 'next': |
| 106 |
|
return $GLOBALS['egw']->importexport_definitions_ui->get_step($content['step'],1); |
| 107 |
|
case 'previous' : |
| 108 |
|
return $GLOBALS['egw']->importexport_definitions_ui->get_step($content['step'],-1); |
| 109 |
|
case 'finish': |
| 110 |
|
return 'wizard_finish'; |
| 111 |
|
default : |
| 112 |
|
return $this->wizard_step30($content,$sel_options,$readonlys,$preserv); |
| 113 |
|
} |
| 114 |
|
} |
| 115 |
|
// init step30 |
| 116 |
|
else |
|
@@ 165-175 (lines=11) @@
|
| 162 |
|
$label = $this->export_fields[$field] ? $this->export_fields[$field] : $label; |
| 163 |
|
} |
| 164 |
|
} |
| 165 |
|
switch (array_search('pressed', $content['button'])) |
| 166 |
|
{ |
| 167 |
|
case 'next': |
| 168 |
|
return $GLOBALS['egw']->importexport_definitions_ui->get_step($content['step'],1); |
| 169 |
|
case 'previous' : |
| 170 |
|
return $GLOBALS['egw']->importexport_definitions_ui->get_step($content['step'],-1); |
| 171 |
|
case 'finish': |
| 172 |
|
return 'wizard_finish'; |
| 173 |
|
default : |
| 174 |
|
return $this->wizard_step40($content,$sel_options,$readonlys,$preserv); |
| 175 |
|
} |
| 176 |
|
} |
| 177 |
|
// init step40 |
| 178 |
|
else |
|
@@ 254-264 (lines=11) @@
|
| 251 |
|
unset($content['set_filter']); |
| 252 |
|
|
| 253 |
|
// Next step |
| 254 |
|
switch (array_search('pressed', $content['button'])) |
| 255 |
|
{ |
| 256 |
|
case 'next': |
| 257 |
|
return $GLOBALS['egw']->importexport_definitions_ui->get_step($content['step'],1); |
| 258 |
|
case 'previous' : |
| 259 |
|
return $GLOBALS['egw']->importexport_definitions_ui->get_step($content['step'],-1); |
| 260 |
|
case 'finish': |
| 261 |
|
return 'wizard_finish'; |
| 262 |
|
default : |
| 263 |
|
return $this->wizard_step80($content,$sel_options,$readonlys,$preserv); |
| 264 |
|
} |
| 265 |
|
} else { |
| 266 |
|
|
| 267 |
|
// Step 50 - filters |
importexport/inc/class.importexport_wizard_basic_import_csv.inc.php 1 location
|
@@ 287-297 (lines=11) @@
|
| 284 |
|
} |
| 285 |
|
} |
| 286 |
|
unset($content['mapping']); |
| 287 |
|
switch (array_search('pressed', $content['button'])) |
| 288 |
|
{ |
| 289 |
|
case 'next': |
| 290 |
|
return $GLOBALS['egw']->importexport_definitions_ui->get_step($content['step'],1); |
| 291 |
|
case 'previous' : |
| 292 |
|
return $GLOBALS['egw']->importexport_definitions_ui->get_step($content['step'],-1); |
| 293 |
|
case 'finish': |
| 294 |
|
return 'wizard_finish'; |
| 295 |
|
default : |
| 296 |
|
return $this->wizard_step50($content,$sel_options,$readonlys,$preserv); |
| 297 |
|
} |
| 298 |
|
} |
| 299 |
|
// init step50 |
| 300 |
|
else |
infolog/inc/class.infolog_wizard_import_infologs_csv.inc.php 1 location
|
@@ 80-90 (lines=11) @@
|
| 77 |
|
unset($content['step']); |
| 78 |
|
return $step; |
| 79 |
|
} |
| 80 |
|
switch (array_search('pressed', $content['button'])) |
| 81 |
|
{ |
| 82 |
|
case 'next': |
| 83 |
|
return $GLOBALS['egw']->importexport_definitions_ui->get_step($content['step'],1); |
| 84 |
|
case 'previous' : |
| 85 |
|
return $GLOBALS['egw']->importexport_definitions_ui->get_step($content['step'],-1); |
| 86 |
|
case 'finish': |
| 87 |
|
return 'wizard_finish'; |
| 88 |
|
default : |
| 89 |
|
return $this->wizard_step60($content,$sel_options,$readonlys,$preserv); |
| 90 |
|
} |
| 91 |
|
} |
| 92 |
|
// init step60 |
| 93 |
|
else |
resources/inc/class.resources_wizard_export_csv.inc.php 1 location
|
@@ 37-47 (lines=11) @@
|
| 34 |
|
// return |
| 35 |
|
if ($content['step'] == 'wizard_step50') |
| 36 |
|
{ |
| 37 |
|
switch (array_search('pressed', $content['button'])) |
| 38 |
|
{ |
| 39 |
|
case 'next': |
| 40 |
|
return $GLOBALS['egw']->importexport_definitions_ui->get_step($content['step'],1); |
| 41 |
|
case 'previous' : |
| 42 |
|
return $GLOBALS['egw']->importexport_definitions_ui->get_step($content['step'],-1); |
| 43 |
|
case 'finish': |
| 44 |
|
return 'wizard_finish'; |
| 45 |
|
default : |
| 46 |
|
return $this->wizard_step50($content,$sel_options,$readonlys,$preserv); |
| 47 |
|
} |
| 48 |
|
} |
| 49 |
|
// init step |
| 50 |
|
else |
timesheet/inc/class.timesheet_wizard_import_csv.inc.php 2 locations
|
@@ 78-88 (lines=11) @@
|
| 75 |
|
// return from step45 |
| 76 |
|
if ($content['step'] == 'wizard_step45') |
| 77 |
|
{ |
| 78 |
|
switch (array_search('pressed', $content['button'])) |
| 79 |
|
{ |
| 80 |
|
case 'next': |
| 81 |
|
return $GLOBALS['egw']->importexport_definitions_ui->get_step($content['step'],1); |
| 82 |
|
case 'previous' : |
| 83 |
|
return $GLOBALS['egw']->importexport_definitions_ui->get_step($content['step'],-1); |
| 84 |
|
case 'finish': |
| 85 |
|
return 'wizard_finish'; |
| 86 |
|
default : |
| 87 |
|
return $this->wizard_step45($content,$sel_options,$readonlys,$preserv); |
| 88 |
|
} |
| 89 |
|
} |
| 90 |
|
// init step45 |
| 91 |
|
else |
|
@@ 141-151 (lines=11) @@
|
| 138 |
|
// return from step60 |
| 139 |
|
if ($content['step'] == 'wizard_step60') |
| 140 |
|
{ |
| 141 |
|
switch (array_search('pressed', $content['button'])) |
| 142 |
|
{ |
| 143 |
|
case 'next': |
| 144 |
|
return $GLOBALS['egw']->importexport_definitions_ui->get_step($content['step'],1); |
| 145 |
|
case 'previous' : |
| 146 |
|
return $GLOBALS['egw']->importexport_definitions_ui->get_step($content['step'],-1); |
| 147 |
|
case 'finish': |
| 148 |
|
return 'wizard_finish'; |
| 149 |
|
default : |
| 150 |
|
return $this->wizard_step60($content,$sel_options,$readonlys,$preserv); |
| 151 |
|
} |
| 152 |
|
} |
| 153 |
|
// init step60 |
| 154 |
|
else |
calendar/inc/class.calendar_wizard_import_ical.inc.php 1 location
|
@@ 52-62 (lines=11) @@
|
| 49 |
|
// return from step55 |
| 50 |
|
if ($content['step'] == 'wizard_step55') |
| 51 |
|
{ |
| 52 |
|
switch (array_search('pressed', $content['button'])) |
| 53 |
|
{ |
| 54 |
|
case 'next': |
| 55 |
|
return $GLOBALS['egw']->importexport_definitions_ui->get_step($content['step'],1); |
| 56 |
|
case 'previous' : |
| 57 |
|
return $GLOBALS['egw']->importexport_definitions_ui->get_step($content['step'],-1); |
| 58 |
|
case 'finish': |
| 59 |
|
return 'wizard_finish'; |
| 60 |
|
default : |
| 61 |
|
return $this->wizard_step55($content,$sel_options,$readonlys,$preserv); |
| 62 |
|
} |
| 63 |
|
} |
| 64 |
|
// init step30 |
| 65 |
|
else |