[ Index ] |
|
Code source de b2evolution 2.1.0-beta |
1 <?php 2 /** 3 * This file implements the UI view for the Collection SEO properties. 4 * 5 * This file is part of the b2evolution/evocms project - {@link http://b2evolution.net/}. 6 * See also {@link http://sourceforge.net/projects/evocms/}. 7 * 8 * @copyright (c)2003-2007 by Francois PLANQUE - {@link http://fplanque.net/}. 9 * 10 * @license http://b2evolution.net/about/license.html GNU General Public License (GPL) 11 * 12 * {@internal Open Source relicensing agreement: 13 * }} 14 * 15 * {@internal Below is a list of authors who have contributed to design/coding of this file: }} 16 * 17 * @package admin 18 * 19 * @version $Id: _coll_seo.form.php,v 1.3 2007/11/03 04:56:03 fplanque Exp $ 20 */ 21 if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' ); 22 23 /** 24 * @var Blog 25 */ 26 global $edited_Blog; 27 28 29 $Form = & new Form( NULL, 'coll_features_checkchanges' ); 30 31 $Form->begin_form( 'fform' ); 32 33 $Form->hidden_ctrl(); 34 $Form->hidden( 'action', 'update' ); 35 $Form->hidden( 'tab', 'seo' ); 36 $Form->hidden( 'blog', $edited_Blog->ID ); 37 38 $Form->begin_fieldset( T_('Canonical URL control').get_manual_link('canonical_url_control') ); 39 $Form->checkbox( 'canonical_item_urls', $edited_Blog->get_setting( 'canonical_item_urls' ), T_('Posts / Pages'), T_('301 redirect to canonical URL') ); 40 $Form->checkbox( 'canonical_cat_urls', $edited_Blog->get_setting( 'canonical_cat_urls' ), T_('Categories'), T_('301 redirect to canonical URL') ); 41 $Form->end_fieldset(); 42 43 $Form->begin_fieldset( T_('Indexing of content pages') ); 44 $Form->checkbox( 'default_noindex', $edited_Blog->get_setting( 'default_noindex' ), T_('Default blog page'), T_('META NOINDEX') ); 45 $Form->checkbox( 'paged_noindex', $edited_Blog->get_setting( 'paged_noindex' ), T_('Following blog pages'), T_('META NOINDEX').' - '.T_('Page 2,3,4...') ); 46 $Form->checkbox( 'archive_noindex', $edited_Blog->get_setting( 'archive_noindex' ), T_('Archive pages'), T_('META NOINDEX') ); 47 $Form->checkbox( 'category_noindex', $edited_Blog->get_setting( 'category_noindex' ), T_('Category pages'), T_('META NOINDEX') ); 48 $Form->checkbox( 'filtered_noindex', $edited_Blog->get_setting( 'filtered_noindex' ), T_('Other filtered pages'), T_('META NOINDEX') ); 49 $Form->end_fieldset(); 50 51 $Form->begin_fieldset( T_('Indexing of special feature pages') ); 52 $Form->checkbox( 'arcdir_noindex', $edited_Blog->get_setting( 'arcdir_noindex' ), T_('Archive directory'), T_('META NOINDEX') ); 53 $Form->checkbox( 'catdir_noindex', $edited_Blog->get_setting( 'catdir_noindex' ), T_('Category directory'), T_('META NOINDEX') ); 54 $Form->checkbox( 'feedback-popup_noindex', $edited_Blog->get_setting( 'feedback-popup_noindex' ), T_('Comment popups'), T_('META NOINDEX') ); 55 $Form->checkbox( 'msgform_noindex', $edited_Blog->get_setting( 'msgform_noindex' ), T_('Message forms'), T_('META NOINDEX').' - '.T_('Keyword searched, etc.') ); 56 $Form->checkbox( 'special_noindex', $edited_Blog->get_setting( 'special_noindex' ), T_('Other special pages'), T_('META NOINDEX').' - '.T_('User profile form, etc.') ); 57 $Form->end_fieldset(); 58 59 $Form->begin_fieldset( T_('Internal link flows') ); 60 $Form->radio( 'permalinks', $edited_Blog->get_setting('permalinks'), array( 61 array( 'single', T_('Link to single post') ), 62 array( 'archive', T_('Link to post in archive') ), 63 array( 'subchap', T_('Link to post in sub-category') ), 64 ), T_('Permanent links'), true ); 65 $Form->radio( 'title_link_type', $edited_Blog->get_setting( 'title_link_type' ), array( 66 array( 'permalink', T_('Link to the permanent url of the post') ), 67 array( 'linkto_url', T_('Link to the "link to URL" specified in the post (if any)') ), 68 array( 'none', T_('No links on titles') ), 69 ), T_('Post titles'), true ); 70 71 $Form->end_fieldset(); 72 73 74 $Form->end_form( array( 75 array( 'submit', 'submit', T_('Save !'), 'SaveButton' ), 76 array( 'reset', '', T_('Reset'), 'ResetButton' ) ) ); 77 78 79 /* 80 * $Log: _coll_seo.form.php,v $ 81 * Revision 1.3 2007/11/03 04:56:03 fplanque 82 * permalink / title links cleanup 83 * 84 * Revision 1.2 2007/09/29 03:42:12 fplanque 85 * skin install UI improvements 86 * 87 * Revision 1.1 2007/09/28 09:28:36 fplanque 88 * per blog advanced SEO settings 89 * 90 * Revision 1.1 2007/06/25 10:59:35 fplanque 91 * MODULES (refactored MVC) 92 * 93 * Revision 1.4 2007/05/31 03:02:23 fplanque 94 * Advanced perms now disabled by default (simpler interface). 95 * Except when upgrading. 96 * Enable advanced perms in blog settings -> features 97 * 98 * Revision 1.3 2007/05/13 22:53:31 fplanque 99 * allow feeds restricted to post excerpts 100 * 101 * Revision 1.2 2007/04/26 00:11:05 fplanque 102 * (c) 2007 103 * 104 * Revision 1.1 2006/12/16 01:30:47 fplanque 105 * Setting to allow/disable email subscriptions on a per blog basis 106 * 107 */ 108 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Thu Nov 29 23:58:50 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |