mirror of
https://github.com/e107inc/e107.git
synced 2025-01-29 10:38:08 +01:00
Social Links added - work in progress.
This commit is contained in:
parent
3d38579351
commit
959d5064e9
@ -982,14 +982,48 @@ $social_external = array(
|
||||
|
||||
$text .= "
|
||||
<fieldset class='e-hideme' id='core-prefs-sociallogin'>
|
||||
<legend>Social Login Options</legend>
|
||||
<div>Note: This section requires further testing</div>
|
||||
<legend>Social Options</legend>
|
||||
<div class='alert alert-warning'>Note: This section requires further testing</div>
|
||||
<table class='table adminform'>
|
||||
<colgroup>
|
||||
<col class='col-label' />
|
||||
<col class='col-control' />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th colspan='2'>External Social Pages</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Your Facebook page</td>
|
||||
<td>
|
||||
".$frm->text('facebook_link', $pref['facebook_link'])."
|
||||
<div class='field-help'>Used in some themes to provide a link to your Facebook page. (FACEBOOK_LINK)</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Your Twitter page</td>
|
||||
<td>
|
||||
".$frm->text('twitter_link', $pref['twitter_link'])."
|
||||
<div class='field-help'>Used in some themes to provide a link to your Twitter page. (TWITTER_LINK)</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Your Youtube page</td>
|
||||
<td>
|
||||
".$frm->text('youtube_link', $pref['youtube_link'])."
|
||||
<div class='field-help'>Used in some themes to provide a link to your Youtube page. (YOUTUBE_LINK)</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Your Google+ page</td>
|
||||
<td>
|
||||
".$frm->text('google_link', $pref['google_link'])."
|
||||
<div class='field-help'>Used in some themes to provide a link to your Google+ page. (GOOGLE_LINK)</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan='2'>Social Logins</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Enable Social Logins</td>
|
||||
<td>
|
||||
@ -1893,7 +1927,7 @@ function prefs_adminmenu()
|
||||
$var['core-prefs-email']['text'] = "Email & Contact Info.";
|
||||
$var['core-prefs-registration']['text'] = PRFLAN_28;
|
||||
$var['core-prefs-signup']['text'] = PRFLAN_19;
|
||||
$var['core-prefs-sociallogin']['text'] = "Social Logins";
|
||||
$var['core-prefs-sociallogin']['text'] = "Social Options";
|
||||
|
||||
$var['core-prefs-comments']['text'] = PRFLAN_210;
|
||||
$var['core-prefs-uploads']['text'] = "File Uploading"; // TODO LAN
|
||||
|
@ -1119,11 +1119,14 @@ class e_form
|
||||
|
||||
$text[] = $this->radio($name, $value, (string) $checked === (string) $value)."".$this->label($label, $name, $value).(isset($helpLabel) ? "<div class='field-help'>".$helpLabel."</div>" : '');
|
||||
}
|
||||
if(!$multi_line)
|
||||
|
||||
if($multi_line === false)
|
||||
{
|
||||
return implode(" ", $text);
|
||||
}
|
||||
|
||||
// return implode("\n", $text);
|
||||
return "<div class='field-spacer'>".implode("</div><div class='field-spacer'>", $text)."</div>";
|
||||
return "<div class='field-spacer' style='width:50%;float:left'>".implode("</div><div class='field-spacer' style='width:50%;float:left'>", $text)."</div>";
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user