Skip to content

Commit

Permalink
Theme descriptions. Default content for landingzero and tooltips duri…
Browse files Browse the repository at this point in the history
…ng install during theme selection.
  • Loading branch information
CaMer0n committed Jan 17, 2017
1 parent 830814b commit 2348442
Show file tree
Hide file tree
Showing 4 changed files with 116 additions and 7 deletions.
2 changes: 1 addition & 1 deletion e107_themes/bootstrap3/theme.xml
Expand Up @@ -2,7 +2,7 @@
<e107Theme name="Bootstrap 3" version="1.0" date="2013-12-25" compatibility="2.0">
<author name ="e107 Inc" email="e107inc@something.com" url="http://e107.org" />
<summary>Bootstrap3 e107 theme</summary>
<description>a bootstrap 3 theme for the frontend</description>
<description>a simple bootstrap 3 template for the frontend</description>
<category>generic</category>
<plugins>
<plugin name='featurebox' url='core' />
Expand Down
115 changes: 111 additions & 4 deletions e107_themes/landingzero/install/install.xml
@@ -1,6 +1,18 @@
<?xml version='1.0' encoding='utf-8' ?>
<e107Export version="2.1.4 (git)" timestamp="1483741200" >
<e107Export version="2.1.4 (git)" timestamp="1484692157" >
<prefs>
<core name="xurl"><![CDATA[array (
'facebook' => 'https://www.facebook.com/e107CMS',
'twitter' => 'https://twitter.com/e107',
'youtube' => 'http://youtube.com/e107inc',
'google' => '#',
'linkedin' => '',
'github' => '',
'flickr' => '',
'instagram' => '',
'pinterest' => '',
'vimeo' => '',
)]]></core>
<history name="most_guests_online">1</history>
<history name="most_members_online">1</history>
<history name="most_online_datestamp">1483175267</history>
Expand All @@ -10,6 +22,21 @@
<pluginPrefs>
<gallery name="perpage">12</gallery>
<gallery name="orderby">media_id ASC</gallery>
<social name="xup_login_update_username">0</social>
<social name="xup_login_update_avatar">0</social>
<social name="sharing_mode">normal</social>
<social name="sharing_hashtags"></social>
<social name="facebook_comments_limit">0</social>
<social name="facebook_comments_theme">dark</social>
<social name="facebook_comments_loadingtext"></social>
<social name="facebook_like_menu_theme">dark</social>
<social name="facebook_like_menu_action">like</social>
<social name="facebook_like_menu_width">0</social>
<social name="twitter_menu_theme">dark</social>
<social name="twitter_menu_height">0</social>
<social name="twitter_menu_limit">3</social>
<social name="og_image"></social>
<social name="sharing_providers"></social>
</pluginPrefs>
<database>
<dbTable name="generic">
Expand Down Expand Up @@ -1168,6 +1195,86 @@
<field name="menu_layout"></field>
<field name="menu_parms"></field>
</item>
<item>
<field name="menu_id">83</field>
<field name="menu_name">otheruser_menu</field>
<field name="menu_location">0</field>
<field name="menu_order">0</field>
<field name="menu_class">0</field>
<field name="menu_pages"></field>
<field name="menu_path">user/</field>
<field name="menu_layout"></field>
<field name="menu_parms"></field>
</item>
<item>
<field name="menu_id">84</field>
<field name="menu_name">news_categories_menu</field>
<field name="menu_location">1</field>
<field name="menu_order">1</field>
<field name="menu_class">0</field>
<field name="menu_pages"></field>
<field name="menu_path">news/</field>
<field name="menu_layout"></field>
<field name="menu_parms"></field>
</item>
<item>
<field name="menu_id">87</field>
<field name="menu_name">other_news2_menu</field>
<field name="menu_location">2</field>
<field name="menu_order">1</field>
<field name="menu_class">0</field>
<field name="menu_pages"></field>
<field name="menu_path">news/</field>
<field name="menu_layout"></field>
<field name="menu_parms"></field>
</item>
<item>
<field name="menu_id">86</field>
<field name="menu_name">news_months_menu</field>
<field name="menu_location">1</field>
<field name="menu_order">2</field>
<field name="menu_class">0</field>
<field name="menu_pages"></field>
<field name="menu_path">news/</field>
<field name="menu_layout"></field>
<field name="menu_parms"><![CDATA[array (
'showarchive' => '0',
'year' => '2017',
)]]></field>
</item>
<item>
<field name="menu_id">88</field>
<field name="menu_name">other_news_menu</field>
<field name="menu_location">2</field>
<field name="menu_order">2</field>
<field name="menu_class">0</field>
<field name="menu_pages"></field>
<field name="menu_path">news/</field>
<field name="menu_layout"></field>
<field name="menu_parms"></field>
</item>
<item>
<field name="menu_id">90</field>
<field name="menu_name">twitter_menu</field>
<field name="menu_location">2</field>
<field name="menu_order">3</field>
<field name="menu_class">0</field>
<field name="menu_pages"></field>
<field name="menu_path">social/</field>
<field name="menu_layout"></field>
<field name="menu_parms"></field>
</item>
<item>
<field name="menu_id">91</field>
<field name="menu_name">fb_like_menu</field>
<field name="menu_location">1</field>
<field name="menu_order">3</field>
<field name="menu_class">0</field>
<field name="menu_pages"></field>
<field name="menu_path">social/</field>
<field name="menu_layout"></field>
<field name="menu_parms"></field>
</item>
</dbTable>
<dbTable name="news">
<item>
Expand All @@ -1179,7 +1286,7 @@
<p>While <strong>lorem ipsum</strong>&#039;s still resembles classical Latin, it actually has no meaning whatsoever. As Cicero&#039;s text doesn&#039;t contain the letters K, W, or Z, alien to latin, these, and others are often inserted randomly to mimic the&nbsp; 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">Description for Facebook and search engines.</field>
<field name="news_datestamp">1454367600</field>
<field name="news_datestamp">1484982000</field>
<field name="news_author">1</field>
<field name="news_category">1</field>
<field name="news_allow_comments">0</field>
Expand All @@ -1201,7 +1308,7 @@
<p>While <strong>lorem ipsum</strong>&#039;s still resembles classical Latin, it actually has no meaning whatsoever. As Cicero&#039;s text doesn&#039;t contain the letters K, W, or Z, alien to latin, these, and others are often inserted randomly to mimic the&nbsp; 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">Description for Facebook and search engines.</field>
<field name="news_datestamp">1455103800</field>
<field name="news_datestamp">1483899000</field>
<field name="news_author">1</field>
<field name="news_category">1</field>
<field name="news_allow_comments">0</field>
Expand All @@ -1223,7 +1330,7 @@
<p>While <strong>lorem ipsum</strong>&#039;s still resembles classical Latin, it actually has no meaning whatsoever. As Cicero&#039;s text doesn&#039;t contain the letters K, W, or Z, alien to latin, these, and others are often inserted randomly to mimic the&nbsp; 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">Description for Facebook and search engines.</field>
<field name="news_datestamp">1455820200</field>
<field name="news_datestamp">1484910000</field>
<field name="news_author">1</field>
<field name="news_category">1</field>
<field name="news_allow_comments">0</field>
Expand Down
2 changes: 1 addition & 1 deletion e107_themes/voux/theme.xml
Expand Up @@ -2,7 +2,7 @@
<e107Theme name="Voux" version="1.0" date="2016-05-30" compatibility="2.0">
<author name ="e107 Inc" email="e107inc@something.com" url="http://e107.org" />
<summary>Simple modern blog theme.</summary>
<description>Ported from the blogger theme by ThemeExpose</description>
<description>A responsive bootstrap blog theme by ThemeExpose</description>
<category>blog</category>
<plugins>
<plugin name='rss_menu' url='core' />
Expand Down
4 changes: 3 additions & 1 deletion install.php
Expand Up @@ -1129,6 +1129,7 @@ private function stage_6()
$title = vartrue($themeInfo['@attributes']['name']);
$category = vartrue($themeInfo['category']);
$preview = e_THEME.$val."/".$themeInfo['thumbnail'];
$description = vartrue($themeInfo['description']);

if(!is_readable($preview))
{
Expand All @@ -1142,7 +1143,7 @@ private function stage_6()

$output .= "
<div class='col-md-6 theme-cell' >
<label class='theme-selection'><input type='radio' name='sitetheme' value='{$val}' required='required' $selected />
<label class='theme-selection' title=\"".$description."\"><input type='radio' name='sitetheme' value='{$val}' required='required' $selected />
<div>".$thumbnail."
<h5>".$title." <small>(".$category.")</small><span class='glyphicon glyphicon-ok text-success'></span></h5>
</div>
Expand Down Expand Up @@ -2104,6 +2105,7 @@ function template_data()
label.theme-selection > input:checked + div { border:2px solid #337ab7; }
label.theme-selection > input + div span { visibility: hidden; float:right; margin-right:10px; color:#337ab7 }
label.theme-selection > input:checked + div span { visibility: initial; }
div.tooltip { width:320px }
Expand Down

0 comments on commit 2348442

Please sign in to comment.