[Done v1.6.0] Replace hard-coded language text in /admin/profiles.php
The file /admin/profiles.php contains hard-coded language text that should be moved to a language-specific define:
Code:
<?php foreach($pagesByMenu as $menuKey => $pageList) { ?>
<dl>
<dt>
<strong class="checkLabel"><?php echo $menuTitles[$menuKey] ?></strong>
<input class="checkButton" type="button" value="Check All" onclick="checkAll(this.form,'<?php echo $menuKey ?>',true);">
<input class="checkButton" type="button" value="Uncheck All" onclick="checkAll(this.form,'<?php echo $menuKey ?>',false);">
</dt>
Code:
<?php foreach($pagesByMenu as $menuKey => $pageList) { ?>
<dl>
<dt>
<strong><?php echo $menuTitles[$menuKey] ?></strong>
<input class="checkButton" type="button" value="Check All" onclick="checkAll(this.form,'<?php echo $menuKey ?>',true);">
<input class="checkButton" type="button" value="Uncheck All" onclick="checkAll(this.form,'<?php echo $menuKey ?>',false);">
</dt>
Two occurrences of the same snippet
Re: Replace hard-coded language text in /admin/profiles.php