1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 12:20:44 +02:00

More Iconpicker and icon folder cleanup.

This commit is contained in:
CaMer0n
2009-07-16 08:15:35 +00:00
parent 5f1933c3fa
commit afcf85cd8e
8 changed files with 379 additions and 205 deletions

View File

@@ -9,8 +9,8 @@
* Form Handler
*
* $Source: /cvs_backup/e107_0.8/e107_handlers/form_handler.php,v $
* $Revision: 1.33 $
* $Date: 2009-07-15 09:38:00 $
* $Revision: 1.34 $
* $Date: 2009-07-16 08:15:35 $
* $Author: e107coders $
*
*/
@@ -87,6 +87,11 @@ class e_form
function iconpicker($name, $default, $label, $sc_parameters = '', $ajax = true)
{
// TODO - Hide the <input type='text'> element, and display the icon itself after it has been chosen.
// eg. <img id='iconview' src='".$img."' style='border:0; ".$blank_display."' alt='' />
// The button itself could be replaced with an icon just for this purpose.
$e107 = &e107::getInstance();
$id = $this->name2id($name);
$sc_parameters .= '&id='.$id;