mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 13:17:24 +02:00
small fixes
This commit is contained in:
@@ -9,9 +9,9 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_plugins/faqs/faqs.php,v $
|
* $Source: /cvs_backup/e107_0.8/e107_plugins/faqs/faqs.php,v $
|
||||||
* $Revision: 1.5 $
|
* $Revision: 1.6 $
|
||||||
* $Date: 2009-12-02 22:34:58 $
|
* $Date: 2009-12-12 10:30:28 $
|
||||||
* $Author: bugrain $
|
* $Author: e107coders $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once ("../../class2.php");
|
require_once ("../../class2.php");
|
||||||
@@ -107,10 +107,12 @@ if (isset($_POST['commentsubmit']))
|
|||||||
if(vartrue($faqpref['classic_look']))
|
if(vartrue($faqpref['classic_look']))
|
||||||
{
|
{
|
||||||
$tmp = $faq->show_existing_parents($action, $sub_action, $id, $from, $amount);
|
$tmp = $faq->show_existing_parents($action, $sub_action, $id, $from, $amount);
|
||||||
|
$caption = FAQLAN_41;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$tmp = $faq->view_all();
|
$tmp = $faq->view_all();
|
||||||
|
$caption = FAQLAN_FAQ;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (vartrue($faqpref['faq_title']))
|
if (vartrue($faqpref['faq_title']))
|
||||||
@@ -122,7 +124,7 @@ if (isset($_POST['commentsubmit']))
|
|||||||
define("e_PAGETITLE", FAQLAN_23);
|
define("e_PAGETITLE", FAQLAN_23);
|
||||||
}
|
}
|
||||||
require_once (HEADERF);
|
require_once (HEADERF);
|
||||||
$ns->tablerender(FAQLAN_41, $tmp['text']);
|
$ns->tablerender($caption, $tmp['text']);
|
||||||
}
|
}
|
||||||
|
|
||||||
if($action == "cat" && $idx)
|
if($action == "cat" && $idx)
|
||||||
|
@@ -9,8 +9,8 @@
|
|||||||
* Featurebox Item model
|
* Featurebox Item model
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_plugins/featurebox/includes/item.php,v $
|
* $Source: /cvs_backup/e107_0.8/e107_plugins/featurebox/includes/item.php,v $
|
||||||
* $Revision: 1.6 $
|
* $Revision: 1.7 $
|
||||||
* $Date: 2009-12-11 23:49:35 $
|
* $Date: 2009-12-12 10:30:33 $
|
||||||
* $Author: e107coders $
|
* $Author: e107coders $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@@ -100,7 +100,7 @@ class plugin_featurebox_item extends e_model
|
|||||||
{
|
{
|
||||||
return $tag;
|
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>';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user