Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 12356
Latest: Hermankidd
New This Month: 7
New This Week: 3
New Today: 1
Stats
Total Posts: 39780
Total Topics: 7006
Most Online Today: 56
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 43
Total: 43

Author Topic: Make Ending Date Text Smaller  (Read 2659 times)

0 Members and 1 Guest are viewing this topic.

Offline amwebby

  • Community Suite Customer
  • Sr. Member
  • ******
  • Posts: 306
    • View Profile
Make Ending Date Text Smaller
« on: March 09, 2013, 05:04:36 am »
How can I make the text of the Ending Date smalltext as per the Time Left in the screen shot attached?

I've searched through the classifieds.template.php but I can't find it.

Offline amwebby

  • Community Suite Customer
  • Sr. Member
  • ******
  • Posts: 306
    • View Profile
Re: Make Ending Date Text Smaller
« Reply #1 on: March 12, 2013, 06:41:54 am »
No idea?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14904
    • View Profile
Re: Make Ending Date Text Smaller
« Reply #2 on: March 12, 2013, 12:52:22 pm »
For SMF 1.1.x

The code is in the function ClassifiedsShowListingsRow()

And is controlled by these lines

Code: [Select]
if ($modSettings['class_catlist_listingend'])
echo '<td>', ($row['expiredate'] == 0 ? $txt['class_expire_never'] : date($modSettings['class_set_date_format_mdy'],$row['expiredate']) . '<br />' . date($modSettings['class_set_date_format_hia'],$row['expiredate'])  ) , '</td>';

if ($modSettings['class_catlist_timeleft'])
echo '<td>', ($row['expiredate'] == 0 ? $txt['class_expire_never'] :   smf_cattimeleft( date("Y",$row['expiredate']), date("m",$row['expiredate']), date("d",$row['expiredate']), date("H",$row['expiredate']), date("i",$row['expiredate']),date("s",$row['expiredate'])) ) , '</td>';


Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline amwebby

  • Community Suite Customer
  • Sr. Member
  • ******
  • Posts: 306
    • View Profile
Re: Make Ending Date Text Smaller
« Reply #3 on: March 12, 2013, 12:57:52 pm »
Thanks. If I make those <td>s class="smalltext" that should do it then?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14904
    • View Profile
Re: Make Ending Date Text Smaller
« Reply #4 on: March 12, 2013, 12:58:56 pm »
It may help.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline amwebby

  • Community Suite Customer
  • Sr. Member
  • ******
  • Posts: 306
    • View Profile
Re: Make Ending Date Text Smaller
« Reply #5 on: March 12, 2013, 01:11:35 pm »
Thanks. That, and removing the line break
Code: [Select]
. '<br />' did it.

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
2085 Views
Last post June 20, 2007, 11:27:37 am
by xcx
1 Replies
3240 Views
Last post May 23, 2008, 01:24:53 pm
by Xtreme4U2NV
2 Replies
2998 Views
Last post June 14, 2008, 04:14:05 pm
by rgsknr
0 Replies
1222 Views
Last post September 07, 2011, 09:04:51 am
by david_meyer24
1 Replies
2055 Views
Last post August 14, 2015, 10:19:21 am
by Labradoodle-360

+- Recent Topics

[Mod]Login Menu Button by SMFHacks
July 05, 2019, 03:26:24 pm

Update by SMFHacks
June 19, 2019, 10:58:25 am

About Comments Approval by ajac63
June 12, 2019, 07:48:52 pm

Pretty Urls extras by SMFHacks
June 06, 2019, 12:14:53 pm

About using chmod to secure files by ajac63
June 05, 2019, 04:02:28 am

Bulk upload image problem by SMFHacks
June 01, 2019, 07:24:00 pm

About Watermark Options by ajac63
May 30, 2019, 05:25:39 pm

Why PayPal only by ajac63
May 30, 2019, 04:20:47 pm

Seller ToU not showing by ajac63
May 29, 2019, 01:59:24 am

Not happy by ajac63
May 28, 2019, 06:37:58 pm

Powered by EzPortal