/** * Callback to add filters on top of the result set * * @param Form */ function filter_regions(&$Form) { load_class('regional/model/_country.class.php', 'Country'); $CountryCache =& get_CountryCache(NT_('All')); $Form->select_country('c', get_param('c'), $CountryCache, T_('Country'), array('allow_none' => true)); $Form->text('s', get_param('s'), 30, T_('Search'), '', 255); }
/** * Get definitions for editable params * * @see Plugin::GetDefaultSettings() * @param local params like 'for_editing' => true */ function get_param_definitions($params) { // Load to use function get_available_thumb_sizes() load_funcs('files/model/_image.funcs.php'); $r = array_merge(array('section_general_start' => array('layout' => 'begin_fieldset', 'label' => T_('General Settings (All disps)')), 'layout' => array('label' => T_('Layout Settings'), 'note' => '', 'type' => 'select', 'options' => array('single_column' => T_('Single Column Large'), 'single_column_normal' => T_('Single Column'), 'single_column_narrow' => T_('Single Column Narrow'), 'single_column_extra_narrow' => T_('Single Column Extra Narrow'), 'left_sidebar' => T_('Left Sidebar'), 'right_sidebar' => T_('Right Sidebar')), 'defaultvalue' => 'right_sidebar'), 'max_image_height' => array('label' => T_('Max Image Height'), 'note' => 'px', 'defaultvalue' => '', 'type' => 'integer', 'allow_empty' => true), 'color_schemes' => array('label' => T_('Color Scheme'), 'note' => T_('Default color scheme is') . ' #1DC6DF.', 'defaultvalue' => '#1dc6df', 'type' => 'color'), 'background_disp' => array('label' => T_('Background Color'), 'note' => T_('Default color is') . ' #FFFFFF.', 'defaultvalue' => '#FFFFFF', 'type' => 'color'), 'single_bg' => array('label' => T_('Background color for disp=single and disp=page'), 'note' => T_('Default color is') . ' #FFFFFF.', 'defaultvalue' => '#FFFFFF', 'type' => 'color'), 'comments_bg' => array('label' => T_('Background color for disp=comments'), 'note' => T_('Default color is') . ' #F7F7F7.', 'defaultvalue' => '#F7F7F7', 'type' => 'color'), 'arcdir_bg' => array('label' => T_('Background color for disp=archive'), 'note' => T_('Default color is') . ' #F7F7F7.', 'defaultvalue' => '#F7F7F7', 'type' => 'color'), 'catdir_bg' => array('label' => T_('Background color for disp=category'), 'note' => T_('Default color is') . ' #F7F7F7.', 'defaultvalue' => '#F7F7F7', 'type' => 'color'), 'postidx_bg' => array('label' => T_('Background color for disp=postidx'), 'note' => T_('Default color is') . ' #F7F7F7.', 'defaultvalue' => '#F7F7F7', 'type' => 'color'), 'tags_bg' => array('label' => T_('Background color for disp=tags'), 'note' => T_('Default color is') . ' #F7F7F7.', 'defaultvalue' => '#F7F7F7', 'type' => 'color'), 'back_to_top' => array('label' => T_('Display Back To Top'), 'note' => T_('Check to display back to top button.'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'section_general_end' => array('layout' => 'end_fieldset'), 'section_typograpy_start' => array('layout' => 'begin_fieldset', 'label' => T_('Typograpy Settings (All disps)')), 'typograpy_fz' => array('label' => T_('Font Size'), 'note' => '', 'type' => 'radio', 'options' => array(array('small', T_('Small')), array('normal', T_('Normal')), array('large', T_('Large'))), 'defaultvalue' => 'small'), 'color_content' => array('label' => T_('Page Text Color'), 'note' => T_('Change page text color here. This field is left blank by default.'), 'defaultvalue' => '', 'allow_empty' => true, 'type' => 'color'), 'section_typograpy_end' => array('layout' => 'end_fieldset'), 'section_header_start' => array('layout' => 'begin_fieldset', 'label' => T_('Header Top Settings (All disps)')), 'ht_show' => array('label' => T_('Display Header Top'), 'note' => T_('Check to display special header section.'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'ht_contact_info' => array('label' => T_('Header Top Section Text'), 'defaultvalue' => 'Contact Us on 0800 123 4567 or info@example.com', 'note' => '<br />' . T_('Add your contact info'), 'type' => 'text', 'size' => '60'), 'header_top_color' => array('label' => T_('Header Top Section Color'), 'note' => T_('Default color is') . ' #777777.', 'defaultvalue' => '#777777', 'type' => 'color'), 'header_top_bg' => array('label' => T_('Header Top Section Background Color'), 'note' => T_('Default color is') . ' #FFFFFF.', 'defaultvalue' => '#FFFFFF', 'type' => 'color'), 'section_header_end' => array('layout' => 'end_fieldset'), 'section_main_header_start' => array('layout' => 'begin_fieldset', 'label' => T_('Main Header Settings (All disps)')), 'header_sticky' => array('label' => T_('Activate Main Header Sticky'), 'note' => T_('Check to activate main header sticky'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'site_tite_color' => array('label' => T_('Site Title Color'), 'note' => T_('Default color is') . ' #333333.', 'defaultvalue' => '#333333', 'type' => 'color'), 'menu_link_color' => array('label' => T_('Menu Link Color'), 'note' => T_('Default color is') . ' #333333.', 'defaultvalue' => '#333333', 'type' => 'color'), 'main_header_bg' => array('label' => T_('Main Header Background Color'), 'note' => T_('Default color is') . ' #FFFFFF.', 'defaultvalue' => '#FFFFFF', 'type' => 'color'), 'section_main_header_end' => array('layout' => 'end_fieldset'), 'section_disp_front_start' => array('layout' => 'begin_fieldset', 'label' => T_('Front Page Settings (disp=front)')), 'layout_front' => array('label' => T_('Layout Settings'), 'note' => '', 'type' => 'select', 'options' => array('single_column' => T_('Single Column Large'), 'single_column_normal' => T_('Single Column'), 'single_column_narrow' => T_('Single Column Narrow'), 'single_column_extra_narrow' => T_('Single Column Extra Narrow'), 'left_sidebar' => T_('Left Sidebar'), 'right_sidebar' => T_('Right Sidebar')), 'defaultvalue' => 'single_column'), 'front_bg' => array('label' => T_('Background color for disp=front'), 'note' => T_('Default color is') . ' #FFFFFF.', 'defaultvalue' => '#FFFFFF', 'type' => 'color'), 'section_disp_front_end' => array('layout' => 'end_fieldset'), 'section_disp_post_start' => array('layout' => 'begin_fieldset', 'label' => T_('Post List Settings (disp=posts)')), 'layout_posts' => array('label' => T_('Post List Layout'), 'note' => '', 'type' => 'select', 'options' => array('regular' => T_('Regular'), 'mini_blog' => T_('Mini Blog Layout'), 'masonry' => T_('Masonry Layout')), 'defaultvalue' => 'regular'), 'posts_masonry_column' => array('label' => T_('Columns Posts Masonry'), 'note' => T_('Select the Column for Posts Masonry.'), 'type' => 'select', 'options' => array('two_columns' => T_('2 Columns'), 'three_columns' => T_('3 Columns'), 'four_columns' => T_('4 Columns')), 'defaultvalue' => 'three_column'), 'regular_post_bg' => array('label' => T_('Background Color for Regular Layout'), 'note' => T_('Default background color is') . ' #F7F7F7.', 'defaultvalue' => '#F7F7F7', 'type' => 'color'), 'mini_blog_bg' => array('label' => T_('Background Color for Mini Blog'), 'note' => T_('Default background color is') . ' #FFFFFF.', 'defaultvalue' => '#FFFFFF', 'type' => 'color'), 'post_info_color' => array('label' => T_('Post Info Content Color'), 'note' => T_('Default color is') . ' #999999.', 'defaultvalue' => '#999999', 'type' => 'color'), 'post_info_link' => array('label' => T_('Post Info Link Color'), 'note' => T_('Default color is') . ' #333333.', 'defaultvalue' => '#333333', 'type' => 'color'), 'pagination_bottom_show' => array('label' => T_('Show Bottom Pagination'), 'note' => T_('Check to display Bottom Pagination.'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'pagination_align' => array('label' => T_('Pagination Alignment'), 'note' => T_('Select left, right or centered alignment for the pagination.'), 'defaultvalue' => 'center', 'type' => 'select', 'options' => array('left' => T_('Left'), 'center' => T_('Center'), 'right' => T_('Right'))), 'section_disp_post_end' => array('layout' => 'end_fieldset'), 'section_tags_start' => array('layout' => 'begin_fieldset', 'label' => T_('Tags Settings (All disps)')), 'tags_color' => array('label' => T_('Post Tags Color'), 'note' => T_('Default color is') . ' #333333.', 'defaultvalue' => '#333333', 'type' => 'color'), 'tags_bg_color' => array('label' => T_('Post Tags Background Color'), 'note' => T_('Default color is') . ' #F7F7F7.', 'defaultvalue' => '#F7F7F7', 'type' => 'color'), 'tags_bdr_color' => array('label' => T_('Post Tags Border Color'), 'note' => T_('Default color is') . ' #E4E4E4.', 'defaultvalue' => '#E4E4E4', 'type' => 'color'), 'section_tags_end' => array('layout' => 'end_fieldset'), 'section_sidebar_start' => array('layout' => 'begin_fieldset', 'label' => T_('Sidebar Settings (All disps)')), 'sidebar_title_widget' => array('label' => T_('Widget Title Color'), 'note' => T_('Default color is') . ' #000000.', 'defaultvalue' => '#000000', 'type' => 'color'), 'sidebar_color_content' => array('label' => T_('Widget Content Color'), 'note' => T_('Default color is') . ' #333333.', 'defaultvalue' => '#333333', 'type' => 'color'), 'sidebar_color_link' => array('label' => T_('Widget Link Color'), 'note' => T_('Default color is') . ' #333333.', 'defaultvalue' => '#333333', 'type' => 'color'), 'sidebar_border_widget' => array('label' => T_('Widget Border Color'), 'note' => T_('Default color is') . ' #EEEEEE.', 'defaultvalue' => '#EEEEEE', 'type' => 'color'), 'section_sidebar_end' => array('layout' => 'end_fieldset'), 'section_footer_start' => array('layout' => 'begin_fieldset', 'label' => T_('Footer Settings (All disps)')), 'footer_dispay' => array('label' => T_('Display Footer Widget'), 'note' => T_('Check to display footer widget area with 4 columns.'), 'defaultvalue' => 0, 'type' => 'checkbox'), 'footer_title_color' => array('label' => T_('Footer Widgets Title Color'), 'note' => T_('Default color is') . ' #FFFFFF.', 'defaultvalue' => '#FFFFFF', 'type' => 'color'), 'footer_text_content' => array('label' => T_('Footer Content Color'), 'note' => T_('Default color is') . ' #FFFFFF.', 'defaultvalue' => '#FFFFFF', 'type' => 'color'), 'footer_link_color' => array('label' => T_('Footer Links Color'), 'note' => T_('Default color is') . ' #FFFFFF.', 'defaultvalue' => '#FFFFFF', 'type' => 'color'), 'footer_border_widget' => array('label' => T_('Footer Widgets Border Color'), 'note' => T_('Default color is') . ' #333333.', 'defaultvalue' => '#333333', 'type' => 'color'), 'copyright_color' => array('label' => T_('Copyright Content Color'), 'note' => T_('Default color is') . ' #999999.', 'defaultvalue' => '#999999', 'type' => 'color'), 'footer_bg' => array('label' => T_('Footer Background Color'), 'note' => T_('Default color is') . ' #222222.', 'defaultvalue' => '#222222', 'type' => 'color'), 'section_footer_end' => array('layout' => 'end_fieldset'), 'section_mediaidx_start' => array('layout' => 'begin_fieldset', 'label' => T_('Media Post Settings (disp=mediaidx)')), 'mediaidx_thumb_size' => array('label' => T_('Thumbnail Size for Media Index'), 'note' => '', 'defaultvalue' => 'fit-1280x720', 'options' => get_available_thumb_sizes(), 'type' => 'select'), 'mediaidx_grid' => array('label' => T_('Column Count'), 'note' => '', 'defaultvalue' => 'two_column', 'type' => 'select', 'options' => array('one_column' => T_('1 Column'), 'two_column' => T_('2 Columns'), 'three_column' => T_('3 Columns'))), 'mediaidx_layout' => array('label' => T_('Layout for disp=mediaidx'), 'note' => '', 'type' => 'select', 'options' => array('no_sidebar' => T_('No Sidebar'), 'left_sidebar' => T_('Left Sidebar'), 'right_sidebar' => T_('Right Sidebar')), 'defaultvalue' => 'no_sidebar'), 'mediaidx_style' => array('label' => T_('Mediaidx Style'), 'note' => T_('If you use box style you should change Mediaidx Background Color. Example:') . ' #F7F7F7.', 'defaultvalue' => 'default', 'type' => 'select', 'options' => array('default' => T_('Default'), 'box' => T_('Box Style'))), 'padding_column' => array('label' => T_('Image Padding'), 'note' => 'px.' . T_(' ( Default padding is 15px )'), 'defaultvalue' => '15', 'type' => 'integer', 'allow_empty' => true), 'mediaidx_title' => array('label' => T_('Display Image Title'), 'note' => T_('Check to display title of the image.'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'mediaidx_title_style' => array('label' => T_('Title Style'), 'note' => T_('Select the title style for Photo Index and set image padding to 10px for optimal layout.'), 'defaultvalue' => 'default', 'type' => 'select', 'options' => array('default' => T_('Default'), 'hover' => T_('Hover Style'))), 'mediaidx_bg' => array('label' => T_('Background Color for disp=mediaidx'), 'note' => T_('Default color is') . ' #FFFFFF. ' . T_('Suggested background color:') . ' #F7F7F7.', 'defaultvalue' => '#FFFFFF', 'type' => 'color'), 'mediaidx_bg_content' => array('label' => T_('Background Color for Mediaidx Content'), 'note' => T_('Default color is') . ' #FFFFFF.' . T_(' Activated when you use box style.'), 'defaultvalue' => '#FFFFFF', 'type' => 'color'), 'mediaidx_title_color' => array('label' => T_('Mediaidx Title Color'), 'note' => T_('Default color is') . ' #222222.' . T_(' Activated when you use box style and display image title.'), 'defaultvalue' => '#222222', 'type' => 'color'), 'section_mediaidx_end' => array('layout' => 'end_fieldset'), 'section_search_start' => array('layout' => 'begin_fieldset', 'label' => T_('Search Disp Settings (disp=search)')), 'search_title' => array('label' => T_('Search Box Title'), 'defaultvalue' => 'Search Result', 'note' => T_('Change the title of the Search Box.'), 'type' => 'text', 'size' => '30'), 'search_button_text' => array('label' => T_('Button Text'), 'defaultvalue' => 'Search', 'note' => T_('Change the text of the search button.'), 'type' => 'text', 'size' => '20'), 'search_field' => array('label' => T_('Show Search Field'), 'note' => T_('Check to show search field.'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'search_text_info' => array('label' => T_('Search Info Text Color'), 'note' => T_('Default color is') . ' #999999.', 'defaultvalue' => '#999999', 'type' => 'color'), 'search_bg' => array('label' => T_('Background Color'), 'note' => T_('Default background color is') . ' #F7F7F7.', 'defaultvalue' => '#F7F7F7', 'type' => 'color'), 'section_search_end' => array('layout' => 'end_fieldset'), 'section_colorbox_start' => array('layout' => 'begin_fieldset', 'label' => T_('Colorbox Image Zoom (All disps)')), 'colorbox' => array('label' => T_('Colorbox Image Zoom'), 'note' => T_('Check to enable javascript zooming on images (using the colorbox script)'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'colorbox_vote_post' => array('label' => T_('Voting on Post Images'), 'note' => T_('Check this to enable AJAX voting buttons in the colorbox zoom view'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'colorbox_vote_post_numbers' => array('label' => T_('Display Votes'), 'note' => T_('Check to display number of likes and dislikes'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'colorbox_vote_comment' => array('label' => T_('Voting on Comment Images'), 'note' => T_('Check this to enable AJAX voting buttons in the colorbox zoom view'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'colorbox_vote_comment_numbers' => array('label' => T_('Display Votes'), 'note' => T_('Check to display number of likes and dislikes'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'colorbox_vote_user' => array('label' => T_('Voting on User Images'), 'note' => T_('Check this to enable AJAX voting buttons in the colorbox zoom view'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'colorbox_vote_user_numbers' => array('label' => T_('Display Votes'), 'note' => T_('Check to display number of likes and dislikes'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'section_colorbox_end' => array('layout' => 'end_fieldset'), 'section_username_start' => array('layout' => 'begin_fieldset', 'label' => T_('Username Settings (All disps)')), 'bubbletip' => array('label' => T_('Username bubble tips'), 'note' => T_('Check to enable bubble tips on usernames'), 'defaultvalue' => 0, 'type' => 'checkbox'), 'autocomplete_usernames' => array('label' => T_('Autocomplete usernames'), 'note' => T_('Check to enable auto-completion of usernames entered after a "@" sign in the comment forms'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'section_username_end' => array('layout' => 'end_fieldset'), 'section_access_start' => array('layout' => 'begin_fieldset', 'label' => T_('When access is denied or requires login... (disp=access_denied and disp=access_requires_login)')), 'access_login_containers' => array('label' => T_('Display on login screen'), 'note' => '', 'type' => 'checklist', 'options' => array(array('header', sprintf(T_('"%s" container'), NT_('Header')), 1), array('sidebar', sprintf(T_('"%s" container'), NT_('Sidebar')), 0), array('footer', sprintf(T_('"%s" container'), NT_('Footer')), 1))), 'section_access_end' => array('layout' => 'end_fieldset')), parent::get_param_definitions($params)); return $r; }
/** * Get definitions for editable params * * @see Plugin::GetDefaultSettings() * @param local params like 'for_editing' => true */ function get_param_definitions($params) { // Load to use function get_available_thumb_sizes() load_funcs('files/model/_image.funcs.php'); $r = array_merge(array('section_layout_start' => array('layout' => 'begin_fieldset', 'label' => T_('Layout Settings')), 'layout' => array('label' => T_('Layout'), 'note' => '', 'defaultvalue' => 'right_sidebar', 'options' => array('single_column' => T_('Single Column Large'), 'single_column_normal' => T_('Single Column'), 'single_column_narrow' => T_('Single Column Narrow'), 'single_column_extra_narrow' => T_('Single Column Extra Narrow'), 'left_sidebar' => T_('Left Sidebar'), 'right_sidebar' => T_('Right Sidebar')), 'type' => 'select'), 'section_layout_end' => array('layout' => 'end_fieldset'), 'section_image_start' => array('layout' => 'begin_fieldset', 'label' => T_('Images Layout')), 'max_image_height' => array('label' => T_('Max image height'), 'note' => 'px', 'defaultvalue' => '', 'type' => 'integer', 'allow_empty' => true), 'mediaidx_thumb_size' => array('label' => T_('Thumbnail size for media index'), 'note' => '', 'defaultvalue' => 'fit-80x80', 'options' => get_available_thumb_sizes(), 'type' => 'select'), 'section_image_end' => array('layout' => 'end_fieldset'), 'section_page_start' => array('layout' => 'begin_fieldset', 'label' => T_('Custom Page Styles')), 'page_bg_color' => array('label' => T_('Page background color'), 'note' => T_('E-g: #ff0000 for red'), 'defaultvalue' => '#666666', 'type' => 'color'), 'page_text_color' => array('label' => T_('Page text color'), 'note' => T_('E-g: #00ff00 for green'), 'defaultvalue' => '#AAAAAA', 'type' => 'color'), 'menu_bg_color' => array('label' => T_('Menu background color'), 'note' => T_('E-g: #0000ff for blue'), 'defaultvalue' => '#333333', 'type' => 'color'), 'menu_text_color' => array('label' => T_('Menu elements color'), 'note' => T_('E-g: #ff6600 for orange'), 'defaultvalue' => '#AAAAAA', 'type' => 'color'), 'menu_links_hover' => array('label' => T_('Menu links hover color'), 'note' => T_('E-g: #ff6600 for orange'), 'defaultvalue' => '#AAAAAA', 'type' => 'color'), 'post_bg_color' => array('label' => T_('Post info background color'), 'note' => T_('E-g: #0000ff for blue'), 'defaultvalue' => '#555555', 'type' => 'color'), 'post_border_col' => array('label' => T_('Post border color'), 'note' => T_('E-g: #0000ff for blue'), 'defaultvalue' => '#aaa', 'type' => 'color'), 'post_text_color' => array('label' => T_('Post info text color'), 'note' => T_('E-g: #ff6600 for orange'), 'defaultvalue' => '#AAAAAA', 'type' => 'color'), 'main_link_color' => array('label' => T_('Main content links color'), 'note' => T_('E-g: #fff for white'), 'defaultvalue' => '#fff', 'type' => 'color'), 'panel_titles' => array('label' => T_('Panel titles color'), 'note' => T_('E-g: #fff for white'), 'defaultvalue' => '#fff', 'type' => 'color'), 'section_page_end' => array('layout' => 'end_fieldset'), 'subm_prev_start' => array('layout' => 'begin_fieldset', 'label' => T_('Submit and Preview buttons styles')), 'prev_bgd' => array('label' => T_('Panel titles color'), 'defaultvalue' => '#aaa', 'type' => 'color'), 'subm_bgd' => array('label' => T_('Panel titles color'), 'defaultvalue' => '#333', 'type' => 'color'), 'subm_prev_end' => array('layout' => 'end_fieldset'), 'footer_start' => array('layout' => 'begin_fieldset', 'label' => T_('Submit and Preview buttons styles')), 'footer_bgd' => array('label' => T_('Footer background color'), 'defaultvalue' => '#aaa', 'type' => 'color'), 'footer_text' => array('label' => T_('Panel titles color'), 'defaultvalue' => '#aaa', 'type' => 'color'), 'footer_links' => array('label' => T_('Panel titles color'), 'defaultvalue' => '#aaa', 'type' => 'color'), 'footer_end' => array('layout' => 'end_fieldset'), 'section_colorbox_start' => array('layout' => 'begin_fieldset', 'label' => T_('Colorbox Image Zoom')), 'colorbox' => array('label' => T_('Colorbox Image Zoom'), 'note' => T_('Check to enable javascript zooming on images (using the colorbox script)'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'colorbox_vote_post' => array('label' => T_('Voting on Post Images'), 'note' => T_('Check this to enable AJAX voting buttons in the colorbox zoom view'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'colorbox_vote_post_numbers' => array('label' => T_('Display Votes'), 'note' => T_('Check to display number of likes and dislikes'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'colorbox_vote_comment' => array('label' => T_('Voting on Comment Images'), 'note' => T_('Check this to enable AJAX voting buttons in the colorbox zoom view'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'colorbox_vote_comment_numbers' => array('label' => T_('Display Votes'), 'note' => T_('Check to display number of likes and dislikes'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'colorbox_vote_user' => array('label' => T_('Voting on User Images'), 'note' => T_('Check this to enable AJAX voting buttons in the colorbox zoom view'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'colorbox_vote_user_numbers' => array('label' => T_('Display Votes'), 'note' => T_('Check to display number of likes and dislikes'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'section_colorbox_end' => array('layout' => 'end_fieldset'), 'section_username_start' => array('layout' => 'begin_fieldset', 'label' => T_('Username options')), 'gender_colored' => array('label' => T_('Display gender'), 'note' => T_('Use colored usernames to differentiate men & women.'), 'defaultvalue' => 0, 'type' => 'checkbox'), 'bubbletip' => array('label' => T_('Username bubble tips'), 'note' => T_('Check to enable bubble tips on usernames'), 'defaultvalue' => 0, 'type' => 'checkbox'), 'autocomplete_usernames' => array('label' => T_('Autocomplete usernames'), 'note' => T_('Check to enable auto-completion of usernames entered after a "@" sign in the comment forms'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'section_username_end' => array('layout' => 'end_fieldset'), 'section_access_start' => array('layout' => 'begin_fieldset', 'label' => T_('When access is denied or requires login...')), 'access_login_containers' => array('label' => T_('Display on login screen'), 'note' => '', 'type' => 'checklist', 'options' => array(array('header', sprintf(T_('"%s" container'), NT_('Header')), 1), array('page_top', sprintf(T_('"%s" container'), NT_('Page Top')), 1), array('menu', sprintf(T_('"%s" container'), NT_('Menu')), 0), array('sidebar', sprintf(T_('"%s" container'), NT_('Sidebar')), 0), array('sidebar2', sprintf(T_('"%s" container'), NT_('Sidebar 2')), 0), array('footer', sprintf(T_('"%s" container'), NT_('Footer')), 1))), 'section_access_end' => array('layout' => 'end_fieldset')), parent::get_param_definitions($params)); return $r; }
/** * Get definitions for editable params * * @see Plugin::GetDefaultSettings() * @param local params like 'for_editing' => true */ function get_param_definitions($params) { // Load to use function get_available_thumb_sizes() load_funcs('files/model/_image.funcs.php'); $r = array_merge(array('section_image_start' => array('layout' => 'begin_fieldset', 'label' => T_('Image Viewing')), 'max_image_height' => array('label' => T_('Max comment image height'), 'note' => 'px', 'defaultvalue' => '', 'type' => 'integer', 'allow_empty' => true), 'posts_thumb_size' => array('label' => T_('Thumbnail size for Albums'), 'note' => '', 'defaultvalue' => 'crop-192x192', 'options' => get_available_thumb_sizes(), 'type' => 'select'), 'single_thumb_size' => array('label' => T_('Thumbnail size inside Album'), 'note' => '', 'defaultvalue' => 'fit-256x256', 'options' => get_available_thumb_sizes(), 'type' => 'select'), 'mediaidx_thumb_size' => array('label' => T_('Thumbnail size in Media index'), 'note' => '', 'defaultvalue' => 'fit-256x256', 'options' => get_available_thumb_sizes(), 'type' => 'select'), 'banner_public' => array('label' => T_('Display "Public" banner'), 'note' => T_('Display banner for "Public" albums (albums & comments)'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'section_image_end' => array('layout' => 'end_fieldset'), 'section_page_start' => array('layout' => 'begin_fieldset', 'label' => T_('Page Styles')), 'page_text_size' => array('label' => T_('Page text size'), 'note' => T_('Default value is 14 pixels.'), 'defaultvalue' => '14px', 'size' => '4px', 'type' => 'text'), 'page_text_color' => array('label' => T_('Page text color'), 'note' => T_('E-g: #00ff00 for green'), 'defaultvalue' => '#333', 'type' => 'color'), 'page_link_color' => array('label' => T_('Page link color'), 'note' => T_('E-g: #00ff00 for green'), 'defaultvalue' => '#337ab7', 'type' => 'color'), 'current_tab_text_color' => array('label' => T_('Current tab text color'), 'note' => T_('E-g: #ff6600 for orange'), 'defaultvalue' => '#333', 'type' => 'color'), 'page_bg_color' => array('label' => T_('Page background color'), 'note' => T_('E-g: #ff0000 for red'), 'defaultvalue' => '#fff', 'type' => 'color'), 'section_page_end' => array('layout' => 'end_fieldset'), 'section_colorbox_start' => array('layout' => 'begin_fieldset', 'label' => T_('Colorbox Image Zoom')), 'colorbox' => array('label' => T_('Colorbox Image Zoom'), 'note' => T_('Check to enable javascript zooming on images (using the colorbox script)'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'colorbox_vote_post' => array('label' => T_('Voting on Post Images'), 'note' => T_('Check this to enable AJAX voting buttons in the colorbox zoom view'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'colorbox_vote_post_numbers' => array('label' => T_('Display Votes'), 'note' => T_('Check to display number of likes and dislikes'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'colorbox_vote_comment' => array('label' => T_('Voting on Comment Images'), 'note' => T_('Check this to enable AJAX voting buttons in the colorbox zoom view'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'colorbox_vote_comment_numbers' => array('label' => T_('Display Votes'), 'note' => T_('Check to display number of likes and dislikes'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'colorbox_vote_user' => array('label' => T_('Voting on User Images'), 'note' => T_('Check this to enable AJAX voting buttons in the colorbox zoom view'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'colorbox_vote_user_numbers' => array('label' => T_('Display Votes'), 'note' => T_('Check to display number of likes and dislikes'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'section_colorbox_end' => array('layout' => 'end_fieldset'), 'section_username_start' => array('layout' => 'begin_fieldset', 'label' => T_('Username options')), 'gender_colored' => array('label' => T_('Display gender'), 'note' => T_('Use colored usernames to differentiate men & women.'), 'defaultvalue' => 0, 'type' => 'checkbox'), 'bubbletip' => array('label' => T_('Username bubble tips'), 'note' => T_('Check to enable bubble tips on usernames'), 'defaultvalue' => 0, 'type' => 'checkbox'), 'autocomplete_usernames' => array('label' => T_('Autocomplete usernames'), 'note' => T_('Check to enable auto-completion of usernames entered after a "@" sign in the comment forms'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'section_username_end' => array('layout' => 'end_fieldset'), 'section_access_start' => array('layout' => 'begin_fieldset', 'label' => T_('When access is denied or requires login...')), 'access_login_containers' => array('label' => T_('Display on login screen'), 'note' => '', 'type' => 'checklist', 'options' => array(array('header', sprintf(T_('"%s" container'), NT_('Header')), 1), array('page_top', sprintf(T_('"%s" container'), NT_('Page Top')), 1), array('menu', sprintf(T_('"%s" container'), NT_('Menu')), 0), array('footer', sprintf(T_('"%s" container'), NT_('Footer')), 1))), 'section_access_end' => array('layout' => 'end_fieldset')), parent::get_param_definitions($params)); return $r; }
/** * Constructor */ function LinkItem($Item) { // call parent contsructor parent::LinkOwner($Item, 'item'); $this->Item =& $this->link_Object; $this->_trans = array('Link this image to your xxx' => NT_('Link this image to your item.'), 'Link this file to your xxx' => NT_('Link this file to your item.'), 'The file will be linked for download at the end of the xxx' => NT_('The file will be appended for linked at the end of the item.'), 'Insert the following code snippet into your xxx' => NT_('Insert the following code snippet into your item.'), 'View this xxx...' => NT_('View this item...'), 'Edit this xxx...' => NT_('Edit this item...'), 'Link files to current xxx' => NT_('Link files to current item'), 'Selected files have been linked to xxx.' => NT_('Selected files have been linked to item.'), 'Link has been deleted from $xxx$.' => NT_('Link has been deleted from «item».')); }
/** * Constructor */ function LinkUser($User) { // call parent contsructor parent::LinkOwner($User, 'user'); $this->User =& $this->link_Object; $this->_trans = array('Link this image to your xxx' => NT_('Link this image to the user.'), 'Link this file to your xxx' => NT_('Link this file to the user.'), 'View this xxx...' => NT_('View this user...'), 'Edit this xxx...' => NT_('Edit this user...'), 'Link files to current xxx' => NT_('Link files to current user'), 'Link has been deleted from $xxx$.' => NT_('Link has been deleted from «user».')); }
/** * Get definitions for editable params * * @see Plugin::GetDefaultSettings() * @param local params like 'for_editing' => true */ function get_param_definitions($params) { // Load to use function get_available_thumb_sizes() load_funcs('files/model/_image.funcs.php'); $r = array_merge(array('section_layout_start' => array('layout' => 'begin_fieldset', 'label' => T_('General Layout Settings')), 'layout' => array('label' => T_('Default Pages Layout'), 'note' => T_('Select general skin layout.'), 'defaultvalue' => 'right_sidebar', 'options' => array('single_column' => T_('Single Column Large'), 'single_column_normal' => T_('Single Column'), 'single_column_narrow' => T_('Single Column Narrow'), 'single_column_extra_narrow' => T_('Single Column Extra Narrow'), 'left_sidebar' => T_('Left Sidebar'), 'right_sidebar' => T_('Right Sidebar')), 'type' => 'select'), 'max_image_height' => array('label' => T_('Max image height'), 'note' => 'px. ' . T_('Set maximum height for post images.'), 'defaultvalue' => '', 'type' => 'integer', 'allow_empty' => true, 'size' => '7'), 'links_color' => array('label' => T_('Links Color Schemes'), 'note' => T_('Default links color schemes is') . ' #096. ' . T_('This color is used for links, buttons, hover and active classes.'), 'defaultvalue' => '#096', 'type' => 'color'), 'site_bg_color' => array('label' => T_('Color scheme supporting color'), 'note' => T_('Default supporting color is') . ' #fff. ' . T_('This color appears as the second color scheme combination and is used as a supporting color for links and page sections.'), 'defaultvalue' => '#fff', 'type' => 'color'), 'site_borders' => array('label' => T_('Color scheme second supporting color'), 'note' => T_('Default color is') . ' #eee. ' . T_('This color is used as a third color used for the custom site color scheme. It is mostly used for borders on elements.'), 'defaultvalue' => '#eee', 'type' => 'color'), 'title_logo_w' => array('label' => T_('Display logo/title'), 'note' => T_('Decide whether you want to display blog title, logo or neither of both.'), 'defaultvalue' => 'display_logo', 'options' => array('display_logo' => T_('Display logo'), 'display_title' => T_('Display title'), 'none' => T_('None')), 'type' => 'select'), 'logo_w_path' => array('label' => T_('Logo path'), 'note' => T_('Works only if "Display logo" selected above. Please use logo from within the skin folder.'), 'defaultvalue' => 'logo.png', 'type' => 'text', 'size' => '25'), 'backtotop_vis' => array('label' => T_('"Back to Top" button'), 'note' => T_('Check to enable the "Back to Top" button.'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'section_layout_end' => array('layout' => 'end_fieldset'), 'nav_links_start' => array('layout' => 'begin_fieldset', 'label' => T_('Navigation Menu Settings')), 'menu_bg_color' => array('label' => T_('Navigation background color'), 'note' => T_('Default color is.') . ' #fff.', 'defaultvalue' => '#fff', 'type' => 'color'), 'menu_a_color' => array('label' => T_('Navigation links color'), 'note' => T_('Default color is.') . ' #333.', 'defaultvalue' => '#333', 'type' => 'color'), 'nav_search' => array('label' => T_('Navigation Search Field'), 'note' => T_('Check to enable a skin-specific search field in navigation menu.'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'nav_social' => array('label' => T_('Navigation Social Links'), 'note' => T_('Check to enable a special social links widget in the navigation.'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'nav_hamb_menu' => array('label' => T_('Hamburger menu at'), 'note' => T_('px. Set the width in pixels below which menu will have hamburger layout.'), 'defaultvalue' => '820', 'type' => 'integer', 'size' => '7'), 'nav_links_end' => array('layout' => 'end_fieldset'), 'front_disp_start' => array('layout' => 'begin_fieldset', 'label' => T_('Front Page Settings')), 'layout_front' => array('label' => T_('Front Page Layout'), 'note' => T_('Select front page layout.'), 'defaultvalue' => 'single_column_narrow', 'options' => array('single_column' => T_('Single Column Large'), 'single_column_normal' => T_('Single Column'), 'single_column_narrow' => T_('Single Column Narrow'), 'single_column_extra_narrow' => T_('Single Column Extra Narrow'), 'left_sidebar' => T_('Left Sidebar'), 'right_sidebar' => T_('Right Sidebar')), 'type' => 'select'), 'fr_sec_enable' => array('label' => T_('Enable front page intro section'), 'note' => T_('Check this to show a special intro section on disp=front of this skin.'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'fr_sec_txt' => array('label' => T_('Intro text'), 'note' => T_('This is the introduction text that will appear in the disp=front. Type text or code in this field.'), 'defaultvalue' => "\nWelcome to Ego skin. Built specially for <a href='http://b2evolution.net/'>b2evolution</a>. Set the button destination in the back-office:", 'type' => 'textarea'), 'frsec_but_enable' => array('label' => T_('Enable section button'), 'note' => T_('Check this to enable the linking button in this section.'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'fr_sec_btn_link' => array('label' => T_('Link URL'), 'note' => T_('Type the link destination (URL) you want this button to lead on. It can be any page, even external.'), 'defaultvalue' => "http://b2evolution.net/", 'type' => 'text', 'size' => 50), 'fr_sec_btn_txt' => array('label' => T_('Link title'), 'note' => T_('Type the title of the link.'), 'defaultvalue' => 'Link title', 'type' => 'text', 'size' => 20), 'front_disp_end' => array('layout' => 'end_fieldset'), 'posts_disp_start' => array('layout' => 'begin_fieldset', 'label' => T_('Posts Page Settings')), 'layout_posts' => array('label' => T_('Posts Page Layout'), 'note' => T_('Select posts page layout.'), 'defaultvalue' => 'right_sidebar', 'options' => array('single_column' => T_('Single Column Large'), 'single_column_normal' => T_('Single Column'), 'single_column_narrow' => T_('Single Column Narrow'), 'single_column_extra_narrow' => T_('Single Column Extra Narrow'), 'left_sidebar' => T_('Left Sidebar'), 'right_sidebar' => T_('Right Sidebar')), 'type' => 'select'), 'posts_format' => array('label' => T_('Posts Format'), 'note' => '(' . T_('Select posts format on posts page.') . ')', 'type' => 'radio', 'options' => array(array('default', T_('Default')), array('simple', T_('Simple')), array('masonry', T_('Masonry'))), 'defaultvalue' => 'default'), 'posts_masonry' => array('label' => T_('Number of columns'), 'note' => '(' . T_('Select the number of columns if Masonry post format is selected above') . ')', 'type' => 'radio', 'options' => array(array('one', T_('1 Column')), array('two', T_('2 Columns')), array('three', T_('3 Columns'))), 'defaultvalue' => 'one'), 'top_pagination' => array('label' => T_('Enable top pagination'), 'note' => T_('Check this to enable top page pagination.'), 'defaultvalue' => 0, 'type' => 'checkbox'), 'bottom_pagination' => array('label' => T_('Enable bottom pagination'), 'note' => T_('Check this to enable bottom page pagination.'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'pag_alignment' => array('label' => T_('Pagination Alignment'), 'note' => T_('Select pagination alignment on posts page.'), 'type' => 'select', 'options' => array('left' => T_('Left'), 'center' => T_('Center'), 'right' => T_('Right')), 'defaultvalue' => 'left'), 'posts_disp_end' => array('layout' => 'end_fieldset'), 'single_disp_start' => array('layout' => 'begin_fieldset', 'label' => T_('Single Page Settings')), 'layout_single' => array('label' => T_('Single Page Layout'), 'note' => T_('Select single page layout.'), 'defaultvalue' => 'right_sidebar', 'options' => array('single_column' => T_('Single Column Large'), 'single_column_normal' => T_('Single Column'), 'single_column_narrow' => T_('Single Column Narrow'), 'single_column_extra_narrow' => T_('Single Column Extra Narrow'), 'left_sidebar' => T_('Left Sidebar'), 'right_sidebar' => T_('Right Sidebar')), 'type' => 'select'), 'sidebar2_single' => array('label' => T_('Sidebar2 on Single Page'), 'note' => T_('Check this to enable Sidebar2 container only on single pages. On other pages regular Sidebar container will be shown.'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'cover_image_start' => array('layout' => 'begin_fieldset', 'label' => T_('Cover Image Settings')), 'spec_cover_image' => array('label' => T_('Special Cover Image Position'), 'note' => T_('Check this to enable a special cover image placement.'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'cover_text' => array('label' => T_('Cover section text color'), 'note' => T_('Default color is') . ' #fefefe.', 'defaultvalue' => '#fefefe', 'type' => 'color'), 'cover_links' => array('label' => T_('Cover section links color'), 'note' => T_('Default color is') . ' #fefefe.', 'defaultvalue' => '#fefefe', 'type' => 'color'), 'cover_borders' => array('label' => T_('Cover section borders color'), 'note' => T_('Default color is') . ' #fefefe.', 'defaultvalue' => '#fefefe', 'type' => 'color'), 'cover_image_end' => array('layout' => 'end_fieldset'), 'single_disp_end' => array('layout' => 'end_fieldset'), 'mediaidx_start' => array('layout' => 'begin_fieldset', 'label' => T_('Media Page Settings')), 'mediaidx_thumb_size' => array('label' => T_('Thumbnail size'), 'note' => T_('Thumbnail size for Media index page.'), 'defaultvalue' => 'crop-480x320', 'options' => get_available_thumb_sizes(), 'type' => 'select'), 'mediaidx_masonry' => array('label' => T_('Masonry Columns'), 'note' => '(' . T_('Select the number of columns for displaying media items') . ')', 'type' => 'radio', 'options' => array(array('one', T_('1 Column')), array('two', T_('2 Columns')), array('three', T_('3 Columns'))), 'defaultvalue' => 'three'), 'mediaidx_end' => array('layout' => 'end_fieldset'), 'catdir_start' => array('layout' => 'begin_fieldset', 'label' => T_('Category Page Settings')), 'catdir_layout' => array('label' => T_('Category Page Layout'), 'note' => '(' . T_('Select the number of columns for displaying media items') . ')', 'type' => 'radio', 'options' => array(array('catdir_list', T_('List')), array('catdir_masonry', T_('Masonry'))), 'defaultvalue' => 'catdir_list'), 'catdir_masonry_cols' => array('label' => T_('Masonry Columns'), 'note' => '(' . T_('Select the number of columns for displaying media items') . ')', 'type' => 'radio', 'options' => array(array('one', T_('1 Column')), array('two', T_('2 Columns')), array('three', T_('3 Columns'))), 'defaultvalue' => 'two'), 'catdir_thumb_size' => array('label' => T_('Thumbnail size'), 'note' => T_('Use this only if Masonry layout is enabled.'), 'defaultvalue' => 'crop-480x320', 'options' => get_available_thumb_sizes(), 'type' => 'select'), 'catdir_end' => array('layout' => 'end_fieldset'), 'footer_start' => array('layout' => 'begin_fieldset', 'label' => T_('Footer Settings')), 'b2evo_credits' => array('label' => T_('b2evolution credits'), 'note' => T_('Please help us promote b2evolution and leave b2evolution credits on your website.'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'spec_sw_footer' => array('label' => T_('Special sitewide footer'), 'note' => T_('Check to enable the special sitewide footer (cookies declaration) layout.'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'sp_sw_f_bg_col' => array('label' => T_('SW Footer background color'), 'note' => T_('Set the background color of the special sitewide footer section.'), 'defaultvalue' => '#333', 'type' => 'color'), 'sp_sw_f_col' => array('label' => T_('SW Footer color'), 'note' => T_('Set the color of the special sitewide footer section.'), 'defaultvalue' => '#fff', 'type' => 'color'), 'footer_end' => array('layout' => 'end_fieldset'), 'section_colorbox_start' => array('layout' => 'begin_fieldset', 'label' => T_('Colorbox Image Zoom')), 'colorbox' => array('label' => T_('Colorbox Image Zoom'), 'note' => T_('Check to enable javascript zooming on images (using the colorbox script)'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'colorbox_vote_post' => array('label' => T_('Voting on Post Images'), 'note' => T_('Check this to enable AJAX voting buttons in the colorbox zoom view'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'colorbox_vote_post_numbers' => array('label' => T_('Display Votes'), 'note' => T_('Check to display number of likes and dislikes'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'colorbox_vote_comment' => array('label' => T_('Voting on Comment Images'), 'note' => T_('Check this to enable AJAX voting buttons in the colorbox zoom view'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'colorbox_vote_comment_numbers' => array('label' => T_('Display Votes'), 'note' => T_('Check to display number of likes and dislikes'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'colorbox_vote_user' => array('label' => T_('Voting on User Images'), 'note' => T_('Check this to enable AJAX voting buttons in the colorbox zoom view'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'colorbox_vote_user_numbers' => array('label' => T_('Display Votes'), 'note' => T_('Check to display number of likes and dislikes'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'section_colorbox_end' => array('layout' => 'end_fieldset'), 'section_username_start' => array('layout' => 'begin_fieldset', 'label' => T_('Username Settings')), 'gender_colored' => array('label' => T_('Display gender'), 'note' => T_('Use colored usernames to differentiate men & women.'), 'defaultvalue' => 0, 'type' => 'checkbox'), 'bubbletip' => array('label' => T_('Username bubble tips'), 'note' => T_('Check to enable bubble tips on usernames'), 'defaultvalue' => 0, 'type' => 'checkbox'), 'autocomplete_usernames' => array('label' => T_('Autocomplete usernames'), 'note' => T_('Check to enable auto-completion of usernames entered after a "@" sign in the comment forms'), 'defaultvalue' => 1, 'type' => 'checkbox'), 'section_username_end' => array('layout' => 'end_fieldset'), 'section_access_start' => array('layout' => 'begin_fieldset', 'label' => T_('When access is denied or requires login...')), 'access_login_containers' => array('label' => T_('Display on login screen'), 'note' => '', 'type' => 'checklist', 'options' => array(array('menu', sprintf(T_('"%s" container'), NT_('Menu')), 1), array('sidebar', sprintf(T_('"%s" container'), NT_('Sidebar')), 1), array('sidebar2', sprintf(T_('"%s" container'), NT_('Sidebar 2')), 1), array('footer', sprintf(T_('"%s" container'), NT_('Footer')), 1))), 'section_access_end' => array('layout' => 'end_fieldset')), parent::get_param_definitions($params)); return $r; }
/** * Constructor */ function LinkUser($User) { // call parent contsructor parent::LinkOwner($User, 'user'); $this->User =& $this->link_Object; $this->_trans = array('Link this image to your owner' => NT_('Link this image to the user.'), 'Link this file to your owner' => NT_('Link this file to the user.'), 'View this owner...' => NT_('View this user...'), 'Edit this owner...' => NT_('Edit this user...'), 'Click on link %s icons below to link additional files to $ownerTitle$.' => NT_('Click on link %s icons below to link additional files to <strong>user</strong>.'), 'Link files to current owner' => NT_('Link files to current user'), 'Link has been deleted from $ownerTitle$.' => NT_('Link has been deleted from «user».')); }
/** * Constructor */ function LinkItem($Item) { // call parent contsructor parent::LinkOwner($Item, 'item'); $this->Item =& $this->link_Object; $this->_trans = array('Link this image to your owner' => NT_('Link this image to your item.'), 'Link this file to your owner' => NT_('Link this file to your item.'), 'The file will be linked for download at the end of the owner' => NT_('The file will be appended for linked at the end of the item.'), 'Insert the following code snippet into your owner' => NT_('Insert the following code snippet into your item.'), 'View this owner...' => NT_('View this item...'), 'Edit this owner...' => NT_('Edit this item...'), 'Click on link %s icons below to link additional files to $ownerTitle$.' => NT_('Click on link %s icons below to link additional files to <strong>item</strong>.'), 'Link files to current owner' => NT_('Link files to current item'), 'Selected files have been linked to owner.' => NT_('Selected files have been linked to item.'), 'Link has been deleted from $ownerTitle$.' => NT_('Link has been deleted from «item».')); }
/** * Callback to add filters on top of the result set * * @param Form */ function filter_goals(&$Form) { $Form->checkbox_basic_input('final', get_param('final'), T_('Final only') . ' •'); $Form->text('s', get_param('s'), 30, T_('Search'), '', 255); $GoalCategoryCache =& get_GoalCategoryCache(NT_('All')); $GoalCategoryCache->load_all(); $Form->select_input_object('cat', get_param('cat'), $GoalCategoryCache, T_('Category'), array('allow_none' => true)); }
/** * Get the GoalCategoryCache * * @param string The text that gets used for the "None" option in the objects options list (Default: T_('None')). * @return GoalCategoryCache */ function &get_GoalCategoryCache($allow_none_text = NULL) { global $GoalCategoryCache; if (!isset($GoalCategoryCache)) { // Cache doesn't exist yet: if (!isset($allow_none_text)) { $allow_none_text = NT_('None'); } load_class('sessions/model/_goalcat.class.php', 'GoalCategory'); $GoalCategoryCache = new DataObjectCache('GoalCategory', false, 'T_track__goalcat', 'gcat_', 'gcat_ID', 'gcat_name', 'gcat_name', $allow_none_text); // COPY (FUNC) } return $GoalCategoryCache; }
<tr valign="top"> <td class="ft_avatar"><?php $Item->author(array('link_text' => 'only_avatar', 'thumb_size' => 'crop-top-80x80')); ?> </td> <td valign="top"> <?php $post_header_class = 'bPostDate'; if ($Skin->enabled_status_banner($Item->status)) { $Item->format_status(array('template' => '<div class="floatright"><span class="note status_$status$"><span>$status_title$</span></span></div>')); $legend_statuses[] = $Item->status; } if ($disp == 'single') { // ------------------------- "Item Single" CONTAINER EMBEDDED HERE -------------------------- // Display container contents: skin_container(NT_('Item Single'), array('widget_context' => 'item', 'block_start' => '<div class="$wi_class$">', 'block_end' => '</div>', 'block_title_start' => '<h3>', 'block_title_end' => '</h3>', 'widget_item_content_params' => $params)); // ----------------------------- END OF "Item Single" CONTAINER ----------------------------- } else { // ---------------------- POST CONTENT INCLUDED HERE ---------------------- skin_include('_item_content.inc.php', $params); // Note: You can customize the default item content by copying the generic // /skins/_item_content.inc.php file into the current skin folder. // -------------------------- END OF POST CONTENT ------------------------- } ?> </td> </tr> <tr> <td><a href="<?php echo $Item->get_permanent_url(); ?>
?> </ul> <?php // Please help us promote b2evolution and leave this logo on your blog: powered_by(array('block_start' => '<div class="powered_by">', 'block_end' => '</div>', 'img_url' => 'img/powered-by-b2evolution-138x39-895C46.gif', 'img_width' => 138, 'img_height' => 39)); ?> </div> </div> <!-- END RS DIV --> </div> <!-- END CONTENT DIV --> <!-- =================================== START OF FOOTER =================================== --> <div class="pagefoot"> <?php // Display container and contents: skin_container(NT_("Footer"), array()); // Note: Double quotes have been used around "Footer" only for test purposes. ?> <p class="center"> <?php // Display footer text (text can be edited in Blog Settings): $Blog->footer_text(array('before' => '', 'after' => ' • ')); ?> <?php // Display a link to contact the owner of this blog (if owner accepts messages): $Blog->contact_link(array('before' => '', 'after' => '', 'text' => T_('Contact'), 'title' => T_('Send a message to the owner of this blog...'))); // Display a link to help page: $Blog->help_link(array('before' => ' • ', 'after' => ' ', 'text' => T_('Help'))); ?>
<?php /** * Locale definition * * IMPORTANT: Try to keep the locale names short, they take away valuable space on the screen! * * Documentation of the keys: * - 'messages': The directory where the locale's files are. (may seem redundant but allows to have fr-FR and fr-CA * tap into the same language file.) * - 'charset': Character set of the locale's messages files. * - 'transliteration_map': An array of non-ASCII chars and their transliterated ASCII equivalents. * It's used in replace_special_chars() to find and replace non-ASCII chars in post and category slugs. * You can define your own pattern, e.g. to replace "U" with "you" use 'U'=>'you'. * See /locales/ru_RU/ru-RU.locale.php for details. */ $locale_defs['ru-RU'] = array('name' => NT_('Russian (RU) utf-8'), 'messages' => 'ru_RU', 'charset' => 'utf-8', 'datefmt' => 'j.m.Y', 'timefmt' => 'H:i:s', 'shorttimefmt' => 'H:i', 'startofweek' => 1, 'transliteration_map' => array('А' => 'A', 'Б' => 'B', 'В' => 'V', 'Г' => 'G', 'Д' => 'D', 'Е' => 'E', 'Ё' => 'YO', 'Ж' => 'ZH', 'З' => 'Z', 'И' => 'I', 'Й' => 'J', 'К' => 'K', 'Л' => 'L', 'М' => 'M', 'Н' => 'N', 'О' => 'O', 'П' => 'P', 'Р' => 'R', 'С' => 'S', 'Т' => 'T', 'У' => 'U', 'Ф' => 'F', 'Х' => 'X', 'Ц' => 'C', 'Ч' => 'CH', 'Ш' => 'SH', 'Щ' => 'SHH', 'Ъ' => '', 'Ы' => 'Y', 'Ь' => '', 'Э' => 'E', 'Ю' => 'YU', 'Я' => 'YA', 'а' => 'a', 'б' => 'b', 'в' => 'v', 'г' => 'g', 'д' => 'd', 'е' => 'e', 'ё' => 'yo', 'ж' => 'zh', 'з' => 'z', 'и' => 'i', 'й' => 'j', 'к' => 'k', 'л' => 'l', 'м' => 'm', 'н' => 'n', 'о' => 'o', 'п' => 'p', 'р' => 'r', 'с' => 's', 'т' => 't', 'у' => 'u', 'ф' => 'f', 'х' => 'x', 'ц' => 'c', 'ч' => 'ch', 'ш' => 'sh', 'щ' => 'shh', 'ъ' => '', 'ы' => 'y', 'ь' => '', 'э' => 'e', 'ю' => 'yu', 'я' => 'ya', 'Є' => 'YE', 'І' => 'I', 'Ѓ' => 'G', 'і' => 'i', 'ї' => 'ji', 'є' => 'ye', 'ѓ' => 'g', '«' => '', '»' => '', '—' => '-', '№' => '#'));
<?php // ------------------------- "Front Page Secondary Area" CONTAINER EMBEDDED HERE -------------------------- // Display container and contents: skin_container(NT_('Front Page Secondary Area'), array('block_start' => '<div class="widget $wi_class$">', 'block_end' => '</div>', 'block_title_start' => '<h2 class="page-header">', 'block_title_end' => '</h2>')); // ----------------------------- END OF "Front Page Secondary Area" CONTAINER ----------------------------- ?> </div> </div><!-- .col --> <footer class="col-md-12 center"> <div class="evo_container evo_container__footer"> <?php // ------------------------- "Footer" CONTAINER EMBEDDED HERE -------------------------- // Display container and contents: skin_container(NT_('Footer'), array()); // ----------------------------- END OF "Footer" CONTAINER ----------------------------- ?> </div> <p> <?php // Display footer text (text can be edited in Blog Settings): $Blog->footer_text(array('before' => '', 'after' => ' • ')); // TODO: dh> provide a default class for pTyp, too. Should be a name and not the ityp_ID though..?! ?> <?php // Display a link to contact the owner of this blog (if owner accepts messages): $Blog->contact_link(array('before' => '', 'after' => ' • ', 'text' => T_('Contact'), 'title' => T_('Send a message to the owner of this blog...'))); // Display a link to help page:
die('Please, do not access this page directly.'); } ?> <div id="sidebar"> <div class="rss2" align="center"> <?php echo '<a href="' . $Blog->gen_blogurl() . '?tempskin=_rss2"><img alt="rss" src="images/rss.png" /></a>, '; ?> </div> <ul> <?php // ------------------------- "Sidebar" CONTAINER EMBEDDED HERE -------------------------- // Display container contents: skin_container(NT_('Sidebar'), array('block_start' => '<li class="$wi_class$">', 'block_end' => '</li>', 'block_title_start' => '<h2>', 'block_title_end' => '</h2>', 'list_start' => '<ul>', 'list_end' => '</ul>', 'item_start' => '<li>', 'item_end' => '</li>', 'group_start' => '<ul>', 'group_end' => '</ul>', 'notes_start' => '<div class="notes">', 'notes_end' => '</div>')); // ----------------------------- END OF "Sidebar" CONTAINER ----------------------------- ?> </ul> <?php // Please help us promote b2evolution and leave this logo on your blog: powered_by(array('block_start' => '<div class="powered_by">', 'block_end' => '</div>', 'img_url' => 'images/b2evo-tilqi-logo-trans.png', 'img_width' => 150, 'img_height' => 58)); ?> <div class="validators" align="center"> <p> <a href="http://validator.w3.org/check?uri=referer"><img src="images/valid-xhtml10.png" alt="Valid XHTML 1.0 Transitional" height="31" width="88" /></a> </p>
// copying the matching php file into your skin directory. // ------------------------- END OF MAIN CONTENT TEMPLATE --------------------------- ?> </div> </div> <!-- =================================== START OF SIDEBAR =================================== --> <div class="bSideBar"> <div class="innerwrap"> <?php // Display container contents: $Skin->container(NT_('Sidebar'), array('block_start' => '<div class="bSideItem $wi_class$">', 'block_end' => '</div>', 'block_title_start' => '<h3>', 'block_title_end' => '</h3>', 'list_start' => '<ul>', 'list_end' => '</ul>', 'item_start' => '<li>', 'item_end' => '</li>', 'group_start' => '<ul>', 'group_end' => '</ul>')); ?> <p class="center"><!-- Please help us promote b2evolution and leave this link on your blog. --><a href="http://b2evolution.net/" title="b2evolution: next generation blog software"><img src="../../rsc/img/powered-by-b2evolution-120t.gif" alt="powered by b2evolution free blog software" title="b2evolution: next generation blog software" width="120" height="32" border="0" /></a></p> </div> </div> <div class="clear"><img src="<?php echo $rsc_url; ?> img/blank.gif" width="1" height="1" alt="" /></div> <?php // ------------------------- BODY FOOTER INCLUDED HERE --------------------------
?> " title="Submit Reddit" target="_blank">Reddit</a> + <a href="http://www.simpy.com/simpy/LinkAdd.do?href=<?php echo $Item->get_permanent_url(); ?> &title=<?php echo $Item->title(array('link_type' => 'none')); ?> " title="Submit to Simpy" target="_blank">Simpy</a> + <a href="http://www.spurl.net/spurl.php?title=<?php echo $Item->title(array('link_type' => 'none')); ?> &url=<?php echo $Item->get_permanent_url(); ?> " title="submit to Spurl" target="_blank">Spurl</a> + <a href="http://technorati.com/faves?add=<?php echo $Item->get_permanent_url(); ?> " title="Submit to Technorati" target="_blank">Technorati</a> + <a href="http://www.wink.com/_/tag?url=<?php echo $Item->get_permanent_url(); ?> &doctitle=<?php echo $Item->title(array('link_type' => 'none')); ?> " title="Submit to Wink" target="_blank">Wink</a> <?php // ------------------------- "Sidebar" CONTAINER EMBEDDED HERE -------------------------- // Display container contents: skin_container(NT_('Socialbar'), array('block_start' => '<!-- <div class="$wi_class$"> -->', 'block_end' => '<!-- </div> -->', 'block_title_start' => '<strong><span>', 'block_title_end' => '</span></strong>', 'list_start' => '', 'list_end' => '', 'item_start' => '', 'item_end' => '', 'group_start' => '', 'group_end' => '', 'notes_start' => '<div class="notes">', 'notes_end' => '</div> <!-- end of class="notes" -->')); // ----------------------------- END OF "Sidebar" CONTAINER ----------------------------- ?> </p> </div> <!-- end of class="socialbar" -->
// -------------------------- HTML HEADER INCLUDED HERE -------------------------- skin_include('_body_header.inc.php'); // Note: You can customize the default HTML header by copying the generic // /skins/_html_header.inc.php file into the current skin folder. // -------------------------------- END OF HEADER -------------------------------- ?> <div id="bwrapper"> <div class="bloglist"> <?php $Blog->dget('name'); ?> <?php // ------------------------- "Page Top" CONTAINER EMBEDDED HERE -------------------------- // Display container and contents: skin_container(NT_('Page Top'), array('block_start' => '<div class="$wi_class$">', 'block_end' => '</div>', 'block_display_title' => false, 'list_start' => '<ul>', 'list_end' => '</ul>', 'item_start' => '<li>', 'item_end' => '</li>')); // ----------------------------- END OF "Page Top" CONTAINER ----------------------------- ?> <img src="img/bloglist-top-left-corner.gif" class="tl" alt="tlc" /> </div><!-- end of bloglist--> </div><!-- end of b(loglist)wrapper--> </div> <!--end of header--> <div id="wrapper"> <div id="inner_wrapper"> <?php // -------------------------- sidebar INCLUDED HERE --------------------------
skin_widget(array('widget' => 'colls_list_public', 'block_start' => '', 'block_end' => '', 'block_display_title' => false, 'list_start' => '<ul>', 'list_end' => '</ul>', 'item_start' => '<li>', 'item_end' => '</li>', 'item_selected_start' => '<li class="selected">', 'item_selected_end' => '</li>')); ?> </div> <?php } ?> </div> <!-- end of id="pagetop" --> <div id="topsearch"> <?php skin_widget(array('widget' => 'coll_search_form', 'block_start' => '', 'block_end' => '', 'block_display_title' => false, 'disp_search_options' => 0, 'search_class' => 'extended_search_form', 'use_search_disp' => 0)); ?> </div> <!-- end of id="topsearch" --> </div> <!-- end of class="floatright" --> <div class="clear"></div> </div> <!-- end of id="header" --> <div id="nav"> <ul> <?php // ------------------------- "Menu" CONTAINER EMBEDDED HERE -------------------------- // Display container and contents: skin_container(NT_('Menu'), array('block_start' => '', 'block_end' => '', 'block_display_title' => false, 'list_start' => '', 'list_end' => '', 'item_start' => '<li>', 'item_end' => '</li>')); // ----------------------------- END OF "Menu" CONTAINER ----------------------------- ?> <li class="date"><script src="rsc/js/date.js"></script></li> </ul> </div> <!-- end of id="nav" -->
// Note: you can customize any of the sub templates included here by // copying the matching php file into your skin directory. // ------------------------- END OF MAIN CONTENT TEMPLATE --------------------------- ?> </div> <!-- RIGHT COLUMN --> <div id="right-column"> <?php // Display container contents: skin_container(NT_('Sidebar'), array('block_start' => '<div class="right-column-box-standard">', 'block_end' => '</div>', 'block_title_start' => '<h3>', 'block_title_end' => '</h3>', 'list_start' => '<ul>', 'list_end' => '</ul>', 'item_start' => '<li>', 'item_end' => '</li>', 'group_start' => '<ul>', 'group_end' => '</ul>')); ?> </div> <!-- end of right column --> <!-- FOOTER --> <? include("_body_footer.inc.php") ?> </div> <?php $Hit->log();
echo T_('Other Blogs'); ?> </a> </div> <?php // ------------------------- "Navigation Menu" CONTAINER EMBEDDED HERE -------------------------- // Display container and contents: skin_container(NT_('Mobile: Navigation Menu'), array('block_start' => '<ul id="head-nav">', 'block_end' => '</ul>', 'block_display_title' => false, 'list_start' => '', 'list_end' => '', 'item_start' => '<li>', 'item_end' => '</li>')); // ----------------------------- END OF "Navigation Menu" CONTAINER ----------------------------- ?> <?php // ------------------------- "Tools Menu" CONTAINER EMBEDDED HERE -------------------------- // Display container and contents: skin_container(NT_('Mobile: Tools Menu'), array('block_start' => '<ul id="head-tools">', 'block_end' => '</ul>', 'block_display_title' => false, 'list_start' => '', 'list_end' => '', 'item_start' => '<li>', 'item_end' => '</li>')); // ----------------------------- END OF "Tools Menu" CONTAINER ----------------------------- ?> <?php // --------------------------------- START OF BLOG LIST -------------------------------- // Call widget directly (without container): skin_widget(array('widget' => 'colls_list_public', 'block_start' => '<ul id="head-blogs">', 'block_end' => '</ul>', 'block_display_title' => false, 'list_start' => '', 'list_end' => '', 'item_start' => '<li>', 'item_end' => '</li>')); // ---------------------------------- END OF BLOG LIST --------------------------------- ?> </div> </div> <?php } ?>
<?php // -------------- MAIN CONTENT TEMPLATE INCLUDED HERE (Based on $disp) -------------- skin_include('$disp$', array('disp_posts' => '', 'disp_single' => '', 'disp_page' => '', 'author_link_text' => 'auto')); // Note: you can customize any of the sub templates included here by // copying the matching php file into your skin directory. // ------------------------- END OF MAIN CONTENT TEMPLATE --------------------------- ?> </div> <!-- =================================== START OF SIDEBAR =================================== --> <div class="evo_sidebar"> <?php // Display container contents: skin_container(NT_('Sidebar'), array('block_start' => '<div class="evo_side_item widget $wi_class$">', 'block_end' => '</div>', 'block_title_start' => '<h3>', 'block_title_end' => '</h3>', 'list_start' => '<ul>', 'list_end' => '</ul>', 'item_start' => '<li>', 'item_end' => '</li>', 'group_start' => '<ul>', 'group_end' => '</ul>')); ?> <?php // Please help us promote b2evolution and leave this logo on your blog: powered_by(array('block_start' => '<div class="powered_by">', 'block_end' => '</div>', 'img_url' => '$rsc$img/powered-by-b2evolution-120t.gif', 'img_width' => 120, 'img_height' => 32)); ?> </div> <div class="clear"><?php echo get_icon('pixel'); ?> </div> </div>
/** * Detect timed out cron jobs and Send notifications * * @param array Task with error * 'name' * 'message' */ function detect_timeout_cron_jobs($error_task = NULL) { global $DB, $time_difference, $cron_timeout_delay, $admin_url; $SQL = new SQL('Find cron timeouts'); $SQL->SELECT('ctsk_ID, ctsk_name, ctsk_key'); $SQL->FROM('T_cron__log'); $SQL->FROM_add('INNER JOIN T_cron__task ON ctsk_ID = clog_ctsk_ID'); $SQL->WHERE('clog_status = "started"'); $SQL->WHERE_and('clog_realstart_datetime < ' . $DB->quote(date2mysql(time() + $time_difference - $cron_timeout_delay))); $SQL->GROUP_BY('ctsk_ID'); $timeout_tasks = $DB->get_results($SQL->get(), OBJECT, $SQL->title); $tasks = array(); if (count($timeout_tasks) > 0) { $cron_jobs_names = get_cron_jobs_config('name'); foreach ($timeout_tasks as $timeout_task) { if (!empty($timeout_task->ctsk_name)) { // Task name is defined in DB $task_name = $timeout_task->ctsk_name; } else { // Try to get default task name by key: $task_name = isset($cron_jobs_names[$timeout_task->ctsk_key]) ? $cron_jobs_names[$timeout_task->ctsk_key] : $timeout_task->ctsk_key; } $tasks[$timeout_task->ctsk_ID] = array('name' => $task_name, 'message' => NT_('Cron job has timed out.')); } // Update timed out cron jobs: $DB->query('UPDATE T_cron__log SET clog_status = "timeout" WHERE clog_ctsk_ID IN ( ' . $DB->quote(array_keys($tasks)) . ' )', 'Mark timeouts in cron jobs.'); } if (!is_null($error_task)) { // Send notification with error task $tasks[$error_task['ID']] = $error_task; } if (count($tasks) > 0) { // Send notification email about timed out and error cron jobs to users with edit options permission $email_template_params = array('tasks' => $tasks); send_admin_notification(NT_('Scheduled task error'), 'scheduled_task_error_report', $email_template_params); } }
<?php /** * Locale definition * * IMPORTANT: Try to keep the locale names short, they take away valuable space on the screen! * * Documentation of the keys: * - 'messages': The directory where the locale's files are. (may seem redundant but allows to have fr-FR and fr-CA * tap into the same language file.) * - 'charset': Character set of the locale's messages files. */ $locale_defs['en-AU'] = array('name' => NT_('English (AU) latin1'), 'charset' => 'iso-8859-1', 'datefmt' => 'd/m/y', 'timefmt' => 'h:i:s a', 'startofweek' => 1, 'messages' => 'en_AU');
<?php /** * This is the template that displays the front page of a collection (when front page enabled) * * This file is not meant to be called directly. * It is meant to be called by an include in a *.main.php template. * * b2evolution - {@link http://b2evolution.net/} * Released under GNU GPL License - {@link http://b2evolution.net/about/gnu-gpl-license} * @copyright (c)2003-2015 by Francois Planque - {@link http://fplanque.com/} * * @package evoskins */ if (!defined('EVO_MAIN_INIT')) { die('Please, do not access this page directly.'); } $params = array_merge(array('author_link_text' => 'name', 'featured_intro_before' => '', 'featured_intro_after' => '', 'front_block_start' => '<div class="evo_widget $wi_class$">', 'front_block_end' => '</div>', 'front_block_first_title_start' => '<h3>', 'front_block_first_title_end' => '</h3>', 'front_block_title_start' => '<h3>', 'front_block_title_end' => '</h3>'), $params); // ------------------ "Front Page Main Area" CONTAINER EMBEDDED HERE ------------------- // Display container and contents: ?> <div class="evo_container evo_container__front_page_primary"> <?php skin_container(NT_('Front Page Main Area'), array('author_link_text' => $params['author_link_text'], 'featured_intro_before' => $params['featured_intro_before'], 'featured_intro_after' => $params['featured_intro_after'], 'block_start' => $params['front_block_start'], 'block_end' => $params['front_block_end'], 'block_first_title_start' => $params['front_block_first_title_start'], 'block_first_title_end' => $params['front_block_first_title_end'], 'block_title_start' => $params['front_block_title_start'], 'block_title_end' => $params['front_block_title_end'])); // --------------------- END OF "Front Page Main Area" CONTAINER ----------------------- ?> </div>
</div><!-- .row --> <footer class="row"> <!-- =================================== START OF FOOTER =================================== --> <div class="col-md-12 center"> <?php if ($Skin->is_visible_container('footer')) { // Display 'Footer' widget container ?> <div class="evo_container evo_container__footer"> <?php // Display container and contents: skin_container(NT_("Footer"), array('block_start' => '<div class="evo_widget $wi_class$">', 'block_end' => '</div>')); // Note: Double quotes have been used around "Footer" only for test purposes. ?> </div> <?php } ?> <p> <?php // Display footer text (text can be edited in Blog Settings): $Blog->footer_text(array('before' => '', 'after' => ' • ')); // TODO: dh> provide a default class for pTyp, too. Should be a name and not the ityp_ID though..?! ?> <?php
// Will EXIT // We have EXITed already at this point!! } if (is_logged_in() && $current_User->check_perm('users', 'edit', false)) { // Admins cannot close own accounts $Messages->add(T_('You cannot close your own account!')); // Redirect to show the errors: header_redirect(); // Will EXIT // We have EXITed already at this point!! } if (is_logged_in() && $current_User->update_status_from_Request(true, 'closed')) { // user account was closed successful // Send notification email about closed account to users with edit users permission $email_template_params = array('login' => $current_User->login, 'email' => $current_User->email, 'reason' => trim(param('account_close_type', 'string', '') . ' ' . param('account_close_reason', 'text', '')), 'user_ID' => $current_User->ID, 'days_count' => $current_User->get_days_count_close()); send_admin_notification(NT_('User account closed'), 'account_closed', $email_template_params); // Set this session var only to know when display a bye message $Session->set('account_closing_success', true); } else { // db update was unsuccessful $Messages->add(T_('Unable to close your account. Please contact to system administrator.')); } header_redirect(); /* exited */ break; case 'retrievepassword': // Send password change request by mail global $servertimenow; $login_required = true; // Do not display "Without login.." link on the form if (empty($login)) {
/** * Constructor */ function LinkComment($edited_Comment) { parent::LinkOwner($edited_Comment, 'comment'); $this->Comment =& $this->link_Object; $this->_trans = array('Link this image to your xxx' => NT_('Link this image to your comment'), 'Link this file to your xxx' => NT_('Link this file to your comment'), 'The file will be linked for download at the end of the xxx' => NT_('The file will be linked for download at the end of the comment.'), 'Insert the following code snippet into your xxx' => NT_('Insert the following code snippet into your comment.'), 'View this xxx...' => NT_('View this comment...'), 'Edit this xxx...' => NT_('Edit this comment...'), 'Link files to current xxx' => NT_('Link files to current comment'), 'Selected files have been linked to xxx.' => NT_('Selected files have been linked to comment.'), 'Link has been deleted from $xxx$.' => NT_('Link has been deleted from the «Comment».')); }
<?php if (true) { ?> <?php skin_widget(array('widget' => 'coll_search_form', 'block_start' => '', 'block_end' => '', 'block_display_title' => false, 'disp_search_options' => 0, 'search_class' => 'extended_search_form', 'use_search_disp' => 0)); ?> <?php } ?> </div> </div> <div id="title"> <?php // ------------------------- "Header" CONTAINER EMBEDDED HERE -------------------------- // Display container and contents: skin_container(NT_('Header'), array('block_start' => '<div class="description">', 'block_end' => '</div>', 'block_title_start' => '<h1>', 'block_title_end' => '</h1>')); // ----------------------------- END OF "Header" CONTAINER ----------------------------- ?> </div><!-- end of header --> <div id="main"> <?php // ------------------------- SIDEBAR INCLUDED HERE -------------------------- skin_include('_sidebar.inc.php'); // Note: You can customize the default BODY footer by copying the // _body_footer.inc.php file into the current skin folder. // ----------------------------- END OF SIDEBAR ----------------------------- ?> <div id="content"> <?php // ------------------------- MESSAGES GENERATED FROM ACTIONS -------------------------