Changeset 834 in ExiteCMS for trunk/includes/theme_functions.php


Ignore:
Timestamp:
09/22/07 00:08:35 (5 years ago)
Author:
hverton
Message:

changed copyright notice
changed Smarty directory pli-plugins to custom-plugins
added Smarty buttonlink function, to replace image buttons by real buttons using a locale for the button text

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/theme_functions.php

    r813 r834  
    11<?php 
    22/*---------------------------------------------------+ 
    3 | PLi-Fusion Content Management System               | 
     3| ExiteCMS Content Management System                 | 
    44+----------------------------------------------------+ 
    5 | Copyright 2007 WanWizard (wanwizard@gmail.com)     | 
    6 | http://www.pli-images.org/pli-fusion              | 
     5| Copyright 2007 Harro "WanWizard" Verton, Exite BV  | 
     6| for support, please visit http://exitecms.exite.eu | 
    77+----------------------------------------------------+ 
    8 | Some portions copyright ? 2002 - 2006 Nick Jones   | 
     8| Some portions copyright 2002 - 2006 Nick Jones     | 
    99| http://www.php-fusion.co.uk/                       | 
     10+----------------------------------------------------+ 
    1011| Released under the terms & conditions of v2 of the | 
    1112| GNU General Public License. For details refer to   | 
    1213| the included gpl.txt file or visit http://gnu.org  | 
    1314+----------------------------------------------------*/ 
    14 if (eregi("theme_functions.php", $_SERVER['PHP_SELF']) || !defined('IN_FUSION')) die(); 
     15if (eregi("theme_functions.php", $_SERVER['PHP_SELF']) || !defined('ExiteCMS_INIT')) die(); 
    1516 
    1617// Smarty template engine definitions and initialisation 
     
    3940// first check if there's one defined in the current theme 
    4041if (is_dir(PATH_THEME."template/plugins")) $plugins_dir[] = PATH_THEME."template/plugins"; 
    41 // next, check the PLi-Fusion plugins 
    42 $plugins_dir[] = 'pli-plugins'; 
     42// next, check the CMS custom plugins 
     43$plugins_dir[] = 'custom-plugins'; 
    4344// and finaly, use the default Smarty plugins 
    4445$plugins_dir[] = 'smarty-plugins'; 
Note: See TracChangeset for help on using the changeset viewer.