mirror of
https://github.com/e107inc/e107.git
synced 2025-04-13 09:01:59 +02:00
Installation configuration fixes. RSS install now included default configuration correctly.
This commit is contained in:
parent
12a2084cbb
commit
a16ee111e9
@ -1194,7 +1194,7 @@ class system_tools
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>".$frm->checkbox_toggle('check-all-verify', 'xml_prefs')." ".LAN_PREFS."</th>
|
||||
<th class='form-inline'>".$frm->checkbox_toggle('check-all-verify', 'xml_prefs')." ".LAN_PREFS."</th>
|
||||
<th class='right'>".DBLAN_98."</th>
|
||||
|
||||
</tr>
|
||||
@ -1202,6 +1202,7 @@ class system_tools
|
||||
<tbody>
|
||||
|
||||
";
|
||||
//TODO Add support for plugin Prefs.
|
||||
|
||||
$pref_types = e107::getConfig()->aliases;
|
||||
unset($pref_types['core_old'], $pref_types['core_backup']);
|
||||
@ -1230,7 +1231,7 @@ class system_tools
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>".$frm->checkbox_toggle('check-all-verify', 'xml_tables').DBLAN_97."</th>
|
||||
<th class='form-inline'>".$frm->checkbox_toggle('check-all-verify', 'xml_tables')." ".DBLAN_97."</th>
|
||||
<th class='right'>".DBLAN_98."</th>
|
||||
|
||||
</tr>
|
||||
@ -1630,7 +1631,7 @@ function db_adminmenu() //FIXME - has problems when navigation is on the LEFT in
|
||||
*/
|
||||
function exportXmlFile($prefs,$tables,$package=FALSE,$debug=FALSE)
|
||||
{
|
||||
$xml = e107::getSingleton('xmlClass');
|
||||
$xml = e107::getXml();
|
||||
$tp = e107::getParser();
|
||||
$mes = e107::getMessage();
|
||||
|
||||
|
@ -61,7 +61,24 @@
|
||||
<core name="displaysql">0</core>
|
||||
<core name="displaythemeinfo">1</core>
|
||||
<core name="download_email">0</core>
|
||||
<core name="e_footer_list"><![CDATA[array (
|
||||
<core name="e_admin_list"><![CDATA[array (
|
||||
'social' => 'social',
|
||||
)]]></core>
|
||||
<core name="e_comment_list"><![CDATA[array (
|
||||
'social' => 'social',
|
||||
)]]></core>
|
||||
<core name="e_event_list"><![CDATA[array (
|
||||
'social' => 'social',
|
||||
)]]></core>
|
||||
<core name="e_featurebox_list"><![CDATA[array (
|
||||
'news' => 'news',
|
||||
)]]></core>
|
||||
<core name="e_footer_list"><![CDATA[array (
|
||||
'tinymce4' => 'tinymce4',
|
||||
)]]></core>
|
||||
<core name="e_header_list"><![CDATA[array (
|
||||
'news' => 'news',
|
||||
'social' => 'social',
|
||||
'tinymce4' => 'tinymce4',
|
||||
)]]></core>
|
||||
<core name="e_jslib_browser_cache">0</core>
|
||||
@ -76,19 +93,36 @@
|
||||
<core name="e_jslib_plugin"><![CDATA[array ()]]></core>
|
||||
<core name="e_jslib_theme"><![CDATA[array ()]]></core>
|
||||
<core name="e_meta_list"><![CDATA[array (
|
||||
'tinymce4' => 'tinymce4',
|
||||
'rss_menu' => 'rss_menu',
|
||||
)]]></core>
|
||||
<core name="e_search_list"><![CDATA[array (
|
||||
<core name="e_related_list"><![CDATA[array (
|
||||
'news' => 'news',
|
||||
'page' => 'page',
|
||||
)]]></core>
|
||||
<core name="e_rss_list"><![CDATA[array (
|
||||
'news' => 'news',
|
||||
)]]></core>
|
||||
<core name="e_search_list"><![CDATA[array (
|
||||
'news' => 'news',
|
||||
'page' => 'page',
|
||||
)]]></core>
|
||||
<core name="e_shortcode_list"><![CDATA[array (
|
||||
'featurebox' => 'featurebox',
|
||||
'page' => 'page',
|
||||
'siteinfo' => 'siteinfo',
|
||||
'social' => 'social',
|
||||
)]]></core>
|
||||
<core name="shortcode_list"><![CDATA[array ()]]></core>
|
||||
<core name="e_sitelink_list"><![CDATA[array (
|
||||
'news' => 'news',
|
||||
'page' => 'page',
|
||||
)]]></core>
|
||||
<core name="e_sql_list"><![CDATA[array (
|
||||
'featurebox' => 'featurebox_sql',
|
||||
'rss_menu' => 'rss_sql',
|
||||
)]]></core>
|
||||
<core name="e_url_list"><![CDATA[array (
|
||||
'rss_menu' => 'rss_menu',
|
||||
)]]></core>
|
||||
<core name="email_text"></core>
|
||||
<core name="emotepack">default</core>
|
||||
@ -178,6 +212,11 @@
|
||||
'siteinfo' => '1.0',
|
||||
'social' => '1.0',
|
||||
'tinymce4' => '1.0',
|
||||
|
||||
'rss_menu' => '1.3',
|
||||
'contact' => '1.0',
|
||||
'user' => '1.0',
|
||||
|
||||
)]]></core>
|
||||
<core name="post_html">254</core>
|
||||
<core name="post_script">254</core>
|
||||
@ -204,12 +243,13 @@
|
||||
<core name="signcode">0</core>
|
||||
<core name="signup_disallow_text"></core>
|
||||
<core name="signup_maxip">3</core>
|
||||
<core name="signup_option_password">2</core>
|
||||
|
||||
<core name="signup_option_class">0</core>
|
||||
<core name="signup_option_customtitle">0</core>
|
||||
<core name="signup_option_email_confirm">0</core>
|
||||
<core name="signup_option_hideemail">0</core>
|
||||
<core name="signup_option_image">0</core>
|
||||
<core name="signup_option_password">2</core>
|
||||
<core name="signup_option_realname">0</core>
|
||||
<core name="signup_option_signature">0</core>
|
||||
<core name="signup_pass_len">6</core>
|
||||
@ -263,7 +303,7 @@ City, State, Country
|
||||
<core name="subnews_class">253</core>
|
||||
<core name="subnews_htmlarea">0</core>
|
||||
<core name="subnews_resize"></core>
|
||||
<core name="themecss">canvas.css</core>
|
||||
<core name="themecss">style.css</core>
|
||||
<core name="thumbnail_quality">75</core>
|
||||
<core name="time_offset">0</core>
|
||||
<core name="timezone">UTC</core>
|
||||
@ -281,8 +321,6 @@ City, State, Country
|
||||
'search' => 'core',
|
||||
'system' => 'core',
|
||||
'user' => 'core',
|
||||
'gallery' => 'plugin/rewrite',
|
||||
'tagwords' => 'plugin',
|
||||
)]]></core>
|
||||
<core name="url_disable_pathinfo">1</core>
|
||||
<core name="url_error_redirect">0</core>
|
||||
@ -301,8 +339,9 @@ City, State, Country
|
||||
'page' =>
|
||||
array (
|
||||
0 => 'core',
|
||||
1 => 'core/sef_noid',
|
||||
2 => 'core/sef',
|
||||
1 => 'core/sef_chapters',
|
||||
2 => 'core/sef_noid',
|
||||
3 => 'core/sef',
|
||||
),
|
||||
'search' =>
|
||||
array (
|
||||
@ -319,20 +358,6 @@ City, State, Country
|
||||
0 => 'core',
|
||||
1 => 'core/rewrite',
|
||||
),
|
||||
'forum' =>
|
||||
array (
|
||||
0 => 'plugin',
|
||||
1 => 'plugin/rewrite',
|
||||
),
|
||||
'gallery' =>
|
||||
array (
|
||||
0 => 'plugin',
|
||||
1 => 'plugin/rewrite',
|
||||
),
|
||||
'tagwords' =>
|
||||
array (
|
||||
0 => 'plugin',
|
||||
),
|
||||
)]]></core>
|
||||
<core name="url_main_module"></core>
|
||||
<core name="url_modules"><![CDATA[array (
|
||||
@ -347,9 +372,7 @@ City, State, Country
|
||||
),
|
||||
'plugin' =>
|
||||
array (
|
||||
0 => 'forum',
|
||||
1 => 'gallery',
|
||||
2 => 'tagwords',
|
||||
0 => 'gallery',
|
||||
),
|
||||
'override' =>
|
||||
array (
|
||||
@ -369,7 +392,19 @@ City, State, Country
|
||||
<core name="xup_enabled">1</core>
|
||||
<core name="xurl"><![CDATA[array ()]]></core>
|
||||
<core name="xmlfeed_languagepacks">http://www.e107.org/themeupdate.php</core>
|
||||
<core name="xmlfeed_security">http://www.e107.org/themeupdate.php</core>
|
||||
<core name="xmlfeed_security">http://www.e107.org/themeupdate.php</core>
|
||||
<core name="xurl"><![CDATA[array (
|
||||
'facebook' => '#',
|
||||
'twitter' => '#',
|
||||
'youtube' => '#',
|
||||
'google' => '#',
|
||||
'linkedin' => '',
|
||||
'github' => '',
|
||||
'flickr' => '',
|
||||
'instagram' => '',
|
||||
'pinterest' => '',
|
||||
'vimeo' => '',
|
||||
)]]></core>
|
||||
<emote name="alien!png">!alien</emote>
|
||||
<emote name="amazed!png">!amazed</emote>
|
||||
<emote name="angry!png">!grr !angry</emote>
|
||||
@ -459,50 +494,128 @@ City, State, Country
|
||||
<search name="time_secs">60</search>
|
||||
<search name="user_select">1</search>
|
||||
<notify name="event"><![CDATA[array (
|
||||
'usersup' =>
|
||||
array (
|
||||
'class' => '254',
|
||||
'email' => '',
|
||||
),
|
||||
'userveri' =>
|
||||
array (
|
||||
'class' => '254',
|
||||
'email' => '',
|
||||
),
|
||||
'login' =>
|
||||
array (
|
||||
'class' => '254',
|
||||
'class' => '255',
|
||||
'email' => '',
|
||||
'include' => '',
|
||||
'legacy' => '0',
|
||||
),
|
||||
'logout' =>
|
||||
array (
|
||||
'class' => '254',
|
||||
'class' => '255',
|
||||
'email' => '',
|
||||
'include' => '',
|
||||
'legacy' => '0',
|
||||
),
|
||||
'flood' =>
|
||||
'user_signup_submitted' =>
|
||||
array (
|
||||
'class' => '254',
|
||||
'class' => '255',
|
||||
'email' => '',
|
||||
'include' => '',
|
||||
'legacy' => '0',
|
||||
),
|
||||
'subnews' =>
|
||||
'user_signup_activated' =>
|
||||
array (
|
||||
'class' => '254',
|
||||
'class' => '255',
|
||||
'email' => '',
|
||||
'include' => '',
|
||||
'legacy' => '0',
|
||||
),
|
||||
'newspost' =>
|
||||
'user_ban_flood' =>
|
||||
array (
|
||||
'class' => '254',
|
||||
'class' => '255',
|
||||
'email' => '',
|
||||
'include' => '',
|
||||
'legacy' => '0',
|
||||
),
|
||||
'newsupd' =>
|
||||
'user_news_submit' =>
|
||||
array (
|
||||
'class' => '254',
|
||||
'class' => '255',
|
||||
'email' => '',
|
||||
'include' => '',
|
||||
'legacy' => '0',
|
||||
),
|
||||
'newsdel' =>
|
||||
'admin_news_created' =>
|
||||
array (
|
||||
'class' => '254',
|
||||
'class' => '255',
|
||||
'email' => '',
|
||||
'include' => '',
|
||||
'legacy' => '0',
|
||||
),
|
||||
'admin_news_updated' =>
|
||||
array (
|
||||
'class' => '255',
|
||||
'email' => '',
|
||||
'include' => '',
|
||||
'legacy' => '0',
|
||||
),
|
||||
'admin_news_deleted' =>
|
||||
array (
|
||||
'class' => '255',
|
||||
'email' => '',
|
||||
'include' => '',
|
||||
'legacy' => '0',
|
||||
),
|
||||
'user_xup_login' =>
|
||||
array (
|
||||
'class' => '255',
|
||||
'include' => '',
|
||||
'legacy' => '0',
|
||||
),
|
||||
'user_xup_signup' =>
|
||||
array (
|
||||
'class' => '255',
|
||||
'include' => '',
|
||||
'legacy' => '0',
|
||||
),
|
||||
'user_ban_failed_login' =>
|
||||
array (
|
||||
'class' => '255',
|
||||
'include' => '',
|
||||
'legacy' => '0',
|
||||
),
|
||||
'user_profile_display' =>
|
||||
array (
|
||||
'class' => '255',
|
||||
'include' => '',
|
||||
'legacy' => '0',
|
||||
),
|
||||
'admin_password_update' =>
|
||||
array (
|
||||
'class' => '255',
|
||||
'include' => '',
|
||||
'legacy' => '0',
|
||||
),
|
||||
'admin_user_created' =>
|
||||
array (
|
||||
'class' => '255',
|
||||
'include' => '',
|
||||
'legacy' => '0',
|
||||
),
|
||||
'admin_user_activated' =>
|
||||
array (
|
||||
'class' => '255',
|
||||
'include' => '',
|
||||
'legacy' => '0',
|
||||
),
|
||||
'admin_news_notify' =>
|
||||
array (
|
||||
'class' => '255',
|
||||
'include' => '',
|
||||
'legacy' => '0',
|
||||
),
|
||||
'maildone' =>
|
||||
array (
|
||||
'class' => '255',
|
||||
'include' => '',
|
||||
'legacy' => '0',
|
||||
),
|
||||
'user_file_upload' =>
|
||||
array (
|
||||
'class' => '255',
|
||||
'include' => '',
|
||||
'legacy' => '0',
|
||||
),
|
||||
)]]></notify>
|
||||
</prefs>
|
||||
@ -787,6 +900,7 @@ City, State, Country
|
||||
<field name="link_class">0</field>
|
||||
<field name="link_function"></field>
|
||||
<field name="link_sefurl"></field>
|
||||
<field name="link_owner"></field>
|
||||
</item>
|
||||
</dbTable>
|
||||
<dbTable name="menus">
|
||||
@ -1049,11 +1163,12 @@ City, State, Country
|
||||
<field name="news_id">1</field>
|
||||
<field name="news_title">Welcome to e107</field>
|
||||
<field name="news_sef">welcome-to-e107</field>
|
||||
<field name="news_body">[p]Welcome to your new website![/p][p]Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin tempus enim vel nisi fringilla, sit amet volutpat enim tincidunt. Vivamus commodo sit amet leo id viverra. Nulla facilisi. Nam et orci sodales tellus aliquet sollicitudin metus.[/p]</field>
|
||||
<field name="news_extended"></field>
|
||||
<field name="news_body"><![CDATA[[html]<p>Lorem ipsum dolor sit amet, no meis semper dicunt est, petentium eloquentiam quo ne. At vero facer eam. Ex nam altera oportere, nisl natum prima id pro. Rebum augue dissentiet eum te, vel veniam eirmod option ea, at eos velit repudiare. Ius sumo dicit adolescens id, an cum efficiantur concludaturque.<br><br>Summo sensibus cum ne, et duo torquatos conceptam. No aeque elitr constituam qui. Nostro corpora nec no, diam verterem tincidunt has et. Altera accumsan urbanitas pro eu, ei assum voluptaria sed. Eam tibique nominavi consequuntur an.<br><br>Ei perfecto delicata usu, quo eius noster blandit te. Eu doctus volumus pri. Meis argumentum an nam, eos odio prima autem an. Te complectitur intellegebat pro, ius id alterum maiestatis. Ea facer accusata sed, ex illum antiopam quo.<br><br>Altera putent pri ad, in phaedrum dissentiunt per. Te eum everti dolores. Ut mea vero autem viderer, mel brute harum senserit id. Minim senserit eloquentiam duo in, sit ei justo graece petentium. Sea id homero oporteat invenire.<br><br>Pri semper dolorum ad. Cu eius repudiare eos. Eum in eleifend necessitatibus. Ne has mutat intellegebat.</p>[/html]]]></field>
|
||||
<field name="news_extended"><![CDATA[[html]<p><strong>Lorem ipsum</strong> is a pseudo-Latin text used in web design, typography, layout, and printing in place of English to emphasise design elements over content. It's also called placeholder (or filler) text. It's a convenient tool for mock-ups. It helps to outline the visual elements of a document or presentation, eg typography, font, or layout. Lorem ipsum is mostly a part of a Latin text by the classical author and philosopher Cicero. Its words and letters have been changed by addition or removal, so to deliberately render its content nonsensical; it's not genuine, correct, or comprehensible Latin anymore.</p>
|
||||
<p>While <strong>lorem ipsum</strong>'s still resembles classical Latin, it actually has no meaning whatsoever. As Cicero's text doesn't contain the letters K, W, or Z, alien to latin, these, and others are often inserted randomly to mimic the typographic appearence of European languages, as are digraphs not to be found in the original.</p>[/html]]]></field>
|
||||
<field name="news_meta_keywords">welcome,new website</field>
|
||||
<field name="news_meta_description"></field>
|
||||
<field name="news_datestamp">1355612400</field>
|
||||
<field name="news_meta_description">Description for Facebook and search engines. </field>
|
||||
<field name="news_datestamp">1454367600</field>
|
||||
<field name="news_author">1</field>
|
||||
<field name="news_category">1</field>
|
||||
<field name="news_allow_comments">0</field>
|
||||
@ -1062,7 +1177,7 @@ City, State, Country
|
||||
<field name="news_class">0</field>
|
||||
<field name="news_render_type">0</field>
|
||||
<field name="news_comment_total">0</field>
|
||||
<field name="news_summary"></field>
|
||||
<field name="news_summary">Summary of the news item</field>
|
||||
<field name="news_thumbnail"></field>
|
||||
<field name="news_sticky">0</field>
|
||||
</item>
|
||||
@ -1079,8 +1194,6 @@ City, State, Country
|
||||
<field name="category_order">0</field>
|
||||
</item>
|
||||
</dbTable>
|
||||
<dbTable name="page">
|
||||
</dbTable>
|
||||
<dbTable name="userclass_classes">
|
||||
<item>
|
||||
<field name="userclass_id">2</field>
|
||||
|
@ -3339,10 +3339,12 @@ class e_parser
|
||||
$tp = e107::getParser();
|
||||
$width = $tp->thumbWidth;
|
||||
$height = ($tp->thumbHeight !== 0) ? $tp->thumbHeight : "";
|
||||
|
||||
$linkStart = '';
|
||||
$linkEnd = '';
|
||||
|
||||
if(!isset($userData['user_image']) && USERID)
|
||||
{
|
||||
$userData['user_id'] = USERID;
|
||||
$userData['user_image'] = USERIMAGE;
|
||||
$userData['user_name'] = USERNAME;
|
||||
}
|
||||
@ -3379,6 +3381,12 @@ class e_parser
|
||||
{
|
||||
$img = $genericImg;
|
||||
}
|
||||
|
||||
if(($img == $genericImg) && ($userData['user_id'] == USERID))
|
||||
{
|
||||
$linkStart = "<a class='e-tip' title=\"".LAN_EDIT."\" href='".e107::getUrl()->create('user/myprofile/edit',$userData)."'>";
|
||||
$linkEnd = "</a>";
|
||||
}
|
||||
|
||||
$title = (ADMIN) ? $image : $tp->toAttribute($userData['user_name']);
|
||||
$shape = (vartrue($options['shape'])) ? "img-".$options['shape'] : "img-rounded";
|
||||
@ -3386,7 +3394,9 @@ class e_parser
|
||||
|
||||
$heightInsert = empty($height) ? '' : "height='".$height."'";
|
||||
|
||||
$text = "<img class='".$shape." img-responsive user-avatar e-tip' title=\"".$title."\" src='".$img."' alt='' width='".$width."' ".$heightInsert." />";
|
||||
$text = $linkStart;
|
||||
$text .= "<img class='".$shape." img-responsive user-avatar e-tip' title=\"".$title."\" src='".$img."' alt='' width='".$width."' ".$heightInsert." />";
|
||||
$text .= $linkEnd;
|
||||
// return $img;
|
||||
return $text;
|
||||
|
||||
|
@ -2412,6 +2412,15 @@ class e107plugin
|
||||
$setup_file = e_PLUGIN.$path.'/'.$path.'_setup.php';
|
||||
// }
|
||||
|
||||
|
||||
|
||||
if(!is_readable($setup_file) && substr($path,-5) == "_menu")
|
||||
{
|
||||
$setup_file = e_PLUGIN.$path.'/'.str_replace("_menu","",$path).'_setup.php';
|
||||
}
|
||||
|
||||
e107::getMessage()->addDebug("Checking for SetUp File: ".$setup_file);
|
||||
|
||||
if (is_readable($setup_file))
|
||||
{
|
||||
if(e_PAGE == 'e107_update.php' && E107_DBG_INCLUDES)
|
||||
|
@ -1011,7 +1011,7 @@ class xmlClass
|
||||
foreach($tables as $tbl)
|
||||
{
|
||||
$eTable= str_replace(MPREFIX,"",$tbl);
|
||||
e107::getDB()->db_Select($eTable, "*");
|
||||
e107::getDB()->select($eTable, "*");
|
||||
$text .= "\t<dbTable name=\"".$eTable."\">\n";
|
||||
while($row = e107::getDB()-> db_Fetch())
|
||||
{
|
||||
|
@ -97,6 +97,7 @@ $NEWS_TEMPLATE['default']['item'] = '
|
||||
<p class="lead">{NEWSSUMMARY}</p>
|
||||
{NEWSVIDEO: item=1}
|
||||
{NEWSBODY}
|
||||
{EXTENDED}
|
||||
<hr>
|
||||
<div class="options">
|
||||
<div class="btn-group hidden-print">{NEWSCOMMENTLINK: glyph=comments&class=btn btn-default}{PRINTICON: class=btn btn-default}{PDFICON}{SOCIALSHARE}{ADMINOPTIONS: class=btn btn-default}</div>
|
||||
|
@ -93,10 +93,11 @@ class rss_ui extends e_admin_ui
|
||||
protected $pid = 'rss_id';
|
||||
protected $perPage = 10;
|
||||
|
||||
protected $fields = array ( 'checkboxes' => array ( 'title' => '', 'type' => '', 'data' => '', 'width' => '5%', 'thclass' => 'center', 'forced' => '1', 'class' => 'center', 'toggle' => 'e-multiselect', ),
|
||||
protected $fields = array (
|
||||
'checkboxes' => array ( 'title' => '', 'type' => null, 'data' => false, 'width' => '5%', 'thclass' => 'center', 'forced' => '1', 'class' => 'center', 'toggle' => 'e-multiselect', ),
|
||||
'rss_id' => array ( 'title' => LAN_ID, 'data' => 'int', 'width' => '5%', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ),
|
||||
'rss_name' => array ( 'title' => LAN_TITLE, 'type' => 'text', 'data' => 'int', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ),
|
||||
'rss_path' => array ( 'title' => 'Plugin-Dir', 'type' => 'text', 'data' => 'int', 'readonly'=>1, 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ),
|
||||
'rss_name' => array ( 'title' => LAN_TITLE, 'type' => 'text', 'data' => 'str', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ),
|
||||
'rss_path' => array ( 'title' => 'Plugin-Dir', 'type' => 'text', 'data' => 'str', 'readonly'=>1, 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ),
|
||||
'rss_url' => array ( 'title' => LAN_URL, 'type' => 'method', 'data' => 'str', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ),
|
||||
'rss_topicid' => array ( 'title' => 'Topic id', 'type' => 'text', 'data' => 'int', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'center', 'thclass' => 'center', ),
|
||||
|
||||
|
@ -25,9 +25,20 @@ class rss_menu_setup
|
||||
$mes = e107::getMessage();
|
||||
|
||||
$insert = array(
|
||||
array('rss_id' => 0,'rss_name' => 'News','rss_url' => 'news','rss_topicid' => '','rss_path' => 'news','rss_text' => 'The rss feed of the news','rss_datestamp' => time(),'rss_class' => '0','rss_limit' => '9')
|
||||
'rss_id' => 0,
|
||||
'rss_name' => 'News',
|
||||
'rss_url' => 'news',
|
||||
'rss_topicid' => '',
|
||||
'rss_path' => 'news',
|
||||
'rss_text' => 'The rss feed of the news',
|
||||
'rss_datestamp' => time(),
|
||||
'rss_class' => '0',
|
||||
'rss_limit' => '9'
|
||||
);
|
||||
|
||||
|
||||
|
||||
// $mes->addInfo(print_a($insert,true));
|
||||
|
||||
$status = ($sql->insert('rss', $insert)) ? E_MESSAGE_SUCCESS : E_MESSAGE_ERROR;
|
||||
$mes->add("Adding Default table data to table: rss",$status); //TODO Generic LAN "LAN_DEFAULT_TABLE_DATA"
|
||||
|
||||
|
@ -113,10 +113,10 @@
|
||||
<field name="page_text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec libero ipsum; imperdiet at risus non, dictum sagittis odio! Nulla facilisi. Pellentesque adipiscing facilisis pharetra. Morbi imperdiet augue in ligula luctus, et iaculis est porttitor. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. In ultricies vitae nisi ut porttitor. Curabitur lectus tellus, feugiat a elit vel, gravida iaculis dui. Nulla vulputate turpis dui, ac faucibus enim dignissim non. Ut non tellus suscipit, scelerisque orci sed, scelerisque sapien. Aenean convallis sodales nulla in porttitor. In pretium ante sapien, a tempor eros blandit nec.
|
||||
|
||||
Nulla non est nibh? Fusce lacinia quam adipiscing magna posuere dapibus. Sed mollis condimentum rhoncus. Morbi sollicitudin tellus a ligula luctus, ac varius arcu ullamcorper. Mauris in aliquet tellus, nec porttitor dui. Quisque interdum euismod mi sed bibendum. Vivamus non odio quis quam lacinia rhoncus in nec nibh. Integer vitae turpis condimentum, laoreet diam nec viverra fusce.</field>
|
||||
<field name="page_author">0</field>
|
||||
<field name="page_author">1</field>
|
||||
<field name="page_datestamp">1371420000</field>
|
||||
<field name="page_rating_flag">0</field>
|
||||
<field name="page_comment_flag">0</field>
|
||||
<field name="page_rating_flag">1</field>
|
||||
<field name="page_comment_flag">1</field>
|
||||
<field name="page_password"></field>
|
||||
<field name="page_class">0</field>
|
||||
<field name="page_ip_restrict"></field>
|
||||
@ -140,7 +140,7 @@
|
||||
<field name="page_metakeys"></field>
|
||||
<field name="page_metadscr"></field>
|
||||
<field name="page_text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam a nunc eget nulla rutrum fringilla sed vel nisl. Suspendisse at erat a neque pulvinar sodales. Etiam dictum erat erat. Pellentesque dictum convallis massa, eu varius sapien gravida a. Suspendisse auctor, mi a tempor tincidunt, lorem felis gravida libero, nec mattis eros felis eu neque. Etiam vel sagittis ipsum. Morbi at libero accumsan mauris tincidunt adipiscing sed vitae mauris. Aenean suscipit consectetur dignissim. Aliquam ornare diam vitae libero suscipit eget facilisis nisl ultrices? Curabitur luctus turpis ac lorem iaculis id interdum massa blandit! Curabitur placerat massa at neque accumsan porta. Nulla sed tortor id sapien dapibus auctor at eget mi. Sed ultrices lacinia viverra.Mauris in purus mauris. Nulla facilisi. Suspendisse dui enim, dapibus sed accumsan non, gravida eget nulla. Praesent ullamcorper, est ac viverra congue, nisl lacus imperdiet sem, et laoreet velit mauris sed leo. Donec erat mi, luctus quis suscipit pretium, luctus sed orci. Proin eu ultricies sem. Nam mollis turpis non erat fermentum congue.Nullam adipiscing, purus et varius blandit, arcu nisi pretium urna, a euismod eros eros quis turpis! Aliquam quis mi turpis, in varius neque. Aliquam erat volutpat. Vestibulum venenatis ipsum dapibus ante dictum egestas. Pellentesque eget nisi ligula, id accumsan eros. Aenean vitae felis vitae sapien mattis pellentesque non nec dolor. Nulla facilisi.Quisque in tortor turpis, sed venenatis nunc. Nunc tellus elit, suscipit et accumsan ac, mollis et risus. Phasellus consectetur sapien in felis semper non tempor tortor mollis. Ut id leo vel magna rhoncus aliquet. Nunc eget sollicitudin felis. Vestibulum tempor, justo et congue dignissim, augue ipsum malesuada libero, id suscipit felis mi vitae erat. Etiam suscipit lacinia sapien, ac gravida nisi lobortis non. Suspendisse dictum risus in est egestas egestas. Aenean et nisi sed odio sollicitudin placerat vel ut magna. Nulla facilisi. Proin condimentum ultricies vulputate. Morbi dapibus elit a tellus elementum congue! In vitae aliquet leo. Proin tempus tincidunt magna, sit amet malesuada ipsum ornare sed. Sed lorem augue, aliquam sit amet hendrerit sed; venenatis in massa. Sed iaculis amet.</field>
|
||||
<field name="page_author">0</field>
|
||||
<field name="page_author">1</field>
|
||||
<field name="page_datestamp">1366149600</field>
|
||||
<field name="page_rating_flag">0</field>
|
||||
<field name="page_comment_flag">0</field>
|
||||
@ -304,5 +304,18 @@ Morbi porta leo iaculis, hendrerit lorem interdum, porta dui. Integer tempor con
|
||||
<field name="chapter_visibility">0</field>
|
||||
</item>
|
||||
</dbTable>
|
||||
<dbTable name="rss">
|
||||
<item>
|
||||
<field name="rss_id">1</field>
|
||||
<field name="rss_name">News</field>
|
||||
<field name="rss_url">news</field>
|
||||
<field name="rss_topicid">0</field>
|
||||
<field name="rss_path">0</field>
|
||||
<field name="rss_text">The rss feed of the news</field>
|
||||
<field name="rss_datestamp">1456448477</field>
|
||||
<field name="rss_class">0</field>
|
||||
<field name="rss_limit">10</field>
|
||||
</item>
|
||||
</dbTable>
|
||||
</database>
|
||||
</e107Export>
|
@ -8,6 +8,7 @@
|
||||
<plugin name='featurebox' url='core' />
|
||||
<plugin name='gallery' url='core' />
|
||||
<plugin name='rss_menu' url='core' />
|
||||
<plugin name='social' url='core' />
|
||||
</plugins>
|
||||
<keywords>
|
||||
<word>bootstrap</word>
|
||||
|
Loading…
x
Reference in New Issue
Block a user