[ Index ] |
|
Code source de CMS made simple 1.0.5 |
1 <?php 2 #CMS - CMS Made Simple 3 #(c)2004 by Ted Kulp (wishy@users.sf.net) 4 #This project's homepage is: http://cmsmadesimple.sf.net 5 # 6 #This program is free software; you can redistribute it and/or modify 7 #it under the terms of the GNU General Public License as published by 8 #the Free Software Foundation; either version 2 of the License, or 9 #(at your option) any later version. 10 # 11 #This program is distributed in the hope that it will be useful, 12 #but WITHOUT ANY WARRANTY; without even the implied warranty of 13 #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 #GNU General Public License for more details. 15 #You should have received a copy of the GNU General Public License 16 #along with this program; if not, write to the Free Software 17 #Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 19 function smarty_cms_function_cms_version() { 20 global $CMS_VERSION; 21 return $CMS_VERSION; 22 } ## smarty_function_cms_version 23 24 function smarty_cms_help_function_cms_version() { 25 ?> 26 <h3>What does this do?</h3> 27 <p>This tag is used to insert the current version number of CMS into your template or page. It doesn't display any extra besides the version number.</p> 28 <h3>How do I use it?</h3> 29 <p>This is just a basic tag plugin. You would insert it into your template or page like so: <code>{cms_version}</code> 30 <h3>What parameters does it take?</h3> 31 <p>It takes no parameters.</p> 32 <?php 33 } 34 35 function smarty_cms_about_function_cms_version() { 36 ?> 37 <p>Author: Ted Kulp<tedkulp@users.sf.net></p> 38 <p>Version: 1.0</p> 39 <p> 40 Change History:<br/> 41 None 42 </p> 43 <?php 44 } 45 46 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Tue Apr 3 18:50:37 2007 | par Balluche grâce à PHPXref 0.7 |