Skip to content

Commit

Permalink
MDL-19788 Upgraded calls to link_to_popup_window()
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasconnault committed Aug 20, 2009
1 parent 04eb4d1 commit 7f383c5
Show file tree
Hide file tree
Showing 11 changed files with 70 additions and 70 deletions.
36 changes: 18 additions & 18 deletions auth/cas/config.html
Expand Up @@ -162,7 +162,7 @@ <h4><?php print_string('auth_cas_server_settings', 'auth_cas') ?> </h4>

if (isset($err['hostname'])) {

formerr($err['hostname']);
echo $OUTPUT->error_text($err['hostname']);

}

Expand Down Expand Up @@ -192,7 +192,7 @@ <h4><?php print_string('auth_cas_server_settings', 'auth_cas') ?> </h4>

if (isset($err['baseuri'])) {

formerr($err['baseuri']);
echo $OUTPUT->error_text($err['baseuri']);

}

Expand Down Expand Up @@ -222,7 +222,7 @@ <h4><?php print_string('auth_cas_server_settings', 'auth_cas') ?> </h4>

if (isset($err['port'])) {

formerr($err['port']);
echo $OUTPUT->error_text($err['port']);

}

Expand Down Expand Up @@ -252,7 +252,7 @@ <h4><?php print_string('auth_cas_server_settings', 'auth_cas') ?> </h4>

if (isset($err['casversion'])) {

formerr($err['casversion']);
echo $OUTPUT->error_text($err['casversion']);

}

Expand Down Expand Up @@ -389,7 +389,7 @@ <h4><?php print_string('auth_ldap_server_settings', 'auth_ldap') ?> </h4>

<input name="host_url" id="host_url" type="text" size="30" value="<?php echo $config->host_url?>" />

<?php if (isset($err['host_url'])) formerr($err['host_url']); ?>
<?php if (isset($err['host_url'])) echo $OUTPUT->error_text($err['host_url']); ?>

</td>

Expand Down Expand Up @@ -419,7 +419,7 @@ <h4><?php print_string('auth_ldap_server_settings', 'auth_ldap') ?> </h4>

echo $OUTPUT->select(html_select::make($versions, 'version', $config->version, false));

if (isset($err['version'])) formerr($err['version']);
if (isset($err['version'])) echo $OUTPUT->error_text($err['version']);

?>

Expand Down Expand Up @@ -449,7 +449,7 @@ <h4><?php print_string('auth_ldap_server_settings', 'auth_ldap') ?> </h4>

if (isset($err['ldapencoding'])) {

formerr($err['ldapencoding']);
echo $OUTPUT->error_text($err['ldapencoding']);

}

Expand Down Expand Up @@ -485,7 +485,7 @@ <h4><?php print_string('auth_ldap_bind_settings', 'auth_ldap') ?> </h4>

<input name="bind_dn" id="bind_dn" type="text" size="30" value="<?php echo $config->bind_dn?>" />

<?php if (isset($err['bind_dn'])) formerr($err['bind_dn']); ?>
<?php if (isset($err['bind_dn'])) echo $OUTPUT->error_text($err['bind_dn']); ?>

</td><td>

Expand All @@ -505,7 +505,7 @@ <h4><?php print_string('auth_ldap_bind_settings', 'auth_ldap') ?> </h4>

<input name="bind_pw" id="bind_pw" type="password" size="30" value="<?php echo $config->bind_pw?>" />

<?php if (isset($err['bind_pw'])) formerr($err['bind_pw']); ?>
<?php if (isset($err['bind_pw'])) echo $OUTPUT->error_text($err['bind_pw']); ?>

</td><td>

Expand Down Expand Up @@ -537,7 +537,7 @@ <h4><?php print_string('auth_ldap_user_settings', 'auth_ldap') ?> </h4>

<?php echo $OUTPUT->select(html_select::make($this->ldap_suppported_usertypes(), 'user_type', $config->user_type, false)); ?>

<?php if (isset($err['user_type'])) formerr($err['user_type']); ?>
<?php if (isset($err['user_type'])) echo $OUTPUT->error_text($err['user_type']); ?>

</td>

Expand All @@ -559,7 +559,7 @@ <h4><?php print_string('auth_ldap_user_settings', 'auth_ldap') ?> </h4>

<input name="contexts" id="contexts" type="text" size="30" value="<?php echo $config->contexts?>" />

<?php if (isset($err['contexts'])) formerr($err['contexts']); ?>
<?php if (isset($err['contexts'])) echo $OUTPUT->error_text($err['contexts']); ?>

</td>

Expand Down Expand Up @@ -609,7 +609,7 @@ <h4><?php print_string('auth_ldap_user_settings', 'auth_ldap') ?> </h4>

echo $OUTPUT->select(html_select::make($opt_deref, 'opt_deref', $config->opt_deref, LDAP_DEREF_NEVER, false));

if (isset($err['opt_deref'])) formerr($err['opt_deref']);
if (isset($err['opt_deref'])) echo $OUTPUT->error_text($err['opt_deref']);

?>

Expand Down Expand Up @@ -637,7 +637,7 @@ <h4><?php print_string('auth_ldap_user_settings', 'auth_ldap') ?> </h4>

<input name="user_attribute" id="user_attribute" type="text" size="30" value="<?php echo $config->user_attribute?>" />

<?php if (isset($err['user_attribute'])) formerr($err['user_attribute']); ?>
<?php if (isset($err['user_attribute'])) echo $OUTPUT->error_text($err['user_attribute']); ?>

</td>

Expand All @@ -659,7 +659,7 @@ <h4><?php print_string('auth_ldap_user_settings', 'auth_ldap') ?> </h4>

<input name="memberattribute" id="memberattribute" type="text" size="30" value="<?php echo $config->memberattribute?>" />

<?php if (isset($err['memberattribute'])) formerr($err['memberattribute']); ?>
<?php if (isset($err['memberattribute'])) echo $OUTPUT->error_text($err['memberattribute']); ?>

</td><td>

Expand All @@ -679,7 +679,7 @@ <h4><?php print_string('auth_ldap_user_settings', 'auth_ldap') ?> </h4>

<input name="memberattribute_isdn" id="memberattribute_isdn" type="text" size="30" value="<?php echo $config->memberattribute_isdn?>" />

<?php if (isset($err['memberattribute_isdn'])) formerr($err['memberattribute_isdn']); ?>
<?php if (isset($err['memberattribute_isdn'])) echo $OUTPUT->error_text($err['memberattribute_isdn']); ?>

</td><td>

Expand All @@ -699,7 +699,7 @@ <h4><?php print_string('auth_ldap_user_settings', 'auth_ldap') ?> </h4>

<input name="objectclass" id="objectclass" type="text" size="30" value="<?php echo $config->objectclass?>" />

<?php if (isset($err['objectclass'])) formerr($err['objectclass']); ?>
<?php if (isset($err['objectclass'])) echo $OUTPUT->error_text($err['objectclass']); ?>

</td>

Expand Down Expand Up @@ -733,7 +733,7 @@ <h4><?php print_string('coursecreators') ?> </h4>

<input name="attrcreators" id="attrcreators" type="text" size="30" value="<?php echo $config->attrcreators?>" />

<?php if (isset($err['attrcreators'])) formerr($err['attrcreators']); ?>
<?php if (isset($err['attrcreators'])) echo $OUTPUT->error_text($err['attrcreators']); ?>

</td><td>

Expand All @@ -753,7 +753,7 @@ <h4><?php print_string('coursecreators') ?> </h4>

<input name="groupecreators" id="groupecreators" type="text" size="30" value="<?php echo $config->groupecreators?>" />

<?php if (isset($err['groupecreators'])) formerr($err['groupecreators']); ?>
<?php if (isset($err['groupecreators'])) echo $OUTPUT->error_text($err['groupecreators']); ?>

</td><td>

Expand Down
18 changes: 9 additions & 9 deletions auth/db/config.html
Expand Up @@ -59,7 +59,7 @@
<?php

if (isset($err["host"])) {
formerr($err["host"]);
echo $OUTPUT->error_text($err["host"]);
}

?>
Expand Down Expand Up @@ -98,7 +98,7 @@
<?php

if (isset($err["name"])) {
formerr($err["name"]);
echo $OUTPUT->error_text($err["name"]);
}

?>
Expand All @@ -113,7 +113,7 @@
<?php

if (isset($err["user"])) {
formerr($err["user"]);
echo $OUTPUT->error_text($err["user"]);
}

?>
Expand All @@ -128,7 +128,7 @@
<?php

if (isset($err["pass"])) {
formerr($err["pass"]);
echo $OUTPUT->error_text($err["pass"]);
}

?>
Expand All @@ -145,7 +145,7 @@
<?php

if (isset($err["table"])) {
formerr($err["table"]);
echo $OUTPUT->error_text($err["table"]);
}

?>
Expand All @@ -160,7 +160,7 @@
<?php

if (isset($err["fielduser"])) {
formerr($err["fielduser"]);
echo $OUTPUT->error_text($err["fielduser"]);
}

?>
Expand All @@ -175,7 +175,7 @@
<?php

if (isset($err["fieldpass"])) {
formerr($err["fieldpass"]);
echo $OUTPUT->error_text($err["fieldpass"]);
}

?>
Expand Down Expand Up @@ -206,7 +206,7 @@
<?php

if (isset($err['extencoding'])) {
formerr($err['extencoding']);
echo $OUTPUT->error_text($err['extencoding']);
}

?>
Expand Down Expand Up @@ -237,7 +237,7 @@
<?php

if (isset($err['changepasswordurl'])) {
formerr($err['changepasswordurl']);
echo $OUTPUT->error_text($err['changepasswordurl']);
}

?>
Expand Down
12 changes: 6 additions & 6 deletions auth/fc/config.html
Expand Up @@ -30,7 +30,7 @@
<td align="right"><?php print_string("auth_fchost_key", "auth_fc") ?>:</td>
<td>
<input name="host" type="text" size="30" value="<?php echo $config->host?>" />
<?php if (isset($err["host"])) formerr($err["host"]); ?>
<?php if (isset($err["host"])) echo $OUTPUT->error_text($err["host"]); ?>
</td>
<td>
<?php print_string("auth_fchost", "auth_fc") ?>
Expand All @@ -41,7 +41,7 @@
<td align="right"><?php print_string("auth_fcfppport_key", "auth_fc") ?>:</td>
<td>
<input name="fppport" type="text" size="30" value="<?php echo $config->fppport?>" />
<?php if (isset($err["fppport"])) formerr($err["host"]); ?>
<?php if (isset($err["fppport"])) echo $OUTPUT->error_text($err["host"]); ?>
</td>
<td>
<?php print_string("auth_fcfppport", "auth_fc") ?>
Expand All @@ -52,7 +52,7 @@
<td align="right"><?php print_string("auth_fcuserid_key", "auth_fc") ?>:</td>
<td>
<input name="userid" type="text" size="30" maxlength="15" value="<?php echo $config->userid?>" />
<?php if (isset($err["userid"])) formerr($err["userid"]); ?>
<?php if (isset($err["userid"])) echo $OUTPUT->error_text($err["userid"]); ?>
</td>
<td>
<?php print_string("auth_fcuserid", "auth_fc") ?>
Expand All @@ -62,7 +62,7 @@
<td align="right"><?php print_string("auth_fcpasswd_key", "auth_fc") ?>:</td>
<td>
<input name="passwd" type="password" size="30" maxlength="12" value="<?php echo $config->passwd?>" />
<?php if (isset($err["passwd"])) formerr($err["passwd"]); ?>
<?php if (isset($err["passwd"])) echo $OUTPUT->error_text($err["passwd"]); ?>
</td>
<td>
<?php print_string("auth_fcpasswd", "auth_fc") ?>
Expand All @@ -73,7 +73,7 @@
<td align="right"><?php print_string("auth_fccreators_key", "auth_fc") ?>:</td>
<td>
<input name="creators" type="text" size="30" value="<?php echo $config->creators?>" />
<?php if (isset($err["creators"])) formerr($err["creators"]); ?>
<?php if (isset($err["creators"])) echo $OUTPUT->error_text($err["creators"]); ?>
</td>
<td>
<?php print_string("auth_fccreators", "auth_fc") ?>
Expand All @@ -87,7 +87,7 @@
<?php

if (isset($err['changepasswordurl'])) {
formerr($err['changepasswordurl']);
echo $OUTPUT->error_text($err['changepasswordurl']);
}

?>
Expand Down
6 changes: 3 additions & 3 deletions auth/imap/config.html
Expand Up @@ -24,7 +24,7 @@
<?php

if (isset($err['host'])) {
formerr($err['host']);
echo $OUTPUT->error_text($err['host']);
}

?>
Expand Down Expand Up @@ -62,7 +62,7 @@
<?php

if (isset($err['port'])) {
formerr($err['port']);
echo $OUTPUT->error_text($err['port']);
}

?>
Expand All @@ -77,7 +77,7 @@
<?php

if (isset($err['changepasswordurl'])) {
formerr($err['changepasswordurl']);
echo $OUTPUT->error_text($err['changepasswordurl']);
}

?>
Expand Down

0 comments on commit 7f383c5

Please sign in to comment.