mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 01:19:44 +01:00
small fixes
This commit is contained in:
parent
8a8faf7fa5
commit
087c37fafb
@ -9,9 +9,9 @@
|
||||
*
|
||||
*
|
||||
* $Source: /cvs_backup/e107_0.8/e107_plugins/faqs/faqs.php,v $
|
||||
* $Revision: 1.5 $
|
||||
* $Date: 2009-12-02 22:34:58 $
|
||||
* $Author: bugrain $
|
||||
* $Revision: 1.6 $
|
||||
* $Date: 2009-12-12 10:30:28 $
|
||||
* $Author: e107coders $
|
||||
*/
|
||||
|
||||
require_once ("../../class2.php");
|
||||
@ -107,10 +107,12 @@ if (isset($_POST['commentsubmit']))
|
||||
if(vartrue($faqpref['classic_look']))
|
||||
{
|
||||
$tmp = $faq->show_existing_parents($action, $sub_action, $id, $from, $amount);
|
||||
$caption = FAQLAN_41;
|
||||
}
|
||||
else
|
||||
{
|
||||
$tmp = $faq->view_all();
|
||||
$caption = FAQLAN_FAQ;
|
||||
}
|
||||
|
||||
if (vartrue($faqpref['faq_title']))
|
||||
@ -122,7 +124,7 @@ if (isset($_POST['commentsubmit']))
|
||||
define("e_PAGETITLE", FAQLAN_23);
|
||||
}
|
||||
require_once (HEADERF);
|
||||
$ns->tablerender(FAQLAN_41, $tmp['text']);
|
||||
$ns->tablerender($caption, $tmp['text']);
|
||||
}
|
||||
|
||||
if($action == "cat" && $idx)
|
||||
|
@ -9,8 +9,8 @@
|
||||
* Featurebox Item model
|
||||
*
|
||||
* $Source: /cvs_backup/e107_0.8/e107_plugins/featurebox/includes/item.php,v $
|
||||
* $Revision: 1.6 $
|
||||
* $Date: 2009-12-11 23:49:35 $
|
||||
* $Revision: 1.7 $
|
||||
* $Date: 2009-12-12 10:30:33 $
|
||||
* $Author: e107coders $
|
||||
*
|
||||
*/
|
||||
@ -100,7 +100,7 @@ class plugin_featurebox_item extends e_model
|
||||
{
|
||||
return $tag;
|
||||
}
|
||||
return '<a id="featurebox-imageurl-"'.$this->getId().' href="'.$tp->replaceConstants($this->get('fb_imageurl'), 'full').'" title="'.$tp->toAttribute($this->get('fb_title')).'" rel="'.$tp->toAttribute(vartrue($parm['rel'], 'external')).'">'.$tag.'</a>';
|
||||
return '<a id="featurebox-imageurl-'.$this->getId().'" href="'.$tp->replaceConstants($this->get('fb_imageurl'), 'full').'" title="'.$tp->toAttribute($this->get('fb_title')).'" rel="'.$tp->toAttribute(vartrue($parm['rel'], 'external')).'">'.$tag.'</a>';
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user