1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-07 23:26:41 +02:00

Issue #5458 Make sure configured siteurl preference contains 'http'.

This commit is contained in:
camer0n
2025-03-30 09:09:52 -07:00
parent 16eaf7b59a
commit 4a5025992f
2 changed files with 9 additions and 2 deletions

View File

@@ -362,7 +362,7 @@ $text = "
<td><label for='siteurl'>".PRFLAN_3."</label>
".($pref['siteurl'] == SITEURL ? "" : $frm->help(PRFLAN_159.": <strong>".SITEURL."</strong>"))."</td>
<td>
".$frm->text('siteurl', $pref['siteurl'], 150, 'size=xxlarge')."
".$frm->text('siteurl', $pref['siteurl'], 150, ['size'=>'xxlarge', 'required'=>1, 'pattern' => '^http.*', 'placeholder'=>'eg. '.SITEURL])."
</td>
</tr>
<tr>