Changeset 8984 for extensions/rv_sitemap/sitemap.php
- Timestamp:
- Jan 30, 2011, 2:49:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/rv_sitemap/sitemap.php
r8666 r8984 1 1 <?php 2 2 defined('PHPWG_ROOT_PATH') or die('Hacking attempt!'); 3 4 define('RVS_DIR' , basename(dirname(__FILE__))); 5 define('RVS_PATH' , PHPWG_PLUGINS_PATH . RVS_DIR . '/'); 6 load_language('plugin.lang', RVS_PATH); 3 7 4 8 function sitemaps_get_config_file_name() … … 72 76 73 77 78 79 $frequenciesT = array( 80 '', 81 l10n('always'), 82 l10n('hourly'), 83 l10n('daily'), 84 l10n('weekly'), 85 l10n('monthly'), 86 l10n('yearly'), 87 l10n('never'), 88 ); 74 89 75 90 $frequencies = array( … … 83 98 'never', 84 99 ); 85 100 86 101 $specials = array( 87 102 'categories' => array('L'=>l10n('Home'), 'P'=>0.9), 88 'best_rated' => array( 103 'best_rated' => array('L'=>l10n('Best rated'), 'P'=>0.8 ) , 89 104 'most_visited' => array('L'=>l10n('Most visited'), 'P'=>0.8 ), 90 105 'recent_pics' => array('L'=>l10n('Recent photos'), 'P'=>0.8, 'F'=>'weekly' ), … … 304 319 305 320 $template->assign('frequencies', $frequencies); 321 $template->assign('frequenciesT', $frequenciesT); 306 322 307 323 $template->set_filename('sitemap', dirname(__FILE__).'/sitemap.tpl');
Note: See TracChangeset
for help on using the changeset viewer.