Jump to content

[Solved] Date format in back office


leeloo

Recommended Posts

Hi to all
I added the product date added in file \tabs\AdminProducts.php

After :

>                </pre>
<table cellpadding="5" style="width:100%;">'.$this->l('Name:').'';
       foreach ($languages as $language)
           echo '            
                               <input size="55" type="text" id="name_'.$language['id_lang'].'" name="name_'.$language['id_lang'].'"
                               value="'.stripslashes(htmlspecialchars($this->getFieldValue($obj, 'name', $language['id_lang']))).'"'.((!$obj->id) ? ' onkeyup="copy2friendlyURL();"' : '').' onchange="updateCurrentText();" /> *
'.$this->l('Invalid characters:').' <>;=#{} 
';
       $this->displayFlags($languages, $defaultLanguage, $divLangName, 'cname');
       echo '[removed]updateCurrentText();[removed]
</table>
<p>

added :
</p>
<div>[code]                    
 


'.$this->l('Added :').' '.htmlentities($this->getFieldValue($obj, 'date_add'), ENT_COMPAT, 'UTF-8').'

<
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...