St. Valentine's day did not start as a secular celebration. St. Valentine lived in what is now Turkey, he became known as the patron saint of love because he used to marry Christians in secret when it was illegal to do so under Islamic rule.
According to Wikipedia St Valentine was a bishop in modern day Italy about 300 years before Islam even formed. So while that is a nice story I don't think it's true.