Tartalombeküldési form dátumformátumának megváltoztatása

The spam filter installed on this site is currently unavailable. Per site policy, we are unable to accept new submissions until that problem is resolved. Please try resubmitting the form in a couple of minutes.
Kategória: 
Snippet

A felhasználókat meg tudja zavarni a beküldés idejéhez beírt 2010-07-08 11:49:42 +0200 dátumformátum. Így alakíthatjuk át hook_form_alterből, kösz Yorknak és a #drupal.hu csatornának a substr tippért, én magamtól először valamilyen regexpes megoldást kerestem. :)

<?php
$is_node_form = substr($form_id, -9) ;
if ($is_node_form === 'node_form') {
$node = node_load(arg(1));
if ($node->created) {
$form['author']['date']['#default_value'] = format_date($node->created, 'custom', 'Y-m-d H:i:s') ;
}
$form['author']['date']['#description'] = t
('Format: %time. Leave blank to use the time of form submission.', array('%time' => !empty($node->date) ? $node->date : format_date($node->created, 'custom', 'Y-m-d H:i:s')));
}
?>

Hozzászólások

And that is an investment

And that is an investment danger worth taking.

And that is an investment

And that is an investment risk worth taking.

This article will assist the

This article will assist the internet viewers for setting up new web site or even a weblog from start to end.

Usually I do not read post on

Usually I do not read post on blogs, but I wish to say that this write-up very forced me to check out and do it!
Your writing style has been surprised me. Thank you, quite nice post.

It's an amazing article

It's an amazing article designed for all the online visitors;
they will get benefit from it I am sure.

Greetings! I know this is

Greetings! I know this is kinda off topic nevertheless I'd
figured I'd ask. Would you be interested in exchanging links or maybe guest authoring a
blog article or vice-versa? My website discusses a lot of the same subjects as yours and I feel we could greatly benefit from each other.

If you're interested feel free to send me an email.
I look forward to hearing from you! Fantastic blog by the way!

Hey are using Wordpress for

Hey are using Wordpress for your site platform? I'm new to the blog world but I'm trying to
get started and set up my own. Do you require any html coding
expertise to make your own blog? Any help would be really appreciated!

Your way of explaining all in

Your way of explaining all in this piece of writing is in fact good, every one be capable of effortlessly understand it, Thanks a
lot.

Woah! I'm really digging the

Woah! I'm really digging the template/theme of this blog.

It's simple, yet effective. A lot of times it's tough to get that "perfect balance" between usability and
appearance. I must say that you've done a awesome
job with this. Also, the blog loads super fast for me on Firefox.
Excellent Blog!

If some one wishes to be

If some one wishes to be updated with latest technologies then he must be pay
a quick visit this website and be up to date every day.

Hello Dear, are you truly

Hello Dear, are you truly visiting this web site on a regular basis, if so
after that you will absolutely obtain nice knowledge.

Terrific work! That is the

Terrific work! That is the kind of information that
should be shared across the net. Shame on the search engines for not positioning this put up upper!
Come on over and seek advice from my site . Thanks =)

It's awesome designed for me

It's awesome designed for me to have a web page, which is valuable for my know-how.
thanks admin

I quite like reading a post

I quite like reading a post that will make men and women think.
Also, thank you for allowing me to comment!

Wonderful beat ! I wish to

Wonderful beat ! I wish to apprentice at the same time as you amend your site, how can i subscribe for a
blog web site? The account helped me a acceptable deal. I have been a little bit familiar
of this your broadcast provided bright transparent concept

Hey there! I know this is

Hey there! I know this is kind of off-topic however I needed to ask.
Does operating a well-established blog like yours require a massive amount work?
I am brand new to writing a blog but I do write in my
journal daily. I'd like to start a blog so I can share my
own experience and views online. Please let me know if you have any recommendations or
tips for brand new aspiring bloggers. Appreciate it!

Its like you read my

Its like you read my thoughts! You seem to grasp so much
approximately this, such as you wrote the book in it or something.
I think that you can do with a few percent to power the message home a bit, but other
than that, that is fantastic blog. An excellent read.
I'll certainly be back.

I do not even understand how

I do not even understand how I stopped up here, however I thought this post
used to be great. I don't know who you are but certainly you are going
to a well-known blogger in the event you aren't already. Cheers!

Piece of writing writing is

Piece of writing writing is also a excitement, if you be familiar with afterward you can write or else
it is difficult to write.

Why viewers still use to read

Why viewers still use to read news papers when in this technological world the whole thing
is available on web?

This piece of writing offers

This piece of writing offers clear idea for the new people of blogging,
that really how to do blogging and site-building.

When some one searches for

When some one searches for his vital thing, so he/she needs to be
available that in detail, therefore that thing is maintained over
here.

always i used to read smaller

always i used to read smaller posts which also clear
their motive, and that is also happening with this piece
of writing which I am reading at this time.

With havin so much written

With havin so much written content do you ever
run into any issues of plagorism or copyright infringement?
My website has a lot of unique content I've either created
myself or outsourced but it seems a lot of it is popping it up all over the web without my authorization. Do you know any methods to help prevent
content from being stolen? I'd definitely appreciate it.

Hi, every time i used to

Hi, every time i used to check blog posts here
in the early hours in the dawn, because i love to learn more and more.

Hello there, You have done

Hello there, You have done an incredible job. I will certainly digg it and personally recommend to my
friends. I'm sure they'll be benefited from this
web site.

An impressive share! I have

An impressive share! I have just forwarded this onto a co-worker who
has been doing a little homework on this. And he in fact ordered me breakfast due
to the fact that I stumbled upon it for him...
lol. So allow me to reword this.... Thank YOU for the meal!!
But yeah, thanx for spending time to discuss this topic here on your blog.

Highly energetic post, I

Highly energetic post, I loved that a lot. Will there be a
part 2?

This post is worth everyone's

This post is worth everyone's attention. Where can I
find out more?

This is very fascinating, You

This is very fascinating, You are a very professional blogger.

I've joined your rss feed and stay up for in the hunt for extra
of your wonderful post. Additionally, I have shared your web site in my social networks

It's hard to come by

It's hard to come by experienced people on this subject, however, you sound like you know what you're talking about!
Thanks

Good day! This is kind of off

Good day! This is kind of off topic but I need some advice from an established
blog. Is it hard to set up your own blog? I'm not very techincal but
I can figure things out pretty fast. I'm thinking about creating
my own but I'm not sure where to start. Do you have any tips or suggestions?
Cheers

Have you ever considered

Have you ever considered about including a little bit more than just your articles?
I mean, what you say is fundamental and all.
Nevertheless just imagine if you added some great photos
or video clips to give your posts more, "pop"! Your content is excellent but with images and videos, this blog could certainly be
one of the very best in its niche. Good blog!

We are trusted

We are trusted Mississauga Heating and Cooling Consultants.

What a information of

What a information of un-ambiguity and preserveness of precious
knowledge about unpredicted feelings.

Hi, I believe your site might

Hi, I believe your site might be having browser
compatibility issues. Whenever I look at your blog in Safari,
it looks fine however, when opening in Internet Explorer, it has some overlapping issues.
I simply wanted to give you a quick heads up! Other than that,
great site!

Remarkable things here. I am

Remarkable things here. I am very happy to see your post.
Thank you a lot and I am having a look ahead to contact you.
Will you please drop me a e-mail?

Great article! This is the

Great article! This is the type of information that should
be shared across the net. Shame on Google for no longer
positioning this submit upper! Come on over and discuss
with my website . Thanks =)

Right here is the perfect

Right here is the perfect webpage for everyone who really wants to find out about this topic.
You understand so much its almost hard to argue with you (not that I really will
need to…HaHa). You definitely put a new spin on a subject that's been discussed for many years.
Wonderful stuff, just excellent!

Keep this going please, great

Keep this going please, great job!

What a stuff of un-ambiguity

What a stuff of un-ambiguity and preserveness of precious experience concerning unexpected feelings.

Hello everyone, it's my first

Hello everyone, it's my first visit at this website,
and article is in fact fruitful in support of me, keep up posting such
articles.

I am sure this article has

I am sure this article has touched all the internet viewers, its really really good
paragraph on building up new webpage.

Hi to every body, it's my

Hi to every body, it's my first pay a visit of this webpage; this webpage contains awesome and
in fact excellent information for visitors.

I'm amazed, I have to admit.

I'm amazed, I have to admit. Rarely do I encounter a blog that's equally educative and engaging, and let me
tell you, you've hit the nail on the head. The issue is
something not enough folks are speaking intelligently about.

I am very happy I came across this during my hunt for something
concerning this.

We are a group of volunteers

We are a group of volunteers and starting
a new scheme in our community. Your web site provided us with valuable information to
work on. You've done a formidable job and our entire community will be grateful to you.

Excellent beat ! I wish to

Excellent beat ! I wish to apprentice while
you amend your site, how can i subscribe for a weblog
web site? The account aided me a applicable deal.
I have been tiny bit familiar of this your broadcast
provided vivid transparent concept

Your style is very unique

Your style is very unique compared to other people I've read stuff from.
Thanks for posting when you have the opportunity, Guess I'll just book mark this web site.

My coder is trying to

My coder is trying to persuade me to move to .net from PHP.
I have always disliked the idea because of the
costs. But he's tryiong none the less. I've been using Movable-type on a number of websites for about a year and am nervous about switching to another platform.
I have heard very good things about blogengine.net.
Is there a way I can transfer all my wordpress posts into it?
Any kind of help would be really appreciated!

Wonderful work! That is the

Wonderful work! That is the type of information that should be shared across
the web. Disgrace on the search engines for no longer positioning this publish higher!
Come on over and talk over with my web site . Thanks =)

Hozzászólás

A mező tartalma nem nyilvános.
  • Internal paths in double quotes, written as "internal:node/99", for example, are replaced with the appropriate absolute URL or relative path.
  • Engedélyezett HTML elemek: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <del> <img>
  • A webcímek és email címek automatikusan linkekké alakulnak.
  • A sorokat és bekezdéseket a rendszer automatikusan felismeri.
  • Engedélyezett HTML elemek: <a> <blockquote> <br> <cite> <code> <dd> <del> <div> <dl> <dt> <em> <li> <ol> <p> <span> <strong> <ul>
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <bash>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <mysql>, <php>, <python>, <ruby>, <sql>. The supported tag styles are: <foo>, [foo].
  • Minden email cím át lesz alakítva ember által olvasható módon, vagy (ha a JavaScript engedélyezett) ki lesz cserélve kattintható, de biztonságos hivatkozásra.