Wiki Plume Community : ParamPxresdatemodification

HomePage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
cotrocdron

Parameters for pxResDateModification()


By Niconemo

In your templates :

Replace :
updated the <?php pxResDateModification('%d/%m/%Y'); ?>

by :
<?php pxResDateModification('%d/%m/%Y', ' (updated the %s)', 60); ?>


With this change, no line on the display if no update.


Paramètres de pxResDateModification()


Dans vos gabarits :

Remplacer :
mis à jour le <?php pxResDateModification('%d/%m/%Y'); ?>

Par :
<?php pxResDateModification('%d/%m/%Y', ' (mis à jour le %s)', 60); ?>


L'avantage de cette forme, c'est que cette ligne n'apparaîtra pas si le fichier n'a jamais été mis à jour.
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.1
Page was generated in 0.0977 seconds