| [ Index ] | PHP Cross Reference of Mambo 4.6.5 |
|
| [ Variables ] [ Functions ] [ Classes ] [ Constants ] [ Statistics ] | ||
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * @package Mambo 4 * @author Mambo Foundation Inc see README.php 5 * @copyright (C) 2000 - 2009 Mambo Foundation Inc. 6 * See COPYRIGHT.php for copyright notices and details. 7 * @license GNU/GPL Version 2, see LICENSE.php 8 * 9 * Redistributions of files must retain the above copyright notice. 10 * 11 * Mambo is free software; you can redistribute it and/or 12 * modify it under the terms of the GNU General Public License 13 * as published by the Free Software Foundation; version 2 of the License. 14 */ 15 16 /** ensure this file is being included by a parent file */ 17 defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); 18 19 global $mosConfig_live_site, $mosConfig_absolute_path, $cur_template; 20 21 $text = $params->get( 'text' ); 22 $moduleclass_sfx = $params->get( 'moduleclass_sfx', '' ); 23 $rss091 = $params->get( 'rss091', 1 ); 24 $rss10 = $params->get( 'rss10', 1 ); 25 $rss20 = $params->get( 'rss20', 1 ); 26 $atom = $params->get( 'atom', 1 ); 27 $opml = $params->get( 'opml', 1 ); 28 $rss091_image = $params->get( 'rss091_image', '' ); 29 $rss10_image = $params->get( 'rss10_image', '' ); 30 $rss20_image = $params->get( 'rss20_image', '' ); 31 $atom_image = $params->get( 'atom_image', '' ); 32 $opml_image = $params->get( 'opml_image', '' ); 33 34 $t_path = $mosConfig_live_site .'/templates/'. $cur_template .'/images/'; 35 $d_path = $mosConfig_live_site .'/images/M_images/'; 36 37 $mainframe =& mosMainFrame::getInstance(); 38 39 ?> 40 41 <div class="syndicate<?php echo $moduleclass_sfx;?>"> 42 <?php 43 // rss091 link 44 if ( $text ) { 45 ?> 46 <div align="center" class="syndicate_text<?php echo $moduleclass_sfx;?>"> 47 <?php echo $text;?> 48 </div> 49 <?php 50 } 51 ?> 52 53 <?php 54 // rss091 link 55 if ( $rss091 ) { 56 $img = $mainframe->ImageCheck( 'rss091.gif', '/images/M_images/', $rss091_image, '/images/M_images/', 'RSS 0.91' ); 57 ?> 58 <div align="center"> 59 <a href="<?php echo sefRelToAbs('index.php?option=com_rss&feed=RSS0.91&no_html=1'); ?>"> 60 <?php echo $img ?> 61 </a> 62 </div> 63 <?php 64 } 65 ?> 66 67 <?php 68 // rss10 link 69 if ( $rss10 ) { 70 $img = $mainframe->ImageCheck( 'rss10.gif', '/images/M_images/', $rss10_image, '/images/M_images/', 'RSS 1.0' ); 71 ?> 72 <div align="center"> 73 <a href="<?php echo sefRelToAbs('index.php?option=com_rss&feed=RSS1.0&no_html=1'); ?>"> 74 <?php echo $img ?> 75 </a> 76 </div> 77 <?php 78 } 79 ?> 80 81 <?php 82 // rss20 link 83 if ( $rss20 ) { 84 $img = $mainframe->ImageCheck( 'rss20.gif', '/images/M_images/', $rss20_image, '/images/M_images/', 'RSS 2.0' ); 85 ?> 86 <div align="center"> 87 <a href="<?php echo sefRelToAbs('index.php?option=com_rss&feed=RSS2.0&no_html=1'); ?>"> 88 <?php echo $img ?> 89 </a> 90 </div> 91 <?php 92 } 93 ?> 94 95 <?php 96 // atom link 97 if ( $atom ) { 98 $img = $mainframe->ImageCheck( 'atom10.gif', '/images/M_images/', $atom_image, '/images/M_images/', 'ATOM 1.0' ); 99 ?> 100 <div align="center"> 101 <a href="<?php echo sefRelToAbs('index.php?option=com_rss&feed=ATOM1.0&no_html=1'); ?>"> 102 <?php echo $img ?> 103 </a> 104 </div> 105 <?php 106 } 107 ?> 108 109 <?php 110 // opml link 111 if ( $opml ) { 112 $img = $mainframe->ImageCheck( 'opml.png', '/images/M_images/', $opml_image, '/images/M_images/', 'OPML' ); 113 ?> 114 <div align="center"> 115 <a href="<?php echo sefRelToAbs('index.php?option=com_rss&feed=OPML&no_html=1'); ?>"> 116 <?php echo $img ?> 117 </a> 118 </div> 119 <?php 120 } 121 ?> 122 </div>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Wed Feb 8 00:05:01 2012 | Cross-referenced by PHPXref 0.7 |
| Mambo API: Mambo is Free software released under the GNU/General Public License, Version 2 |