Skip to content

Commit 39bdbd6

Browse files
committed
Fixed links to help manual
1 parent 2e1cb26 commit 39bdbd6

7 files changed

Lines changed: 25 additions & 25 deletions

File tree

inc/chapters/views/_chapter_list.view.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ function cat_line( $Chapter, $level )
164164
{ // No default type:
165165
$cat_item_type_name = '<b>'.T_('No default type').'</b>';
166166
}
167-
elseif( ( $ItemTypeCache = & get_ItemTypeCache() ) &&
167+
elseif( ( $ItemTypeCache = & get_ItemTypeCache() ) &&
168168
( $cat_ItemType = & $ItemTypeCache->get_by_ID( $Chapter->get( 'ityp_ID' ), false, false ) ) )
169169
{ // Custom Item Type:
170170
$cat_item_type_name = $cat_ItemType->get( 'name' );
@@ -385,7 +385,7 @@ function cat_after_level( $level )
385385
echo '<div id="form_wrapper" style="margin: 2ex auto 1ex">';
386386

387387
$Form = new Form( NULL, 'cat_order_checkchanges', 'post', 'compact' );
388-
$Form->begin_form( 'fform', T_('Category order').get_manual_link('categories_order') );
388+
$Form->begin_form( 'fform', T_('Category order').get_manual_link('categories-order') );
389389
$Form->add_crumb( 'collection' );
390390
$Form->hidden( 'ctrl', 'coll_settings' );
391391
$Form->hidden( 'action', 'update' );

inc/collections/model/_blog.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2531,7 +2531,7 @@ function get_media_dir( $create = true )
25312531
if( is_admin_page() )
25322532
{
25332533
$Messages->add_to_group( sprintf( T_("Media directory &laquo;%s&raquo; could not be created, because the parent directory is not writable or does not exist."), $msg_mediadir_path ),
2534-
'error', T_('Media directory file permission error').get_manual_link('media-directory-file-permission-error').':' );
2534+
'error', T_('Media directory file permission error').get_manual_link('media-file-permission-errors').':' );
25352535
}
25362536
return false;
25372537
}
@@ -2540,7 +2540,7 @@ function get_media_dir( $create = true )
25402540
if( is_admin_page() )
25412541
{
25422542
$Messages->add_to_group( sprintf( T_("Media directory &laquo;%s&raquo; could not be created."), $msg_mediadir_path ),
2543-
'error', T_('Media directory creation error').get_manual_link('media-directory-creation-error').':' );
2543+
'error', T_('Media directory creation error').get_manual_link('media-file-permission-errors').':' );
25442544
}
25452545
return false;
25462546
}

inc/collections/views/_coll_advanced.form.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
$Form->hidden( 'blog', $edited_Blog->ID );
3636

3737

38-
$Form->begin_fieldset( T_('After each new post...').get_manual_link('after_each_new_post') );
38+
$Form->begin_fieldset( T_('After each new post...').get_manual_link('after-each-new-post') );
3939
if( $edited_Blog->get_setting( 'allow_access' ) == 'users' )
4040
{
4141
echo '<p class="center orange">'.T_('This collection is for logged in users only.').' '.T_('It is recommended to keep pings disabled.').'</p>';
@@ -80,7 +80,7 @@
8080
$Form->end_fieldset();
8181

8282

83-
$Form->begin_fieldset( T_('External Feeds').get_manual_link('external_feeds') );
83+
$Form->begin_fieldset( T_('External Feeds').get_manual_link('external-feeds') );
8484

8585
$Form->text_input( 'atom_redirect', $edited_Blog->get_setting( 'atom_redirect' ), 50, T_('Atom Feed URL'),
8686
T_('Example: Your Feedburner Atom URL which should replace the original feed URL.').'<br />'
@@ -94,15 +94,15 @@
9494

9595
$Form->end_fieldset();
9696

97-
$Form->begin_fieldset( T_('Template').get_manual_link('collection_template') );
97+
$Form->begin_fieldset( T_('Template').get_manual_link('collection-template') );
9898
$Form->checkbox_input( 'blog_allow_duplicate', $edited_Blog->get_setting( 'allow_duplicate' ), T_('Allow duplication'), array( 'note' => T_('Check to allow anyone to duplicate this collection.') ) );
9999
$Form->end_fieldset();
100100

101101

102102
if( $current_User->check_perm( 'blog_admin', 'edit', false, $edited_Blog->ID ) )
103103
{ // Permission to edit advanced admin settings
104104

105-
$Form->begin_fieldset( T_('Caching').get_admin_badge().get_manual_link('collection_cache_settings'), array( 'id' => 'caching' ) );
105+
$Form->begin_fieldset( T_('Caching').get_admin_badge().get_manual_link('collection-cache-settings'), array( 'id' => 'caching' ) );
106106
$ajax_enabled = $edited_Blog->get_setting( 'ajax_form_enabled' );
107107
$ajax_loggedin_params = array( 'note' => T_('Also use JS forms for logged in users') );
108108
if( !$ajax_enabled )
@@ -115,7 +115,7 @@
115115
$Form->checkbox_input( 'cache_enabled_widgets', $edited_Blog->get_setting('cache_enabled_widgets'), get_icon( 'block_cache_on' ).' '.T_('Enable widget/block cache'), array( 'note'=>T_('Cache rendered widgets') ) );
116116
$Form->end_fieldset();
117117

118-
$Form->begin_fieldset( T_('In-skin Actions').get_admin_badge().get_manual_link('in_skin_action_settings'), array( 'id' => 'inskin_actions' ) );
118+
$Form->begin_fieldset( T_('In-skin Actions').get_admin_badge().get_manual_link('in-skin-action-settings'), array( 'id' => 'inskin_actions' ) );
119119
if( $login_Blog = & get_setting_Blog( 'login_blog_ID', $edited_Blog ) )
120120
{ // The login blog is defined in general settings
121121
$Form->info( T_( 'In-skin login' ), sprintf( T_('All login/registration functions are delegated to the collection: %s'), '<a href="'.$admin_url.'?ctrl=collections&tab=site_settings">'.$login_Blog->get( 'shortname' ).'</a>' ) );
@@ -127,7 +127,7 @@
127127
$Form->checkbox_input( 'in_skin_editing', $edited_Blog->get_setting( 'in_skin_editing' ), T_( 'In-skin editing' ), array( 'note' => sprintf( T_('See more options in Features &gt; <a %s>Posts</a>'), 'href="'.$admin_url.'?ctrl=coll_settings&amp;tab=features&amp;blog='.$edited_Blog->ID.'#post_options"' ) ) );
128128
$Form->end_fieldset();
129129

130-
$Form->begin_fieldset( T_('Media directory location').get_admin_badge().get_manual_link('media_directory_location'), array( 'id' => 'media_dir_location' ) );
130+
$Form->begin_fieldset( T_('Media directory location').get_admin_badge().get_manual_link('media-directory-location'), array( 'id' => 'media_dir_location' ) );
131131
global $media_path;
132132
$Form->radio( 'blog_media_location', $edited_Blog->get( 'media_location' ),
133133
array(
@@ -160,7 +160,7 @@ class="'.( param_has_error('blog_media_url') ? 'field_error' : '' ).'"
160160

161161
}
162162

163-
$Form->begin_fieldset( T_('Software credits').get_manual_link('software_credits') );
163+
$Form->begin_fieldset( T_('Software credits').get_manual_link('software-credits') );
164164
$max_credits = $edited_Blog->get_setting( 'max_footer_credits' );
165165
$note = T_('You get the b2evolution software for <strong>free</strong>. We do appreciate you giving us credit. <strong>Thank you for your support!</strong>');
166166
if( $max_credits < 1 )

inc/collections/views/_coll_features.form.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
$Form->end_fieldset();
118118

119119

120-
$Form->begin_fieldset( T_('Single Item view').get_manual_link('blog_features_settings'), array( 'id' => 'post_options' ) );
120+
$Form->begin_fieldset( T_('Single Item view').get_manual_link('blog-features-settings'), array( 'id' => 'post_options' ) );
121121

122122
$Form->radio( 'post_navigation', $edited_Blog->get_setting('post_navigation'),
123123
array( array( 'same_blog', T_('same blog') ),
@@ -129,7 +129,7 @@
129129
$Form->end_fieldset();
130130

131131

132-
$Form->begin_fieldset( T_('Create/Edit options').get_manual_link('blog_features_settings'), array( 'id' => 'post_options' ) );
132+
$Form->begin_fieldset( T_('Create/Edit options').get_manual_link('blog-features-settings'), array( 'id' => 'post_options' ) );
133133

134134
$Form->radio( 'enable_goto_blog', $edited_Blog->get_setting( 'enable_goto_blog' ),
135135
array( array( 'no', T_( 'No' ), T_( 'Check this to view list of the posts.' ) ),
@@ -304,7 +304,7 @@
304304
$Form->end_fieldset();
305305
}
306306

307-
$Form->begin_fieldset( T_('Aggregation').get_admin_badge().get_manual_link('collection_aggregation_settings') );
307+
$Form->begin_fieldset( T_('Aggregation').get_admin_badge().get_manual_link('collection-aggregation-settings') );
308308
$Form->text( 'aggregate_coll_IDs', $edited_Blog->get_setting( 'aggregate_coll_IDs' ), 30, T_('Collections to aggregate'), T_('List collection IDs separated by \',\', \'*\' for all collections or leave empty for current collection.').'<br />'.T_('Note: Current collection is always part of the aggregation.'), 255 );
309309
$Form->end_fieldset();
310310

inc/collections/views/_coll_general.form.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@
176176
$Form->end_fieldset();
177177
}
178178

179-
$Form->begin_fieldset( T_('General parameters').get_manual_link( 'blogs_general_parameters' ), array( 'class'=>'fieldset clear' ) );
179+
$Form->begin_fieldset( T_('General parameters').get_manual_link( 'blogs-general-parameters' ), array( 'class'=>'fieldset clear' ) );
180180

181181
$collection_logo_params = array( 'file_type' => 'image', 'max_file_num' => 1, 'window_title' => T_('Select collection logo/image'), 'root' => 'shared_0', 'size_name' => 'fit-320x320' );
182182
$Form->fileselect( 'collection_logo_file_ID', $edited_Blog->get_setting( 'collection_logo_file_ID' ), T_('Collection logo/image'), NULL, $collection_logo_params );
@@ -417,7 +417,7 @@ function( data )
417417

418418
if( ! $is_creating )
419419
{
420-
$Form->begin_fieldset( T_('Meta data').get_manual_link('blog_meta_data') );
420+
$Form->begin_fieldset( T_('Meta data').get_manual_link('blog-meta-data') );
421421
$social_media_boilerplate_params = array( 'file_type' => 'image', 'max_file_num' => 1, 'window_title' => T_('Select logo for social media boilerplate'), 'root' => 'shared_0', 'size_name' => 'fit-320x320' );
422422
$Form->fileselect( 'social_media_image_file_ID', $edited_Blog->get_setting( 'social_media_image_file_ID' ), T_('Social media boilerplate'), NULL, $social_media_boilerplate_params );
423423
$Form->text( 'blog_keywords', $edited_Blog->get( 'keywords' ), 60, T_('Keywords'), T_('This is is used in meta tag keywords. NO HTML!'), 250, 'large' );

inc/collections/views/_coll_seo.form.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function show_hide_chapter_prefix(ob)
5454
$Form->hidden( 'tab', 'seo' );
5555
$Form->hidden( 'blog', $edited_Blog->ID );
5656

57-
$Form->begin_fieldset( T_('Browsing posts pages').' <span class="text-muted">(disp=posts)</span>'.get_manual_link('main_page_seo') );
57+
$Form->begin_fieldset( T_('Browsing posts pages').' <span class="text-muted">(disp=posts)</span>'.get_manual_link('main-page-seo') );
5858
$Form->checkbox( 'default_noindex', $edited_Blog->get_setting( 'default_noindex' ), T_('Default blog page'), T_('META NOINDEX') );
5959
$Form->checklist( array(
6060
array( 'canonical_homepage', 1, T_('301 redirect to canonical URL when possible'), $edited_Blog->get_setting( 'canonical_homepage' ) ),
@@ -87,7 +87,7 @@ function show_hide_chapter_prefix(ob)
8787
$Form->end_fieldset();
8888

8989

90-
$Form->begin_fieldset( T_('Single post pages / "Permalink" pages').get_manual_link('single_post_pages_seo') );
90+
$Form->begin_fieldset( T_('Single post pages / "Permalink" pages').get_manual_link('single-post-pages-seo') );
9191

9292
$Form->radio( 'single_links', $edited_Blog->get_setting('single_links'),
9393
array(
@@ -131,7 +131,7 @@ function show_hide_chapter_prefix(ob)
131131

132132
$Form->end_fieldset();
133133

134-
$Form->begin_fieldset( T_('"By date" archives').get_manual_link('archive_pages_seo') );
134+
$Form->begin_fieldset( T_('"By date" archives').get_manual_link('archive-pages-seo') );
135135

136136
$Form->radio( 'archive_links', $edited_Blog->get_setting('archive_links'),
137137
array(
@@ -163,7 +163,7 @@ function show_hide_chapter_prefix(ob)
163163

164164
$Form->end_fieldset();
165165

166-
$Form->begin_fieldset( T_('Category pages').get_manual_link('category_pages_seo') );
166+
$Form->begin_fieldset( T_('Category pages').get_manual_link('category-pages-seo') );
167167

168168
$Form->radio( 'chapter_links', $edited_Blog->get_setting('chapter_links'),
169169
array(
@@ -215,7 +215,7 @@ function show_hide_chapter_prefix(ob)
215215
$Form->end_fieldset();
216216

217217

218-
$Form->begin_fieldset( T_('Tag pages').get_manual_link('tag_pages_seo'), array('id'=>'tag_links_fieldset') );
218+
$Form->begin_fieldset( T_('Tag pages').get_manual_link('tag-pages-seo'), array('id'=>'tag_links_fieldset') );
219219

220220
$Form->radio( 'tag_links', $edited_Blog->get_setting('tag_links'),
221221
array(
@@ -295,7 +295,7 @@ function() {
295295

296296

297297
<?php
298-
$Form->begin_fieldset( T_('Other filtered pages').get_manual_link('other_filtered_pages_seo') );
298+
$Form->begin_fieldset( T_('Other filtered pages').get_manual_link('other-filtered-pages-seo') );
299299
$Form->checkbox( 'filtered_noindex', $edited_Blog->get_setting( 'filtered_noindex' ), T_('Other filtered posts pages'), T_('META NOINDEX').' - '.T_('Filtered by keyword search, by author, etc.') );
300300

301301
$Form->radio( 'filtered_content', $edited_Blog->get_setting('filtered_content'),
@@ -306,7 +306,7 @@ function() {
306306
), T_('Post contents'), true );
307307
$Form->end_fieldset();
308308

309-
$Form->begin_fieldset( T_('Other pages').get_manual_link('other_pages_seo') );
309+
$Form->begin_fieldset( T_('Other pages').get_manual_link('other-pages-seo') );
310310
$Form->checkbox( 'feedback-popup_noindex', $edited_Blog->get_setting( 'feedback-popup_noindex' ), T_('Comment popups'),
311311
T_('META NOINDEX').' - '.T_('For skins with comment popups only.') );
312312
$Form->checkbox( 'msgform_noindex', $edited_Blog->get_setting( 'msgform_noindex' ), T_('Contact forms'),

inc/collections/views/_coll_settings_blog.form.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959

6060
// --------------------------------------------
6161

62-
$Form->begin_fieldset( T_('After each new post or comment...').get_manual_link('after_each_post_settings') );
62+
$Form->begin_fieldset( T_('After each new post or comment...').get_manual_link('after-each-post-settings') );
6363
$Form->radio_input( 'outbound_notifications_mode', $Settings->get('outbound_notifications_mode'),
6464
array(
6565
array( 'value'=>'off', 'label'=>T_('Off'), 'note'=>T_('No notification about your new content will be sent out.') ),
@@ -72,7 +72,7 @@
7272

7373
// --------------------------------------------
7474

75-
$Form->begin_fieldset( T_('Categories').get_manual_link('categories_global_settings'), array( 'id'=>'categories') );
75+
$Form->begin_fieldset( T_('Categories').get_manual_link('categories-global-settings'), array( 'id'=>'categories') );
7676
$Form->checkbox_input( 'allow_moving_chapters', $Settings->get('allow_moving_chapters'), T_('Allow moving categories'), array( 'note' => T_('Check to allow moving categories accross blogs. (Caution: can break pre-existing permalinks!)' ) ) );
7777
$Form->end_fieldset();
7878

0 commit comments

Comments
 (0)