- added possibility to customize authname of directory-protection, fixes #345
This commit is contained in:
@@ -22,6 +22,10 @@ $header
|
||||
<td class="main_field_name">{$lng['login']['password']}:</td>
|
||||
<td class="main_field_display" nowrap="nowrap"><input type="password" name="directory_password" size="30" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="main_field_name">{$lng['extras']['htpasswdauthname']}:</td>
|
||||
<td class="main_field_display" nowrap="nowrap"><input type="text" name="directory_authname" size="30" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="main_field_confirm" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottom" value="{$lng['extras']['directoryprotection_add']}" /></td>
|
||||
</tr>
|
||||
|
||||
@@ -6,7 +6,7 @@ $header
|
||||
<input type="hidden" name="id" value="$id" />
|
||||
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
|
||||
<tr>
|
||||
<td class="maintitle" colspan="2"><b><img src="images/title.gif" alt="" /> {$lng['menue']['main']['changepassword']}</b></td>
|
||||
<td class="maintitle" colspan="2"><b><img src="images/title.gif" alt="" /> {$lng['extras']['directoryprotection_edit']}</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="main_field_name">{$lng['panel']['path']}:</td>
|
||||
@@ -21,7 +21,11 @@ $header
|
||||
<td class="main_field_display" nowrap="nowrap"><input type="password" name="directory_password" maxlength="50" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="main_field_confirm" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottom" value="{$lng['menue']['main']['changepassword']}" /></td>
|
||||
<td class="main_field_name">{$lng['extras']['htpasswdauthname']}:</td>
|
||||
<td class="main_field_display" nowrap="nowrap"><input type="text" name="directory_authname" value="{$result['authname']}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="main_field_confirm" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottom" value="{$lng['extras']['directoryprotection_edit']}" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<tr class="" onmouseover="this.className='RowOverSelected';" onmouseout="this.className='';">
|
||||
<td class="field_name_border_left">{$row['username']}</td>
|
||||
<td class="field_name">{$row['path']}</td>
|
||||
<td class="field_name"><a href="$filename?page=htpasswds&action=edit&id={$row['id']}&s=$s">{$lng['menue']['main']['changepassword']}</a></td>
|
||||
<td class="field_name"><a href="$filename?page=htpasswds&action=edit&id={$row['id']}&s=$s">{$lng['panel']['edit']}</a></td>
|
||||
<td class="field_name"><a href="$filename?page=htpasswds&action=delete&id={$row['id']}&s=$s">{$lng['panel']['delete']}</a></td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user