Feature Requests item #866176, was opened at 2003-12-26 17:39
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=403614&aid=866176&group_id=31885
Category: None
Group: None
Status: Open
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: perm.inc little modification (code submitted)
Initial Comment:
Dont know if this is the place to contrib to code...
but worth the try.. little thing:
in func perm_sel in class Perm in perm.inc line 90
added piece of code to allow a size attrib on the
select tab to customize the size of the select..
(release 7.4)
that is:
change
$ret = sprintf("<select multiple name=\%s[]\%s>\n",
$name,
($class!="")?" class=$class":"");
by:
if (isset($this->perm_sel_size))
{
$ret = sprintf("<select
size=$this->perm_sel_size multiple name=\%s[]\%s>\n",
$name,
($class!="")?" class=$class":"");
}
else
{
$ret = sprintf("<select multiple
name=\%s[]\%s>\n",
$name,
($class!="")?" class=$class":"");
}
then.. if you declare a var $perm_sel_size in your
inherited class it will put it as a tag, if you dont,
it will be the same as before.
hope you like it.. I do (and I need it)
Ariel Barreiro
ari...@ho...
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=403614&aid=866176&group_id=31885
|