Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1179162
install_setup.tpl
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Oct 10, 12:23 AM
Size
1 KB
Mime Type
text/plain
Expires
Sun, Oct 12, 12:23 AM (1 d, 12 h)
Engine
blob
Format
Raw Data
Handle
765389
Attached To
rINP In-Portal
install_setup.tpl
View Options
<
tr
class
=
"table-color2"
>
<
td
colspan
=
"2"
>
In order to use this installation tool, please identify yourself using the root password!
</
td
>
</
tr
>
<
tr
class
=
"table-color2"
>
<
td
class
=
"text"
>
<
b
>
Username
<
span
class
=
"error"
>
*
</
span
>
:
</
b
>
</
td
>
<
td
width
=
"80%"
>
<
input
type
=
"text"
name
=
"login"
value
=
"<?php echo
$
this->GetVar('login'); ?>"
class
=
"text"
/>
</
td
>
</
tr
>
<
tr
class
=
"table-color2"
>
<
td
class
=
"text"
>
<
b
>
Password
<
span
class
=
"error"
>
*
</
span
>
:
</
b
>
</
td
>
<
td
>
<
input
type
=
"password"
name
=
"password"
class
=
"text"
/>
</
td
>
</
tr
>
<?php
ob_start();
?>
<
tr
class
=
"%4
$
s"
>
<
td
colspan
=
"2"
>
<
input
type
=
"radio"
value
=
"%1
$
s"
name
=
"next_preset"
id
=
"next_preset_%1
$
s"
%
2
$
s
><
label
for
=
"next_preset_%1
$
s"
>
%3
$
s
</
label
></
span
>
</
td
>
</
tr
>
<?php
$
option_tpl = ob_get_clean();
$
options = Array (
'sys_requirements' => 'Check System Requirements',
'upgrade' => 'Upgrade In-Portal',
'clean_reinstall' => 'Reinstall In-Portal',
'fresh_install' => 'Install In-Portal to a New Database',
'update_license' => 'Update License Information',
'update_config' => 'Update System Configuration',
'db_reconfig' => 'Update Database Configuration',
);
if ( !
$
this->Application->isDebugMode() ) {
unset(
$
options['update_config']);
}
$
upgradable_modules =
$
this->GetUpgradableModules();
if (!
$
upgradable_modules) {
unset(
$
options['upgrade']);
}
$
td_class = 'table-color1';
foreach (
$
options as
$
option_key =>
$
option_title) {
$
checked =
$
this->GetVar('next_preset') ==
$
option_key ? ' checked' : '';
echo sprintf(
$
option_tpl,
$
option_key,
$
checked,
$
option_title,
$
td_class);
$
td_class = (
$
td_class == 'table-color1') ? 'table-color2' : 'table-color1';
}
?>
Event Timeline
Log In to Comment