1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-21 05:41:58 +02:00

Site logo can now be managed though prefs and media-manager.

This commit is contained in:
CaMer0n
2009-12-23 10:04:39 +00:00
parent 1234bf86bb
commit 536f46e880
5 changed files with 40 additions and 11 deletions

View File

@@ -9,8 +9,8 @@
* Form Handler
*
* $Source: /cvs_backup/e107_0.8/e107_handlers/form_handler.php,v $
* $Revision: 1.101 $
* $Date: 2009-12-20 23:46:51 $
* $Revision: 1.102 $
* $Date: 2009-12-23 10:04:38 $
* $Author: e107coders $
*
*/
@@ -179,6 +179,7 @@ class e_form
$cal_options['weekNumbers'] = varset($options['weeks'], false);
$cal_options['ifFormat'] = e107::getPref('inputdate', '%d/%m/%Y %H:%M:%S');
$cal_options['timeFormat'] = "24";
$cal_attrib['class'] = "tbox date";
$cal_attrib['size'] = varset($options['size'], 25);
$cal_attrib['name'] = $name;
@@ -1353,6 +1354,16 @@ class e_form
break;
case 'datestamp':
if(vartrue($parms['auto']))
{
$value = time();
}
if(vartrue($parms['hidden']))
{
return $this->hidden($key, $value);
}
return $this->datepicker($key, $value, $parms);
break;