forked from agnel/zocial
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoptions.php
More file actions
116 lines (113 loc) · 4.33 KB
/
options.php
File metadata and controls
116 lines (113 loc) · 4.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<div class="wrap zocial_admin">
<div class="icon32" id="icon-zocial"></div>
<h2 id="zocial_title">Zocial</h2>
<br />
<div id="zocial_tabs">
<ul>
<li><a href="#zocial_home">Home</a></li>
<li><a href="#zocial_doc">Documentation</a></li>
</ul>
<div id="zocial_home">
<h3>Good buttons make good neighbours.</h3>
<p>'Zocial' is Simple plugin for adding Social Network Links in a different way. Just go through the Documentation - The 5min Guide To <strong>ZOCIAL</strong>.</p>
<h3>Features</h3>
<ol>
<li>Editable button text</li>
<li>Editable size</li>
<li>One version for all resolutions</li>
<li>100% vector icon with @font-face</li>
<li>Cross-browser support</li>
<li>Gracefully degrades (IE6, IE7)</li>
<li>Button & Icon styles</li>
</ol>
Contact Author:
<?php
foreach($author_media_links as $s => $l) {
echo "<a href='{$l}' class='zocial icon {$s}' data-help='".strtoupper($s)."'><span>{$s}</span></a>";
}
?>
</div>
<div id="zocial_doc">
<div id="zocial_documentation">
<h3 id="toc"><strong>Table of Contents</strong></h3>
<ol class="alpha">
<li><a href="#setup">Installing the Plugin</a></li>
<li><a href="#useofshortcode" data-help="This will tell you how to use the Plugin Shortcode in your to get those 'Zocial' Buttons">Use of Shortcode</a></li>
<li><a href="#keywords">Keywords</a></li>
<li><a href="#demos">Demos</a></li>
<li><a href="#contact">Contact Me</a></li>
</ol>
<hr class="space" />
<h3 id="setup">A. Setting the plugin - <a href="#toc">Top</a></h3>
<p>This plugin does have any settings as such. So you need not worry at all.</p>
<pre>Note: This plugin does not use any jQuery to render those buttons it is purely based on CSS and Fonts.</pre>
<hr class="space" />
<h3 id="useofshortcode">B. How to Use the Shortcode? - <a href="#toc">Top</a></h3>
<p>Its very Simple. Take a look at the code below.</p>
<strong>The Code: </strong><pre>[zocial href="http://www.facebook.com/" s="facebook" icon="false"]Like Us on Facebook![/zocial]</pre>
<strong>Output: </strong>
<p><a href="http://www.facebook.com/" class="zocial facebook" data-help="Icon Parameter set to false"><span>Like Us on Facebook!</span></a>
<a href="http://www.facebook.com/" class="zocial facebook icon" data-help="Icon Parameter set to true"><span>Like Us on Facebook!</span></a></p>
<strong>Lets see what the above code means.</strong>
<br />
<table>
<thead>
<tr>
<th>Parameter</th>
<th>Accepted Values</th>
</tr>
</thead>
<tbody>
<tr>
<td>zocial</td>
<td>The Keyword for using this shortcode! <strong><i>The Closing tag is very much necessary.</i></strong></td>
</tr>
<tr>
<td>href=""</td>
<td>The Link to You particular Social Page, Profile, Application or any Social Link.</td>
</tr>
<tr>
<td>s</td>
<td>It Stands for 'Service'. The name of Social Service You would like to use. See the <a href="#keywords">Full List of keywords</a> of Available social services.</td>
</tr>
<tr>
<td>icon</td>
<td>It is boolean. Either 'true' or 'false'. If it is set to true then the text between the Shortcode [zocial]The Text[/zocial] wont appear it will just show the icon only.</td>
</tr>
</tbody>
</table>
<hr class="space" />
<h3 id="keywords">C. Keywords - <a href="#toc">Top</a></h3>
<table>
<thead>
<tr>
<th>Keyword</th>
<th>Name of Social Network</th>
</tr>
</thead>
<tbody>
<?php
foreach($zocialServices as $k => $v) {
echo "<tr>".
"<td><strong>{$k}</strong></td>".
"<td>{$v}</td>".
"</tr>";
}
?>
</tbody>
</table>
<hr class="space" />
<h3 id="demos">D. Demos - <a href="#toc">Top</a></h3>
<?php
foreach($zocialServices as $k => $v) {
echo "<a class='zocial icon {$k}' data-help='".strtoupper($k)."'><span>{$v}</span></a>";
}
?>
<hr class="space" />
<h3 id="contact">Thank you - <a href="#toc">Top</a></h3>
<p>Thank you for using this plugin. If you have any problem you can contact me <a href="admin.php?page=zocial_admin_page#zocial_home">Here</a>.</p>
<p><a href="#toc">Go To Table of Contents</a></p>
</div>
</div>
</div>
</div>