To improve the look of the calenendar and calendar nugger you can remove the leading zeros from dates between 01 and 09 The process involves editing 3 files includes\resources\CAL.res.php Add the following lines $res = array( includes/cal/CAL_ViewDay.class.php Replace this <?php echo CAL_getResource($this->data['nav']['title']['weekday']);?>, <?php echo CAL_getResource($this->data['nav']['title']['month']);?> <?php echo $this->data['nav']['title']['day'];?>, <?php echo $this->data['nav']['title']['year'];?> with this <?php echo
CAL_getResource($this->data['nav']['title']['weekday']);?>,
<?php echo
CAL_getResource($this->data['nav']['title']['month']);?> <?php
echo includes/cal/CAL_ViewWeek.class.php Replace this <?php echo CAL_getResource($this->data['nav']['title']['end']['month']);?> <?php echo $this->data['nav']['title']['end']['day'];?> With this <?php echo CAL_getResource($this->data['nav']['title']['end']['month']);?> <?php echo CAL_getResource($this->data['nav']['title']['end']['day']);?> |
|||||||||||
Although we try to ensure all the articles submitted are valid it is your responsibility to make sure you have backups before you use these suggestions on your pc or websites. |
|||||||||||
|
|||||||||||