Skip to content

Commit 2348442

Browse files
committed
Theme descriptions. Default content for landingzero and tooltips during install during theme selection.
1 parent 830814b commit 2348442

4 files changed

Lines changed: 116 additions & 7 deletions

File tree

e107_themes/bootstrap3/theme.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<e107Theme name="Bootstrap 3" version="1.0" date="2013-12-25" compatibility="2.0">
33
<author name ="e107 Inc" email="e107inc@something.com" url="http://e107.org" />
44
<summary>Bootstrap3 e107 theme</summary>
5-
<description>a bootstrap 3 theme for the frontend</description>
5+
<description>a simple bootstrap 3 template for the frontend</description>
66
<category>generic</category>
77
<plugins>
88
<plugin name='featurebox' url='core' />

e107_themes/landingzero/install/install.xml

Lines changed: 111 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
<?xml version='1.0' encoding='utf-8' ?>
2-
<e107Export version="2.1.4 (git)" timestamp="1483741200" >
2+
<e107Export version="2.1.4 (git)" timestamp="1484692157" >
33
<prefs>
4+
<core name="xurl"><![CDATA[array (
5+
'facebook' => 'https://www.facebook.com/e107CMS',
6+
'twitter' => 'https://twitter.com/e107',
7+
'youtube' => 'http://youtube.com/e107inc',
8+
'google' => '#',
9+
'linkedin' => '',
10+
'github' => '',
11+
'flickr' => '',
12+
'instagram' => '',
13+
'pinterest' => '',
14+
'vimeo' => '',
15+
)]]></core>
416
<history name="most_guests_online">1</history>
517
<history name="most_members_online">1</history>
618
<history name="most_online_datestamp">1483175267</history>
@@ -10,6 +22,21 @@
1022
<pluginPrefs>
1123
<gallery name="perpage">12</gallery>
1224
<gallery name="orderby">media_id ASC</gallery>
25+
<social name="xup_login_update_username">0</social>
26+
<social name="xup_login_update_avatar">0</social>
27+
<social name="sharing_mode">normal</social>
28+
<social name="sharing_hashtags"></social>
29+
<social name="facebook_comments_limit">0</social>
30+
<social name="facebook_comments_theme">dark</social>
31+
<social name="facebook_comments_loadingtext"></social>
32+
<social name="facebook_like_menu_theme">dark</social>
33+
<social name="facebook_like_menu_action">like</social>
34+
<social name="facebook_like_menu_width">0</social>
35+
<social name="twitter_menu_theme">dark</social>
36+
<social name="twitter_menu_height">0</social>
37+
<social name="twitter_menu_limit">3</social>
38+
<social name="og_image"></social>
39+
<social name="sharing_providers"></social>
1340
</pluginPrefs>
1441
<database>
1542
<dbTable name="generic">
@@ -1168,6 +1195,86 @@
11681195
<field name="menu_layout"></field>
11691196
<field name="menu_parms"></field>
11701197
</item>
1198+
<item>
1199+
<field name="menu_id">83</field>
1200+
<field name="menu_name">otheruser_menu</field>
1201+
<field name="menu_location">0</field>
1202+
<field name="menu_order">0</field>
1203+
<field name="menu_class">0</field>
1204+
<field name="menu_pages"></field>
1205+
<field name="menu_path">user/</field>
1206+
<field name="menu_layout"></field>
1207+
<field name="menu_parms"></field>
1208+
</item>
1209+
<item>
1210+
<field name="menu_id">84</field>
1211+
<field name="menu_name">news_categories_menu</field>
1212+
<field name="menu_location">1</field>
1213+
<field name="menu_order">1</field>
1214+
<field name="menu_class">0</field>
1215+
<field name="menu_pages"></field>
1216+
<field name="menu_path">news/</field>
1217+
<field name="menu_layout"></field>
1218+
<field name="menu_parms"></field>
1219+
</item>
1220+
<item>
1221+
<field name="menu_id">87</field>
1222+
<field name="menu_name">other_news2_menu</field>
1223+
<field name="menu_location">2</field>
1224+
<field name="menu_order">1</field>
1225+
<field name="menu_class">0</field>
1226+
<field name="menu_pages"></field>
1227+
<field name="menu_path">news/</field>
1228+
<field name="menu_layout"></field>
1229+
<field name="menu_parms"></field>
1230+
</item>
1231+
<item>
1232+
<field name="menu_id">86</field>
1233+
<field name="menu_name">news_months_menu</field>
1234+
<field name="menu_location">1</field>
1235+
<field name="menu_order">2</field>
1236+
<field name="menu_class">0</field>
1237+
<field name="menu_pages"></field>
1238+
<field name="menu_path">news/</field>
1239+
<field name="menu_layout"></field>
1240+
<field name="menu_parms"><![CDATA[array (
1241+
'showarchive' => '0',
1242+
'year' => '2017',
1243+
)]]></field>
1244+
</item>
1245+
<item>
1246+
<field name="menu_id">88</field>
1247+
<field name="menu_name">other_news_menu</field>
1248+
<field name="menu_location">2</field>
1249+
<field name="menu_order">2</field>
1250+
<field name="menu_class">0</field>
1251+
<field name="menu_pages"></field>
1252+
<field name="menu_path">news/</field>
1253+
<field name="menu_layout"></field>
1254+
<field name="menu_parms"></field>
1255+
</item>
1256+
<item>
1257+
<field name="menu_id">90</field>
1258+
<field name="menu_name">twitter_menu</field>
1259+
<field name="menu_location">2</field>
1260+
<field name="menu_order">3</field>
1261+
<field name="menu_class">0</field>
1262+
<field name="menu_pages"></field>
1263+
<field name="menu_path">social/</field>
1264+
<field name="menu_layout"></field>
1265+
<field name="menu_parms"></field>
1266+
</item>
1267+
<item>
1268+
<field name="menu_id">91</field>
1269+
<field name="menu_name">fb_like_menu</field>
1270+
<field name="menu_location">1</field>
1271+
<field name="menu_order">3</field>
1272+
<field name="menu_class">0</field>
1273+
<field name="menu_pages"></field>
1274+
<field name="menu_path">social/</field>
1275+
<field name="menu_layout"></field>
1276+
<field name="menu_parms"></field>
1277+
</item>
11711278
</dbTable>
11721279
<dbTable name="news">
11731280
<item>
@@ -1179,7 +1286,7 @@
11791286
<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>
11801287
<field name="news_meta_keywords">welcome,new website</field>
11811288
<field name="news_meta_description">Description for Facebook and search engines.</field>
1182-
<field name="news_datestamp">1454367600</field>
1289+
<field name="news_datestamp">1484982000</field>
11831290
<field name="news_author">1</field>
11841291
<field name="news_category">1</field>
11851292
<field name="news_allow_comments">0</field>
@@ -1201,7 +1308,7 @@
12011308
<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>
12021309
<field name="news_meta_keywords">welcome,new website</field>
12031310
<field name="news_meta_description">Description for Facebook and search engines.</field>
1204-
<field name="news_datestamp">1455103800</field>
1311+
<field name="news_datestamp">1483899000</field>
12051312
<field name="news_author">1</field>
12061313
<field name="news_category">1</field>
12071314
<field name="news_allow_comments">0</field>
@@ -1223,7 +1330,7 @@
12231330
<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>
12241331
<field name="news_meta_keywords">welcome,new website</field>
12251332
<field name="news_meta_description">Description for Facebook and search engines.</field>
1226-
<field name="news_datestamp">1455820200</field>
1333+
<field name="news_datestamp">1484910000</field>
12271334
<field name="news_author">1</field>
12281335
<field name="news_category">1</field>
12291336
<field name="news_allow_comments">0</field>

e107_themes/voux/theme.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<e107Theme name="Voux" version="1.0" date="2016-05-30" compatibility="2.0">
33
<author name ="e107 Inc" email="e107inc@something.com" url="http://e107.org" />
44
<summary>Simple modern blog theme.</summary>
5-
<description>Ported from the blogger theme by ThemeExpose</description>
5+
<description>A responsive bootstrap blog theme by ThemeExpose</description>
66
<category>blog</category>
77
<plugins>
88
<plugin name='rss_menu' url='core' />

install.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1129,6 +1129,7 @@ private function stage_6()
11291129
$title = vartrue($themeInfo['@attributes']['name']);
11301130
$category = vartrue($themeInfo['category']);
11311131
$preview = e_THEME.$val."/".$themeInfo['thumbnail'];
1132+
$description = vartrue($themeInfo['description']);
11321133

11331134
if(!is_readable($preview))
11341135
{
@@ -1142,7 +1143,7 @@ private function stage_6()
11421143

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

0 commit comments

Comments
 (0)