PHP Template Function: Display_MovieLength
Posted by Mark [Elevated X Support], Last modified by kayako kayako on 02 November 2018 10:52 AM

Description:

This PHP function will neatly print the length of a movie in minutes and seconds.

Common Location:

/cms_admin/phptemplate/<templatefolder>/functions/standard.tpl

Usage:

<?php echo Display_MovieLength(127) ?>

Arguments

1) The length of the movie in seconds.

Output

2 minute(s) 7 second(s)

 

(0 vote(s))
Helpful
Not helpful

Comments (0)