aboutsummaryrefslogtreecommitdiffstats
path: root/tests/class_loader/phpbb/class_name.php
diff options
context:
space:
mode:
authorDavid King <imkingdavid@gmail.com>2013-07-13 23:45:49 -0400
committerDavid King <imkingdavid@gmail.com>2013-07-13 23:45:49 -0400
commit6946cea72dae098599e1964c983d373bdd52324b (patch)
treea120dd0c74bebf60580955e89b2f5902d8ecdc5a /tests/class_loader/phpbb/class_name.php
parent71f6f5ad7e095ded7bcad449e0bcd646ac610117 (diff)
parent8d303226351f358b24389fb2fd2d9b6bab7aa565 (diff)
downloadforums-6946cea72dae098599e1964c983d373bdd52324b.tar
forums-6946cea72dae098599e1964c983d373bdd52324b.tar.gz
forums-6946cea72dae098599e1964c983d373bdd52324b.tar.bz2
forums-6946cea72dae098599e1964c983d373bdd52324b.tar.xz
forums-6946cea72dae098599e1964c983d373bdd52324b.zip
Merge remote-tracking branch 'cyberalien/ticket/11694' into develop
* cyberalien/ticket/11694: [ticket/11694] Do not locate assets with root path
Diffstat (limited to 'tests/class_loader/phpbb/class_name.php')
0 files changed, 0 insertions, 0 deletions
ref='#n133'>133 134 135 136 137
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
%
% Install mode selection dialog.
%
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
% Some global vars.
%
/install.option 255 string def

% install types
/.inst_cdrom	0 def
/.inst_other	1 def

/install.last .inst_cdrom def

% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
% Build install mode list.
%
% ( ) ==> ( )
%
/install.init {
  /xmenu.install .xm_size array def

  /xmenu xmenu.install def

  xmenu .xm_current install.last put

  % see install types (.inst_*)
  xmenu .xm_list [ is_dvd { "DVD" } { "CD-ROM" } ifelse "Other" ] put

  install.set.install.option
} def


% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
% Update install mode.
%
% ( ) ==> ( )
%
/install.update {
  /xmenu xmenu.install def

    /install.last xmenu .xm_current get def

    install.set.install.option

    /window.action actRedrawPanel def

} def


% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
% Show install menu.
%
% ( ) => ( )
%
/panel.install {
  "install_src" help.setcontext

  window.xmenu
  dup .xmenu xmenu.install put
  dup .xmenu.update /install.update put
  dup window.init
      window.show
} def


% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
% Return width of panel entry.
%
% ( ) => ( width )
%
/panel.install.width {
  /xmenu xmenu.install def

  pmenu.width
} def


% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
% Redraw panel entry.
%
% ( panel ) => ( )
%
/panel.install.update {
  /xmenu xmenu.install def

  pmenu.panel.update
} def


% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



/install.ok {
  /xmenu xmenu.install def

  window.done

  /install.last xmenu .xm_current get def

  /window.action actRedrawPanel def

  pmenu.update

} def


/install.cancel {
  /xmenu xmenu.install def

  xmenu .xm_current install.last put
} def


% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
% Set 'install=' boot option.
%
% ( -- )
%
/install.set.install.option {
  xmenu .xm_current get

  % default: .inst_other
  install.option "" strcpy pop

  dup .inst_cdrom eq {
    install.option "automatic=method:cdrom" strcpy pop
  } if

  pop
} def