I've got an issue with the default settings pages in iPeng:

The different settings are wrapped in the [% settings %] wrapper and
organized using [% settingsSection %] wrappers but the control elements
themselves are hard coded:


Code:
--------------------
    
        [% WRAPPER settingSection %]
                [% WRAPPER settingGroup title="SETUP_COMPOSERINARTISTS" 
desc="SETUP_COMPOSERINARTISTS_DESC" %]
                        <input type=hidden name="composerInArtists" value="0" />
                        <input type=checkbox [% IF prefs.composerInArtists 
%]checked [% END %] class="stdedit" name="composerInArtists" 
id="composerInArtists" value="1" />
                        <label for="composerInArtists" class="stdlabel">[% 
"COMPOSER" | string %]</label><br>
        
                        <input type=hidden name="conductorInArtists" value="0" 
/>
                        <input type=checkbox [% IF prefs.conductorInArtists 
%]checked [% END %] class="stdedit" name="conductorInArtists" 
id="conductorInArtists" value="1" />
                        <label for="conductorInArtists" class="stdlabel">[% 
"CONDUCTOR" | string %]</label><br>
        
                        <input type=hidden name="bandInArtists" value="0" />
                        <input type=checkbox [% IF prefs.bandInArtists 
%]checked [% END %] class="stdedit" name="bandInArtists" id="bandInArtists" 
value="1" />
                        <label for="bandInArtists" class="stdlabel">[% "BAND" | 
string %]</label>
                [% END %]
        [% END %]
  
--------------------


While I can live with that for <selection>s and I can somewhat live
with it for submit buttons (not nice, but ok...) it's not so nice for
input boxes and a complete mess for checkboxes when rendering this on
the iPhone.

I would like to be able to define my own controls for at least text
input and checkboxes but I don't think it makes lots of sense to have a
separate set of settings files for iPeng.

What I would have in mind is something like a wrapper for textinput and
checkbox and submitbutton that can be defined by the skin.

Is this something that would be doable? If you think: yes, I would file
an enhancement request bug.

I would also volunteer to refactor the existing settings pages one time
to support this change but they would have to be maintained that way by
whoever does changes to them...

What do you think?


-- 
pippin

---
see iPeng at penguinlovesmusic.com
------------------------------------------------------------------------
pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777
View this thread: http://forums.slimdevices.com/showthread.php?t=46458

_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/beta

Reply via email to