$page=add_submenu_page('el_admin_main',__('Add New Event','event-list'),__('Add New','event-list'),'edit_posts','el_admin_new',array(&$this,'show_new_page'));
$page=add_submenu_page('el_admin_main',__('Event List Categories','event-list'),__('Categories','event-list'),'manage_categories','el_admin_categories',array(&$this,'show_categories_page'));
$page=add_submenu_page('el_admin_main',__('Event List Settings','event-list'),__('Settings','event-list'),'manage_options','el_admin_settings',array(&$this,'show_settings_page'));
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana%2CArial%2Csans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=highlight_soft&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=flat&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=glass&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=glass&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=glass&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=glass&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=flat&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=flat&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
* Copyright jQuery Foundation and other contributors; Licensed MIT */
<h3 class="el-headline">'.__('Help and Instructions','event-list').'</h3>
<p>'.sprintf(__('You can manage the events %1$shere%2$s','event-list'),'<a href="admin.php?page=el_admin_main">','</a>').'.</p>
<p>'.__('To show the events on your site you have 2 possibilities','event-list').':</p>
<ul class="el-show-event-options"><li>'.sprintf(__('you can place the <strong>shortcode</strong> %1$s on any page or post','event-list'),'<code>[event-list]</code>').'</li>
<li>'.sprintf(__('you can add the <strong>widget</strong> %1$s in your sidebars','event-list'),'"Event List"').'</li></ul>
<p>'.__('The displayed events and their style can be modified with the available widget settings and the available attributes for the shortcode.','event-list').'<br />
'.sprintf(__('A list of all available shortcode attributes with their descriptions is available in the %1$s tab.','event-list'),'<a href="admin.php?page=el_admin_about&tab=atts">'.__('Shortcode Attributes','event-list').'</a>').'<br />
'.__('The available widget options are described in their tooltip text.','event-list').'<br />
'.sprintf(__('If you enable one of the links options (%1$s or %2$s) in the widget you have to insert an URL to the linked event-list page.','event-list'),'"'.__('Add links to the single events','event-list').'"','"'.__('Add a link to the Event List page','event-list').'"')
.__('This is required because the widget does not know in which page or post the shortcode was included.','event-list').'<br />
'.__('Additionally you have to insert the correct Shortcode id on the linked page. This id describes which shortcode should be used on the given page or post if you have more than one.','event-list')
.sprintf(__('The default value %1$s is normally o.k. (for pages with 1 shortcode only), but if required you can check the id by looking into the URL of an event link on your linked page or post.','event-list'),'[1]')
.sprintf(__('The id is available at the end of the URL parameters (e.g. %1$s).','event-list'),'<i>https://www.your-homepage.com/?page_id=99&event_id<strong>1</strong>=11</i>').'
</p>
<p>'.sprintf(__('Be sure to also check the %1$s to get the plugin behaving just the way you want.','event-list'),'<a href="admin.php?page=el_admin_settings">'.__('Settings page','event-list').'</a>').'</p>';
}
privatefunctionshow_author(){
echo'
<br />
<h3>'.__('About the plugin author','event-list').'</h3>
<div class="help-content">
<p>'.sprintf(__('This plugin is developed by %1$s, you can find more information about the plugin on the %2$s.','event-list'),'mibuthu','<a href="http://wordpress.org/plugins/event-list" target="_blank" rel="noopener">'.__('wordpress plugin site','event-list').'</a>').'</p>
<p>'.sprintf(__('If you like the plugin please rate it on the %1$s.','event-list'),'<a href="http://wordpress.org/support/view/plugin-reviews/event-list" target="_blank" rel="noopener">'.__('wordpress plugin review site','event-list').'</a>').'<br />
<p>'.__('If you want to support the plugin I would be happy to get a small donation','event-list').':<br />
'.__('You have the possibility to modify the output if you add some of the following attributes to the shortcode.','event-list').'<br />
'.sprintf(__('You can combine and add as much attributes as you want. E.g. the shortcode including the attributes %1$s and %2$s would looks like this:','event-list'),'"num_events"','"show_filterbar"').'
<p>'.__('For date and cat filters you can specify complex filters with the following syntax:','event-list').'</p>
<p>'.sprintf(__('You can use %1$s and %2$s connections to define complex filters. Additionally you can set brackets %3$s for nested queries.','event-list'),__('AND','event-list').' ( "<strong>&</strong>" )',__('OR','event-list').' ( "<strong>|</strong>" '.__('or','event-list').' "<strong>,</strong>" )','( "<strong>(</strong>" '.__('and','event-list').' "<strong>)</strong>" )').'</p>
'.__('Examples for cat filters:','event-list').'
<p><code>tennis</code>… '.sprintf(__('Show all events with category %1$s.','event-list'),'"tennis"').'<br />
<code>tennis,hockey</code>… '.sprintf(__('Show all events with category %1$s or %2$s.','event-list'),'"tennis"','"hockey"').'<br />
<code>tennis|(hockey&winter)</code>… '.sprintf(__('Show all events with category %1$s and all events where category %2$s as well as %3$s is selected.','event-list'),'"tennis"','"hockey"','"winter"').'</p>';
}
privatefunctionshow_date_syntax(){
echo'
<h3 class="el-headline">'.__('Available Date Formats','event-list').'</h3>
<p>'.__('For date filters you can use the following date formats:','event-list').'</p>