Added todos to language/en/mods/info_acp_portal.php & language/en/mods/portal.php;

Fixed how color palette gets displayed and also fixed the small button areas of the color palette; 
When adding a Module, the users now see the Module name rather than the file name;
This commit is contained in:
Marc Alexander
2010-11-06 12:38:21 +00:00
parent a06c5fd197
commit 914a1d1d77
4 changed files with 27 additions and 7 deletions

View File

@@ -40,7 +40,6 @@
<fieldset>
<legend>{L_PORTAL_WELCOME}</legend>
<dl>
<dt></dt>
<dd>
<script type="text/javascript">
// <![CDATA[
@@ -453,7 +452,7 @@
{
color = String(numberList[r]) + String(numberList[g]) + String(numberList[b]);
document.write('<td bgcolor="#' + color + '" style="width: ' + width + 'px; height: ' + height + 'px;">');
document.write('<a href="#" onclick="bbfontstyle(\'[color=#' + color + ']\', \'[/color]\'); return false;"><img src="images/spacer.gif" width="' + width + '" height="' + height + '" alt="#' + color + '" title="#' + color + '" /></a>');
document.write('<a href="#" onclick="bbfontstyle(\'[color=#' + color + ']\', \'[/color]\'); return false;" style="margin: -4px 0px -4px 2px;"><img src="images/spacer.gif" width="' + width + '" height="' + (height+10) + '" alt="#' + color + '" title="#' + color + '" style="margin: -4px;" /></a>');
document.writeln('</td>');
}
@@ -534,8 +533,15 @@
// <![CDATA[
function change_palette()
{
dE('colour_palette');
e = document.getElementById('colour_palette');
if(e.style.display == 'block')
{
dE('colour_palette', -1);
}
else
{
dE('colour_palette', 1);
}
if (e.style.display == 'block')
{
@@ -547,7 +553,7 @@
}
}
colorPalette('h', 5, 5);
colorPalette('h', 10, 5);
// ]]>
</script>
</dt>