1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-25 15:31:41 +02:00

FAQs initial rewrite done

This commit is contained in:
SecretR
2013-03-07 14:56:37 +02:00
parent c92052f164
commit d0dec8fd27
15 changed files with 102 additions and 349 deletions

View File

@@ -6,16 +6,8 @@
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
*
*
* $Source: /cvs_backup/e107_0.8/e107_plugins/faqs/faqs_template.php,v $
* $Revision$
* $Date$
* $Author$
*/
// FAQ - NEW LOOK (all you need is here) -------------------------------------------------------------
$FAQS_TEMPLATE['start'] = "
<div class='faq-start'>
";
@@ -39,77 +31,3 @@ $FAQS_TEMPLATE['all']['end'] = "
</div>
";
// FAQ - CLASSIC LOOK BELOW #####################################################
// FAQ - PARENT LIST ---------------------------------------------------------
$FAQS_TEMPLATE['cat']['start'] = "
<table class='table fborder' style='".USER_WIDTH."'>
<tr>
<td colspan='2' style='text-align:center; width:55%' class='fcaption'>".FAQLAN_41."</td>
<td class='fcaption' style='width:20%;text-align:center'>".FAQLAN_42."</td>
</tr>";
$FAQS_TEMPLATE['cat']['parent'] = "
<tr>
<td colspan='3' style='width:55%' class='forumheader'>
{FAQ_CATEGORY}
<span class='smalltext'>&nbsp;&nbsp;&nbsp;{FAQ_CAT_DIZ}</span>
</td>
</tr>";
$FAQS_TEMPLATE['cat']['child'] = "
<tr>
<td class='forumheader3' style='width:30px'>{FAQ_ICON}</td>
<td class='forumheader2' style='width:95%'>{FAQ_CATLINK}
<br /><span class='smalltext'>{FAQ_CAT_DIZ}</span></td>
<td style='width:100px; text-align:center' class='forumheader2'>
{FAQ_COUNT}
</td>
</tr>";
$FAQS_TEMPLATE['cat']['end'] = "</table></div></div>";
// FAQ - LIST ---------------------------------------------------------
$FAQS_TEMPLATE['list']['start'] = "
<table class='table fborder' style='".USER_WIDTH."'> ";
$FAQS_TEMPLATE['list']['item'] .= "
<tr>
<td class='forumheader3' style='width:30px;vertical-align:top'>{FAQ_ICON}</td>
<td class='forumheader3'>&nbsp;{FAQ_QUESTION_LINK}</td>
</tr>";
$FAQS_TEMPLATE['list']['end'] = "</table>";
// FAQ - VIEW ----------------------------------------------------------------
// FAQ - VIEW
$FAQS_TEMPLATE['view']['start'] = "
<table class='table fborder' style='margin-left:auto;margin-right:auto;padding:0px;".USER_WIDTH.";' >
<tr>
<td class='forumheader3' style='vertical-align:top;width:30px'>
<img src='".e_PLUGIN_ABS."faqs/images/q.png' alt='' />
</td>
<td class='forumheader3' style='vertical-align:top'>
{FAQ_QUESTION}
</td>
</tr>
<tr>
<td class='forumheader3' style='width:30px;vertical-align:top'>
<img src='".e_PLUGIN_ABS."faqs/images/a.png' alt='' />
</td>
<td class='forumheader3'>
<div class='faq_answer'>{FAQ_ANSWER}</div>
</td>
</tr>
</table>
<div style='text-align:right; width:100%'>
{FAQ_EDIT}
</div>
";