mirror of
https://github.com/e107inc/e107.git
synced 2025-04-22 13:41:52 +02:00
commit
221d66d6a3
e107_themes/landingzero
@ -7,7 +7,6 @@
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
/* examples */
|
||||
define("LAN_LZ_THEME_00", "OK");
|
||||
define("LAN_LZ_THEME_01", "Get Started");
|
||||
define("LAN_LZ_THEME_02", "Toggle Video");
|
||||
@ -19,4 +18,12 @@ define("LAN_LZ_THEME_07", "Please enter a message.");
|
||||
define("LAN_LZ_THEME_08", "Phone Number");
|
||||
define("LAN_LZ_THEME_09", "Please enter your phone number.");
|
||||
define("LAN_LZ_THEME_10", "Follow");
|
||||
?>
|
||||
define("LAN_LZ_THEME_11", "Phone");
|
||||
define("LAN_LZ_THEME_12", "Your message here...");
|
||||
define("LAN_LZ_THEME_13", "Get in Touch");
|
||||
define("LAN_LZ_THEME_14", "We love feedback. Fill out the form below and we\'ll get back to you as soon as possible.");
|
||||
define("LAN_LZ_THEME_15", "Tell us your email");
|
||||
define("LAN_LZ_THEME_16", "Subscribe for updates");
|
||||
define("LAN_LZ_THEME_17", "Stay Posted");
|
||||
define("LAN_LZ_THEME_18", "YOU MIGHT ALSO LIKE");
|
||||
?>
|
||||
|
@ -7,9 +7,11 @@
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
/* examples */
|
||||
define("LAN_STARTERTHEME_00", "Your lang text");
|
||||
|
||||
|
||||
|
||||
?>
|
||||
define("LAN_LZ_THEMEPREF_00", "Image background for video [1920x1080px]");
|
||||
define("LAN_LZ_THEMEPREF_01", "Image background for mobile devices");
|
||||
define("LAN_LZ_THEMEPREF_02", "First frame of video [1920x1080px]");
|
||||
define("LAN_LZ_THEMEPREF_03", "URL path to header video in mp4 format");
|
||||
define("LAN_LZ_THEMEPREF_04", "Signup/Login Placement");
|
||||
define("LAN_LZ_THEMEPREF_05", "top");
|
||||
define("LAN_LZ_THEMEPREF_06", "bottom");
|
||||
?>
|
||||
|
@ -49,11 +49,11 @@ $CONTACT_TEMPLATE['info'] = "
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<label></label>
|
||||
<input class="form-control" placeholder="Phone" name="phone" type="text">
|
||||
<input class="form-control" placeholder="'.LAN_LZ_THEME_11.'" name="phone" type="text">
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<label></label>
|
||||
{CONTACT_BODY: rows=5&cols=30&placeholder=Your message here..}
|
||||
{CONTACT_BODY: rows=5&cols=30&placeholder='.LAN_LZ_THEME_12.'}
|
||||
</div>
|
||||
<div class="col-md-4 col-md-offset-4">
|
||||
<label></label>
|
||||
|
@ -43,7 +43,7 @@ $FEATUREBOX_TEMPLATE['landingzero_homepage_modal'] = '{SETIMAGE: w=900&h=650&cro
|
||||
<hr class="star-primary">
|
||||
{FEATUREBOX_IMAGE}
|
||||
{FEATUREBOX_TEXT}
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button>
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> ' . LAN_CLOSE . '</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -54,4 +54,4 @@ $FEATUREBOX_TEMPLATE['landingzero_homepage_modal'] = '{SETIMAGE: w=900&h=650&cro
|
||||
';
|
||||
|
||||
|
||||
?>
|
||||
?>
|
||||
|
@ -101,7 +101,7 @@ $NEWS_TEMPLATE['default']['item'] = '
|
||||
<div class="panel-footer">
|
||||
<div class="row">
|
||||
<div class="col-lg-10 col-md-9 col-sm-8">
|
||||
<i class="fa fa-clock-o"></i> {NEWSDATE=short} <i class="fa fa-user"> </i {NEWSAUTHOR} <i class="fa fa-folder-open"></i> {NEWSCATEGORY}.
|
||||
<i class="fa fa-clock-o"></i> {NEWSDATE=short} <i class="fa fa-user"> </i> {NEWSAUTHOR} <i class="fa fa-folder-open"></i> {NEWSCATEGORY}.
|
||||
</div>
|
||||
<div class="col-lg-2 col-md-3 col-sm-4">
|
||||
<a href="{NEWSURL}" class="pull-right">'.LAN_READ_MORE.' »</a>
|
||||
@ -215,6 +215,6 @@ $NEWS_TEMPLATE['related']['start'] = "<hr><h4>".defset('LAN_RELATED', 'Related')
|
||||
$NEWS_TEMPLATE['related']['item'] = "<li><a href='{RELATED_URL}'>{RELATED_TITLE}</a></li>";
|
||||
$NEWS_TEMPLATE['related']['end'] = "</ul>";*/
|
||||
|
||||
$NEWS_TEMPLATE['related']['start'] = '{SETIMAGE: w=350&h=350&crop=1}<h2 class="caption">YOU MIGHT ALSO LIKE</h2><div class="row">';
|
||||
$NEWS_TEMPLATE['related']['start'] = '{SETIMAGE: w=350&h=350&crop=1}<h2 class="caption">'.LAN_LZ_THEME_18.'</h2><div class="row">';
|
||||
$NEWS_TEMPLATE['related']['item'] = '<div class="col-md-4"><a href="{RELATED_URL}">{RELATED_IMAGE}</a><h3><a href="{RELATED_URL}">{RELATED_TITLE}</a></h3></div>';
|
||||
$NEWS_TEMPLATE['related']['end'] = '</div>';
|
||||
$NEWS_TEMPLATE['related']['end'] = '</div>';
|
||||
|
@ -302,9 +302,9 @@ $LAYOUT['homepage'] = '
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2 text-center">
|
||||
<h2 class="margin-top-0 wow fadeIn">Get in Touch</h2>
|
||||
<h2 class="margin-top-0 wow fadeIn">'.LAN_LZ_THEME_13.'</h2>
|
||||
<hr class="primary">
|
||||
<p>We love feedback. Fill out the form below and we\'ll get back to you as soon as possible.</p>
|
||||
<p>'.LAN_LZ_THEME_14.'</p>
|
||||
</div>
|
||||
<div class="col-lg-10 col-lg-offset-1 text-center">
|
||||
{MENU=contact/contact}
|
||||
|
@ -2,6 +2,8 @@
|
||||
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
e107::lan('theme', 'admin',true);
|
||||
|
||||
// Dummy Theme Configuration File.
|
||||
class theme_config implements e_theme_config
|
||||
{
|
||||
@ -11,13 +13,12 @@ class theme_config implements e_theme_config
|
||||
// v2.1.4 format.
|
||||
|
||||
$fields = array(
|
||||
'videobackground' => array('title' => 'Image background for video [1920x1080px]', 'type'=>'image', 'help'=>''),
|
||||
'videomobilebackground' => array('title' => 'Image background for mobile devices', 'type'=>'image', 'help'=>''),
|
||||
'videoposter' => array('title' => 'First frame of video [1920x1080px]', 'type'=>'image', 'help'=>''),
|
||||
'videourl' => array('title' => 'URL path to header video in mp4 format', 'type'=>'text', 'writeParms'=>array('size'=>'xxlarge'),'help'=>''),
|
||||
'usernav_placement' => array('title' => 'Signup/Login Placement', 'type'=>'dropdown', 'writeParms'=>array('optArray'=>array('top', 'bottom'), 'useValues'=>1)),
|
||||
'cdn' => array('title' => 'CDN', 'type'=>'dropdown',
|
||||
'writeParms'=>array('optArray'=>array( 'cdnjs' => 'CDNJS (Cloudflare)', 'jsdelivr' => 'jsDelivr' /*, 'local' => 'Local folder'*/)))
|
||||
'videobackground' => array('title' => LAN_LZ_THEMEPREF_00, 'type'=>'image', 'help'=>''),
|
||||
'videomobilebackground' => array('title' => LAN_LZ_THEMEPREF_01, 'type'=>'image', 'help'=>''),
|
||||
'videoposter' => array('title' => LAN_LZ_THEMEPREF_02, 'type'=>'image', 'help'=>''),
|
||||
'videourl' => array('title' => LAN_LZ_THEMEPREF_03, 'type'=>'text', 'writeParms'=>array('size'=>'xxlarge'),'help'=>''),
|
||||
'usernav_placement' => array('title' => LAN_LZ_THEMEPREF_04, 'type'=>'dropdown', 'writeParms'=>array('optArray'=>array(LAN_LZ_THEMEPREF_05, LAN_LZ_THEMEPREF_06), 'useValues'=>1)),
|
||||
'cdn' => array('title' => 'CDN', 'type'=>'dropdown', 'writeParms'=>array('optArray'=>array( 'cdnjs' => 'CDNJS (Cloudflare)', 'jsdelivr' => 'jsDelivr')))
|
||||
);
|
||||
|
||||
return $fields;
|
||||
@ -36,4 +37,4 @@ class theme_config implements e_theme_config
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
?>
|
||||
|
@ -140,7 +140,7 @@ class theme_shortcodes extends e_shortcode
|
||||
if($data['href'] != '')
|
||||
{
|
||||
$text .= '
|
||||
<li><a rel="nofollow" href="'.$data['href'].'" title="'.$data['title'].'"><i class="icon-lg ion-social-'.$id.'-outline"></i></a> </li>';
|
||||
<li><a rel="nofollow" target="_blank" href="'.$data['href'].'" title="'.$data['title'].'"><i class="icon-lg ion-social-'.$id.'-outline"></i></a> </li>';
|
||||
$text .= "\n";
|
||||
}
|
||||
}
|
||||
@ -164,14 +164,14 @@ class theme_shortcodes extends e_shortcode
|
||||
$frm = e107::getForm();
|
||||
$text = $frm->open('lz-subscribe','post', e_SIGNUP);
|
||||
$text .= "<div class='form-group'>";
|
||||
$text .= $frm->text('email','', null, array('placeholder'=>"Tell us your email", 'size'=>'xxlarge'));
|
||||
$text .= $frm->text('email','', null, array('placeholder'=>LAN_LZ_THEME_15, 'size'=>'xxlarge'));
|
||||
$text .= "</div>";
|
||||
$text .= "<div class='form-group'>";
|
||||
$text .= " ".$frm->button('subscribe', 1, 'submit', "Subscribe for updates", array('class'=>'btn-primary'));
|
||||
$text .= " ".$frm->button('subscribe', 1, 'submit', LAN_LZ_THEME_16, array('class'=>'btn-primary'));
|
||||
$text .= "</div>";
|
||||
$text .= $frm->close();
|
||||
|
||||
$caption = "Stay Posted";
|
||||
$caption = LAN_LZ_THEME_17;
|
||||
|
||||
return $ns->tablerender($caption,$text,'lz-subscribe', true);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user