mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 21:27:25 +02:00
content: LARGE update, redesign 'personal manager and submit' area, general code improvements, redesign admin options interface etc.
This commit is contained in:
@@ -12,8 +12,8 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/admin_content_config.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/admin_content_config.php,v $
|
||||||
| $Revision: 1.5 $
|
| $Revision: 1.6 $
|
||||||
| $Date: 2007-03-01 09:32:28 $
|
| $Date: 2007-03-13 16:51:05 $
|
||||||
| $Author: lisa_ $
|
| $Author: lisa_ $
|
||||||
+---------------------------------------------------------------+
|
+---------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
@@ -58,8 +58,7 @@ if(e_QUERY){
|
|||||||
$qs = explode(".", e_QUERY);
|
$qs = explode(".", e_QUERY);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(isset($_POST['delete']))
|
if(isset($_POST['delete'])){
|
||||||
{
|
|
||||||
$tmp = array_pop(array_flip($_POST['delete']));
|
$tmp = array_pop(array_flip($_POST['delete']));
|
||||||
list($delete, $del_id) = explode("_", $tmp);
|
list($delete, $del_id) = explode("_", $tmp);
|
||||||
}
|
}
|
||||||
@@ -106,6 +105,7 @@ if(isset($delete) && $delete == 'cat'){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//delete content item
|
||||||
if(isset($delete) && $delete == 'content'){
|
if(isset($delete) && $delete == 'content'){
|
||||||
if($sql -> db_Delete($plugintable, "content_id='$del_id' ")){
|
if($sql -> db_Delete($plugintable, "content_id='$del_id' ")){
|
||||||
$e107cache->clear($plugintable);
|
$e107cache->clear($plugintable);
|
||||||
@@ -113,6 +113,7 @@ if(isset($delete) && $delete == 'content'){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//delete submitted item
|
||||||
if(isset($delete) && $delete == 'submitted'){
|
if(isset($delete) && $delete == 'submitted'){
|
||||||
if($sql -> db_Delete($plugintable, "content_id='$del_id' ")){
|
if($sql -> db_Delete($plugintable, "content_id='$del_id' ")){
|
||||||
$e107cache->clear($plugintable);
|
$e107cache->clear($plugintable);
|
||||||
@@ -122,10 +123,10 @@ if(isset($delete) && $delete == 'submitted'){
|
|||||||
|
|
||||||
//update options
|
//update options
|
||||||
if(isset($_POST['updateoptions'])){
|
if(isset($_POST['updateoptions'])){
|
||||||
$content_pref = $aa -> UpdateContentPref($_POST['options_type']);
|
$content_pref = $aa -> UpdateContentPref($_POST['options_type']);
|
||||||
$message = CONTENT_ADMIN_CAT_LAN_22."<br /><br />";
|
$message = CONTENT_ADMIN_CAT_LAN_22."<br /><br />";
|
||||||
if($_POST['options_type'] != "0"){
|
if($_POST['options_type'] != "0"){
|
||||||
$message .= $aa -> CreateParentMenu($_POST['options_type']);
|
$message .= $aa -> CreateParentMenu($_POST['options_type']);
|
||||||
}
|
}
|
||||||
$e107cache->clear($plugintable);
|
$e107cache->clear($plugintable);
|
||||||
}
|
}
|
||||||
@@ -147,25 +148,38 @@ if(isset($_POST['updateinherit'])){
|
|||||||
$tmp = $eArrayStorage->WriteArray($content_pref);
|
$tmp = $eArrayStorage->WriteArray($content_pref);
|
||||||
$sql2 -> db_Update($plugintable, "content_pref='{$tmp}' WHERE content_id='".intval($k)."' ");
|
$sql2 -> db_Update($plugintable, "content_pref='{$tmp}' WHERE content_id='".intval($k)."' ");
|
||||||
}
|
}
|
||||||
$message = CONTENT_ADMIN_CAT_LAN_22."<br /><br />";
|
$message = CONTENT_ADMIN_CAT_LAN_22."<br /><br />";
|
||||||
|
$e107cache->clear($plugintable);
|
||||||
|
}
|
||||||
|
|
||||||
|
//update the inheritance of options
|
||||||
|
if(isset($_POST['updatemanagerinherit'])){
|
||||||
|
foreach($_POST['id'] as $k=>$v){
|
||||||
|
//get current
|
||||||
|
$sql -> db_Select($plugintable, "content_pref", "content_id='".intval($k)."' ");
|
||||||
|
$row = $sql -> db_Fetch();
|
||||||
|
$content_pref = $eArrayStorage->ReadArray($row['content_pref']);
|
||||||
|
//assign or remove inherit option
|
||||||
|
if(isset($_POST['content_manager_inherit']) && isset($_POST['content_manager_inherit'][$k]) ){
|
||||||
|
$content_pref['content_manager_inherit'] = "1";
|
||||||
|
}else{
|
||||||
|
unset($content_pref['content_manager_inherit']);
|
||||||
|
}
|
||||||
|
//update
|
||||||
|
$tmp = $eArrayStorage->WriteArray($content_pref);
|
||||||
|
$sql2 -> db_Update($plugintable, "content_pref='{$tmp}' WHERE content_id='".intval($k)."' ");
|
||||||
|
}
|
||||||
|
$message = CONTENT_ADMIN_MANAGER_LAN_8."<br /><br />";
|
||||||
$e107cache->clear($plugintable);
|
$e107cache->clear($plugintable);
|
||||||
}
|
}
|
||||||
|
|
||||||
//update manager classes into preferences
|
//update manager classes into preferences
|
||||||
if(isset($_POST['update_manager'])){
|
if(isset($_POST['update_manager'])){
|
||||||
$content_pref = $aa -> UpdateContentPref($_POST['options_type']);
|
$content_pref = $aa -> UpdateContentPref($_POST['options_type']);
|
||||||
$message = CONTENT_ADMIN_CAT_LAN_22."<br /><br />";
|
$message = CONTENT_ADMIN_CAT_LAN_22."<br /><br />";
|
||||||
$e107cache->clear($plugintable);
|
$e107cache->clear($plugintable);
|
||||||
}
|
}
|
||||||
|
|
||||||
//update page restriction classes into preferences
|
|
||||||
if(isset($_POST['update_restrict'])){
|
|
||||||
$content_pref = $aa -> UpdateContentPref($_POST['options_type']);
|
|
||||||
$message = CONTENT_ADMIN_CAT_LAN_22."<br /><br />";
|
|
||||||
$e107cache->clear($plugintable);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//pre-upload a new category icon in the create/edit category form
|
//pre-upload a new category icon in the create/edit category form
|
||||||
if(isset($_POST['uploadcaticon'])){
|
if(isset($_POST['uploadcaticon'])){
|
||||||
|
|
||||||
@@ -183,15 +197,14 @@ if(isset($_POST['uploadcaticon'])){
|
|||||||
resize_image($pathiconlarge.$icon, $pathiconsmall.$icon, '16', "copy");
|
resize_image($pathiconlarge.$icon, $pathiconsmall.$icon, '16', "copy");
|
||||||
rename($pathiconsmall."thumb_".$icon , $pathiconsmall.$icon);
|
rename($pathiconsmall."thumb_".$icon , $pathiconsmall.$icon);
|
||||||
}
|
}
|
||||||
$message = ($icon ? CONTENT_ADMIN_CAT_LAN_58 : CONTENT_ADMIN_CAT_LAN_59);
|
$message = ($icon ? CONTENT_ADMIN_CAT_LAN_58 : CONTENT_ADMIN_CAT_LAN_59);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(isset($_POST['create_category'])){
|
if(isset($_POST['create_category'])){
|
||||||
if($_POST['cat_heading'] && $_POST['parent1'] != "none"){
|
if($_POST['cat_heading'] && $_POST['parent1'] != "none"){
|
||||||
$adb -> dbCategory("create");
|
$adb -> dbCategory("create");
|
||||||
}else{
|
}else{
|
||||||
$message = CONTENT_ADMIN_ITEM_LAN_0;
|
$message = CONTENT_ADMIN_ITEM_LAN_0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -199,25 +212,23 @@ if(isset($_POST['update_category'])){
|
|||||||
if($_POST['cat_heading'] && $_POST['parent1'] != "none"){
|
if($_POST['cat_heading'] && $_POST['parent1'] != "none"){
|
||||||
$adb -> dbCategory("update");
|
$adb -> dbCategory("update");
|
||||||
}else{
|
}else{
|
||||||
$message = CONTENT_ADMIN_ITEM_LAN_0;
|
$message = CONTENT_ADMIN_ITEM_LAN_0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(isset($_POST['create_content'])){
|
if(isset($_POST['create_content'])){
|
||||||
if($_POST['content_text'] && $_POST['content_heading'] && $_POST['content_author_name'] && $_POST['parent1'] != "none"){
|
if($_POST['content_text'] && $_POST['content_heading'] && $_POST['content_author_name'] && $_POST['parent1'] != "none"){
|
||||||
//$adb -> dbContentCreate("admin");
|
|
||||||
$adb -> dbContent("create", "");
|
$adb -> dbContent("create", "");
|
||||||
}else{
|
}else{
|
||||||
$message = CONTENT_ADMIN_ITEM_LAN_0;
|
$message = CONTENT_ADMIN_ITEM_LAN_0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(isset($_POST['update_content'])){
|
if(isset($_POST['update_content'])){
|
||||||
if($_POST['content_text'] && $_POST['content_heading'] && $_POST['content_author_name'] && $_POST['content_heading'] && $_POST['parent1'] != "none"){
|
if($_POST['content_text'] && $_POST['content_heading'] && $_POST['content_author_name'] && $_POST['content_heading'] && $_POST['parent1'] != "none"){
|
||||||
//$adb -> dbContentUpdate("admin");
|
|
||||||
$adb -> dbContent("update", "");
|
$adb -> dbContent("update", "");
|
||||||
}else{
|
}else{
|
||||||
$message = CONTENT_ADMIN_ITEM_LAN_0;
|
$message = CONTENT_ADMIN_ITEM_LAN_0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -239,7 +250,8 @@ if(isset($message)){
|
|||||||
|
|
||||||
// ##### End --------------------------------------------------------------------------------------
|
// ##### End --------------------------------------------------------------------------------------
|
||||||
|
|
||||||
if(!e_QUERY){ //show main categories
|
if(!e_QUERY){
|
||||||
|
//show main categories
|
||||||
$aform -> show_manage_content("", "", "");
|
$aform -> show_manage_content("", "", "");
|
||||||
require_once(e_ADMIN."footer.php");
|
require_once(e_ADMIN."footer.php");
|
||||||
exit;
|
exit;
|
||||||
@@ -253,7 +265,8 @@ if(!e_QUERY){ //show main categories
|
|||||||
//edit content item
|
//edit content item
|
||||||
}elseif($qs[0] == "content" && $qs[1] == "edit" && is_numeric($qs[2]) ){
|
}elseif($qs[0] == "content" && $qs[1] == "edit" && is_numeric($qs[2]) ){
|
||||||
$newqs = array_reverse($qs);
|
$newqs = array_reverse($qs);
|
||||||
if($newqs[0] == "cu"){ //item; update redirect
|
//item; update redirect
|
||||||
|
if($newqs[0] == "cu"){
|
||||||
$mainparent = $aa -> getMainParent($qs[2]);
|
$mainparent = $aa -> getMainParent($qs[2]);
|
||||||
$message = CONTENT_ADMIN_ITEM_LAN_2."<br /><br />";
|
$message = CONTENT_ADMIN_ITEM_LAN_2."<br /><br />";
|
||||||
$message .= CONTENT_ADMIN_ITEM_LAN_88." <a href='".e_SELF."?content.create.".$mainparent."'>".CONTENT_ADMIN_ITEM_LAN_90."</a><br />";
|
$message .= CONTENT_ADMIN_ITEM_LAN_88." <a href='".e_SELF."?content.create.".$mainparent."'>".CONTENT_ADMIN_ITEM_LAN_90."</a><br />";
|
||||||
@@ -270,7 +283,8 @@ if(!e_QUERY){ //show main categories
|
|||||||
//post submitted content item
|
//post submitted content item
|
||||||
}elseif($qs[0] == "content" && $qs[1] == "sa" && is_numeric($qs[2]) ){
|
}elseif($qs[0] == "content" && $qs[1] == "sa" && is_numeric($qs[2]) ){
|
||||||
$newqs = array_reverse($qs);
|
$newqs = array_reverse($qs);
|
||||||
if($newqs[0] == "cu"){ //item; submit post / update redirect
|
//item; submit post / update redirect
|
||||||
|
if($newqs[0] == "cu"){
|
||||||
$mainparent = $aa -> getMainParent($qs[2]);
|
$mainparent = $aa -> getMainParent($qs[2]);
|
||||||
$message = CONTENT_ADMIN_ITEM_LAN_117."<br /><br />";
|
$message = CONTENT_ADMIN_ITEM_LAN_117."<br /><br />";
|
||||||
$message .= CONTENT_ADMIN_ITEM_LAN_88." <a href='".e_SELF."?content.create.".$mainparent."'>".CONTENT_ADMIN_ITEM_LAN_90."</a><br />";
|
$message .= CONTENT_ADMIN_ITEM_LAN_88." <a href='".e_SELF."?content.create.".$mainparent."'>".CONTENT_ADMIN_ITEM_LAN_90."</a><br />";
|
||||||
@@ -286,7 +300,8 @@ if(!e_QUERY){ //show main categories
|
|||||||
//create content item
|
//create content item
|
||||||
}elseif($qs[0] == "content" && $qs[1] == "create" ){
|
}elseif($qs[0] == "content" && $qs[1] == "create" ){
|
||||||
$newqs = array_reverse($qs);
|
$newqs = array_reverse($qs);
|
||||||
if($newqs[0] == "cc"){ //item; create redirect
|
//item; create redirect
|
||||||
|
if($newqs[0] == "cc"){
|
||||||
$mainparent = $aa -> getMainParent($qs[2]);
|
$mainparent = $aa -> getMainParent($qs[2]);
|
||||||
$message = CONTENT_ADMIN_ITEM_LAN_1."<br /><br />";
|
$message = CONTENT_ADMIN_ITEM_LAN_1."<br /><br />";
|
||||||
$message .= CONTENT_ADMIN_ITEM_LAN_88." <a href='".e_SELF."?content.create.".$mainparent."'>".CONTENT_ADMIN_ITEM_LAN_90."</a><br />";
|
$message .= CONTENT_ADMIN_ITEM_LAN_88." <a href='".e_SELF."?content.create.".$mainparent."'>".CONTENT_ADMIN_ITEM_LAN_90."</a><br />";
|
||||||
@@ -297,8 +312,6 @@ if(!e_QUERY){ //show main categories
|
|||||||
}
|
}
|
||||||
$aform -> show_create_content("admin", $userid="", $username="");
|
$aform -> show_create_content("admin", $userid="", $username="");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//order : view categories
|
//order : view categories
|
||||||
}elseif($qs[0] == "order" && !isset($qs[1])){
|
}elseif($qs[0] == "order" && !isset($qs[1])){
|
||||||
$aform -> show_order();
|
$aform -> show_order();
|
||||||
@@ -347,42 +360,28 @@ if(!e_QUERY){ //show main categories
|
|||||||
$ns -> tablerender("", "<div style='text-align:center'><b>".$message."</b></div>");
|
$ns -> tablerender("", "<div style='text-align:center'><b>".$message."</b></div>");
|
||||||
$aform -> show_order("admin");
|
$aform -> show_order("admin");
|
||||||
|
|
||||||
|
//show submitted content items
|
||||||
|
|
||||||
|
|
||||||
}elseif($qs[0] == "submitted" && !isset($qs[1]) ){
|
}elseif($qs[0] == "submitted" && !isset($qs[1]) ){
|
||||||
$aform -> show_submitted();
|
$aform -> show_submitted();
|
||||||
|
|
||||||
|
//options intro page
|
||||||
|
|
||||||
|
|
||||||
}elseif($qs[0] == "option" && !isset($qs[1]) ){
|
}elseif($qs[0] == "option" && !isset($qs[1]) ){
|
||||||
$aform -> show_options();
|
$aform -> show_options();
|
||||||
|
|
||||||
|
//options for this top level category
|
||||||
}elseif($qs[0] == "option" && isset($qs[1]) && (is_numeric($qs[1]) || $qs[1] == "default") ){
|
}elseif($qs[0] == "option" && isset($qs[1]) && (is_numeric($qs[1]) || $qs[1] == "default") ){
|
||||||
$aform -> show_options_cat();
|
$aform -> show_options_cat();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//category content manager : choose category
|
//category content manager : choose category
|
||||||
}elseif($qs[0] == "manager" && !isset($qs[1]) ){
|
}elseif($qs[0] == "manager" && !isset($qs[1]) ){
|
||||||
if(!getperms("0")){ header("location:".e_SELF); exit; }
|
if(!getperms("0")){ header("location:".e_SELF); exit; }
|
||||||
//$aform -> show_admin_contentmanager();
|
|
||||||
$aform -> manager();
|
$aform -> manager();
|
||||||
|
|
||||||
//category content manager : view contentmanager
|
//category content manager : view contentmanager
|
||||||
}elseif($qs[0] == "manager" && isset($qs[1]) && is_numeric($qs[1]) ){
|
}elseif($qs[0] == "manager" && isset($qs[1]) && (is_numeric($qs[1]) || $qs[1]=='default') ){
|
||||||
if(!getperms("0")){ header("location:".e_SELF); exit; }
|
if(!getperms("0")){ header("location:".e_SELF); exit; }
|
||||||
if(isset($qs[2])){
|
|
||||||
$message = $adb -> dbAssignAdmins("admin", intval($qs[1]), $qs[2]);
|
|
||||||
$ns -> tablerender("", "<div style='text-align:center'><b>".$message."</b></div>");
|
|
||||||
}
|
|
||||||
$aform -> manager_category();
|
$aform -> manager_category();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//overview all categories
|
//overview all categories
|
||||||
}elseif($qs[0] == "cat" && !isset($qs[1]) ){
|
}elseif($qs[0] == "cat" && !isset($qs[1]) ){
|
||||||
$aform -> manage_cat();
|
$aform -> manage_cat();
|
||||||
@@ -390,178 +389,161 @@ if(!e_QUERY){ //show main categories
|
|||||||
//create category
|
//create category
|
||||||
}elseif($qs[0] == "cat" && $qs[1] == "create" ){
|
}elseif($qs[0] == "cat" && $qs[1] == "create" ){
|
||||||
$newqs = array_reverse($qs);
|
$newqs = array_reverse($qs);
|
||||||
if($newqs[0] == "pc"){ //category; create redirect
|
//category; create redirect
|
||||||
$message = CONTENT_ADMIN_CAT_LAN_11."<br /><br />";
|
if($newqs[0] == "pc"){
|
||||||
$message .= "<br /><br />".CONTENT_ADMIN_CAT_LAN_50."<br /><br />";
|
$message = CONTENT_ADMIN_CAT_LAN_11."<br /><br />";
|
||||||
$message .= "
|
$message .= "<br /><br />".CONTENT_ADMIN_CAT_LAN_50."<br /><br />";
|
||||||
".CONTENT_ADMIN_CAT_LAN_44." <a href='".e_SELF."?cat.create'>".CONTENT_ADMIN_CAT_LAN_43."</a><br />
|
$message .= "
|
||||||
".CONTENT_ADMIN_CAT_LAN_42." <a href='".e_SELF."?cat.edit.".$qs[2]."'>".CONTENT_ADMIN_CAT_LAN_43."</a><br />
|
".CONTENT_ADMIN_CAT_LAN_44." <a href='".e_SELF."?cat.create'>".CONTENT_ADMIN_CAT_LAN_43."</a><br />
|
||||||
";
|
".CONTENT_ADMIN_CAT_LAN_42." <a href='".e_SELF."?cat.edit.".$qs[2]."'>".CONTENT_ADMIN_CAT_LAN_43."</a><br />";
|
||||||
$ns -> tablerender("", "<div style='text-align:center'><b>".$message."</b></div>");
|
$ns -> tablerender("", "<div style='text-align:center'><b>".$message."</b></div>");
|
||||||
require_once(e_ADMIN."footer.php");
|
require_once(e_ADMIN."footer.php");
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
$aform -> show_create_category();
|
$aform -> show_create_category();
|
||||||
|
|
||||||
//edit category
|
//edit category
|
||||||
}elseif($qs[0] == "cat" && $qs[1] == "edit" && is_numeric($qs[2]) ){
|
}elseif($qs[0] == "cat" && $qs[1] == "edit" && is_numeric($qs[2]) ){
|
||||||
$newqs = array_reverse($qs);
|
$newqs = array_reverse($qs);
|
||||||
if($newqs[0] == "pu"){ //category; update redirect
|
//category; update redirect
|
||||||
$message = CONTENT_ADMIN_CAT_LAN_12."<br /><br />
|
if($newqs[0] == "pu"){
|
||||||
".CONTENT_ADMIN_CAT_LAN_42." <a href='".e_SELF."?cat.edit.".$qs[2]."'>".CONTENT_ADMIN_CAT_LAN_43."</a><br />
|
$message = CONTENT_ADMIN_CAT_LAN_12."<br /><br />
|
||||||
".CONTENT_ADMIN_CAT_LAN_53." <a href='".e_SELF."?cat'>".CONTENT_ADMIN_CAT_LAN_43."</a><br />";
|
".CONTENT_ADMIN_CAT_LAN_42." <a href='".e_SELF."?cat.edit.".$qs[2]."'>".CONTENT_ADMIN_CAT_LAN_43."</a><br />
|
||||||
$ns -> tablerender("", "<div style='text-align:center'><b>".$message."</b></div>");
|
".CONTENT_ADMIN_CAT_LAN_53." <a href='".e_SELF."?cat'>".CONTENT_ADMIN_CAT_LAN_43."</a><br />";
|
||||||
require_once(e_ADMIN."footer.php");
|
$ns -> tablerender("", "<div style='text-align:center'><b>".$message."</b></div>");
|
||||||
exit;
|
require_once(e_ADMIN."footer.php");
|
||||||
|
exit;
|
||||||
}
|
}
|
||||||
$aform -> show_create_category();
|
$aform -> show_create_category();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//restrict : choose category
|
|
||||||
}elseif($qs[0] == "restrict" && !isset($qs[1]) ){
|
|
||||||
//if(!getperms("0")){ header("location:".e_SELF); exit; }
|
|
||||||
$aform -> restrict();
|
|
||||||
|
|
||||||
//restrict : view restrict for main parent
|
|
||||||
}elseif($qs[0] == "restrict" && isset($qs[1]) && is_numeric($qs[1]) ){
|
|
||||||
//if(!getperms("0")){ header("location:".e_SELF); exit; }
|
|
||||||
$aform -> restrict_category();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ##### End --------------------------------------------------------------------------------------
|
// ##### End --------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// ##### Display options --------------------------------------------------------------------------
|
// ##### Display options --------------------------------------------------------------------------
|
||||||
function admin_content_config_adminmenu(){
|
function admin_content_config_adminmenu(){
|
||||||
|
|
||||||
global $sql, $plugintable, $aa;
|
global $sql, $plugintable, $aa;
|
||||||
|
|
||||||
//toggle to show categories in admin right hand menu
|
//toggle to show categories in admin right hand menu; default to false
|
||||||
$showadmincat = TRUE;
|
$showadmincat = FALSE;
|
||||||
|
|
||||||
if(e_QUERY){
|
if(e_QUERY){
|
||||||
$qs = explode(".", e_QUERY);
|
$qs = explode(".", e_QUERY);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(isset($qs[0]) && $qs[0] == "cat" && isset($qs[1]) && $qs[1] == "create"){
|
if(isset($qs[0]) && $qs[0] == "cat" && isset($qs[1]) && $qs[1] == "create"){
|
||||||
$act = $qs[0].".".$qs[1];
|
$act = $qs[0].".".$qs[1];
|
||||||
|
|
||||||
}elseif(isset($qs[0]) && $qs[0] == "content" && isset($qs[1]) && $qs[1] == "create"){
|
}elseif(isset($qs[0]) && $qs[0] == "content" && isset($qs[1]) && $qs[1] == "create"){
|
||||||
$act = $qs[0].".".$qs[1];
|
$act = $qs[0].".".$qs[1];
|
||||||
|
|
||||||
}else{
|
}else{
|
||||||
$act = (isset($qs[0]) ? $qs[0] : "");
|
$act = (isset($qs[0]) ? $qs[0] : "");
|
||||||
}
|
}
|
||||||
|
|
||||||
if($act==""){$act="content";}
|
if($act==""){$act="content";}
|
||||||
|
|
||||||
$var['content']['text'] = CONTENT_ADMIN_MENU_LAN_0;
|
$var['content']['text'] = CONTENT_ADMIN_MENU_LAN_0;
|
||||||
$var['content']['link'] = e_SELF;
|
$var['content']['link'] = e_SELF;
|
||||||
|
|
||||||
$var['content.create']['text'] = CONTENT_ADMIN_MENU_LAN_1;
|
$var['content.create']['text'] = CONTENT_ADMIN_MENU_LAN_1;
|
||||||
$var['content.create']['link'] = e_SELF."?content.create";
|
$var['content.create']['link'] = e_SELF."?content.create";
|
||||||
|
|
||||||
$var['cat']['text'] = CONTENT_ADMIN_MENU_LAN_2;
|
$var['cat']['text'] = CONTENT_ADMIN_MENU_LAN_2;
|
||||||
$var['cat']['link'] = e_SELF."?cat";
|
$var['cat']['link'] = e_SELF."?cat";
|
||||||
|
|
||||||
$var['cat.create']['text'] = CONTENT_ADMIN_MENU_LAN_3;
|
$var['cat.create']['text'] = CONTENT_ADMIN_MENU_LAN_3;
|
||||||
$var['cat.create']['link'] = e_SELF."?cat.create";
|
$var['cat.create']['link'] = e_SELF."?cat.create";
|
||||||
|
|
||||||
$var['order']['text'] = CONTENT_ADMIN_MENU_LAN_15;
|
$var['order']['text'] = CONTENT_ADMIN_MENU_LAN_15;
|
||||||
$var['order']['link'] = e_SELF."?order";
|
$var['order']['link'] = e_SELF."?order";
|
||||||
|
|
||||||
$var['option']['text'] = CONTENT_ADMIN_MENU_LAN_6;
|
$var['option']['text'] = CONTENT_ADMIN_MENU_LAN_6;
|
||||||
$var['option']['link'] = e_SELF."?option";
|
$var['option']['link'] = e_SELF."?option";
|
||||||
|
|
||||||
if(getperms("0")){
|
if(getperms("0")){
|
||||||
$var['manager']['text'] = CONTENT_ADMIN_MENU_LAN_17;
|
$var['manager']['text'] = CONTENT_ADMIN_MENU_LAN_17;
|
||||||
$var['manager']['link'] = e_SELF."?manager";
|
$var['manager']['link'] = e_SELF."?manager";
|
||||||
}
|
}
|
||||||
|
|
||||||
if($submittedcontents = $sql -> db_Count($plugintable, "(*)", "WHERE content_refer ='sa' ")){
|
if($submittedcontents = $sql -> db_Count($plugintable, "(*)", "WHERE content_refer ='sa' ")){
|
||||||
$var['submitted']['text'] = CONTENT_ADMIN_MENU_LAN_4." (".$submittedcontents.")";
|
$var['submitted']['text'] = CONTENT_ADMIN_MENU_LAN_4." (".$submittedcontents.")";
|
||||||
$var['submitted']['link'] = e_SELF."?submitted";
|
$var['submitted']['link'] = e_SELF."?submitted";
|
||||||
}
|
}
|
||||||
|
|
||||||
show_admin_menu(CONTENT_ADMIN_MENU_LAN_6, $act,$var);
|
show_admin_menu(CONTENT_ADMIN_MENU_LAN_6, $act,$var);
|
||||||
|
|
||||||
if(isset($qs[0]) && $qs[0] == "option" && isset($qs[1])){
|
if(isset($qs[0]) && $qs[0] == "option" && isset($qs[1])){
|
||||||
unset($var);
|
unset($var);
|
||||||
$var=array();
|
$var=array();
|
||||||
$var['creation']['text'] = CONTENT_ADMIN_MENU_LAN_7;
|
$var['creation']['text'] = CONTENT_ADMIN_MENU_LAN_7;
|
||||||
//$var['catcreation']['text'] = CONTENT_ADMIN_MENU_LAN_23;
|
$var['general']['text'] = CONTENT_ADMIN_MENU_LAN_10;
|
||||||
$var['submission']['text'] = CONTENT_ADMIN_MENU_LAN_8;
|
$var['menu']['text'] = CONTENT_ADMIN_MENU_LAN_14;
|
||||||
//$var['paththeme']['text'] = CONTENT_ADMIN_MENU_LAN_9;
|
|
||||||
$var['general']['text'] = CONTENT_ADMIN_MENU_LAN_10;
|
|
||||||
$var['menu']['text'] = CONTENT_ADMIN_MENU_LAN_14;
|
|
||||||
|
|
||||||
if (!is_object($sql)){ $sql = new db; }
|
if (!is_object($sql)){ $sql = new db; }
|
||||||
$category_total = $sql -> db_Select($plugintable, "content_heading", "content_id='".$qs[1]."' ");
|
$category_total = $sql -> db_Select($plugintable, "content_heading", "content_id='".$qs[1]."' ");
|
||||||
list($content_heading) = $sql -> db_Fetch();
|
list($content_heading) = $sql -> db_Fetch();
|
||||||
|
|
||||||
show_admin_menu(CONTENT_ADMIN_MENU_LAN_6.": ".$content_heading."", $act, $var, TRUE);
|
show_admin_menu(CONTENT_ADMIN_MENU_LAN_6.": ".$content_heading."", $act, $var, TRUE);
|
||||||
|
|
||||||
|
unset($var);
|
||||||
|
$var=array();
|
||||||
|
$var['recentpages']['text'] = CONTENT_ADMIN_MENU_LAN_11;
|
||||||
|
$var['catpages']['text'] = CONTENT_ADMIN_MENU_LAN_12;
|
||||||
|
$var['contentpages']['text'] = CONTENT_ADMIN_MENU_LAN_13;
|
||||||
|
$var['authorpage']['text'] = CONTENT_ADMIN_MENU_LAN_18;
|
||||||
|
$var['archivepage']['text'] = CONTENT_ADMIN_MENU_LAN_16;
|
||||||
|
$var['toppage']['text'] = CONTENT_ADMIN_MENU_LAN_20;
|
||||||
|
$var['scorepage']['text'] = CONTENT_ADMIN_MENU_LAN_22;
|
||||||
|
show_admin_menu(CONTENT_ADMIN_MENU_LAN_21.": ".$content_heading."", $act, $var, TRUE);
|
||||||
|
|
||||||
|
}else{
|
||||||
|
|
||||||
|
if($showadmincat){
|
||||||
|
if (!is_object($sql2)){ $sql2 = new db; }
|
||||||
|
if($category_total = $sql2 -> db_Select($plugintable, "content_id, content_heading", "content_parent='0' ")){
|
||||||
|
while($row = $sql2 -> db_Fetch()){
|
||||||
|
|
||||||
unset($var);
|
unset($var);
|
||||||
$var=array();
|
$var=array();
|
||||||
$var['recentpages']['text'] = CONTENT_ADMIN_MENU_LAN_11;
|
|
||||||
$var['catpages']['text'] = CONTENT_ADMIN_MENU_LAN_12;
|
|
||||||
$var['contentpages']['text'] = CONTENT_ADMIN_MENU_LAN_13;
|
|
||||||
$var['authorpage']['text'] = CONTENT_ADMIN_MENU_LAN_18;
|
|
||||||
$var['archivepage']['text'] = CONTENT_ADMIN_MENU_LAN_16;
|
|
||||||
$var['toppage']['text'] = CONTENT_ADMIN_MENU_LAN_20;
|
|
||||||
$var['scorepage']['text'] = CONTENT_ADMIN_MENU_LAN_22;
|
|
||||||
show_admin_menu(CONTENT_ADMIN_MENU_LAN_21.": ".$content_heading."", $act, $var, TRUE);
|
|
||||||
|
|
||||||
}else{
|
//get all categories from each main parent
|
||||||
|
$array = $aa -> getCategoryTree("", $row['content_id'], FALSE);
|
||||||
|
$newarray = array_merge_recursive($array);
|
||||||
|
|
||||||
if($showadmincat){
|
$newparent=array();
|
||||||
if (!is_object($sql2)){ $sql2 = new db; }
|
for($a=0;$a<count($newarray);$a++){
|
||||||
if($category_total = $sql2 -> db_Select($plugintable, "content_id, content_heading", "content_parent='0' ")){
|
for($b=0;$b<count($newarray[$a]);$b++){
|
||||||
while($row = $sql2 -> db_Fetch()){
|
$newparent[$newarray[$a][$b]] = $newarray[$a][$b+1];
|
||||||
|
$b++;
|
||||||
unset($var);
|
|
||||||
$var=array();
|
|
||||||
|
|
||||||
$array = $aa -> getCategoryTree("", $row['content_id'], FALSE); //get all categories from each main parent
|
|
||||||
$newarray = array_merge_recursive($array);
|
|
||||||
|
|
||||||
$newparent=array();
|
|
||||||
for($a=0;$a<count($newarray);$a++){
|
|
||||||
for($b=0;$b<count($newarray[$a]);$b++){
|
|
||||||
$newparent[$newarray[$a][$b]] = $newarray[$a][$b+1];
|
|
||||||
$b++;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach($newparent as $key => $value){
|
|
||||||
$var['c'.$key]['text'] = $value;
|
|
||||||
$var['c'.$key]['link'] = e_SELF."?content.".$key;
|
|
||||||
}
|
|
||||||
if( isset($qs[0]) && $qs[0] == "content" && isset($qs[1]) && $qs[1] == "create"){
|
|
||||||
$act = "";
|
|
||||||
}elseif( isset($qs[0]) && $qs[0] == "cat" && isset($qs[1]) && ($qs[1] == "create" || $qs[1] == "edit") ){
|
|
||||||
$act = "";
|
|
||||||
}elseif( isset($qs[0]) && $qs[0] == "order" ){
|
|
||||||
$act = "";
|
|
||||||
}elseif( isset($qs[0]) && $qs[0] == "manager" ){
|
|
||||||
$act = "";
|
|
||||||
}else{
|
|
||||||
if(isset($qs[0]) && isset($qs[1]) ){
|
|
||||||
$act = "c".$qs[1];
|
|
||||||
}else{
|
|
||||||
$act = "c";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
show_admin_menu(CONTENT_ADMIN_MENU_LAN_5." : ".$row['content_heading']."", $act, $var);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
foreach($newparent as $key => $value){
|
||||||
|
$var['c'.$key]['text'] = $value;
|
||||||
|
$var['c'.$key]['link'] = e_SELF."?content.".$key;
|
||||||
|
}
|
||||||
|
if( isset($qs[0]) && $qs[0] == "content" && isset($qs[1]) && $qs[1] == "create"){
|
||||||
|
$act = "";
|
||||||
|
}elseif( isset($qs[0]) && $qs[0] == "cat" && isset($qs[1]) && ($qs[1] == "create" || $qs[1] == "edit") ){
|
||||||
|
$act = "";
|
||||||
|
}elseif( isset($qs[0]) && $qs[0] == "order" ){
|
||||||
|
$act = "";
|
||||||
|
}elseif( isset($qs[0]) && $qs[0] == "manager" ){
|
||||||
|
$act = "";
|
||||||
|
}else{
|
||||||
|
if(isset($qs[0]) && isset($qs[1]) ){
|
||||||
|
$act = "c".$qs[1];
|
||||||
|
}else{
|
||||||
|
$act = "c";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
show_admin_menu(CONTENT_ADMIN_MENU_LAN_5." : ".$row['content_heading']."", $act, $var);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// ##### End --------------------------------------------------------------------------------------
|
// ##### End --------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@@ -12,9 +12,9 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/content.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/content.php,v $
|
||||||
| $Revision: 1.6 $
|
| $Revision: 1.7 $
|
||||||
| $Date: 2007-01-20 16:19:22 $
|
| $Date: 2007-03-13 16:51:05 $
|
||||||
| $Author: mrpete $
|
| $Author: lisa_ $
|
||||||
+---------------------------------------------------------------+
|
+---------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -33,8 +33,7 @@ require_once($plugindir."handlers/content_class.php");
|
|||||||
$aa = new content;
|
$aa = new content;
|
||||||
e107_require_once(e_HANDLER.'arraystorage_class.php');
|
e107_require_once(e_HANDLER.'arraystorage_class.php');
|
||||||
$eArrayStorage = new ArrayData();
|
$eArrayStorage = new ArrayData();
|
||||||
$lan_file = $plugindir."languages/".e_LANGUAGE."/lan_content.php";
|
include_lan(e_PLUGIN."content/languages/".e_LANGUAGE."/lan_content.php");
|
||||||
include_once(file_exists($lan_file) ? $lan_file : $plugindir."languages/English/lan_content.php");
|
|
||||||
|
|
||||||
if(e_QUERY){
|
if(e_QUERY){
|
||||||
$qs = explode(".", e_QUERY);
|
$qs = explode(".", e_QUERY);
|
||||||
@@ -320,61 +319,45 @@ function show_content(){
|
|||||||
$content_type_table_string .= $tp -> parseTemplate($CONTENT_TYPE_TABLE, FALSE, $content_shortcodes);
|
$content_type_table_string .= $tp -> parseTemplate($CONTENT_TYPE_TABLE, FALSE, $content_shortcodes);
|
||||||
}
|
}
|
||||||
|
|
||||||
$SUBMIT_LINE = FALSE;
|
//check if user is allowed on the manager page
|
||||||
$submit = FALSE;
|
$personalmanagercheck = FALSE;
|
||||||
$sql3 = "";
|
//get all categories
|
||||||
if(!is_object($sql3)){ $sql3 = new db; }
|
$array = $aa -> getCategoryTree("", "", TRUE);
|
||||||
if($sql3 -> db_Select($plugintable, "content_id, content_pref", "content_parent = '0' ".$datequery." ORDER BY content_parent")){
|
$catarray = array_keys($array);
|
||||||
while($row = $sql3 -> db_Fetch()){
|
$qry = "";
|
||||||
|
foreach($catarray as $catid){
|
||||||
|
$qry .= " content_id='".$catid."' || ";
|
||||||
|
}
|
||||||
|
$qry = substr($qry,0,-3);
|
||||||
|
if($sql -> db_Select($plugintable, "content_id, content_heading, content_pref", " ".$qry." ")){
|
||||||
|
while($row = $sql -> db_Fetch()){
|
||||||
if(isset($row['content_pref']) && $row['content_pref']){
|
if(isset($row['content_pref']) && $row['content_pref']){
|
||||||
$content_pref = $eArrayStorage->ReadArray($row['content_pref']);
|
$content_pref = $eArrayStorage->ReadArray($row['content_pref']);
|
||||||
}
|
}
|
||||||
if($content_pref["content_submit"] && check_class($content_pref["content_submit_class"])){
|
//if inherit is used in the manager, we need to get the preferences from the core plugin table default preferences
|
||||||
$submit = TRUE;
|
//and use those preferences in the permissions check.
|
||||||
|
if(isset($content_pref['content_manager_inherit']) && $content_pref['content_manager_inherit']){
|
||||||
|
$sql2 -> db_Select("core", "*", "e107_name='$plugintable' ");
|
||||||
|
$row2 = $sql2 -> db_Fetch();
|
||||||
|
$content_pref = $eArrayStorage->ReadArray($row2['e107_value']);
|
||||||
|
}
|
||||||
|
if( (isset($content_pref["content_manager_submit"]) && check_class($content_pref["content_manager_submit"])) ||
|
||||||
|
(isset($content_pref["content_manager_approve"]) && check_class($content_pref["content_manager_approve"])) || (isset($content_pref["content_manager_personal"]) && check_class($content_pref["content_manager_personal"])) || (isset($content_pref["content_manager_category"]) && check_class($content_pref["content_manager_category"])) ){
|
||||||
|
$personalmanagercheck = TRUE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if($submit === TRUE){
|
}
|
||||||
$content_type_table_string .= $CONTENT_TYPE_TABLE_LINE;
|
if($personalmanagercheck == TRUE){
|
||||||
$content_type_table_string .= $tp -> parseTemplate($CONTENT_TYPE_TABLE_SUBMIT, FALSE, $content_shortcodes);
|
$content_type_table_string .= $tp -> parseTemplate($CONTENT_TYPE_TABLE_MANAGER, FALSE, $content_shortcodes);
|
||||||
$SUBMIT_LINE = TRUE;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(USERID){
|
|
||||||
$personalmanagercheck = FALSE;
|
|
||||||
$array = $aa -> getCategoryTree("", "", TRUE);
|
|
||||||
$catarray = array_keys($array);
|
|
||||||
$qry = "";
|
|
||||||
foreach($catarray as $catid){
|
|
||||||
$qry .= " content_id='".$catid."' || ";
|
|
||||||
}
|
|
||||||
$qry = substr($qry,0,-3);
|
|
||||||
if($sql -> db_Select($plugintable, "content_id, content_heading, content_pref", " ".$qry." ")){
|
|
||||||
while($row = $sql -> db_Fetch()){
|
|
||||||
if(isset($row['content_pref']) && $row['content_pref']){
|
|
||||||
$content_pref = $eArrayStorage->ReadArray($row['content_pref']);
|
|
||||||
}
|
|
||||||
if( (isset($content_pref["content_manager_approve"]) && check_class($content_pref["content_manager_approve"])) || (isset($content_pref["content_manager_personal"]) && check_class($content_pref["content_manager_personal"])) || (isset($content_pref["content_manager_category"]) && check_class($content_pref["content_manager_category"])) ){
|
|
||||||
$personalmanagercheck = TRUE;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if($personalmanagercheck == TRUE){
|
|
||||||
if($SUBMIT_LINE != TRUE){
|
|
||||||
$content_type_table_string .= $CONTENT_TYPE_TABLE_LINE;
|
|
||||||
}
|
|
||||||
$content_type_table_string .= $tp -> parseTemplate($CONTENT_TYPE_TABLE_MANAGER, FALSE, $content_shortcodes);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
$text = $CONTENT_TYPE_TABLE_START.$content_type_table_string.$CONTENT_TYPE_TABLE_END;
|
$text = $CONTENT_TYPE_TABLE_START.$content_type_table_string.$CONTENT_TYPE_TABLE_END;
|
||||||
}
|
}
|
||||||
$caption = CONTENT_LAN_22;
|
$caption = CONTENT_LAN_22;
|
||||||
$ns -> tablerender($caption, $text);
|
$ns -> tablerender($caption, $text);
|
||||||
$cachecheck = CachePost($cachestr);
|
$cachecheck = CachePost($cachestr);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ##### CONTENT ARCHIVE ------------------------------------------
|
// ##### CONTENT ARCHIVE ------------------------------------------
|
||||||
function show_content_archive(){
|
function show_content_archive(){
|
||||||
global $row, $ns, $plugindir, $plugintable, $sql, $aa, $rs, $e107cache, $tp, $pref, $content_pref, $cobj;
|
global $row, $ns, $plugindir, $plugintable, $sql, $aa, $rs, $e107cache, $tp, $pref, $content_pref, $cobj;
|
||||||
@@ -487,7 +470,6 @@ function show_content_archive(){
|
|||||||
$text .= $CONTENT_ARCHIVE_TABLE_START.$content_archive_table_string.$CONTENT_ARCHIVE_TABLE_END;
|
$text .= $CONTENT_ARCHIVE_TABLE_START.$content_archive_table_string.$CONTENT_ARCHIVE_TABLE_END;
|
||||||
}
|
}
|
||||||
$text = $aa -> getCrumbPage("archive", $array, $mainparent).$text;
|
$text = $aa -> getCrumbPage("archive", $array, $mainparent).$text;
|
||||||
//$caption = CONTENT_LAN_84;
|
|
||||||
$caption = $content_pref['content_archive_caption'];
|
$caption = $content_pref['content_archive_caption'];
|
||||||
$ns->tablerender($caption, $text);
|
$ns->tablerender($caption, $text);
|
||||||
$aa -> ShowNextPrev("archive", $from, $number, $contenttotal);
|
$aa -> ShowNextPrev("archive", $from, $number, $contenttotal);
|
||||||
@@ -1074,20 +1056,22 @@ function show_content_top(){
|
|||||||
|
|
||||||
if(!is_object($sql)){ $sql = new db; }
|
if(!is_object($sql)){ $sql = new db; }
|
||||||
$total = $sql -> db_Select_gen($qry1);
|
$total = $sql -> db_Select_gen($qry1);
|
||||||
if($sql->db_Select_gen($qry2)){
|
if(!$sql->db_Select_gen($qry2)){
|
||||||
|
$text = CONTENT_LAN_37;
|
||||||
|
}else{
|
||||||
while($row = $sql -> db_Fetch()){
|
while($row = $sql -> db_Fetch()){
|
||||||
$CONTENT_TOP_TABLE_AUTHOR = $aa -> prepareAuthor("top", $row['content_author'], $row['content_id']);
|
$CONTENT_TOP_TABLE_AUTHOR = $aa -> prepareAuthor("top", $row['content_author'], $row['content_id']);
|
||||||
$content_top_table_string .= $tp -> parseTemplate($CONTENT_TOP_TABLE, FALSE, $content_shortcodes);
|
$content_top_table_string .= $tp -> parseTemplate($CONTENT_TOP_TABLE, FALSE, $content_shortcodes);
|
||||||
}
|
}
|
||||||
$content_top_table_string = $aa -> getCrumbPage("top", $array, $mainparent).$content_top_table_string;
|
$content_top_table_string = $aa -> getCrumbPage("top", $array, $mainparent).$content_top_table_string;
|
||||||
$text = $CONTENT_TOP_TABLE_START.$content_top_table_string.$CONTENT_TOP_TABLE_END;
|
$text = $CONTENT_TOP_TABLE_START.$content_top_table_string.$CONTENT_TOP_TABLE_END;
|
||||||
$caption = $content_pref['content_top_caption'];
|
|
||||||
if(isset($content_pref['content_top_caption_append_name']) && $content_pref['content_top_caption_append_name']){
|
|
||||||
$caption .= " ".$array[intval($qs[1])][1];
|
|
||||||
}
|
|
||||||
$ns -> tablerender($caption, $text);
|
|
||||||
$aa -> ShowNextPrev("", $from, $number, $total);
|
|
||||||
}
|
}
|
||||||
|
$caption = $content_pref['content_top_caption'];
|
||||||
|
if(isset($content_pref['content_top_caption_append_name']) && $content_pref['content_top_caption_append_name']){
|
||||||
|
$caption .= " ".$array[intval($qs[1])][1];
|
||||||
|
}
|
||||||
|
$ns -> tablerender($caption, $text);
|
||||||
|
$aa -> ShowNextPrev("", $from, $number, $total);
|
||||||
$cachecheck = CachePost($cachestr);
|
$cachecheck = CachePost($cachestr);
|
||||||
unset($qry, $qry1, $qry2, $array, $validparent, $datequery);
|
unset($qry, $qry1, $qry2, $array, $validparent, $datequery);
|
||||||
}
|
}
|
||||||
@@ -1307,7 +1291,7 @@ function show_content_item(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
}else{
|
}else{
|
||||||
$CONTENT_CONTENT_TABLE_SUMMARY = (isset($content_pref["content_content_summary"]) && $content_pref["content_content_summary"] && $row['content_summary'] ? $tp -> toHTML($row['content_summary'], TRUE, "SUMMARY") : "");
|
$CONTENT_CONTENT_TABLE_SUMMARY = (isset($content_pref["content_content_summary"]) && $content_pref["content_content_summary"] && $row['content_summary'] ? $tp -> toHTML($row['content_summary'], TRUE, "SUMMARY") : "");
|
||||||
$CONTENT_CONTENT_TABLE_SUMMARY = $tp -> replaceConstants($CONTENT_CONTENT_TABLE_SUMMARY);
|
$CONTENT_CONTENT_TABLE_SUMMARY = $tp -> replaceConstants($CONTENT_CONTENT_TABLE_SUMMARY);
|
||||||
$lastpage = TRUE;
|
$lastpage = TRUE;
|
||||||
}
|
}
|
||||||
|
@@ -12,8 +12,8 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/content_manager.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/content_manager.php,v $
|
||||||
| $Revision: 1.3 $
|
| $Revision: 1.4 $
|
||||||
| $Date: 2007-01-13 22:33:03 $
|
| $Date: 2007-03-13 16:51:05 $
|
||||||
| $Author: lisa_ $
|
| $Author: lisa_ $
|
||||||
+---------------------------------------------------------------+
|
+---------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
@@ -55,30 +55,33 @@ if(e_QUERY){
|
|||||||
// define e_pagetitle
|
// define e_pagetitle
|
||||||
$aa -> setPageTitle();
|
$aa -> setPageTitle();
|
||||||
|
|
||||||
if(isset($_POST['delete'])){
|
|
||||||
$tmp = array_pop(array_flip($_POST['delete']));
|
|
||||||
list($delete, $del_id) = explode("_", $tmp);
|
|
||||||
}
|
|
||||||
|
|
||||||
//these have to be set for the tinymce wysiwyg
|
//these have to be set for the tinymce wysiwyg
|
||||||
$e_wysiwyg = "content_text";
|
$e_wysiwyg = "content_text";
|
||||||
|
|
||||||
//include js
|
|
||||||
function headerjs(){
|
|
||||||
echo "<script type='text/javascript' src='".e_FILE."popup.js'></script>\n";
|
|
||||||
}
|
|
||||||
// ##### DB ---------------------------------------------------------------------------------------
|
// ##### DB ---------------------------------------------------------------------------------------
|
||||||
|
|
||||||
require_once(HEADERF);
|
require_once(HEADERF);
|
||||||
|
|
||||||
|
//db : content create
|
||||||
if(isset($_POST['create_content'])){
|
if(isset($_POST['create_content'])){
|
||||||
if($_POST['content_text'] && $_POST['content_heading'] && $_POST['parent'] != "none"){
|
//content submit
|
||||||
$adb -> dbContent("create", "contentmanager");
|
if(isset($qs[1]) && $qs[1] == "submit"){
|
||||||
}else{
|
if($_POST['content_text'] && $_POST['content_heading'] && $_POST['parent'] != "none" && $_POST['content_author_name'] != "" && $_POST['content_author_email'] != ""){
|
||||||
$message = CONTENT_ADMIN_ITEM_LAN_0;
|
$adb -> dbContent("create", "submit");
|
||||||
|
}else{
|
||||||
|
$message = CONTENT_ADMIN_SUBMIT_LAN_4;
|
||||||
|
}
|
||||||
|
//content create (manager)
|
||||||
|
}elseif(isset($qs[1]) && $qs[1] == "create"){
|
||||||
|
if($_POST['content_text'] && $_POST['content_heading'] && $_POST['parent'] != "none"){
|
||||||
|
$adb -> dbContent("create", "contentmanager");
|
||||||
|
}else{
|
||||||
|
$message = CONTENT_ADMIN_ITEM_LAN_0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//db : content update
|
||||||
if(isset($_POST['update_content'])){
|
if(isset($_POST['update_content'])){
|
||||||
if($_POST['content_text'] && $_POST['content_heading'] && $_POST['parent'] != "none"){
|
if($_POST['content_text'] && $_POST['content_heading'] && $_POST['parent'] != "none"){
|
||||||
$adb -> dbContent("update", "contentmanager");
|
$adb -> dbContent("update", "contentmanager");
|
||||||
@@ -87,6 +90,11 @@ if(isset($_POST['update_content'])){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//db : content delete
|
||||||
|
if(isset($_POST['delete'])){
|
||||||
|
$tmp = array_pop(array_flip($_POST['delete']));
|
||||||
|
list($delete, $del_id) = explode("_", $tmp);
|
||||||
|
}
|
||||||
if($delete == 'content' && is_numeric($del_id)){
|
if($delete == 'content' && is_numeric($del_id)){
|
||||||
if($sql -> db_Delete($plugintable, "content_id='$del_id' ")){
|
if($sql -> db_Delete($plugintable, "content_id='$del_id' ")){
|
||||||
$message = CONTENT_ADMIN_ITEM_LAN_3;
|
$message = CONTENT_ADMIN_ITEM_LAN_3;
|
||||||
@@ -94,11 +102,44 @@ if($delete == 'content' && is_numeric($del_id)){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//render message
|
||||||
if(isset($message)){
|
if(isset($message)){
|
||||||
$ns -> tablerender("", "<div style='text-align:center'><b>".$message."</b></div>");
|
$ns -> tablerender("", "<div style='text-align:center'><b>".$message."</b></div>");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//db : returned messages
|
||||||
|
|
||||||
|
//content item submitted (with direct posting)
|
||||||
|
if(isset($qs[0]) && $qs[0] == "s"){
|
||||||
|
$message = CONTENT_ADMIN_SUBMIT_LAN_2."<br /><br />".CONTENT_ADMIN_SUBMIT_LAN_5;
|
||||||
|
$ns -> tablerender("", "<div style='text-align:center'><b>".$message."</b></div>");
|
||||||
|
require_once(FOOTERF);
|
||||||
|
exit;
|
||||||
|
|
||||||
|
//content item submitted and reviewed in due course (without direct posting)
|
||||||
|
}elseif(isset($qs[0]) && $qs[0] == "d"){
|
||||||
|
$message = CONTENT_ADMIN_SUBMIT_LAN_3."<br /><br />".CONTENT_ADMIN_SUBMIT_LAN_5;
|
||||||
|
$ns -> tablerender("", "<div style='text-align:center'><b>".$message."</b></div>");
|
||||||
|
require_once(FOOTERF);
|
||||||
|
exit;
|
||||||
|
|
||||||
|
//content item created (personal/category manager)
|
||||||
|
}elseif(isset($qs[0]) && $qs[0] == "c"){
|
||||||
|
$message = CONTENT_ADMIN_ITEM_LAN_1."<br /><br />".CONTENT_ADMIN_ITEM_LAN_55;
|
||||||
|
$ns -> tablerender("", "<div style='text-align:center'><b>".$message."</b></div>");
|
||||||
|
require_once(FOOTERF);
|
||||||
|
exit;
|
||||||
|
|
||||||
|
//content item updated (personal/category manager)
|
||||||
|
}elseif(isset($qs[0]) && $qs[0] == "u"){
|
||||||
|
$message = CONTENT_ADMIN_ITEM_LAN_2."<br /><br />".CONTENT_ADMIN_ITEM_LAN_55;
|
||||||
|
$ns -> tablerender("", "<div style='text-align:center'><b>".$message."</b></div>");
|
||||||
|
require_once(FOOTERF);
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
if(!e_QUERY){
|
if(!e_QUERY){
|
||||||
|
//show content manager/submit options
|
||||||
if(USERID){
|
if(USERID){
|
||||||
$aform -> show_contentmanager("edit", USERID, USERNAME);
|
$aform -> show_contentmanager("edit", USERID, USERNAME);
|
||||||
require_once(FOOTERF);
|
require_once(FOOTERF);
|
||||||
@@ -108,39 +149,86 @@ if(!e_QUERY){
|
|||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
|
|
||||||
if($qs[0] == "c"){
|
//validate permissions
|
||||||
$message = CONTENT_ADMIN_ITEM_LAN_1."<br /><br />".CONTENT_ADMIN_ITEM_LAN_55;
|
if(isset($qs[1]) && ($qs[1]=='edit' || $qs[1]=='sa') ){
|
||||||
$ns -> tablerender("", "<div style='text-align:center'><b>".$message."</b></div>");
|
//on the edit page, the query id holds the content item's id number
|
||||||
require_once(FOOTERF);
|
//we need to get the category (parent) of the content item first
|
||||||
exit;
|
//this is both on the 'edit' page as well as on the 'post submitted' page.
|
||||||
|
if(!$sql -> db_Select($plugintable, "content_id, content_parent", "content_id='".intval($qs[2])."' ")){
|
||||||
|
//not a valid item, so redirect
|
||||||
|
header("location: ".e_SELF); exit;
|
||||||
|
}else{
|
||||||
|
$row = $sql -> db_Fetch();
|
||||||
|
//parent can be '0' (top level) or '0.X (subcategory)
|
||||||
|
if(strpos($row['content_parent'], ".")){
|
||||||
|
$id = substr($row['content_parent'],2);
|
||||||
|
}else{
|
||||||
|
$id = $row['content_parent'];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}elseif($qs[0] == "u"){
|
}else{
|
||||||
$message = CONTENT_ADMIN_ITEM_LAN_2."<br /><br />".CONTENT_ADMIN_ITEM_LAN_55;
|
//on other pages in the manager either $qs[2] or $qs[1] holds the category id number
|
||||||
$ns -> tablerender("", "<div style='text-align:center'><b>".$message."</b></div>");
|
if(isset($qs[2]) && is_numeric($qs[2]) ){
|
||||||
require_once(FOOTERF);
|
$id = intval($qs[2]);
|
||||||
exit;
|
}elseif(isset($qs[1]) && is_numeric($qs[1]) ){
|
||||||
|
$id = intval($qs[1]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if(!isset($id)){
|
||||||
|
header("location: ".e_SELF); exit;
|
||||||
|
}
|
||||||
|
|
||||||
|
//get preferences for this category
|
||||||
|
$content_pref = $aa->getContentPref($id);
|
||||||
|
|
||||||
|
//if inherit is used in the manager, we need to get the preferences from the core plugin table default preferences
|
||||||
|
//and use those preferences in the permissions check.
|
||||||
|
if(isset($content_pref['content_manager_inherit']) && $content_pref['content_manager_inherit']){
|
||||||
|
$sql -> db_Select("core", "*", "e107_name='$plugintable' ");
|
||||||
|
$row = $sql -> db_Fetch();
|
||||||
|
$content_pref = $eArrayStorage->ReadArray($row['e107_value']);
|
||||||
|
}
|
||||||
|
|
||||||
|
//now we can check the permissions for this user
|
||||||
|
$personalmanagercheck = FALSE;
|
||||||
|
if( (isset($content_pref["content_manager_approve"]) && check_class($content_pref["content_manager_approve"])) ||
|
||||||
|
(isset($content_pref["content_manager_personal"]) && check_class($content_pref["content_manager_personal"])) ||
|
||||||
|
(isset($content_pref["content_manager_category"]) && check_class($content_pref["content_manager_category"])) ||
|
||||||
|
(isset($content_pref["content_manager_submit"]) && check_class($content_pref["content_manager_submit"]))
|
||||||
|
){
|
||||||
|
$personalmanagercheck = TRUE;
|
||||||
|
//user is not allowed here, redirect to content frontpage
|
||||||
|
}else{
|
||||||
|
header("location:".$plugindir."content.php"); exit;
|
||||||
|
}
|
||||||
|
|
||||||
//show list of items in this category
|
//show list of items in this category
|
||||||
}elseif($qs[0] == "content" && is_numeric($qs[1])){
|
if(isset($qs[0]) && $qs[0] == "content" && is_numeric($qs[1])){
|
||||||
$aform -> show_manage_content("contentmanager", USERID, USERNAME);
|
$aform -> show_manage_content("contentmanager", USERID, USERNAME);
|
||||||
|
|
||||||
//create new item
|
//content create (manager)
|
||||||
}elseif($qs[0] == "content" && $qs[1] == "create" && is_numeric($qs[2])){
|
}elseif(isset($qs[0]) && $qs[0] == "content" && $qs[1] == "create" && is_numeric($qs[2])){
|
||||||
$aform -> show_create_content("contentmanager", USERID, USERNAME);
|
$aform -> show_create_content("contentmanager", USERID, USERNAME);
|
||||||
|
|
||||||
//edit item
|
//content create (submit)
|
||||||
}elseif($qs[0] == "content" && $qs[1] == "edit" && is_numeric($qs[2])){
|
}elseif(isset($qs[0]) && $qs[0]=="content" && $qs[1] == "submit" && is_numeric($qs[2]) && !isset($qs[3])){
|
||||||
|
$aform -> show_create_content("submit", USERID, USERNAME);
|
||||||
|
|
||||||
|
//content edit
|
||||||
|
}elseif(isset($qs[0]) && $qs[0] == "content" && $qs[1] == "edit" && is_numeric($qs[2])){
|
||||||
$aform -> show_create_content("contentmanager", USERID, USERNAME);
|
$aform -> show_create_content("contentmanager", USERID, USERNAME);
|
||||||
|
|
||||||
//manage submitted
|
//display list of submitted content items
|
||||||
}elseif($qs[0] == "content" && $qs[1] == "submitted" && is_numeric($qs[2])){
|
}elseif(isset($qs[0]) && $qs[0] == "content" && $qs[1] == "approve" && is_numeric($qs[2])){
|
||||||
//$aform -> show_submitted("contentmanager", USERID, USERNAME, $qs[2]);
|
//$aform -> show_submitted("contentmanager", USERID, USERNAME, $qs[2]);
|
||||||
$aform -> show_submitted($qs[2]);
|
$aform -> show_submitted($qs[2]);
|
||||||
|
|
||||||
//post submitted content item
|
//approve/post submitted content item
|
||||||
}elseif($qs[0] == "content" && $qs[1] == "sa" && is_numeric($qs[2]) ){
|
}elseif(isset($qs[0]) && $qs[0] == "content" && $qs[1] == "sa" && is_numeric($qs[2]) ){
|
||||||
$newqs = array_reverse($qs);
|
$newqs = array_reverse($qs);
|
||||||
if($newqs[0] == "cu"){ //item; submit post / update redirect
|
//item; submit post / update redirect
|
||||||
|
if($newqs[0] == "cu"){
|
||||||
$mainparent = $aa -> getMainParent($qs[2]);
|
$mainparent = $aa -> getMainParent($qs[2]);
|
||||||
$message = CONTENT_ADMIN_ITEM_LAN_117."<br /><br />";
|
$message = CONTENT_ADMIN_ITEM_LAN_117."<br /><br />";
|
||||||
$message .= CONTENT_ADMIN_ITEM_LAN_88." <a href='".e_SELF."?content.create.".$mainparent."'>".CONTENT_ADMIN_ITEM_LAN_90."</a><br />";
|
$message .= CONTENT_ADMIN_ITEM_LAN_88." <a href='".e_SELF."?content.create.".$mainparent."'>".CONTENT_ADMIN_ITEM_LAN_90."</a><br />";
|
||||||
|
File diff suppressed because it is too large
Load Diff
@@ -1,137 +0,0 @@
|
|||||||
<?php
|
|
||||||
/*
|
|
||||||
+---------------------------------------------------------------+
|
|
||||||
| e107 website system
|
|
||||||
| /admin/review.php
|
|
||||||
|
|
|
||||||
| <20>Steve Dunstan 2001-2002
|
|
||||||
| http://e107.org
|
|
||||||
| jalist@e107.org
|
|
||||||
|
|
|
||||||
| Released under the terms and conditions of the
|
|
||||||
| GNU General Public License (http://gnu.org).
|
|
||||||
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/content_submit.php,v $
|
|
||||||
| $Revision: 1.3 $
|
|
||||||
| $Date: 2007-01-14 11:59:11 $
|
|
||||||
| $Author: lisa_ $
|
|
||||||
+---------------------------------------------------------------+
|
|
||||||
*/
|
|
||||||
|
|
||||||
require_once("../../class2.php");
|
|
||||||
|
|
||||||
$plugindir = e_PLUGIN."content/";
|
|
||||||
|
|
||||||
require_once($plugindir."content_shortcodes.php");
|
|
||||||
require_once(e_HANDLER."form_handler.php");
|
|
||||||
require_once(e_HANDLER."userclass_class.php");
|
|
||||||
$rs = new form;
|
|
||||||
require_once($plugindir."handlers/content_class.php");
|
|
||||||
$aa = new content;
|
|
||||||
require_once($plugindir."handlers/content_db_class.php");
|
|
||||||
$adb = new contentdb;
|
|
||||||
require_once($plugindir."handlers/content_form_class.php");
|
|
||||||
$aform = new contentform;
|
|
||||||
require_once(e_HANDLER."file_class.php");
|
|
||||||
$fl = new e_file;
|
|
||||||
e107_require_once(e_HANDLER.'arraystorage_class.php');
|
|
||||||
$eArrayStorage = new ArrayData();
|
|
||||||
|
|
||||||
//these have to be set for the tinymce wysiwyg
|
|
||||||
$e_wysiwyg = "content_text";
|
|
||||||
global $tp;
|
|
||||||
|
|
||||||
include_lan($plugindir.'languages/'.e_LANGUAGE.'/lan_content_admin.php');
|
|
||||||
include_lan($plugindir.'languages/'.e_LANGUAGE.'/lan_content.php');
|
|
||||||
|
|
||||||
if(is_readable(e_THEME.$pref['sitetheme']."/content/content_admin_template.php")){
|
|
||||||
require_once(e_THEME.$pref['sitetheme']."/content/content_admin_template.php");
|
|
||||||
}else{
|
|
||||||
require_once(e_PLUGIN."content/templates/content_admin_template.php");
|
|
||||||
}
|
|
||||||
|
|
||||||
if(e_QUERY){
|
|
||||||
$qs = explode(".", e_QUERY);
|
|
||||||
}
|
|
||||||
|
|
||||||
// define e_pagetitle
|
|
||||||
$aa -> setPageTitle();
|
|
||||||
|
|
||||||
require_once(HEADERF);
|
|
||||||
|
|
||||||
if(isset($_POST['create_content'])){
|
|
||||||
if($_POST['content_text'] && $_POST['content_heading'] && $_POST['parent'] != "none" && $_POST['content_author_name'] != "" && $_POST['content_author_email'] != ""){
|
|
||||||
$adb -> dbContent("create", "submit");
|
|
||||||
}else{
|
|
||||||
$message = CONTENT_ADMIN_SUBMIT_LAN_4;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if(isset($qs[0]) && $qs[0] == "s"){
|
|
||||||
$message = CONTENT_ADMIN_SUBMIT_LAN_2."<br /><br />".CONTENT_ADMIN_SUBMIT_LAN_5;
|
|
||||||
$ns -> tablerender("", "<div style='text-align:center'><b>".$message."</b></div>");
|
|
||||||
require_once(FOOTERF);
|
|
||||||
exit;
|
|
||||||
}
|
|
||||||
if(isset($qs[0]) && $qs[0] == "d"){
|
|
||||||
$message = CONTENT_ADMIN_SUBMIT_LAN_3."<br /><br />".CONTENT_ADMIN_SUBMIT_LAN_5;
|
|
||||||
$ns -> tablerender("", "<div style='text-align:center'><b>".$message."</b></div>");
|
|
||||||
require_once(FOOTERF);
|
|
||||||
exit;
|
|
||||||
}
|
|
||||||
|
|
||||||
if(isset($message)){
|
|
||||||
$ns -> tablerender("", "<div style='text-align:center'><b>".$message."</b></div>");
|
|
||||||
}
|
|
||||||
|
|
||||||
if(!isset($qs[0])){
|
|
||||||
if(!$sql -> db_Select($plugintable, "content_id, content_heading, content_subheading, content_icon, content_pref", "content_parent = '0' AND content_class REGEXP '".e_CLASS_REGEXP."' ORDER BY content_heading")){
|
|
||||||
$text .= "<div style='text-align:center;'>".CONTENT_ADMIN_SUBMIT_LAN_0."</div>";
|
|
||||||
}else{
|
|
||||||
if(!isset($CONTENT_SUBMIT_TYPE_TABLE)){
|
|
||||||
if(is_readable(e_THEME.$pref['sitetheme']."/content/content_submit_type_template.php")){
|
|
||||||
require_once(e_THEME.$pref['sitetheme']."/content/content_submit_type_template.php");
|
|
||||||
}else{
|
|
||||||
require_once(e_PLUGIN."content/templates/content_submit_type_template.php");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
$sql2 = "";
|
|
||||||
$content_submit_type_table_string = "";
|
|
||||||
$count = "0";
|
|
||||||
while($row = $sql -> db_Fetch()){
|
|
||||||
if(!is_object($sql2)){ $sql2 = new db; }
|
|
||||||
|
|
||||||
$content_pref = $eArrayStorage->ReadArray($row['content_pref']);
|
|
||||||
$content_pref["content_cat_icon_path_large"] = ($content_pref["content_cat_icon_path_large"] ? $content_pref["content_cat_icon_path_large"] : "{e_PLUGIN}content/images/cat/48/" );
|
|
||||||
$content_pref["content_cat_icon_path_small"] = ($content_pref["content_cat_icon_path_small"] ? $content_pref["content_cat_icon_path_small"] : "{e_PLUGIN}content/images/cat/16/" );
|
|
||||||
$content_cat_icon_path_large = $tp -> replaceConstants($content_pref["content_cat_icon_path_large"]);
|
|
||||||
$content_cat_icon_path_small = $tp -> replaceConstants($content_pref["content_cat_icon_path_small"]);
|
|
||||||
$content_icon_path = $tp -> replaceConstants($content_pref["content_icon_path"]);
|
|
||||||
if($content_pref["content_submit"] && check_class($content_pref["content_submit_class"])){
|
|
||||||
$content_submit_type_table_string .= $tp -> parseTemplate($CONTENT_SUBMIT_TYPE_TABLE, FALSE, $content_shortcodes);
|
|
||||||
$count = $count + 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if($count == "0"){
|
|
||||||
$text .= "<div style='text-align:center;'>".CONTENT_ADMIN_SUBMIT_LAN_0."</div>";
|
|
||||||
}else{
|
|
||||||
$text = $CONTENT_SUBMIT_TYPE_TABLE_START.$content_submit_type_table_string.$CONTENT_SUBMIT_TYPE_TABLE_END;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
$caption = CONTENT_ADMIN_SUBMIT_LAN_1;
|
|
||||||
$ns -> tablerender($caption, $text);
|
|
||||||
}
|
|
||||||
|
|
||||||
if(isset($qs[0]) && $qs[0]=="content" && $qs[1] == "submit" && is_numeric($qs[2]) && !isset($qs[3])){
|
|
||||||
//check if valid categories exist for this main parent
|
|
||||||
$array = $aa -> getCategoryTree("", intval($qs[2]), TRUE);
|
|
||||||
$validparent = implode(",", array_keys($array));
|
|
||||||
$qry = " content_parent REGEXP '".$aa -> CONTENTREGEXP($validparent)."' ";
|
|
||||||
$sql2 = new db;
|
|
||||||
//$contenttotal = $sql2 -> db_Count($plugintable, "(*)", "WHERE ".$qry." ".$datequery." AND content_class REGEXP '".e_CLASS_REGEXP."' " );
|
|
||||||
$aform -> show_create_content("submit");
|
|
||||||
}
|
|
||||||
|
|
||||||
require_once(FOOTERF);
|
|
||||||
|
|
||||||
?>
|
|
@@ -11,9 +11,9 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/content_update.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/content_update.php,v $
|
||||||
| $Revision: 1.2 $
|
| $Revision: 1.3 $
|
||||||
| $Date: 2006-12-31 14:46:30 $
|
| $Date: 2007-03-13 16:51:05 $
|
||||||
| $Author: e107coders $
|
| $Author: lisa_ $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
if (!defined('e107_INIT')) { exit; }
|
if (!defined('e107_INIT')) { exit; }
|
||||||
@@ -32,8 +32,7 @@ $aa = new content;
|
|||||||
require_once($plugindir."handlers/content_convert_class.php");
|
require_once($plugindir."handlers/content_convert_class.php");
|
||||||
$ac = new content_convert;
|
$ac = new content_convert;
|
||||||
|
|
||||||
$lan_file = $plugindir.'languages/'.e_LANGUAGE.'/lan_content_admin.php';
|
include_lan(e_PLUGIN."content/languages/".e_LANGUAGE."/lan_content_admin.php");
|
||||||
include_once(file_exists($lan_file) ? $lan_file : $plugindir.'languages/English/lan_content_admin.php');
|
|
||||||
|
|
||||||
if($sql->db_Select("plugin", "plugin_version", "plugin_path = 'content'"))
|
if($sql->db_Select("plugin", "plugin_version", "plugin_path = 'content'"))
|
||||||
{
|
{
|
||||||
|
@@ -11,9 +11,9 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/content_update_check.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/content_update_check.php,v $
|
||||||
| $Revision: 1.1.1.1 $
|
| $Revision: 1.2 $
|
||||||
| $Date: 2006-12-02 04:34:56 $
|
| $Date: 2007-03-13 16:51:05 $
|
||||||
| $Author: mcfly_e107 $
|
| $Author: lisa_ $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -79,7 +79,4 @@ function update_content_07($type='')
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
@@ -12,9 +12,7 @@ function print_item($id)
|
|||||||
$aa = new content;
|
$aa = new content;
|
||||||
|
|
||||||
require_once(e_PLUGIN."content/content_shortcodes.php");
|
require_once(e_PLUGIN."content/content_shortcodes.php");
|
||||||
|
include_lan(e_PLUGIN."content/languages/".e_LANGUAGE."/lan_content.php");
|
||||||
$lan_file = e_PLUGIN."content/languages/".e_LANGUAGE."/lan_content.php";
|
|
||||||
include_once(file_exists($lan_file) ? $lan_file : e_PLUGIN."content/languages/English/lan_content.php");
|
|
||||||
|
|
||||||
if(!is_object($sql)){ $sql = new db; }
|
if(!is_object($sql)){ $sql = new db; }
|
||||||
$sql -> db_Select($plugintable, "content_id, content_heading, content_subheading, content_text, content_author, content_image, content_parent, content_datestamp, content_class", "content_id='".intval($id)."' ");
|
$sql -> db_Select($plugintable, "content_id, content_heading, content_subheading, content_text, content_author, content_image, content_parent, content_datestamp, content_class", "content_id='".intval($id)."' ");
|
||||||
|
@@ -2,8 +2,7 @@
|
|||||||
|
|
||||||
if (!defined('e107_INIT')) { exit; }
|
if (!defined('e107_INIT')) { exit; }
|
||||||
|
|
||||||
@include_once(e_PLUGIN.'content/languages/'.e_LANGUAGE.'/lan_content_frontpage.php');
|
include_lan(e_PLUGIN."content/languages/".e_LANGUAGE."/lan_content_frontpage.php");
|
||||||
@include_once(e_PLUGIN.'content/languages/English/lan_content_frontpage.php');
|
|
||||||
|
|
||||||
$sql2 = new db;
|
$sql2 = new db;
|
||||||
if ($sql2 -> db_Select("pcontent", "content_id, content_heading", "LEFT(content_parent,1)='0'")) {
|
if ($sql2 -> db_Select("pcontent", "content_id, content_heading", "LEFT(content_parent,1)='0'")) {
|
||||||
|
@@ -1,8 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
if (!defined('e107_INIT')) { exit; }
|
if (!defined('e107_INIT')) { exit; }
|
||||||
|
|
||||||
$lan_file = $plugindir.'languages/'.e_LANGUAGE.'/lan_content_admin.php';
|
include_lan(e_PLUGIN."content/languages/".e_LANGUAGE."/lan_content_admin.php");
|
||||||
include_once(file_exists($lan_file) ? $lan_file : $plugindir.'languages/English/lan_content_admin.php');
|
|
||||||
|
|
||||||
$plugintable = "pcontent";
|
$plugintable = "pcontent";
|
||||||
$reported_content = $sql -> db_Count($plugintable, '(*)', "WHERE content_refer='sa' ");
|
$reported_content = $sql -> db_Count($plugintable, '(*)', "WHERE content_refer='sa' ");
|
||||||
|
@@ -11,14 +11,13 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/e_notify.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/e_notify.php,v $
|
||||||
| $Revision: 1.1.1.1 $
|
| $Revision: 1.2 $
|
||||||
| $Date: 2006-12-02 04:34:56 $
|
| $Date: 2007-03-13 16:51:05 $
|
||||||
| $Author: mcfly_e107 $
|
| $Author: lisa_ $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$lan_file = e_PLUGIN."content/languages/".e_LANGUAGE."/lan_content.php";
|
include_lan(e_PLUGIN."content/languages/".e_LANGUAGE."/lan_content.php");
|
||||||
include_once(file_exists($lan_file) ? $lan_file : e_PLUGIN."content/languages/English/lan_content.php");
|
|
||||||
|
|
||||||
$config_category = CONTENT_NOTIFY_LAN_1;
|
$config_category = CONTENT_NOTIFY_LAN_1;
|
||||||
$config_events = array('content' => CONTENT_NOTIFY_LAN_2);
|
$config_events = array('content' => CONTENT_NOTIFY_LAN_2);
|
||||||
|
@@ -2,8 +2,6 @@
|
|||||||
|
|
||||||
if (!defined('e107_INIT')) { exit; }
|
if (!defined('e107_INIT')) { exit; }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
require_once(e_PLUGIN."content/handlers/content_class.php");
|
require_once(e_PLUGIN."content/handlers/content_class.php");
|
||||||
$aa = new content;
|
$aa = new content;
|
||||||
|
|
||||||
|
@@ -1,11 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
if (!defined('e107_INIT')) { exit; }
|
if (!defined('e107_INIT')) { exit; }
|
||||||
|
|
||||||
if (file_exists(e_PLUGIN."content/languages/".e_LANGUAGE."/lan_content_search.php")) {
|
include_lan(e_PLUGIN."content/languages/".e_LANGUAGE."/lan_content_search.php");
|
||||||
include_once(e_PLUGIN."content/languages/".e_LANGUAGE."/lan_content_search.php");
|
|
||||||
} else {
|
|
||||||
include_once(e_PLUGIN."content/languages/English/lan_content_search.php");
|
|
||||||
}
|
|
||||||
$search_info[] = array( 'sfile' => e_PLUGIN.'content/search/search_parser.php', 'qtype' => CONT_SCH_LAN_1, 'refpage' => 'content.php', 'advanced' => e_PLUGIN.'content/search/search_advanced.php');
|
$search_info[] = array( 'sfile' => e_PLUGIN.'content/search/search_parser.php', 'qtype' => CONT_SCH_LAN_1, 'refpage' => 'content.php', 'advanced' => e_PLUGIN.'content/search/search_advanced.php');
|
||||||
|
|
||||||
?>
|
?>
|
@@ -1,8 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
if (!defined('e107_INIT')) { exit; }
|
if (!defined('e107_INIT')) { exit; }
|
||||||
|
|
||||||
$lan_file = $plugindir.'languages/'.e_LANGUAGE.'/lan_content_admin.php';
|
include_lan(e_PLUGIN."content/languages/".e_LANGUAGE."/lan_content_admin.php");
|
||||||
include_once(file_exists($lan_file) ? $lan_file : $plugindir.'languages/English/lan_content_admin.php');
|
|
||||||
|
|
||||||
$sql2 = new db;
|
$sql2 = new db;
|
||||||
$total = $sql -> db_Count("pcontent", "(*)", "WHERE LEFT(content_parent,1) != '0' AND content_refer != 'sa'");
|
$total = $sql -> db_Count("pcontent", "(*)", "WHERE LEFT(content_parent,1) != '0' AND content_refer != 'sa'");
|
||||||
|
@@ -12,8 +12,8 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/handlers/content_class.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/handlers/content_class.php,v $
|
||||||
| $Revision: 1.9 $
|
| $Revision: 1.10 $
|
||||||
| $Date: 2007-03-01 09:35:17 $
|
| $Date: 2007-03-13 16:51:05 $
|
||||||
| $Author: lisa_ $
|
| $Author: lisa_ $
|
||||||
+---------------------------------------------------------------+
|
+---------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
@@ -35,337 +35,346 @@ class content{
|
|||||||
global $tp;
|
global $tp;
|
||||||
|
|
||||||
//ADMIN CREATE FORM
|
//ADMIN CREATE FORM
|
||||||
$content_pref['content_admin_subheading'] = "1"; //should subheading be available
|
$cp['content_admin_subheading'] = '1'; //should subheading be available
|
||||||
$content_pref['content_admin_summary'] = "1"; //should summary be available
|
$cp['content_admin_summary'] = '1'; //should summary be available
|
||||||
$content_pref['content_admin_startdate'] = "1"; //should start date be available
|
$cp['content_admin_startdate'] = '1'; //should start date be available
|
||||||
$content_pref['content_admin_enddate'] = "1"; //should end date be available
|
$cp['content_admin_enddate'] = '1'; //should end date be available
|
||||||
$content_pref['content_admin_icon'] = "0"; //should icon be available to add when creating an item
|
$cp['content_admin_icon'] = ''; //should icon be available to add when creating an item
|
||||||
$content_pref['content_admin_attach'] = "0"; //should file be available to add when creating an item
|
$cp['content_admin_attach'] = ''; //should file be available to add when creating an item
|
||||||
$content_pref['content_admin_images'] = "0"; //should image be available to add when creating an item
|
$cp['content_admin_images'] = ''; //should image be available to add when creating an item
|
||||||
$content_pref['content_admin_comment'] = "1"; //should comment be available to add when creating an item
|
$cp['content_admin_comment'] = '1'; //should comment be available to add when creating an item
|
||||||
$content_pref['content_admin_rating'] = "1"; //should rating be available to add when creating an item
|
$cp['content_admin_rating'] = '1'; //should rating be available to add when creating an item
|
||||||
$content_pref['content_admin_score'] = "1"; //should score be available to add when creating an item
|
$cp['content_admin_score'] = '1'; //should score be available to add when creating an item
|
||||||
$content_pref['content_admin_pe'] = "1"; //should printemailicons be available to add when creating an item
|
$cp['content_admin_pe'] = '1'; //should printemailicons be available to add when creating an item
|
||||||
$content_pref['content_admin_visibility'] = "1"; //should visibility be available to add when creating an item
|
$cp['content_admin_visibility'] = '1'; //should visibility be available to add when creating an item
|
||||||
$content_pref['content_admin_meta'] = "0"; //should metatags be available to add when creating an item
|
$cp['content_admin_meta'] = ''; //should metatags be available to add when creating an item
|
||||||
$content_pref['content_admin_custom_number'] = "0"; //how many customtags should be available to add when creating an item
|
$cp['content_admin_custom_number'] = ''; //how many customtags should be available to add when creating an item
|
||||||
$content_pref['content_admin_images_number'] = "0"; //how many images should be available to add when creating an item
|
$cp['content_admin_images_number'] = '2'; //how many images should be available to add when creating an item
|
||||||
$content_pref['content_admin_files_number'] = "0"; //how many files should be available to add when creating an item
|
$cp['content_admin_files_number'] = '1'; //how many files should be available to add when creating an item
|
||||||
$content_pref['content_admin_layout'] = "0"; //should the option for choosing a layout template be shown
|
$cp['content_admin_layout'] = ''; //should the option for choosing a layout template be shown
|
||||||
$content_pref['content_admin_customtags'] = "0"; //should options for adding additional data be shown
|
$cp['content_admin_customtags'] = ''; //should options for adding additional data be shown
|
||||||
$content_pref['content_admin_presettags'] = "0"; //should preset data tags be shown
|
$cp['content_admin_presettags'] = ''; //should preset data tags be shown
|
||||||
|
|
||||||
//ADMIN CREATE CATEGORY FORM
|
//ADMIN CREATE CATEGORY FORM
|
||||||
$content_pref['content_admincat_subheading'] = '1'; //should subheading be available
|
$cp['content_admincat_subheading'] = '1'; //should subheading be available
|
||||||
$content_pref['content_admincat_startdate'] = '1'; //should startdate be available
|
$cp['content_admincat_startdate'] = '1'; //should startdate be available
|
||||||
$content_pref['content_admincat_enddate'] = '1'; //should enddate be available
|
$cp['content_admincat_enddate'] = '1'; //should enddate be available
|
||||||
$content_pref['content_admincat_uploadicon'] = '1'; //should uploadicon be available
|
$cp['content_admincat_uploadicon'] = '1'; //should uploadicon be available
|
||||||
$content_pref['content_admincat_selecticon'] = '1'; //should selecticon be available
|
$cp['content_admincat_selecticon'] = '1'; //should selecticon be available
|
||||||
$content_pref['content_admincat_comment'] = '1'; //should comment be available
|
$cp['content_admincat_comment'] = '1'; //should comment be available
|
||||||
$content_pref['content_admincat_rating'] = '1'; //should rating be available
|
$cp['content_admincat_rating'] = '1'; //should rating be available
|
||||||
$content_pref['content_admincat_pe'] = '1'; //should print email icons be available
|
$cp['content_admincat_pe'] = '1'; //should print email icons be available
|
||||||
$content_pref['content_admincat_visibility'] = '1'; //should visibility be available
|
$cp['content_admincat_visibility'] = '1'; //should visibility be available
|
||||||
|
|
||||||
//SUBMIT FORM
|
|
||||||
$content_pref['content_submit'] = "0"; //should users be able to submit an item
|
|
||||||
$content_pref['content_submit_class'] = "0"; //define which userclass is able to submit an item
|
|
||||||
$content_pref['content_submit_directpost'] ="0"; //should submission be direclty posted as an item, or have them validated by admins
|
|
||||||
$content_pref['content_submit_subheading'] = '1'; //should subheading be available
|
|
||||||
$content_pref['content_submit_summary'] = '1'; //should summary be available
|
|
||||||
$content_pref['content_submit_startdate'] = '1'; //should startdate be available
|
|
||||||
$content_pref['content_submit_enddate'] = '1'; //should enddate be available
|
|
||||||
$content_pref['content_submit_icon'] = "0"; //should icon be available to add when submitting an item
|
|
||||||
$content_pref['content_submit_attach'] = "0"; //should file be available to add when submitting an item
|
|
||||||
$content_pref['content_submit_images'] = "0"; //should image be available to add when submitting an item
|
|
||||||
$content_pref['content_submit_comment'] = "0"; //should comment be available to add when submitting an item
|
|
||||||
$content_pref['content_submit_rating'] = "0"; //should rating be available to add when submitting an item
|
|
||||||
$content_pref['content_submit_score'] = "0"; //should score be available to add when submitting an item
|
|
||||||
$content_pref['content_submit_pe'] = "0"; //should printemailicons be available to add when submitting an item
|
|
||||||
$content_pref['content_submit_visibility'] = "0"; //should visibility be available to add when submitting an item
|
|
||||||
$content_pref['content_submit_meta'] = "0"; //should metatags be available to add when submitting an item
|
|
||||||
$content_pref['content_submit_custom_number'] = "0"; //how many customtags should be available to add when submitting an item
|
|
||||||
$content_pref['content_submit_images_number'] = "0"; //how many images should be available to add when submitting an item
|
|
||||||
$content_pref['content_submit_files_number'] = "0"; //how many files should be available to add when submitting an item
|
|
||||||
$content_pref['content_submit_layout'] = "0"; //should the option for choosing a layout template be shown
|
|
||||||
$content_pref['content_submit_customtags'] = "0"; //should options for adding additional data be shown
|
|
||||||
$content_pref['content_submit_presettags'] = "0"; //should preset data tags be shown
|
|
||||||
|
|
||||||
//PATH THEME CSS
|
//PATH THEME CSS
|
||||||
$content_pref['content_cat_icon_path_large'] = "{e_PLUGIN}content/images/cat/48/"; //default path to large categry icons
|
$cp['content_cat_icon_path_large'] = '{e_PLUGIN}content/images/cat/48/'; //default path to large categry icons
|
||||||
$content_pref['content_cat_icon_path_small'] = "{e_PLUGIN}content/images/cat/16/"; //default path to small category icons
|
$cp['content_cat_icon_path_small'] = '{e_PLUGIN}content/images/cat/16/'; //default path to small category icons
|
||||||
|
|
||||||
$content_pref['content_icon_path'] = "{e_PLUGIN}content/images/icon/"; //default path to item icons
|
$cp['content_icon_path'] = '{e_PLUGIN}content/images/icon/'; //default path to item icons
|
||||||
$content_pref['content_icon_path_tmp'] = "{e_PLUGIN}content/images/icon/tmp/"; //default tmp path to item icons
|
$cp['content_icon_path_tmp'] = '{e_PLUGIN}content/images/icon/tmp/'; //default tmp path to item icons
|
||||||
|
|
||||||
$content_pref['content_image_path'] = "{e_PLUGIN}content/images/image/"; //default path to item images
|
$cp['content_image_path'] = '{e_PLUGIN}content/images/image/'; //default path to item images
|
||||||
$content_pref['content_image_path_tmp'] = "{e_PLUGIN}content/images/image/tmp/"; //default tmp path to item images
|
$cp['content_image_path_tmp'] = '{e_PLUGIN}content/images/image/tmp/'; //default tmp path to item images
|
||||||
|
|
||||||
$content_pref['content_file_path'] = "{e_PLUGIN}content/images/file/"; //default path to item file attachments
|
$cp['content_file_path'] = '{e_PLUGIN}content/images/file/'; //default path to item file attachments
|
||||||
$content_pref['content_file_path_tmp'] = "{e_PLUGIN}content/images/file/tmp/"; //default tmp path to item file attachments
|
$cp['content_file_path_tmp'] = '{e_PLUGIN}content/images/file/tmp/'; //default tmp path to item file attachments
|
||||||
|
|
||||||
$content_pref['content_theme'] = "{e_PLUGIN}content/templates/default/"; //choose theme for main parent
|
$cp['content_theme'] = '{e_PLUGIN}content/templates/default/'; //choose theme for main parent
|
||||||
$content_pref['content_layout'] = "content_content_template.php"; //choose default layout scheme
|
$cp['content_layout'] = 'content_content_template.php'; //choose default layout scheme
|
||||||
|
|
||||||
//GENERAL
|
//GENERAL
|
||||||
$content_pref['content_log'] = "0"; //activate log
|
$cp['content_log'] = ''; //activate log
|
||||||
$content_pref['content_blank_icon'] = "0"; //use blank icon if no icon present
|
$cp['content_blank_icon'] = ''; //use blank icon if no icon present
|
||||||
$content_pref['content_blank_caticon'] = "0"; //use blank caticon if no caticon present
|
$cp['content_blank_caticon'] = ''; //use blank caticon if no caticon present
|
||||||
$content_pref['content_breadcrumb_catall'] = "0"; //show breadcrumb on all categories page
|
$cp['content_breadcrumb_catall'] = ''; //show breadcrumb on all categories page
|
||||||
$content_pref['content_breadcrumb_cat'] = "0"; //show breadcrumb on single category page
|
$cp['content_breadcrumb_cat'] = ''; //show breadcrumb on single category page
|
||||||
$content_pref['content_breadcrumb_authorall'] = "0"; //show breadcrumb on all author page
|
$cp['content_breadcrumb_authorall'] = ''; //show breadcrumb on all author page
|
||||||
$content_pref['content_breadcrumb_author'] = "0"; //show breadcrumb on single author page
|
$cp['content_breadcrumb_author'] = ''; //show breadcrumb on single author page
|
||||||
$content_pref['content_breadcrumb_recent'] = "0"; //show breadcrumb on recent page
|
$cp['content_breadcrumb_recent'] = ''; //show breadcrumb on recent page
|
||||||
$content_pref['content_breadcrumb_item'] = "0"; //show breadcrumb on content item page
|
$cp['content_breadcrumb_item'] = ''; //show breadcrumb on content item page
|
||||||
$content_pref['content_breadcrumb_top'] = "0"; //show breadcrumb on top rated page
|
$cp['content_breadcrumb_top'] = ''; //show breadcrumb on top rated page
|
||||||
$content_pref['content_breadcrumb_archive'] = "0"; //show breadcrumb on archive page
|
$cp['content_breadcrumb_archive'] = ''; //show breadcrumb on archive page
|
||||||
$content_pref['content_breadcrumb_seperator{$id}'] = ">"; //seperator character between breadcrumb
|
$cp['content_breadcrumb_seperator'] = '>'; //seperator character between breadcrumb
|
||||||
$content_pref['content_breadcrumb_rendertype'] = "2"; //how to render the breadcrumb
|
$cp['content_breadcrumb_rendertype'] = '2'; //how to render the breadcrumb
|
||||||
$content_pref['content_navigator_catall'] = "0"; //show navigator on all categories page
|
$cp['content_navigator_catall'] = ''; //show navigator on all categories page
|
||||||
$content_pref['content_navigator_cat'] = "0"; //show navigator on single category page
|
$cp['content_navigator_cat'] = ''; //show navigator on single category page
|
||||||
$content_pref['content_navigator_authorall'] = "0"; //show navigator on all author page
|
$cp['content_navigator_authorall'] = ''; //show navigator on all author page
|
||||||
$content_pref['content_navigator_author'] = "0"; //show navigator on single author page
|
$cp['content_navigator_author'] = ''; //show navigator on single author page
|
||||||
$content_pref['content_navigator_recent'] = "0"; //show navigator on recent page
|
$cp['content_navigator_recent'] = ''; //show navigator on recent page
|
||||||
$content_pref['content_navigator_item'] = "0"; //show navigator on content item page
|
$cp['content_navigator_item'] = ''; //show navigator on content item page
|
||||||
$content_pref['content_navigator_top'] = "0"; //show navigator on top rated page
|
$cp['content_navigator_top'] = ''; //show navigator on top rated page
|
||||||
$content_pref['content_navigator_archive'] = "0"; //show navigator on archive page
|
$cp['content_navigator_archive'] = ''; //show navigator on archive page
|
||||||
$content_pref['content_search_catall'] = "0"; //show search keyword on all categories page
|
$cp['content_search_catall'] = ''; //show search keyword on all categories page
|
||||||
$content_pref['content_search_cat'] = "0"; //show search keyword on single category page
|
$cp['content_search_cat'] = ''; //show search keyword on single category page
|
||||||
$content_pref['content_search_authorall'] = "0"; //show search keyword on all author page
|
$cp['content_search_authorall'] = ''; //show search keyword on all author page
|
||||||
$content_pref['content_search_author'] = "0"; //show search keyword on single author page
|
$cp['content_search_author'] = ''; //show search keyword on single author page
|
||||||
$content_pref['content_search_recent'] = "0"; //show search keyword on recent page
|
$cp['content_search_recent'] = ''; //show search keyword on recent page
|
||||||
$content_pref['content_search_item'] = "0"; //show search keyword on content item page
|
$cp['content_search_item'] = ''; //show search keyword on content item page
|
||||||
$content_pref['content_search_top'] = "0"; //show search keyword on top rated page
|
$cp['content_search_top'] = ''; //show search keyword on top rated page
|
||||||
$content_pref['content_search_archive'] = "0"; //show search keyword on archive page
|
$cp['content_search_archive'] = ''; //show search keyword on archive page
|
||||||
$content_pref['content_ordering_catall'] = "0"; //show ordering on all categories page
|
$cp['content_ordering_catall'] = ''; //show ordering on all categories page
|
||||||
$content_pref['content_ordering_cat'] = "0"; //show ordering on single category page
|
$cp['content_ordering_cat'] = ''; //show ordering on single category page
|
||||||
$content_pref['content_ordering_authorall'] = "0"; //show ordering on all author page
|
$cp['content_ordering_authorall'] = ''; //show ordering on all author page
|
||||||
$content_pref['content_ordering_author'] = "0"; //show ordering on single author page
|
$cp['content_ordering_author'] = ''; //show ordering on single author page
|
||||||
$content_pref['content_ordering_recent'] = "0"; //show ordering on recent page
|
$cp['content_ordering_recent'] = ''; //show ordering on recent page
|
||||||
$content_pref['content_ordering_item'] = "0"; //show ordering on content item page
|
$cp['content_ordering_item'] = ''; //show ordering on content item page
|
||||||
$content_pref['content_ordering_top'] = "0"; //show ordering on top rated page
|
$cp['content_ordering_top'] = ''; //show ordering on top rated page
|
||||||
$content_pref['content_ordering_archive'] = "0"; //show ordering on archive page
|
$cp['content_ordering_archive'] = ''; //show ordering on archive page
|
||||||
$content_pref['content_searchmenu_rendertype'] = "1"; //rendertype for searchmenu (1=echo, 2=in separate menu)
|
$cp['content_searchmenu_rendertype'] = '1'; //rendertype for searchmenu (1=echo, 2=in separate menu)
|
||||||
$content_pref['content_nextprev'] = "1"; //use nextprev buttons
|
$cp['content_nextprev'] = '1'; //use nextprev buttons
|
||||||
$content_pref['content_nextprev_number'] = "10"; //how many items on a page
|
$cp['content_nextprev_number'] = '10'; //how many items on a page
|
||||||
$content_pref['content_defaultorder'] = "orderddate"; //default sort and order method
|
$cp['content_defaultorder'] = 'orderddate'; //default sort and order method
|
||||||
//upload icon/image size handling
|
//upload icon/image size handling
|
||||||
$content_pref['content_upload_image_size'] = "500"; //resize size of uploaded image
|
$cp['content_upload_image_size'] = '500'; //resize size of uploaded image
|
||||||
$content_pref['content_upload_image_size_thumb'] = "100"; //resize size of created thumb on uploaded image
|
$cp['content_upload_image_size_thumb'] = '100'; //resize size of created thumb on uploaded image
|
||||||
$content_pref['content_upload_icon_size'] = "100"; //resize size of uploaded icon
|
$cp['content_upload_icon_size'] = '100'; //resize size of uploaded icon
|
||||||
|
|
||||||
//CONTENT ITEM PREVIEW
|
//CONTENT ITEM PREVIEW
|
||||||
$content_pref['content_list_icon'] = "0"; //show icon
|
$cp['content_list_icon'] = '1'; //show icon
|
||||||
$content_pref['content_list_subheading'] = "1"; //show subheading
|
$cp['content_list_subheading'] = '1'; //show subheading
|
||||||
$content_pref['content_list_summary'] = "1"; //show summary
|
$cp['content_list_summary'] = '1'; //show summary
|
||||||
$content_pref['content_list_text'] = "0"; //show (part of) text
|
$cp['content_list_text'] = ''; //show (part of) text
|
||||||
$content_pref['content_list_date'] = "0"; //show date
|
$cp['content_list_date'] = ''; //show date
|
||||||
$content_pref['content_list_authorname'] = "0"; //show authorname
|
$cp['content_list_authorname'] = ''; //show authorname
|
||||||
$content_pref['content_list_authorprofile'] = "0"; //show link to author profile
|
$cp['content_list_authorprofile'] = ''; //show link to author profile
|
||||||
$content_pref['content_list_authoremail'] = "0"; //show authoremail
|
$cp['content_list_authoremail'] = ''; //show authoremail
|
||||||
$content_pref['content_list_authoricon'] = "0"; //show link to author list
|
$cp['content_list_authoricon'] = ''; //show link to author list
|
||||||
$content_pref['content_list_rating'] = "1"; //show rating system
|
$cp['content_list_rating'] = '1'; //show rating system
|
||||||
$content_pref['content_list_peicon'] = "1"; //show printemailicons
|
$cp['content_list_peicon'] = '1'; //show printemailicons
|
||||||
$content_pref['content_list_parent'] = "0"; //show parent cat
|
$cp['content_list_parent'] = ''; //show parent cat
|
||||||
$content_pref['content_list_refer'] = "0"; //show refer count
|
$cp['content_list_refer'] = ''; //show refer count
|
||||||
$content_pref['content_list_subheading_char'] = "100"; //how many subheading characters
|
$cp['content_list_subheading_char'] = '100'; //how many subheading characters
|
||||||
$content_pref['content_list_subheading_post'] = "[...]"; //use a postfix for too long subheadings
|
$cp['content_list_subheading_post'] = '[...]'; //use a postfix for too long subheadings
|
||||||
$content_pref['content_list_summary_char'] = "100"; //how many summary characters
|
$cp['content_list_summary_char'] = '100'; //how many summary characters
|
||||||
$content_pref['content_list_summary_post'] = "[...]"; //use a postfix for too long summary
|
$cp['content_list_summary_post'] = '[...]'; //use a postfix for too long summary
|
||||||
$content_pref['content_list_text_char'] = "60"; //how many text words
|
$cp['content_list_text_char'] = '60'; //how many text words
|
||||||
$content_pref['content_list_text_post'] = CONTENT_LAN_16; //use a postfix for too long text
|
$cp['content_list_text_post'] = CONTENT_LAN_16; //use a postfix for too long text
|
||||||
$content_pref['content_list_text_link'] = "1"; //show link to content item on postfix
|
$cp['content_list_text_link'] = '1'; //show link to content item on postfix
|
||||||
$content_pref['content_list_authoremail_nonmember'] = "0"; //show email non member author
|
$cp['content_list_authoremail_nonmember'] = ''; //show email non member author
|
||||||
$content_pref['content_list_peicon_all'] = "0"; //override printemail icons
|
$cp['content_list_peicon_all'] = ''; //override printemail icons
|
||||||
$content_pref['content_list_rating_all'] = "0"; //override rating system
|
$cp['content_list_rating_all'] = ''; //override rating system
|
||||||
$content_pref['content_list_editicon'] = "0"; //show link to admin edit item
|
$cp['content_list_editicon'] = ''; //show link to admin edit item
|
||||||
$content_pref['content_list_datestyle'] = "%d %b %Y"; //choose datestyle for given date
|
$cp['content_list_datestyle'] = '%d %b %Y'; //choose datestyle for given date
|
||||||
$content_pref['content_list_caption'] = CONTENT_LAN_23; //caption for recent list
|
$cp['content_list_caption'] = CONTENT_LAN_23; //caption for recent list
|
||||||
$content_pref['content_list_caption_append_name'] = '1'; //append category heading to caption
|
$cp['content_list_caption_append_name'] = '1'; //append category heading to caption
|
||||||
|
|
||||||
//CATEGORY PAGES
|
//CATEGORY PAGES
|
||||||
//sections of content category in 'view all categories page'
|
//sections of content category in 'view all categories page'
|
||||||
$content_pref['content_catall_icon'] = "1"; //show icon
|
$cp['content_catall_icon'] = '1'; //show icon
|
||||||
$content_pref['content_catall_subheading'] = "1"; //show subheading
|
$cp['content_catall_subheading'] = '1'; //show subheading
|
||||||
$content_pref['content_catall_text'] = "0"; //show text
|
$cp['content_catall_text'] = ''; //show text
|
||||||
$content_pref['content_catall_date'] = "0"; //show date
|
$cp['content_catall_date'] = ''; //show date
|
||||||
$content_pref['content_catall_rating'] = "1"; //show rating
|
$cp['content_catall_rating'] = '1'; //show rating
|
||||||
$content_pref['content_catall_authorname'] = "0"; //show author name
|
$cp['content_catall_authorname'] = ''; //show author name
|
||||||
$content_pref['content_catall_authoremail'] = "0"; //show author email
|
$cp['content_catall_authoremail'] = ''; //show author email
|
||||||
$content_pref['content_catall_authorprofile'] = "0"; //show link to author profile
|
$cp['content_catall_authorprofile'] = ''; //show link to author profile
|
||||||
$content_pref['content_catall_authoricon'] = "0"; //show link to author list
|
$cp['content_catall_authoricon'] = ''; //show link to author list
|
||||||
$content_pref['content_catall_peicon'] = "1"; //show pe icons
|
$cp['content_catall_peicon'] = '1'; //show pe icons
|
||||||
$content_pref['content_catall_comment'] = "1"; //show amount of comments
|
$cp['content_catall_comment'] = '1'; //show amount of comments
|
||||||
$content_pref['content_catall_amount'] = "0"; //show amount of items
|
$cp['content_catall_amount'] = ''; //show amount of items
|
||||||
$content_pref['content_catall_text_char'] = "65"; //define amount of words of text to display
|
$cp['content_catall_text_char'] = '65'; //define amount of words of text to display
|
||||||
$content_pref['content_catall_text_post'] = CONTENT_LAN_16; //define postfix is text is too long
|
$cp['content_catall_text_post'] = CONTENT_LAN_16; //define postfix is text is too long
|
||||||
$content_pref['content_catall_text_link'] = "1"; //define if link to category should be added on postfix
|
$cp['content_catall_text_link'] = '1'; //define if link to category should be added on postfix
|
||||||
$content_pref['content_catall_caption'] = CONTENT_LAN_25; //caption for all categories page
|
$cp['content_catall_caption'] = CONTENT_LAN_25; //caption for all categories page
|
||||||
//sections of content category in 'view category' page
|
//sections of content category in 'view category' page
|
||||||
$content_pref['content_cat_icon'] = "1"; //show icon
|
$cp['content_cat_icon'] = '1'; //show icon
|
||||||
$content_pref['content_cat_subheading'] = "1"; //show subheading
|
$cp['content_cat_subheading'] = '1'; //show subheading
|
||||||
$content_pref['content_cat_text'] = "0"; //show text
|
$cp['content_cat_text'] = ''; //show text
|
||||||
$content_pref['content_cat_date'] = "0"; //show date
|
$cp['content_cat_date'] = ''; //show date
|
||||||
$content_pref['content_cat_authorname'] = "0"; //show author name
|
$cp['content_cat_authorname'] = ''; //show author name
|
||||||
$content_pref['content_cat_authoremail'] = "0"; //show author email
|
$cp['content_cat_authoremail'] = ''; //show author email
|
||||||
$content_pref['content_cat_authorprofile'] = "0"; //show link to author profile
|
$cp['content_cat_authorprofile'] = ''; //show link to author profile
|
||||||
$content_pref['content_cat_authoricon'] = "0"; //show link to author list
|
$cp['content_cat_authoricon'] = ''; //show link to author list
|
||||||
$content_pref['content_cat_rating'] = "1"; //show rating
|
$cp['content_cat_rating'] = '1'; //show rating
|
||||||
$content_pref['content_cat_peicon'] = "1"; //show pe icons
|
$cp['content_cat_peicon'] = '1'; //show pe icons
|
||||||
$content_pref['content_cat_comment'] = "1"; //show amount of comments
|
$cp['content_cat_comment'] = '1'; //show amount of comments
|
||||||
$content_pref['content_cat_amount'] = "1"; //show amount of items
|
$cp['content_cat_amount'] = '1'; //show amount of items
|
||||||
$content_pref['content_cat_caption'] = CONTENT_LAN_26; //caption for single category page
|
$cp['content_cat_caption'] = CONTENT_LAN_26; //caption for single category page
|
||||||
$content_pref['content_cat_caption_append_name'] = '1'; //append category heading to caption
|
$cp['content_cat_caption_append_name'] = '1'; //append category heading to caption
|
||||||
$content_pref['content_cat_sub_caption'] = CONTENT_LAN_28; //caption for subcategories
|
$cp['content_cat_sub_caption'] = CONTENT_LAN_28; //caption for subcategories
|
||||||
$content_pref['content_cat_item_caption'] = CONTENT_LAN_31; //caption for items in category
|
$cp['content_cat_item_caption'] = CONTENT_LAN_31; //caption for items in category
|
||||||
|
|
||||||
//sections of subcategories in 'view category page'
|
//sections of subcategories in 'view category page'
|
||||||
$content_pref['content_catsub_icon'] = "1"; //show icon
|
$cp['content_catsub_icon'] = '1'; //show icon
|
||||||
$content_pref['content_catsub_subheading'] = "1"; //show subheading
|
$cp['content_catsub_subheading'] = '1'; //show subheading
|
||||||
$content_pref['content_catsub_amount'] = "1"; //show amount of items
|
$cp['content_catsub_amount'] = '1'; //show amount of items
|
||||||
$content_pref['content_cat_showparent'] = "1"; //show parent item in category page
|
$cp['content_cat_showparent'] = '1'; //show parent item in category page
|
||||||
$content_pref['content_cat_showparentsub'] = "1"; //show subcategories in category page
|
$cp['content_cat_showparentsub'] = '1'; //show subcategories in category page
|
||||||
$content_pref['content_cat_listtype'] = "0"; //also show items from subategories
|
$cp['content_cat_listtype'] = ''; //also show items from subategories
|
||||||
$content_pref['content_cat_menuorder'] = "1"; //order of parent and child items
|
$cp['content_cat_menuorder'] = '1'; //order of parent and child items
|
||||||
$content_pref['content_cat_rendertype'] = "2"; //render method of the menus
|
$cp['content_cat_rendertype'] = '2'; //render method of the menus
|
||||||
$content_pref['content_cat_text_char'] = "65"; //define amount of words of text to display
|
$cp['content_cat_text_char'] = '65'; //define amount of words of text to display
|
||||||
$content_pref['content_cat_text_post'] = CONTENT_LAN_16; //define postfix is text is too long
|
$cp['content_cat_text_post'] = CONTENT_LAN_16; //define postfix is text is too long
|
||||||
$content_pref['content_cat_text_link'] = "1"; //define if link to category should be added on postfix
|
$cp['content_cat_text_link'] = '1'; //define if link to category should be added on postfix
|
||||||
$content_pref['content_cat_authoremail_nonmember'] = "0"; //define if the email of a non-member will be displayed
|
$cp['content_cat_authoremail_nonmember'] = ''; //define if the email of a non-member will be displayed
|
||||||
$content_pref['content_cat_peicon_all'] = "0"; //override printemail icons
|
$cp['content_cat_peicon_all'] = ''; //override printemail icons
|
||||||
$content_pref['content_cat_rating_all'] = "0"; //override rating system
|
$cp['content_cat_rating_all'] = ''; //override rating system
|
||||||
|
|
||||||
//CONTENT PAGE
|
//CONTENT PAGE
|
||||||
$content_pref['content_content_icon'] = "0"; //show icon
|
$cp['content_content_icon'] = ''; //show icon
|
||||||
$content_pref['content_content_subheading'] = "1"; //show subheading
|
$cp['content_content_subheading'] = '1'; //show subheading
|
||||||
$content_pref['content_content_summary'] = "1"; //show summary
|
$cp['content_content_summary'] = '1'; //show summary
|
||||||
$content_pref['content_content_date'] = "0"; //show date
|
$cp['content_content_date'] = '1'; //show date
|
||||||
$content_pref['content_content_authorname'] = "1"; //show authorname
|
$cp['content_content_authorname'] = '1'; //show authorname
|
||||||
$content_pref['content_content_authorprofile'] = "0"; //show link to author profile
|
$cp['content_content_authorprofile'] = ''; //show link to author profile
|
||||||
$content_pref['content_content_authoremail'] = "0"; //show suthoremail
|
$cp['content_content_authoremail'] = ''; //show suthoremail
|
||||||
$content_pref['content_content_authoricon'] = "0"; //show link to author list
|
$cp['content_content_authoricon'] = ''; //show link to author list
|
||||||
$content_pref['content_content_parent'] = "0"; //show parent category
|
$cp['content_content_parent'] = ''; //show parent category
|
||||||
$content_pref['content_content_rating'] = "1"; //show rating system
|
$cp['content_content_rating'] = '1'; //show rating system
|
||||||
$content_pref['content_content_peicon'] = "1"; //show printemailicons
|
$cp['content_content_peicon'] = '1'; //show printemailicons
|
||||||
$content_pref['content_content_refer'] = "0"; //show refer count
|
$cp['content_content_refer'] = ''; //show refer count
|
||||||
$content_pref['content_content_comment'] = "0"; //show amount of comments
|
$cp['content_content_comment'] = '1'; //show amount of comments
|
||||||
$content_pref['content_content_authoremail_nonmember'] = "0"; //show email non member
|
$cp['content_content_authoremail_nonmember'] = ''; //show email non member
|
||||||
$content_pref['content_content_peicon_all'] = "0"; //override printemail icons
|
$cp['content_content_peicon_all'] = ''; //override printemail icons
|
||||||
$content_pref['content_content_rating_all'] = "0"; //override rating system
|
$cp['content_content_rating_all'] = ''; //override rating system
|
||||||
$content_pref['content_content_comment_all'] = "0"; //override comment system
|
$cp['content_content_comment_all'] = ''; //override comment system
|
||||||
$content_pref['content_content_editicon'] = "0"; //show link in content page to admin edit item
|
$cp['content_content_editicon'] = ''; //show link in content page to admin edit item
|
||||||
$content_pref['content_content_customtags'] = "0"; //should additional data be shown
|
$cp['content_content_customtags'] = ''; //should additional data be shown
|
||||||
$content_pref['content_content_presettags'] = "0"; //should preset data tags be shown
|
$cp['content_content_presettags'] = ''; //should preset data tags be shown
|
||||||
$content_pref['content_content_attach'] = "0"; //show attachments
|
$cp['content_content_attach'] = ''; //show attachments
|
||||||
$content_pref['content_content_images'] = "0"; //show images
|
$cp['content_content_images'] = ''; //show images
|
||||||
$content_pref['content_content_pagenames_rendertype'] = "0"; //rendertype for articleindex on multipage content items
|
$cp['content_content_pagenames_rendertype'] = ''; //rendertype for articleindex on multipage content items
|
||||||
$content_pref['content_content_multipage_preset'] = "0"; //render custom/preset in multipage item first/last page
|
$cp['content_content_multipage_preset'] = ''; //render custom/preset in multipage item first/last page
|
||||||
|
$cp['content_content_pagenames_nextprev_prevhead'] = '< {PAGETITLE}'; //link to next page in multipage item
|
||||||
|
$cp['content_content_pagenames_nextprev_nexthead'] = '{PAGETITLE} >'; //link to prev page in multipage item
|
||||||
|
|
||||||
//AUTHOR PAGE
|
//AUTHOR PAGE
|
||||||
$content_pref['content_author_lastitem'] = "0"; //show last item reference
|
$cp['content_author_lastitem'] = ''; //show last item reference
|
||||||
$content_pref['content_author_amount'] = "1"; //show amount of items from this author
|
$cp['content_author_amount'] = '1'; //show amount of items from this author
|
||||||
$content_pref['content_author_nextprev'] = "1"; //use next prev buttons
|
$cp['content_author_nextprev'] = '1'; //use next prev buttons
|
||||||
$content_pref['content_author_nextprev_number'] = "20"; //amount of items per page
|
$cp['content_author_nextprev_number'] = '20'; //amount of items per page
|
||||||
$content_pref['content_author_index_caption'] = CONTENT_LAN_32; //caption for author index page
|
$cp['content_author_index_caption'] = CONTENT_LAN_32; //caption for author index page
|
||||||
$content_pref['content_author_caption'] = CONTENT_LAN_32; //caption for single author page
|
$cp['content_author_caption'] = CONTENT_LAN_32; //caption for single author page
|
||||||
$content_pref['content_author_caption_append_name'] = '1'; //append author name to caption
|
$cp['content_author_caption_append_name'] = '1'; //append author name to caption
|
||||||
|
|
||||||
//ARCHIVE PAGE
|
//ARCHIVE PAGE
|
||||||
$content_pref['content_archive_nextprev'] = "1"; //archive : choose to show next/prev links
|
$cp['content_archive_nextprev'] = '1'; //archive : choose to show next/prev links
|
||||||
$content_pref['content_archive_nextprev_number'] = "30"; //archive : choose amount to use in next/prev
|
$cp['content_archive_nextprev_number'] = '30'; //archive : choose amount to use in next/prev
|
||||||
$content_pref['content_archive_letterindex'] = "0"; //archive : letter index
|
$cp['content_archive_letterindex'] = '1'; //archive : letter index
|
||||||
$content_pref['content_archive_datestyle'] = "%d %b %Y"; //archive : choose datestyle for given date
|
$cp['content_archive_datestyle'] = '%d %b %Y'; //archive : choose datestyle for given date
|
||||||
$content_pref['content_archive_date'] = "1"; //archive : section: show date
|
$cp['content_archive_date'] = '1'; //archive : section: show date
|
||||||
$content_pref['content_archive_authorname'] = "0"; //archive : section: show authorname
|
$cp['content_archive_authorname'] = ''; //archive : section: show authorname
|
||||||
$content_pref['content_archive_authorprofile'] = "0"; //archive : section: show link to author profile
|
$cp['content_archive_authorprofile'] = ''; //archive : section: show link to author profile
|
||||||
$content_pref['content_archive_authoricon'] = "0"; //archive : section: show link to author list
|
$cp['content_archive_authoricon'] = ''; //archive : section: show link to author list
|
||||||
$content_pref['content_archive_authoremail'] = "0"; //archive : section: show author email
|
$cp['content_archive_authoremail'] = ''; //archive : section: show author email
|
||||||
$content_pref['content_archive_authoremail_nonmember'] = "0"; //archive : show link to email of non-member author
|
$cp['content_archive_authoremail_nonmember'] = ''; //archive : show link to email of non-member author
|
||||||
$content_pref['content_archive_caption'] = CONTENT_LAN_84; //caption for archive page
|
$cp['content_archive_caption'] = CONTENT_LAN_84; //caption for archive page
|
||||||
|
|
||||||
//TOP RATED PAGE
|
//TOP RATED PAGE
|
||||||
$content_pref['content_top_icon'] = "0"; //top : section: show icon
|
$cp['content_top_icon'] = ''; //top : section: show icon
|
||||||
$content_pref['content_top_authorname'] = "0"; //top : section: show authorname
|
$cp['content_top_authorname'] = ''; //top : section: show authorname
|
||||||
$content_pref['content_top_authorprofile'] = "0"; //top : section: show link to author profile
|
$cp['content_top_authorprofile'] = ''; //top : section: show link to author profile
|
||||||
$content_pref['content_top_authoricon'] = "0"; //top : section: show link to author list
|
$cp['content_top_authoricon'] = ''; //top : section: show link to author list
|
||||||
$content_pref['content_top_authoremail'] = "0"; //top : section: show author email
|
$cp['content_top_authoremail'] = ''; //top : section: show author email
|
||||||
$content_pref['content_top_authoremail_nonmember'] = "0"; //top : show link to email of non-member author
|
$cp['content_top_authoremail_nonmember'] = ''; //top : show link to email of non-member author
|
||||||
$content_pref['content_top_icon_width'] = ''; //use this size for icon
|
$cp['content_top_icon_width'] = ''; //use this size for icon
|
||||||
$content_pref['content_top_caption'] = CONTENT_LAN_38; //caption for top rated page
|
$cp['content_top_caption'] = CONTENT_LAN_38; //caption for top rated page
|
||||||
$content_pref['content_top_caption_append_name'] = '1'; //append category heading to caption
|
$cp['content_top_caption_append_name'] = '1'; //append category heading to caption
|
||||||
|
|
||||||
//TOP SCORE PAGE
|
//TOP SCORE PAGE
|
||||||
$content_pref['content_score_icon'] = "0"; //score : section: show icon
|
$cp['content_score_icon'] = ''; //score : section: show icon
|
||||||
$content_pref['content_score_authorname'] = "0"; //score : section: show authorname
|
$cp['content_score_authorname'] = ''; //score : section: show authorname
|
||||||
$content_pref['content_score_authorprofile'] = "0"; //score : section: show link to author profile
|
$cp['content_score_authorprofile'] = ''; //score : section: show link to author profile
|
||||||
$content_pref['content_score_authoricon'] = "0"; //score : section: show link to author list
|
$cp['content_score_authoricon'] = ''; //score : section: show link to author list
|
||||||
$content_pref['content_score_authoremail'] = "0"; //score : section: show author email
|
$cp['content_score_authoremail'] = ''; //score : section: show author email
|
||||||
$content_pref['content_score_authoremail_nonmember'] = "0"; //score : show link to email of non-member author
|
$cp['content_score_authoremail_nonmember'] = ''; //score : show link to email of non-member author
|
||||||
$content_pref['content_score_icon_width'] = ''; //use this size for icon
|
$cp['content_score_icon_width'] = ''; //use this size for icon
|
||||||
$content_pref['content_score_caption'] = CONTENT_LAN_87; //caption for top score page
|
$cp['content_score_caption'] = CONTENT_LAN_87; //caption for top score page
|
||||||
$content_pref['content_score_caption_append_name'] = '1'; //append category heading to caption
|
$cp['content_score_caption_append_name'] = '1'; //append category heading to caption
|
||||||
|
|
||||||
//MENU OPTIONS
|
//MENU OPTIONS
|
||||||
$content_pref['content_menu_caption'] = CONTENT_MENU_LAN_0; //caption of menu
|
$cp['content_menu_caption'] = CONTENT_MENU_LAN_0; //caption of menu
|
||||||
$content_pref['content_menu_search'] = "0"; //show search keyword
|
$cp['content_menu_search'] = ''; //show search keyword
|
||||||
$content_pref['content_menu_sort'] = "0"; //show sorting methods
|
$cp['content_menu_sort'] = ''; //show sorting methods
|
||||||
$content_pref["content_menu_visibilitycheck"] = '0'; //show menu only on content pages of this top level category?
|
$cp['content_menu_visibilitycheck'] = ''; //show menu only on content pages of this top level category?
|
||||||
$content_pref['content_menu_links'] = "1"; //show content links
|
$cp['content_menu_links'] = '1'; //show content links
|
||||||
$content_pref['content_menu_links_dropdown'] = "0"; //rendertype of content links (in dropdown or as normal links)
|
$cp['content_menu_links_dropdown'] = ''; //rendertype of content links (in dropdown or as normal links)
|
||||||
$content_pref['content_menu_links_icon'] = "0"; //define icon for content links (only with normallinks)
|
$cp['content_menu_links_icon'] = ''; //define icon for content links (only with normallinks)
|
||||||
$content_pref['content_menu_links_caption'] = CONTENT_MENU_LAN_4; //define caption for link list (only is normallinks is selected)
|
$cp['content_menu_links_caption'] = CONTENT_MENU_LAN_4; //define caption for link list (only is normallinks is selected)
|
||||||
$content_pref['content_menu_viewallcat'] = "1"; //menu: view link to all categories
|
$cp['content_menu_viewallcat'] = '1'; //menu: view link to all categories
|
||||||
$content_pref['content_menu_viewallauthor'] = "1"; //menu: view link to all authors
|
$cp['content_menu_viewallauthor'] = '1'; //menu: view link to all authors
|
||||||
$content_pref['content_menu_viewallitems'] = "1"; //menu: view link to all items (archive)
|
$cp['content_menu_viewallitems'] = '1'; //menu: view link to all items (archive)
|
||||||
$content_pref['content_menu_viewtoprated'] = "0"; //menu: view link to top rated items
|
$cp['content_menu_viewtoprated'] = ''; //menu: view link to top rated items
|
||||||
$content_pref['content_menu_viewtopscore'] = "0"; //menu: view link to top score items
|
$cp['content_menu_viewtopscore'] = ''; //menu: view link to top score items
|
||||||
$content_pref['content_menu_viewrecent'] = "1"; //menu: view link to recent items
|
$cp['content_menu_viewrecent'] = '1'; //menu: view link to recent items
|
||||||
$content_pref['content_menu_viewsubmit'] = "0"; //view link to submit content item (only if it is allowed)
|
$cp['content_menu_viewsubmit'] = '1'; //view link to submit content item (only if it is allowed)
|
||||||
$content_pref['content_menu_viewicon'] = "0"; //choose icon to display for links
|
$cp['content_menu_viewicon'] = ''; //choose icon to display for links
|
||||||
$content_pref['content_menu_cat'] = "1"; //view categories
|
$cp['content_menu_cat'] = '1'; //view categories
|
||||||
$content_pref['content_menu_cat_main'] = "1"; //show main parent in the category list
|
$cp['content_menu_cat_main'] = '1'; //show main parent in the category list
|
||||||
$content_pref['content_menu_cat_number'] = "1"; //show number of items in category
|
$cp['content_menu_cat_number'] = '1'; //show number of items in category
|
||||||
$content_pref['content_menu_cat_icon'] = "0"; //choose icon to display for categories
|
$cp['content_menu_cat_icon'] = ''; //choose icon to display for categories
|
||||||
$content_pref['content_menu_cat_icon_default'] = "0"; //choose default icon is no icon present (only if category_icon is selected)
|
$cp['content_menu_cat_icon_default'] = ''; //choose default icon is no icon present (only if category_icon is selected)
|
||||||
$content_pref['content_menu_cat_caption'] = CONTENT_MENU_LAN_3; //define caption for category list
|
$cp['content_menu_cat_caption'] = CONTENT_MENU_LAN_3; //define caption for category list
|
||||||
$content_pref['content_menu_cat_dropdown'] = "0"; //rendertype of categories (in dropdown or as normal links)
|
$cp['content_menu_cat_dropdown'] = ''; //rendertype of categories (in dropdown or as normal links)
|
||||||
$content_pref['content_menu_recent'] = "1"; //view recent list
|
$cp['content_menu_recent'] = '1'; //view recent list
|
||||||
$content_pref['content_menu_recent_caption'] = CONTENT_MENU_LAN_2; //caption of recent list
|
$cp['content_menu_recent_caption'] = CONTENT_MENU_LAN_2; //caption of recent list
|
||||||
$content_pref['content_menu_recent_number'] = "5"; //number of recent items to show
|
$cp['content_menu_recent_number'] = '5'; //number of recent items to show
|
||||||
$content_pref['content_menu_recent_date'] = "0"; //show date in recent list
|
$cp['content_menu_recent_date'] = ''; //show date in recent list
|
||||||
$content_pref['content_menu_recent_datestyle'] = "%d %b %Y"; //choose datestyle for given date
|
$cp['content_menu_recent_datestyle'] = '%d %b %Y'; //choose datestyle for given date
|
||||||
$content_pref['content_menu_recent_author'] = "0"; //show author in recent list
|
$cp['content_menu_recent_author'] = ''; //show author in recent list
|
||||||
$content_pref['content_menu_recent_subheading'] = "0"; //show subheading in recent list
|
$cp['content_menu_recent_subheading'] = ''; //show subheading in recent list
|
||||||
$content_pref['content_menu_recent_subheading_char'] = "80"; //number of characters of subheading to show
|
$cp['content_menu_recent_subheading_char'] = '80'; //number of characters of subheading to show
|
||||||
$content_pref['content_menu_recent_subheading_post'] = "[...]"; //postfix for too long subheadings
|
$cp['content_menu_recent_subheading_post'] = '[...]'; //postfix for too long subheadings
|
||||||
$content_pref['content_menu_recent_icon'] = "0"; //choose icon to display for recent items
|
$cp['content_menu_recent_icon'] = ''; //choose icon to display for recent items
|
||||||
$content_pref['content_menu_recent_icon_width'] = "50"; //specify width of icon (only if content_icon is set)
|
$cp['content_menu_recent_icon_width'] = '50'; //specify width of icon (only if content_icon is set)
|
||||||
|
|
||||||
$content_pref['content_inherit'] = '0'; //inherit options from default preferences
|
$cp['content_inherit'] = ''; //inherit options from default preferences
|
||||||
|
|
||||||
//CONTENT MANAGER
|
//CONTENT MANAGER
|
||||||
$content_pref['content_manager_approve'] = '0'; //class for managers who can approve submitted items
|
$cp['content_manager_submit'] = '255'; //class for managers who can submit items in a category
|
||||||
$content_pref['content_manager_personal'] = '0'; //class for managers who can manage personal items
|
$cp['content_manager_approve'] = '255'; //class for managers who can approve submitted items
|
||||||
$content_pref['content_manager_category'] = '0'; //class for managers who can manage all items in a category
|
$cp['content_manager_personal'] = '255'; //class for managers who can manage personal items
|
||||||
|
$cp['content_manager_category'] = '255'; //class for managers who can manage all items in a category
|
||||||
|
$cp['content_manager_inherit'] = ''; //inherit options from default (manager) preferences
|
||||||
|
|
||||||
//PAGE RESTRICTION (NOT YET IN USE)
|
//manager : submit options
|
||||||
$content_pref['content_restrict_managecontent'] = '0';
|
$cp['content_manager_submit_directpost'] =''; //should submission be direclty posted as an item, or have them validated by admins
|
||||||
$content_pref['content_restrict_createcontent'] = '0';
|
$cp['content_manager_submit_subheading'] = ''; //should subheading be available
|
||||||
$content_pref['content_restrict_managecat'] = '0';
|
$cp['content_manager_submit_summary'] = ''; //should summary be available
|
||||||
$content_pref['content_restrict_createcat'] = '0';
|
$cp['content_manager_submit_startdate'] = ''; //should startdate be available
|
||||||
$content_pref['content_restrict_order'] = '0';
|
$cp['content_manager_submit_enddate'] = ''; //should enddate be available
|
||||||
$content_pref['content_restrict_options'] = '0';
|
$cp['content_manager_submit_icon'] = ''; //should icon be available to add when submitting an item
|
||||||
$content_pref['content_restrict_adminmanager'] = '0';
|
$cp['content_manager_submit_attach'] = ''; //should file be available to add when submitting an item
|
||||||
$content_pref['content_restrict_restrict'] = '0';
|
$cp['content_manager_submit_images'] = ''; //should image be available to add when submitting an item
|
||||||
$content_pref['content_restrict_recent'] = '0';
|
$cp['content_manager_submit_comment'] = ''; //should comment be available to add when submitting an item
|
||||||
$content_pref['content_restrict_allcat'] = '0';
|
$cp['content_manager_submit_rating'] = ''; //should rating be available to add when submitting an item
|
||||||
$content_pref['content_restrict_onecat'] = '0';
|
$cp['content_manager_submit_score'] = ''; //should score be available to add when submitting an item
|
||||||
$content_pref['content_restrict_contentitem'] = '0';
|
$cp['content_manager_submit_pe'] = ''; //should printemailicons be available to add when submitting an item
|
||||||
$content_pref['content_restrict_author'] = '0';
|
$cp['content_manager_submit_visibility'] = ''; //should visibility be available to add when submitting an item
|
||||||
$content_pref['content_restrict_archive'] = '0';
|
$cp['content_manager_submit_meta'] = ''; //should metatags be available to add when submitting an item
|
||||||
$content_pref['content_restrict_toprated'] = '0';
|
$cp['content_manager_submit_layout'] = ''; //should the option for choosing a layout template be shown
|
||||||
$content_pref['content_restrict_topscore'] = '0';
|
$cp['content_manager_submit_customtags'] = ''; //should options for adding additional data be shown
|
||||||
$content_pref['content_restrict_submit'] = '0';
|
$cp['content_manager_submit_presettags'] = ''; //should preset data tags be shown
|
||||||
$content_pref['content_restrict_frontmanager'] = '0';
|
$cp['content_manager_submit_custom_number'] = ''; //how many customtags should be available to add when submitting an item
|
||||||
|
$cp['content_manager_submit_images_number'] = ''; //how many images should be available to add when submitting an item
|
||||||
|
$cp['content_manager_submit_files_number'] = ''; //how many files should be available to add when submitting an item
|
||||||
|
|
||||||
|
//manager : manager options
|
||||||
|
$cp['content_manager_manager_subheading'] = '';
|
||||||
|
$cp['content_manager_manager_summary'] = '';
|
||||||
|
$cp['content_manager_manager_startdate'] = '';
|
||||||
|
$cp['content_manager_manager_enddate'] = '';
|
||||||
|
$cp['content_manager_manager_icon'] = '';
|
||||||
|
$cp['content_manager_manager_attach'] = '';
|
||||||
|
$cp['content_manager_manager_images'] = '';
|
||||||
|
$cp['content_manager_manager_comment'] = '';
|
||||||
|
$cp['content_manager_manager_rating'] = '';
|
||||||
|
$cp['content_manager_manager_score'] = '';
|
||||||
|
$cp['content_manager_manager_pe'] = '';
|
||||||
|
$cp['content_manager_manager_visibility'] = '';
|
||||||
|
$cp['content_manager_manager_meta'] = '';
|
||||||
|
$cp['content_manager_manager_layout'] = '';
|
||||||
|
$cp['content_manager_manager_customtags'] = '';
|
||||||
|
$cp['content_manager_manager_presettags'] = '';
|
||||||
|
$cp['content_manager_manager_custom_number'] = '';
|
||||||
|
$cp['content_manager_manager_images_number'] = '2';
|
||||||
|
$cp['content_manager_manager_files_number'] = '1';
|
||||||
|
|
||||||
|
foreach($cp as $k => $v){
|
||||||
|
if( !empty($v) ){
|
||||||
|
$content_pref[$k] = $tp->toDB($v);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return $content_pref;
|
return $content_pref;
|
||||||
}
|
}
|
||||||
@@ -377,9 +386,8 @@ class content{
|
|||||||
|
|
||||||
$plugintable = "pcontent";
|
$plugintable = "pcontent";
|
||||||
|
|
||||||
//echo "get content pref : ".$id."<br />";
|
//if $id; use prefs from content table
|
||||||
|
if($id && $id!="0"){
|
||||||
if($id && $id!="0"){ //if $id; use prefs from content table
|
|
||||||
$id = intval($id);
|
$id = intval($id);
|
||||||
$num_rows = $sql -> db_Select($plugintable, "content_pref", "content_id='$id' ");
|
$num_rows = $sql -> db_Select($plugintable, "content_pref", "content_id='$id' ");
|
||||||
$row = $sql -> db_Fetch();
|
$row = $sql -> db_Fetch();
|
||||||
@@ -416,7 +424,7 @@ class content{
|
|||||||
}
|
}
|
||||||
$content_pref = $eArrayStorage->ReadArray($row['content_pref']);
|
$content_pref = $eArrayStorage->ReadArray($row['content_pref']);
|
||||||
|
|
||||||
if(e_PAGE == "admin_content_config.php" && isset($qs[0]) && $qs[0] == 'option'){
|
if(e_PAGE == "admin_content_config.php" && isset($qs[0]) && ($qs[0] == 'option' || $qs[0] == 'manager') ){
|
||||||
}else{
|
}else{
|
||||||
//check inheritance, if set, get core prefs (default prefs)
|
//check inheritance, if set, get core prefs (default prefs)
|
||||||
if(isset($content_pref['content_inherit']) && $content_pref['content_inherit']!=''){
|
if(isset($content_pref['content_inherit']) && $content_pref['content_inherit']!=''){
|
||||||
@@ -426,7 +434,8 @@ class content{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}else{ //if not $id; use prefs from default core table
|
//if not $id; use prefs from default core table
|
||||||
|
}else{
|
||||||
$num_rows = $sql -> db_Select("core", "*", "e107_name='$plugintable' ");
|
$num_rows = $sql -> db_Select("core", "*", "e107_name='$plugintable' ");
|
||||||
if ($num_rows == 0) {
|
if ($num_rows == 0) {
|
||||||
$content_pref = $this -> ContentDefaultPrefs();
|
$content_pref = $this -> ContentDefaultPrefs();
|
||||||
@@ -450,9 +459,35 @@ class content{
|
|||||||
if($id == "0"){
|
if($id == "0"){
|
||||||
$num_rows = $sql -> db_Select("core", "*", "e107_name='$plugintable' ");
|
$num_rows = $sql -> db_Select("core", "*", "e107_name='$plugintable' ");
|
||||||
if ($num_rows == 0) {
|
if ($num_rows == 0) {
|
||||||
$sql -> db_Insert("core", "'$plugintable', '' ");
|
$content_pref = $this -> ContentDefaultPrefs();
|
||||||
}else{
|
$tmp = $eArrayStorage->WriteArray($content_pref);
|
||||||
$row = $sql -> db_Fetch();
|
$sql -> db_Insert("core", "'$plugintable', '{$tmp}' ");
|
||||||
|
$sql -> db_Select("core", "*", "e107_name='$plugintable' ");
|
||||||
|
}
|
||||||
|
$row = $sql -> db_Fetch();
|
||||||
|
$current = $eArrayStorage->ReadArray($row['e107_value']);
|
||||||
|
|
||||||
|
//if we are updating options
|
||||||
|
if(isset($qs[0]) && $qs[0] == 'option' ){
|
||||||
|
//only retain the manager prefs from the existing set from getting overwritten
|
||||||
|
foreach($current as $k => $v){
|
||||||
|
if( strpos($k, "content_manager_") === 0 ){
|
||||||
|
$content_pref[$k] = $tp->toDB($v);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//prepare custom tags: use the posted values
|
||||||
|
$cp = $_POST['content_custom_preset_key'];
|
||||||
|
|
||||||
|
//if we are updating manager
|
||||||
|
}elseif(isset($qs[0]) && $qs[0] == 'manager'){
|
||||||
|
//if this is a top level category we need to retain all existing options
|
||||||
|
if($currentparent=='0'){
|
||||||
|
$content_pref = $current;
|
||||||
|
}
|
||||||
|
|
||||||
|
//prepare custom tags: use the existing content_pref values
|
||||||
|
$cp = $content_pref['content_custom_preset_key'];
|
||||||
}
|
}
|
||||||
|
|
||||||
//prepare custom tags: use the posted value
|
//prepare custom tags: use the posted value
|
||||||
@@ -470,7 +505,7 @@ class content{
|
|||||||
if(isset($qs[0]) && $qs[0] == 'option' ){
|
if(isset($qs[0]) && $qs[0] == 'option' ){
|
||||||
//only use the manager prefs from the existing set
|
//only use the manager prefs from the existing set
|
||||||
foreach($current as $k => $v){
|
foreach($current as $k => $v){
|
||||||
if( strpos($k, "content_manager_") === 0 || strpos($k, "content_restrict_") === 0 ){
|
if( strpos($k, "content_manager_") === 0 ){
|
||||||
$content_pref[$k] = $tp->toDB($v);
|
$content_pref[$k] = $tp->toDB($v);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -479,7 +514,7 @@ class content{
|
|||||||
$cp = $_POST['content_custom_preset_key'];
|
$cp = $_POST['content_custom_preset_key'];
|
||||||
|
|
||||||
//if we are updating manager
|
//if we are updating manager
|
||||||
}elseif(isset($qs[0]) && ($qs[0] == 'manager' || $qs[0] == 'restrict')){
|
}elseif(isset($qs[0]) && $qs[0] == 'manager'){
|
||||||
//if this is a top level category we need to keep all existing options
|
//if this is a top level category we need to keep all existing options
|
||||||
if($currentparent=='0'){
|
if($currentparent=='0'){
|
||||||
$content_pref = $current;
|
$content_pref = $current;
|
||||||
@@ -574,8 +609,6 @@ class content{
|
|||||||
return $agc;
|
return $agc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function getCrumbItem($id, $arr){
|
function getCrumbItem($id, $arr){
|
||||||
//$id : content_parent of item
|
//$id : content_parent of item
|
||||||
//$arr : array of all categories
|
//$arr : array of all categories
|
||||||
@@ -778,19 +811,6 @@ class content{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}elseif(e_PAGE == "content_submit.php"){
|
|
||||||
//submit page : view categories
|
|
||||||
if(!e_QUERY){
|
|
||||||
$page = CONTENT_PAGETITLE_LAN_0." / ".CONTENT_PAGETITLE_LAN_7;
|
|
||||||
}else{
|
|
||||||
$page = CONTENT_PAGETITLE_LAN_0;
|
|
||||||
|
|
||||||
//submit page : submit item
|
|
||||||
if($qs[0] == "content" && $qs[1] == "submit" && is_numeric($qs[2]) ){
|
|
||||||
$page = " / ".CONTENT_PAGETITLE_LAN_8;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}elseif(e_PAGE == "content_manager.php"){
|
}elseif(e_PAGE == "content_manager.php"){
|
||||||
//manager page : view categories
|
//manager page : view categories
|
||||||
if(!e_QUERY){
|
if(!e_QUERY){
|
||||||
@@ -798,7 +818,7 @@ class content{
|
|||||||
}else{
|
}else{
|
||||||
$page = CONTENT_PAGETITLE_LAN_0." / ".CONTENT_PAGETITLE_LAN_9;
|
$page = CONTENT_PAGETITLE_LAN_0." / ".CONTENT_PAGETITLE_LAN_9;
|
||||||
|
|
||||||
//manager page : view items
|
//manager page : list items
|
||||||
if($qs[0] == "content" && is_numeric($qs[1]) ){
|
if($qs[0] == "content" && is_numeric($qs[1]) ){
|
||||||
$page .= " / ".CONTENT_PAGETITLE_LAN_10;
|
$page .= " / ".CONTENT_PAGETITLE_LAN_10;
|
||||||
|
|
||||||
@@ -806,14 +826,25 @@ class content{
|
|||||||
}elseif($qs[0] == "content" && $qs[1] == "edit" && is_numeric($qs[2]) ){
|
}elseif($qs[0] == "content" && $qs[1] == "edit" && is_numeric($qs[2]) ){
|
||||||
$page .= " / ".CONTENT_PAGETITLE_LAN_11;
|
$page .= " / ".CONTENT_PAGETITLE_LAN_11;
|
||||||
|
|
||||||
//manager page : create new item
|
//manager page : create new item (manager)
|
||||||
}elseif($qs[0] == "content" && $qs[1] == "create" && is_numeric($qs[2]) ){
|
}elseif($qs[0] == "content" && $qs[1] == "create" && is_numeric($qs[2]) ){
|
||||||
$page .= " / ".CONTENT_PAGETITLE_LAN_12;
|
$page .= " / ".CONTENT_PAGETITLE_LAN_12;
|
||||||
|
|
||||||
|
//manager page : create new item (submit)
|
||||||
|
}elseif($qs[0] == "content" && $qs[1] == "submit" && is_numeric($qs[2]) ){
|
||||||
|
$page .= " / ".CONTENT_PAGETITLE_LAN_8;
|
||||||
|
|
||||||
|
//manager page : approve submitted items (list items)
|
||||||
|
}elseif($qs[0] == "content" && $qs[1] == "approve" && is_numeric($qs[2]) ){
|
||||||
|
$page .= " / ".CONTENT_PAGETITLE_LAN_16;
|
||||||
|
|
||||||
|
//manager page : post submitted item (edit item)
|
||||||
|
}elseif($qs[0] == "content" && $qs[1] == "sa" && is_numeric($qs[2]) ){
|
||||||
|
$page .= " / ".CONTENT_PAGETITLE_LAN_17;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
define("e_PAGETITLE", $page);
|
define("e_PAGETITLE", $page);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -1092,31 +1123,6 @@ class content{
|
|||||||
return $authorinfo;
|
return $authorinfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
//admin
|
|
||||||
function popupHelp($text, $image="", $width="320", $title=""){
|
|
||||||
//$image : full path to the image you want to show on screen (uses a default doc image)
|
|
||||||
//$width : the width of the popup (uses a default width of 500)
|
|
||||||
//$title : the window title of the popup (uses a default title of ...)
|
|
||||||
//$text : the help text to show into the popup
|
|
||||||
|
|
||||||
global $imode;
|
|
||||||
|
|
||||||
if(!$image || !file_exists($image)){
|
|
||||||
$image = e_IMAGE."packs/".$imode."/admin_images/docs_16.png";
|
|
||||||
}
|
|
||||||
if(!$width){ $width = "320"; }
|
|
||||||
if(!$title){ $title = "content management help area"; }
|
|
||||||
|
|
||||||
$popup = "<a href=\"javascript:openHelpPopup(".$width.",'".$title."','".$text."')\" style='cursor:pointer;' onmouseover=\"window.status='click for help on this page'; return true;\" onmouseout=\"window.status=''; return true;\" ><img src='".$image."' style='border:0;' alt='' /></a>";
|
|
||||||
|
|
||||||
return $popup;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//search by keyword
|
//search by keyword
|
||||||
function showOptionsSearch($mode, $searchtypeid=""){
|
function showOptionsSearch($mode, $searchtypeid=""){
|
||||||
global $plugindir, $plugintable, $qs, $rs;
|
global $plugindir, $plugintable, $qs, $rs;
|
||||||
@@ -1141,8 +1147,6 @@ class content{
|
|||||||
return $CONTENT_SEARCH_TABLE_KEYWORD;
|
return $CONTENT_SEARCH_TABLE_KEYWORD;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//redirection links in dropdown
|
//redirection links in dropdown
|
||||||
function showOptionsSelect($mode, $searchtypeid=""){
|
function showOptionsSelect($mode, $searchtypeid=""){
|
||||||
global $plugindir, $plugintable, $rs, $qs, $content_pref;
|
global $plugindir, $plugintable, $rs, $qs, $content_pref;
|
||||||
@@ -1208,8 +1212,8 @@ class content{
|
|||||||
if($mode == "page" || ($mode == "menu" && $content_pref["content_menu_viewrecent"])){
|
if($mode == "page" || ($mode == "menu" && $content_pref["content_menu_viewrecent"])){
|
||||||
$CONTENT_SEARCH_TABLE_SELECT .= $rs -> form_option(CONTENT_LAN_61, 0, $plugindir."content.php?recent.".$mainparent);
|
$CONTENT_SEARCH_TABLE_SELECT .= $rs -> form_option(CONTENT_LAN_61, 0, $plugindir."content.php?recent.".$mainparent);
|
||||||
}
|
}
|
||||||
if( ($mode == "page" || ($mode == "menu" && $content_pref["content_menu_viewsubmit"]) && $content_pref["content_submit"] && check_class($content_pref["content_submit_class"]) ) ){
|
if($mode == "page" || ($mode == "menu" && $content_pref["content_menu_viewsubmit"])){
|
||||||
$CONTENT_SEARCH_TABLE_SELECT .= $rs -> form_option(CONTENT_LAN_75, 0, $plugindir."content_submit.php");
|
$CONTENT_SEARCH_TABLE_SELECT .= $rs -> form_option(CONTENT_LAN_75, 0, $plugindir."content_manager.php");
|
||||||
}
|
}
|
||||||
$CONTENT_SEARCH_TABLE_SELECT .= $rs -> form_option(" ", "0", "none");
|
$CONTENT_SEARCH_TABLE_SELECT .= $rs -> form_option(" ", "0", "none");
|
||||||
}
|
}
|
||||||
@@ -1221,8 +1225,6 @@ class content{
|
|||||||
return $CONTENT_SEARCH_TABLE_SELECT;
|
return $CONTENT_SEARCH_TABLE_SELECT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//ordering in dropdown
|
//ordering in dropdown
|
||||||
function showOptionsOrder($mode, $ordertypeid=""){
|
function showOptionsOrder($mode, $ordertypeid=""){
|
||||||
global $plugindir, $rs, $qs;
|
global $plugindir, $rs, $qs;
|
||||||
@@ -1274,8 +1276,7 @@ class content{
|
|||||||
return $text;
|
return $text;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//function to create the php menu file
|
||||||
|
|
||||||
function CreateParentMenu($parentid){
|
function CreateParentMenu($parentid){
|
||||||
global $plugintable, $plugindir, $tp, $datequery;
|
global $plugintable, $plugindir, $tp, $datequery;
|
||||||
|
|
||||||
@@ -1413,8 +1414,8 @@ class content{
|
|||||||
$data .= " if(\$content_pref[\"content_menu_viewrecent\"]){\n";
|
$data .= " if(\$content_pref[\"content_menu_viewrecent\"]){\n";
|
||||||
$data .= " \$text .= \$linksicon.\" <a href='\".\$plugindir.\"content.php?recent.\".\$menutypeid.\"'>\".CONTENT_LAN_61.\"</a><br />\";\n";
|
$data .= " \$text .= \$linksicon.\" <a href='\".\$plugindir.\"content.php?recent.\".\$menutypeid.\"'>\".CONTENT_LAN_61.\"</a><br />\";\n";
|
||||||
$data .= " }\n";
|
$data .= " }\n";
|
||||||
$data .= " if( \$content_pref[\"content_menu_viewsubmit\"] && \$content_pref[\"content_submit\"] && check_class(\$content_pref[\"content_submit_class\"]) ){\n";
|
$data .= " if(\$content_pref[\"content_menu_viewsubmit\"]){\n";
|
||||||
$data .= " \$text .= \$linksicon.\" <a href='\".\$plugindir.\"content_submit.php'>\".CONTENT_LAN_75.\"</a><br />\";\n";
|
$data .= " \$text .= \$linksicon.\" <a href='\".\$plugindir.\"content_manager.php'>\".CONTENT_LAN_75.\"</a><br />\";\n";
|
||||||
$data .= " }\n";
|
$data .= " }\n";
|
||||||
$data .= " \$text .= \"<br />\";\n";
|
$data .= " \$text .= \"<br />\";\n";
|
||||||
$data .= "}\n";
|
$data .= "}\n";
|
||||||
|
@@ -12,9 +12,9 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/handlers/content_convert_class.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/handlers/content_convert_class.php,v $
|
||||||
| $Revision: 1.1.1.1 $
|
| $Revision: 1.2 $
|
||||||
| $Date: 2006-12-02 04:34:59 $
|
| $Date: 2007-03-13 16:51:05 $
|
||||||
| $Author: mcfly_e107 $
|
| $Author: lisa_ $
|
||||||
+---------------------------------------------------------------+
|
+---------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -24,10 +24,8 @@ $plugindir = e_PLUGIN."content/";
|
|||||||
$plugintable = "pcontent"; //name of the table used in this plugin (never remove this, as it's being used throughout the plugin !!)
|
$plugintable = "pcontent"; //name of the table used in this plugin (never remove this, as it's being used throughout the plugin !!)
|
||||||
$datequery = " AND content_datestamp < ".time()." AND (content_enddate=0 || content_enddate>".time().") ";
|
$datequery = " AND content_datestamp < ".time()." AND (content_enddate=0 || content_enddate>".time().") ";
|
||||||
|
|
||||||
$lan_file = $plugindir.'languages/'.e_LANGUAGE.'/lan_content.php';
|
include_lan(e_PLUGIN."content/languages/".e_LANGUAGE."/lan_content.php");
|
||||||
include_once(file_exists($lan_file) ? $lan_file : $plugindir.'languages/English/lan_content.php');
|
include_lan(e_PLUGIN."content/languages/".e_LANGUAGE."/lan_content_admin.php");
|
||||||
$lan_file = $plugindir.'languages/'.e_LANGUAGE.'/lan_content_admin.php';
|
|
||||||
include_once(file_exists($lan_file) ? $lan_file : $plugindir.'languages/English/lan_content_admin.php');
|
|
||||||
|
|
||||||
require_once($plugindir."handlers/content_class.php");
|
require_once($plugindir."handlers/content_class.php");
|
||||||
$aa = new content;
|
$aa = new content;
|
||||||
|
@@ -12,8 +12,8 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/handlers/content_db_class.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/handlers/content_db_class.php,v $
|
||||||
| $Revision: 1.5 $
|
| $Revision: 1.6 $
|
||||||
| $Date: 2007-01-14 14:18:09 $
|
| $Date: 2007-03-13 16:51:05 $
|
||||||
| $Author: lisa_ $
|
| $Author: lisa_ $
|
||||||
+---------------------------------------------------------------+
|
+---------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
@@ -283,7 +283,9 @@ class contentdb{
|
|||||||
|
|
||||||
if($mode == "create"){
|
if($mode == "create"){
|
||||||
if($type == "submit"){
|
if($type == "submit"){
|
||||||
$refer = ($content_pref["content_submit_directpost"] ? "" : "sa");
|
$refer = ($content_pref["content_manager_submit_directpost"] ? "" : "sa");
|
||||||
|
}elseif($type == "contentmanager"){
|
||||||
|
$refer = ($content_pref["content_manager_manager_directpost"] ? "" : "sa");
|
||||||
}else{
|
}else{
|
||||||
$refer = "";
|
$refer = "";
|
||||||
}
|
}
|
||||||
@@ -300,7 +302,7 @@ class contentdb{
|
|||||||
}elseif($type == "contentmanager"){
|
}elseif($type == "contentmanager"){
|
||||||
js_location(e_SELF."?c");
|
js_location(e_SELF."?c");
|
||||||
}elseif($type == "submit"){
|
}elseif($type == "submit"){
|
||||||
if($content_pref["content_submit_directpost"]){
|
if($content_pref["content_manager_submit_directpost"]){
|
||||||
js_location(e_SELF."?s");
|
js_location(e_SELF."?s");
|
||||||
}else{
|
}else{
|
||||||
js_location(e_SELF."?d");
|
js_location(e_SELF."?d");
|
||||||
@@ -422,39 +424,6 @@ class contentdb{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function dbAssignAdmins($mode, $id, $value){
|
|
||||||
global $plugintable, $qs, $sql, $eArrayStorage;
|
|
||||||
|
|
||||||
if($mode == "admin"){
|
|
||||||
$id = intval($id);
|
|
||||||
$sql -> db_Select($plugintable, "content_pref", "content_id = '".intval($id)."' ");
|
|
||||||
$row = $sql -> db_Fetch();
|
|
||||||
|
|
||||||
//get current preferences
|
|
||||||
$content_pref = $eArrayStorage->ReadArray($row['content_pref']);
|
|
||||||
|
|
||||||
//assign new preferences
|
|
||||||
if($value == "clear"){
|
|
||||||
$content_pref["content_manager_allowed"] = "";
|
|
||||||
}else{
|
|
||||||
$content_pref["content_manager_allowed"] = $value;
|
|
||||||
}
|
|
||||||
|
|
||||||
//create new array of preferences
|
|
||||||
$tmp = $eArrayStorage->WriteArray($content_pref);
|
|
||||||
|
|
||||||
$sql -> db_Update($plugintable, "content_pref = '{$tmp}' WHERE content_id = '".intval($id)."' ");
|
|
||||||
|
|
||||||
$message = CONTENT_ADMIN_CAT_LAN_34;
|
|
||||||
return $message;
|
|
||||||
}else{
|
|
||||||
return FALSE;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function dbDelete($mode, $cat, $del_id){
|
function dbDelete($mode, $cat, $del_id){
|
||||||
global $plugintable, $sql, $_POST, $e107cache;
|
global $plugintable, $sql, $_POST, $e107cache;
|
||||||
|
|
||||||
@@ -477,8 +446,6 @@ class contentdb{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function dbSetOrder($mode, $type, $order){
|
function dbSetOrder($mode, $type, $order){
|
||||||
global $plugintable, $sql, $aa, $qs, $_POST, $e107cache;
|
global $plugintable, $sql, $aa, $qs, $_POST, $e107cache;
|
||||||
//$mode : all, inc, dec
|
//$mode : all, inc, dec
|
||||||
|
@@ -4,10 +4,8 @@ if (!defined('e107_INIT')) { exit; }
|
|||||||
global $plugindir, $imode;
|
global $plugindir, $imode;
|
||||||
$plugindir = e_PLUGIN."content/";
|
$plugindir = e_PLUGIN."content/";
|
||||||
$imagedir = e_IMAGE."packs/".$imode."/admin_images/";
|
$imagedir = e_IMAGE."packs/".$imode."/admin_images/";
|
||||||
$lan_file = e_PLUGIN.'content/languages/'.e_LANGUAGE.'/lan_content_admin.php';
|
include_lan(e_PLUGIN."content/languages/".e_LANGUAGE."/lan_content.php");
|
||||||
include_once(file_exists($lan_file) ? $lan_file : e_PLUGIN.'content/languages/English/lan_content_admin.php');
|
include_lan(e_PLUGIN."content/languages/".e_LANGUAGE."/lan_content_admin.php");
|
||||||
$lan_file = e_PLUGIN.'content/languages/'.e_LANGUAGE.'/lan_content.php';
|
|
||||||
include_once(file_exists($lan_file) ? $lan_file : e_PLUGIN.'content/languages/English/lan_content.php');
|
|
||||||
|
|
||||||
if (!defined('CONTENT_ICON_EDIT')) { define("CONTENT_ICON_EDIT", "<img src='".$imagedir."maintain_16.png' alt='".CONTENT_ICON_LAN_0."' title='".CONTENT_ICON_LAN_0."' style='border:0; cursor:pointer;' />"); }
|
if (!defined('CONTENT_ICON_EDIT')) { define("CONTENT_ICON_EDIT", "<img src='".$imagedir."maintain_16.png' alt='".CONTENT_ICON_LAN_0."' title='".CONTENT_ICON_LAN_0."' style='border:0; cursor:pointer;' />"); }
|
||||||
if (!defined('CONTENT_ICON_LINK')) { define("CONTENT_ICON_LINK", "<img src='".$imagedir."leave_16.png' alt='".CONTENT_ICON_LAN_15."' title='".CONTENT_ICON_LAN_15."' style='border:0; cursor:pointer;' />"); }
|
if (!defined('CONTENT_ICON_LINK')) { define("CONTENT_ICON_LINK", "<img src='".$imagedir."leave_16.png' alt='".CONTENT_ICON_LAN_15."' title='".CONTENT_ICON_LAN_15."' style='border:0; cursor:pointer;' />"); }
|
||||||
|
File diff suppressed because it is too large
Load Diff
@@ -3,10 +3,9 @@ require_once("../../../class2.php");
|
|||||||
require_once(e_HANDLER."form_handler.php");
|
require_once(e_HANDLER."form_handler.php");
|
||||||
$rs = new form;
|
$rs = new form;
|
||||||
|
|
||||||
$lan_file = e_PLUGIN."content/languages/".e_LANGUAGE."/lan_content.php";
|
include_lan(e_PLUGIN."content/languages/".e_LANGUAGE."/lan_content.php");
|
||||||
include_once(file_exists($lan_file) ? $lan_file : e_PLUGIN."content/languages/English/lan_content.php");
|
include_lan(e_PLUGIN."content/languages/".e_LANGUAGE."/lan_content_admin.php");
|
||||||
$lan_file = e_PLUGIN."content/languages/".e_LANGUAGE."/lan_content_admin.php";
|
|
||||||
include_once(file_exists($lan_file) ? $lan_file : e_PLUGIN."content/languages/English/lan_content_admin.php");
|
|
||||||
$months = array(CONTENT_ADMIN_DATE_LAN_0, CONTENT_ADMIN_DATE_LAN_1, CONTENT_ADMIN_DATE_LAN_2, CONTENT_ADMIN_DATE_LAN_3, CONTENT_ADMIN_DATE_LAN_4, CONTENT_ADMIN_DATE_LAN_5, CONTENT_ADMIN_DATE_LAN_6, CONTENT_ADMIN_DATE_LAN_7, CONTENT_ADMIN_DATE_LAN_8, CONTENT_ADMIN_DATE_LAN_9, CONTENT_ADMIN_DATE_LAN_10, CONTENT_ADMIN_DATE_LAN_11);
|
$months = array(CONTENT_ADMIN_DATE_LAN_0, CONTENT_ADMIN_DATE_LAN_1, CONTENT_ADMIN_DATE_LAN_2, CONTENT_ADMIN_DATE_LAN_3, CONTENT_ADMIN_DATE_LAN_4, CONTENT_ADMIN_DATE_LAN_5, CONTENT_ADMIN_DATE_LAN_6, CONTENT_ADMIN_DATE_LAN_7, CONTENT_ADMIN_DATE_LAN_8, CONTENT_ADMIN_DATE_LAN_9, CONTENT_ADMIN_DATE_LAN_10, CONTENT_ADMIN_DATE_LAN_11);
|
||||||
|
|
||||||
if(isset($_POST['addpreset'])){
|
if(isset($_POST['addpreset'])){
|
||||||
|
@@ -3,12 +3,7 @@ if (!defined('e107_INIT')) { exit; }
|
|||||||
|
|
||||||
global $plugindir;
|
global $plugindir;
|
||||||
require_once($plugindir."handlers/content_defines.php");
|
require_once($plugindir."handlers/content_defines.php");
|
||||||
$lan_file = $plugindir.'languages/'.e_LANGUAGE.'/lan_content_help.php';
|
include_lan(e_PLUGIN."content/languages/".e_LANGUAGE."/lan_content_help.php");
|
||||||
include_once(file_exists($lan_file) ? $lan_file : $plugindir.'languages/English/lan_content_help.php');
|
|
||||||
|
|
||||||
|
|
||||||
//$arrhide = array("creation", "submission", "paththeme", "general", "contentmanager", "menu", "recentpages", "catpages", "contentpages", "authorpage", "archivepage", "toppage", "scorepage");
|
|
||||||
|
|
||||||
|
|
||||||
if(!e_QUERY){
|
if(!e_QUERY){
|
||||||
$text = CONTENT_ADMIN_HELP_ITEM_1;
|
$text = CONTENT_ADMIN_HELP_ITEM_1;
|
||||||
@@ -63,27 +58,9 @@ if(!e_QUERY){
|
|||||||
|
|
||||||
//option: with main parent selected, show all options
|
//option: with main parent selected, show all options
|
||||||
}elseif($qs[0] == "option" && isset($qs[1]) && (is_numeric($qs[1]) || $qs[1] == "default") ){
|
}elseif($qs[0] == "option" && isset($qs[1]) && (is_numeric($qs[1]) || $qs[1] == "default") ){
|
||||||
//$text = CONTENT_ADMIN_HELP_OPTION_2;
|
|
||||||
/*
|
|
||||||
$text .= "
|
$text .= "
|
||||||
<div id='creationhelp'>".CONTENT_ADMIN_HELP_OPTION_DIV_1."</div>
|
<div id='creationhelp'>".CONTENT_ADMIN_HELP_OPTION_DIV_1."</div>
|
||||||
<div id='catcreationhelp' style='display:none;'>".CONTENT_ADMIN_HELP_OPTION_DIV_14."</div>
|
|
||||||
<div id='submissionhelp' style='display:none;'>".CONTENT_ADMIN_HELP_OPTION_DIV_2."</div>
|
|
||||||
<div id='paththemehelp' style='display:none;'>".CONTENT_ADMIN_HELP_OPTION_DIV_3."</div>
|
|
||||||
<div id='generalhelp' style='display:none;'>".CONTENT_ADMIN_HELP_OPTION_DIV_4."</div>
|
|
||||||
<div id='menuhelp' style='display:none;'>".CONTENT_ADMIN_HELP_OPTION_DIV_6."</div>
|
|
||||||
<div id='recentpageshelp' style='display:none;'>".CONTENT_ADMIN_HELP_OPTION_DIV_7."</div>
|
|
||||||
<div id='catpageshelp' style='display:none;'>".CONTENT_ADMIN_HELP_OPTION_DIV_8."</div>
|
|
||||||
<div id='contentpageshelp' style='display:none;'>".CONTENT_ADMIN_HELP_OPTION_DIV_9."</div>
|
|
||||||
<div id='authorpagehelp' style='display:none;'>".CONTENT_ADMIN_HELP_OPTION_DIV_10."</div>
|
|
||||||
<div id='archivepagehelp' style='display:none;'>".CONTENT_ADMIN_HELP_OPTION_DIV_11."</div>
|
|
||||||
<div id='toppagehelp' style='display:none;'>".CONTENT_ADMIN_HELP_OPTION_DIV_12."</div>
|
|
||||||
<div id='scorepagehelp' style='display:none;'>".CONTENT_ADMIN_HELP_OPTION_DIV_13."</div>
|
|
||||||
";
|
|
||||||
*/
|
|
||||||
$text .= "
|
|
||||||
<div id='creationhelp'>".CONTENT_ADMIN_HELP_OPTION_DIV_1."</div>
|
|
||||||
<div id='submissionhelp' style='display:none;'>".CONTENT_ADMIN_HELP_OPTION_DIV_2."</div>
|
|
||||||
<div id='generalhelp' style='display:none;'>".CONTENT_ADMIN_HELP_OPTION_DIV_3."</div>
|
<div id='generalhelp' style='display:none;'>".CONTENT_ADMIN_HELP_OPTION_DIV_3."</div>
|
||||||
<div id='menuhelp' style='display:none;'>".CONTENT_ADMIN_HELP_OPTION_DIV_6."</div>
|
<div id='menuhelp' style='display:none;'>".CONTENT_ADMIN_HELP_OPTION_DIV_6."</div>
|
||||||
<div id='recentpageshelp' style='display:none;'>".CONTENT_ADMIN_HELP_OPTION_DIV_7."</div>
|
<div id='recentpageshelp' style='display:none;'>".CONTENT_ADMIN_HELP_OPTION_DIV_7."</div>
|
||||||
@@ -92,19 +69,19 @@ if(!e_QUERY){
|
|||||||
<div id='authorpagehelp' style='display:none;'>".CONTENT_ADMIN_HELP_OPTION_DIV_10."</div>
|
<div id='authorpagehelp' style='display:none;'>".CONTENT_ADMIN_HELP_OPTION_DIV_10."</div>
|
||||||
<div id='archivepagehelp' style='display:none;'>".CONTENT_ADMIN_HELP_OPTION_DIV_11."</div>
|
<div id='archivepagehelp' style='display:none;'>".CONTENT_ADMIN_HELP_OPTION_DIV_11."</div>
|
||||||
<div id='toppagehelp' style='display:none;'>".CONTENT_ADMIN_HELP_OPTION_DIV_12."</div>
|
<div id='toppagehelp' style='display:none;'>".CONTENT_ADMIN_HELP_OPTION_DIV_12."</div>
|
||||||
<div id='scorepagehelp' style='display:none;'>".CONTENT_ADMIN_HELP_OPTION_DIV_13."</div>
|
<div id='scorepagehelp' style='display:none;'>".CONTENT_ADMIN_HELP_OPTION_DIV_13."</div>";
|
||||||
";
|
|
||||||
|
|
||||||
|
|
||||||
//##### CATEGORY --------------------------------------------------
|
//##### MANAGER --------------------------------------------------
|
||||||
//category content manager : choose category
|
//content manager : choose category
|
||||||
}elseif($qs[0] == "manager" && !isset($qs[1]) ){
|
}elseif($qs[0] == "manager" && !isset($qs[1]) ){
|
||||||
$text = CONTENT_ADMIN_HELP_MANAGER_1;
|
$text = CONTENT_ADMIN_HELP_MANAGER_1;
|
||||||
|
|
||||||
//category content manager : view contentmanager
|
//content manager : view contentmanager
|
||||||
}elseif($qs[0] == "manager" && isset($qs[1]) && is_numeric($qs[1]) ){
|
}elseif($qs[0] == "manager" && isset($qs[1]) && (is_numeric($qs[1]) || $qs[1]=='default') ){
|
||||||
$text = CONTENT_ADMIN_HELP_MANAGER_2;
|
$text = CONTENT_ADMIN_HELP_MANAGER_2;
|
||||||
|
|
||||||
|
//##### CATEGORY --------------------------------------------------
|
||||||
//overview all categories
|
//overview all categories
|
||||||
}elseif($qs[0] == "cat" && !isset($qs[1]) ){
|
}elseif($qs[0] == "cat" && !isset($qs[1]) ){
|
||||||
$text = CONTENT_ADMIN_HELP_CAT_1;
|
$text = CONTENT_ADMIN_HELP_CAT_1;
|
||||||
@@ -116,7 +93,6 @@ if(!e_QUERY){
|
|||||||
//edit category
|
//edit category
|
||||||
}elseif($qs[0] == "cat" && $qs[1] == "edit" && is_numeric($qs[2]) ){
|
}elseif($qs[0] == "cat" && $qs[1] == "edit" && is_numeric($qs[2]) ){
|
||||||
$text = CONTENT_ADMIN_HELP_CAT_3;
|
$text = CONTENT_ADMIN_HELP_CAT_3;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$ns -> tablerender(CONTENT_ADMIN_HELP_1, $text);
|
$ns -> tablerender(CONTENT_ADMIN_HELP_1, $text);
|
||||||
|
@@ -4,8 +4,8 @@
|
|||||||
| e107 website system - Language File.
|
| e107 website system - Language File.
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/languages/English/lan_content.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/languages/English/lan_content.php,v $
|
||||||
| $Revision: 1.2 $
|
| $Revision: 1.3 $
|
||||||
| $Date: 2007-01-14 11:59:11 $
|
| $Date: 2007-03-13 16:51:05 $
|
||||||
| $Author: lisa_ $
|
| $Author: lisa_ $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
@@ -72,14 +72,16 @@ define("CONTENT_PAGETITLE_LAN_4", "Top Rated");
|
|||||||
define("CONTENT_PAGETITLE_LAN_5", "Author");
|
define("CONTENT_PAGETITLE_LAN_5", "Author");
|
||||||
define("CONTENT_PAGETITLE_LAN_6", "Archive");
|
define("CONTENT_PAGETITLE_LAN_6", "Archive");
|
||||||
define("CONTENT_PAGETITLE_LAN_7", "Submit");
|
define("CONTENT_PAGETITLE_LAN_7", "Submit");
|
||||||
define("CONTENT_PAGETITLE_LAN_8", "Submit Content Item");
|
define("CONTENT_PAGETITLE_LAN_8", "Submit Item");
|
||||||
define("CONTENT_PAGETITLE_LAN_9", "Personal Content Manager");
|
define("CONTENT_PAGETITLE_LAN_9", "Submit And Content Manager");
|
||||||
define("CONTENT_PAGETITLE_LAN_10", "View Items");
|
define("CONTENT_PAGETITLE_LAN_10", "View Items");
|
||||||
define("CONTENT_PAGETITLE_LAN_11", "Edit Item");
|
define("CONTENT_PAGETITLE_LAN_11", "Edit Item");
|
||||||
define("CONTENT_PAGETITLE_LAN_12", "Create Item");
|
define("CONTENT_PAGETITLE_LAN_12", "Create Item");
|
||||||
define("CONTENT_PAGETITLE_LAN_13", "Categories");
|
define("CONTENT_PAGETITLE_LAN_13", "Categories");
|
||||||
define("CONTENT_PAGETITLE_LAN_14", "Authorlist");
|
define("CONTENT_PAGETITLE_LAN_14", "Authorlist");
|
||||||
define("CONTENT_PAGETITLE_LAN_15", "Top Score");
|
define("CONTENT_PAGETITLE_LAN_15", "Top Score");
|
||||||
|
define("CONTENT_PAGETITLE_LAN_16", "Submitted Items");
|
||||||
|
define("CONTENT_PAGETITLE_LAN_17", "Post Submitted Item");
|
||||||
|
|
||||||
define("CONTENT_SEARCH_LAN_0", "no content items found with these keywords.");
|
define("CONTENT_SEARCH_LAN_0", "no content items found with these keywords.");
|
||||||
|
|
||||||
@@ -164,8 +166,8 @@ define("CONTENT_LAN_63", "view all authors");
|
|||||||
define("CONTENT_LAN_64", "view top rated items");
|
define("CONTENT_LAN_64", "view top rated items");
|
||||||
define("CONTENT_LAN_65", "submit content");
|
define("CONTENT_LAN_65", "submit content");
|
||||||
define("CONTENT_LAN_66", "click here to submit content, you can choose the category on the submit page.");
|
define("CONTENT_LAN_66", "click here to submit content, you can choose the category on the submit page.");
|
||||||
define("CONTENT_LAN_67", "personal content manager");
|
define("CONTENT_LAN_67", "submit and manage content");
|
||||||
define("CONTENT_LAN_68", "click here to manage your personal content.");
|
define("CONTENT_LAN_68", "click here to submit or manage content.");
|
||||||
define("CONTENT_LAN_69", "email the");
|
define("CONTENT_LAN_69", "email the");
|
||||||
define("CONTENT_LAN_70", "print the");
|
define("CONTENT_LAN_70", "print the");
|
||||||
define("CONTENT_LAN_71", "content item");
|
define("CONTENT_LAN_71", "content item");
|
||||||
@@ -213,4 +215,8 @@ define("CONTENT_MENU_LAN_18", "");
|
|||||||
define("CONTENT_MENU_LAN_19", "");
|
define("CONTENT_MENU_LAN_19", "");
|
||||||
define("CONTENT_MENU_LAN_20", "");
|
define("CONTENT_MENU_LAN_20", "");
|
||||||
|
|
||||||
|
define("CONTENT_MANAGER_LAN_1", "create content");
|
||||||
|
define("CONTENT_MANAGER_LAN_2", "edit content");
|
||||||
|
define("CONTENT_MANAGER_LAN_3", "approve submitted ");
|
||||||
|
define("CONTENT_MANAGER_LAN_4", "submit content");
|
||||||
?>
|
?>
|
@@ -4,8 +4,8 @@
|
|||||||
| e107 website system - Language File.
|
| e107 website system - Language File.
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/languages/English/lan_content_admin.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/languages/English/lan_content_admin.php,v $
|
||||||
| $Revision: 1.7 $
|
| $Revision: 1.8 $
|
||||||
| $Date: 2007-03-05 08:18:27 $
|
| $Date: 2007-03-13 16:51:05 $
|
||||||
| $Author: lisa_ $
|
| $Author: lisa_ $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
@@ -18,13 +18,17 @@ define("CONTENT_PLUGIN_LAN_4", "This plugin is now ready to be used.");
|
|||||||
define("CONTENT_PLUGIN_LAN_5", "Content");
|
define("CONTENT_PLUGIN_LAN_5", "Content");
|
||||||
define("CONTENT_PLUGIN_LAN_6", "Content Management Plugin table structure updated");
|
define("CONTENT_PLUGIN_LAN_6", "Content Management Plugin table structure updated");
|
||||||
|
|
||||||
|
|
||||||
define("CONTENT_LATEST_LAN_1", "Submitted Content Items:");
|
define("CONTENT_LATEST_LAN_1", "Submitted Content Items:");
|
||||||
define("CONTENT_STATUS_LAN_1", "Submitted Content Items:");
|
define("CONTENT_STATUS_LAN_1", "Submitted Content Items:");
|
||||||
|
|
||||||
|
|
||||||
define("CONTENT_TEMPLATE_LAN_1", "id:");
|
define("CONTENT_TEMPLATE_LAN_1", "id:");
|
||||||
define("CONTENT_TEMPLATE_LAN_2", "author:");
|
define("CONTENT_TEMPLATE_LAN_2", "author:");
|
||||||
define("CONTENT_TEMPLATE_LAN_3", "view item:");
|
define("CONTENT_TEMPLATE_LAN_3", "view item:");
|
||||||
define("CONTENT_TEMPLATE_LAN_4", "subheading:");
|
define("CONTENT_TEMPLATE_LAN_4", "subheading:");
|
||||||
|
define("CONTENT_TEMPLATE_LAN_5", "category:");
|
||||||
|
|
||||||
|
|
||||||
define("CONTENT_ADMIN_CAT_LAN_0", "create content category");
|
define("CONTENT_ADMIN_CAT_LAN_0", "create content category");
|
||||||
define("CONTENT_ADMIN_CAT_LAN_1", "edit content category");
|
define("CONTENT_ADMIN_CAT_LAN_1", "edit content category");
|
||||||
@@ -56,10 +60,10 @@ define("CONTENT_ADMIN_CAT_LAN_26", "new main category");
|
|||||||
define("CONTENT_ADMIN_CAT_LAN_27", "category");
|
define("CONTENT_ADMIN_CAT_LAN_27", "category");
|
||||||
define("CONTENT_ADMIN_CAT_LAN_28", "Assign users from the left window to the Personal Content Manager for this category");
|
define("CONTENT_ADMIN_CAT_LAN_28", "Assign users from the left window to the Personal Content Manager for this category");
|
||||||
define("CONTENT_ADMIN_CAT_LAN_29", "Admins - click to move ... ");
|
define("CONTENT_ADMIN_CAT_LAN_29", "Admins - click to move ... ");
|
||||||
define("CONTENT_ADMIN_CAT_LAN_30", "Personal Content Manager");
|
define("CONTENT_ADMIN_CAT_LAN_30", "Submit And Content Manager");
|
||||||
define("CONTENT_ADMIN_CAT_LAN_31", "remove");
|
define("CONTENT_ADMIN_CAT_LAN_31", "remove");
|
||||||
define("CONTENT_ADMIN_CAT_LAN_32", "clear managers");
|
define("CONTENT_ADMIN_CAT_LAN_32", "clear managers");
|
||||||
define("CONTENT_ADMIN_CAT_LAN_33", "assign personal content managers");
|
define("CONTENT_ADMIN_CAT_LAN_33", "assign Submit And Content Managers");
|
||||||
define("CONTENT_ADMIN_CAT_LAN_34", "admins successfully assigned to the category");
|
define("CONTENT_ADMIN_CAT_LAN_34", "admins successfully assigned to the category");
|
||||||
define("CONTENT_ADMIN_CAT_LAN_35", "content sub category deleted");
|
define("CONTENT_ADMIN_CAT_LAN_35", "content sub category deleted");
|
||||||
define("CONTENT_ADMIN_CAT_LAN_36", "Category check: there are still subcategories present, the category will NOT be deleted. First remove all subcategories and then try again.");
|
define("CONTENT_ADMIN_CAT_LAN_36", "Category check: there are still subcategories present, the category will NOT be deleted. First remove all subcategories and then try again.");
|
||||||
@@ -67,10 +71,8 @@ define("CONTENT_ADMIN_CAT_LAN_37", "content items check: there are still content
|
|||||||
define("CONTENT_ADMIN_CAT_LAN_38", "content items check: no items found");
|
define("CONTENT_ADMIN_CAT_LAN_38", "content items check: no items found");
|
||||||
define("CONTENT_ADMIN_CAT_LAN_39", "category check: no subcategories found");
|
define("CONTENT_ADMIN_CAT_LAN_39", "category check: no subcategories found");
|
||||||
define("CONTENT_ADMIN_CAT_LAN_40", "Below you see a list of the main category and all subcategories if present.<br />");
|
define("CONTENT_ADMIN_CAT_LAN_40", "Below you see a list of the main category and all subcategories if present.<br />");
|
||||||
|
|
||||||
define("CONTENT_ADMIN_CAT_LAN_41", "The personal manager of content categories allows you to assign certain other admins to a category. With this privilege these admins can manage their own, and only their own, personal content items in this specified category, without the need to have control over the full content manager plugin. From the normal content page outside of the admin area they will see a personal manager icon which redirects them to the personal manager page.");
|
define("CONTENT_ADMIN_CAT_LAN_41", "The personal manager of content categories allows you to assign certain other admins to a category. With this privilege these admins can manage their own, and only their own, personal content items in this specified category, without the need to have control over the full content manager plugin. From the normal content page outside of the admin area they will see a personal manager icon which redirects them to the personal manager page.");
|
||||||
define("CONTENT_ADMIN_CAT_LAN_42", "to re-edit the same category");
|
define("CONTENT_ADMIN_CAT_LAN_42", "to re-edit the same category");
|
||||||
|
|
||||||
define("CONTENT_ADMIN_CAT_LAN_43", "click here");
|
define("CONTENT_ADMIN_CAT_LAN_43", "click here");
|
||||||
define("CONTENT_ADMIN_CAT_LAN_44", "to add another category in the earlier selected main category");
|
define("CONTENT_ADMIN_CAT_LAN_44", "to add another category in the earlier selected main category");
|
||||||
define("CONTENT_ADMIN_CAT_LAN_45", "allow comments?");
|
define("CONTENT_ADMIN_CAT_LAN_45", "allow comments?");
|
||||||
@@ -78,12 +80,7 @@ define("CONTENT_ADMIN_CAT_LAN_46", "allow rating?");
|
|||||||
define("CONTENT_ADMIN_CAT_LAN_47", "display print/email icons?");
|
define("CONTENT_ADMIN_CAT_LAN_47", "display print/email icons?");
|
||||||
define("CONTENT_ADMIN_CAT_LAN_48", "choose which users see this item");
|
define("CONTENT_ADMIN_CAT_LAN_48", "choose which users see this item");
|
||||||
define("CONTENT_ADMIN_CAT_LAN_49", "choose an icon for this category");
|
define("CONTENT_ADMIN_CAT_LAN_49", "choose an icon for this category");
|
||||||
//define("CONTENT_ADMIN_CAT_LAN_50", "content menu created<br /><br />Because you have created a Main Parent Category, a Menu has been generated.<br />The menu file has been created in your /menus folder.<br /><br />In order to see the menu in action, you still need to activate this menu in your <a href='".e_ADMIN."menus.php'>admin menus area</a>.");
|
define("CONTENT_ADMIN_CAT_LAN_50", "Only if you have created a New Main Parent Category, a menu file has been created.<br />This menu file has been created in your /menus folder.<br />In order to see the menu in action, you still need to activate the menu in your <a href='".e_ADMIN."menus.php'>admin menus area</a>.<br /><br />");
|
||||||
define("CONTENT_ADMIN_CAT_LAN_50", "
|
|
||||||
Only if you have created a New Main Parent Category, a menu file has been created.<br />
|
|
||||||
This menu file has been created in your /menus folder.<br />
|
|
||||||
In order to see the menu in action, you still need to activate the menu in your <a href='".e_ADMIN."menus.php'>admin menus area</a>.<br /><br />
|
|
||||||
");
|
|
||||||
define("CONTENT_ADMIN_CAT_LAN_51", "error; menu file not created");
|
define("CONTENT_ADMIN_CAT_LAN_51", "error; menu file not created");
|
||||||
define("CONTENT_ADMIN_CAT_LAN_52", "ALWAYS choose a category first before you fill in other fields!");
|
define("CONTENT_ADMIN_CAT_LAN_52", "ALWAYS choose a category first before you fill in other fields!");
|
||||||
define("CONTENT_ADMIN_CAT_LAN_53", "to manage another category");
|
define("CONTENT_ADMIN_CAT_LAN_53", "to manage another category");
|
||||||
@@ -98,12 +95,17 @@ define("CONTENT_ADMIN_CAT_LAN_61", "upload a new icon");
|
|||||||
define("CONTENT_ADMIN_CAT_LAN_62", "After you have uploaded a new category icon, you can assign this icon in the below 'icon' area<br />If you upload a new icon, this icon will be scaled to 48 pixels, and additionally a small 16 pixels icon will be created as well<br /><br />");
|
define("CONTENT_ADMIN_CAT_LAN_62", "After you have uploaded a new category icon, you can assign this icon in the below 'icon' area<br />If you upload a new icon, this icon will be scaled to 48 pixels, and additionally a small 16 pixels icon will be created as well<br /><br />");
|
||||||
define("CONTENT_ADMIN_CAT_LAN_63", "upload icon");
|
define("CONTENT_ADMIN_CAT_LAN_63", "upload icon");
|
||||||
|
|
||||||
|
|
||||||
define("CONTENT_ADMIN_MANAGER_LAN_0", "approve submitted");
|
define("CONTENT_ADMIN_MANAGER_LAN_0", "approve submitted");
|
||||||
define("CONTENT_ADMIN_MANAGER_LAN_1", "users with this class are able to approve submitted content items");
|
define("CONTENT_ADMIN_MANAGER_LAN_1", "users with this class are able to approve submitted content items");
|
||||||
define("CONTENT_ADMIN_MANAGER_LAN_2", "personal manager");
|
define("CONTENT_ADMIN_MANAGER_LAN_2", "personal manager");
|
||||||
define("CONTENT_ADMIN_MANAGER_LAN_3", "users with this class are able to manage only their personal content items");
|
define("CONTENT_ADMIN_MANAGER_LAN_3", "users with this class are able to create and manage their personal content items");
|
||||||
define("CONTENT_ADMIN_MANAGER_LAN_4", "category manager");
|
define("CONTENT_ADMIN_MANAGER_LAN_4", "category manager");
|
||||||
define("CONTENT_ADMIN_MANAGER_LAN_5", "users with this class are able to manage all content items in this category");
|
define("CONTENT_ADMIN_MANAGER_LAN_5", "users with this class are able to create and manage all content items in this category");
|
||||||
|
define("CONTENT_ADMIN_MANAGER_LAN_6", "submit content");
|
||||||
|
define("CONTENT_ADMIN_MANAGER_LAN_7", "users with this class are able to submit content items in this category");
|
||||||
|
define("CONTENT_ADMIN_MANAGER_LAN_8", "manager inherit preferences updated");
|
||||||
|
|
||||||
|
|
||||||
define("CONTENT_ADMIN_ITEM_LAN_0", "required field(s) left blank");
|
define("CONTENT_ADMIN_ITEM_LAN_0", "required field(s) left blank");
|
||||||
define("CONTENT_ADMIN_ITEM_LAN_1", "content item created");
|
define("CONTENT_ADMIN_ITEM_LAN_1", "content item created");
|
||||||
@@ -161,7 +163,7 @@ define("CONTENT_ADMIN_ITEM_LAN_52", "submit content item");
|
|||||||
define("CONTENT_ADMIN_ITEM_LAN_53", "meta keywords");
|
define("CONTENT_ADMIN_ITEM_LAN_53", "meta keywords");
|
||||||
define("CONTENT_ADMIN_ITEM_LAN_54", "additional data");
|
define("CONTENT_ADMIN_ITEM_LAN_54", "additional data");
|
||||||
define("CONTENT_ADMIN_ITEM_LAN_55", "Go back to the <a href='".e_SELF."'>main content manager page</a> to manage more of your personal content<br />or<br />Go to the <a href='".e_PLUGIN."content/content.php'>content main page</a> to view content items.");
|
define("CONTENT_ADMIN_ITEM_LAN_55", "Go back to the <a href='".e_SELF."'>main content manager page</a> to manage more of your personal content<br />or<br />Go to the <a href='".e_PLUGIN."content/content.php'>content main page</a> to view content items.");
|
||||||
define("CONTENT_ADMIN_ITEM_LAN_56", "personal content manager");
|
define("CONTENT_ADMIN_ITEM_LAN_56", "submit and manage content");
|
||||||
define("CONTENT_ADMIN_ITEM_LAN_57", "category");
|
define("CONTENT_ADMIN_ITEM_LAN_57", "category");
|
||||||
define("CONTENT_ADMIN_ITEM_LAN_58", "items");
|
define("CONTENT_ADMIN_ITEM_LAN_58", "items");
|
||||||
define("CONTENT_ADMIN_ITEM_LAN_59", "move");
|
define("CONTENT_ADMIN_ITEM_LAN_59", "move");
|
||||||
@@ -200,31 +202,23 @@ define("CONTENT_ADMIN_ITEM_LAN_91", "to re-edit the same item");
|
|||||||
define("CONTENT_ADMIN_ITEM_LAN_92", "layout");
|
define("CONTENT_ADMIN_ITEM_LAN_92", "layout");
|
||||||
define("CONTENT_ADMIN_ITEM_LAN_93", "choose a layout scheme");
|
define("CONTENT_ADMIN_ITEM_LAN_93", "choose a layout scheme");
|
||||||
define("CONTENT_ADMIN_ITEM_LAN_94", "select a layout scheme");
|
define("CONTENT_ADMIN_ITEM_LAN_94", "select a layout scheme");
|
||||||
|
|
||||||
define("CONTENT_ADMIN_ITEM_LAN_95", "upload a new icon");
|
define("CONTENT_ADMIN_ITEM_LAN_95", "upload a new icon");
|
||||||
define("CONTENT_ADMIN_ITEM_LAN_96", "choose an existing icon");
|
define("CONTENT_ADMIN_ITEM_LAN_96", "choose an existing icon");
|
||||||
define("CONTENT_ADMIN_ITEM_LAN_97", "After you have uploaded a new icon, you can assign it in the below 'choose an existing icon' area");
|
define("CONTENT_ADMIN_ITEM_LAN_97", "After you have uploaded a new icon, you can assign it in the below 'choose an existing icon' area");
|
||||||
|
|
||||||
define("CONTENT_ADMIN_ITEM_LAN_98", "upload a new attachment");
|
define("CONTENT_ADMIN_ITEM_LAN_98", "upload a new attachment");
|
||||||
define("CONTENT_ADMIN_ITEM_LAN_99", "choose an existing attachment");
|
define("CONTENT_ADMIN_ITEM_LAN_99", "choose an existing attachment");
|
||||||
define("CONTENT_ADMIN_ITEM_LAN_100", "After you have uploaded a new attachment, you can assign it in the below 'choose an existing attachment' area");
|
define("CONTENT_ADMIN_ITEM_LAN_100", "After you have uploaded a new attachment, you can assign it in the below 'choose an existing attachment' area");
|
||||||
|
|
||||||
define("CONTENT_ADMIN_ITEM_LAN_101", "upload a new image");
|
define("CONTENT_ADMIN_ITEM_LAN_101", "upload a new image");
|
||||||
define("CONTENT_ADMIN_ITEM_LAN_102", "choose an existing image");
|
define("CONTENT_ADMIN_ITEM_LAN_102", "choose an existing image");
|
||||||
define("CONTENT_ADMIN_ITEM_LAN_103", "After you have uploaded a new image, you can assign it in the below 'choose an existing image' area");
|
define("CONTENT_ADMIN_ITEM_LAN_103", "After you have uploaded a new image, you can assign it in the below 'choose an existing image' area");
|
||||||
|
|
||||||
define("CONTENT_ADMIN_ITEM_LAN_104", "upload");
|
define("CONTENT_ADMIN_ITEM_LAN_104", "upload");
|
||||||
define("CONTENT_ADMIN_ITEM_LAN_105", "view");
|
define("CONTENT_ADMIN_ITEM_LAN_105", "view");
|
||||||
|
|
||||||
define("CONTENT_ADMIN_ITEM_LAN_106", "icon successfully uploaded<br />notice: you still need to assign the icon to this content item in the 'choose an existing icon' area !<br />and of course after that you still need to submit the form to create/update the content item");
|
define("CONTENT_ADMIN_ITEM_LAN_106", "icon successfully uploaded<br />notice: you still need to assign the icon to this content item in the 'choose an existing icon' area !<br />and of course after that you still need to submit the form to create/update the content item");
|
||||||
define("CONTENT_ADMIN_ITEM_LAN_107", "icon not uploaded");
|
define("CONTENT_ADMIN_ITEM_LAN_107", "icon not uploaded");
|
||||||
|
|
||||||
define("CONTENT_ADMIN_ITEM_LAN_108", "attachment successfully uploaded<br />notice: you still need to assign the attachment to this content item in the 'choose an existing attachment' area !<br />and of course after that you still need to submit the form to create/update the content item");
|
define("CONTENT_ADMIN_ITEM_LAN_108", "attachment successfully uploaded<br />notice: you still need to assign the attachment to this content item in the 'choose an existing attachment' area !<br />and of course after that you still need to submit the form to create/update the content item");
|
||||||
define("CONTENT_ADMIN_ITEM_LAN_109", "attachment not uploaded");
|
define("CONTENT_ADMIN_ITEM_LAN_109", "attachment not uploaded");
|
||||||
|
|
||||||
define("CONTENT_ADMIN_ITEM_LAN_110", "image successfully uploaded<br />notice: you still need to assign the image to this content item in the 'choose an existing image' area !<br />and of course after that you still need to submit the form to create/update the content item");
|
define("CONTENT_ADMIN_ITEM_LAN_110", "image successfully uploaded<br />notice: you still need to assign the image to this content item in the 'choose an existing image' area !<br />and of course after that you still need to submit the form to create/update the content item");
|
||||||
define("CONTENT_ADMIN_ITEM_LAN_111", "image not uploaded");
|
define("CONTENT_ADMIN_ITEM_LAN_111", "image not uploaded");
|
||||||
|
|
||||||
define("CONTENT_ADMIN_ITEM_LAN_112", "upload an icon, attachment or image");
|
define("CONTENT_ADMIN_ITEM_LAN_112", "upload an icon, attachment or image");
|
||||||
define("CONTENT_ADMIN_ITEM_LAN_113", "choose the type of upload in the select box before you upload the file");
|
define("CONTENT_ADMIN_ITEM_LAN_113", "choose the type of upload in the select box before you upload the file");
|
||||||
define("CONTENT_ADMIN_ITEM_LAN_114", "icon");
|
define("CONTENT_ADMIN_ITEM_LAN_114", "icon");
|
||||||
@@ -234,11 +228,9 @@ define("CONTENT_ADMIN_ITEM_LAN_117", "submitted content item posted");
|
|||||||
define("CONTENT_ADMIN_ITEM_LAN_118", "no");
|
define("CONTENT_ADMIN_ITEM_LAN_118", "no");
|
||||||
define("CONTENT_ADMIN_ITEM_LAN_119", "assigned");
|
define("CONTENT_ADMIN_ITEM_LAN_119", "assigned");
|
||||||
define("CONTENT_ADMIN_ITEM_LAN_120", "default layout");
|
define("CONTENT_ADMIN_ITEM_LAN_120", "default layout");
|
||||||
|
|
||||||
define("CONTENT_ADMIN_ITEM_LAN_121", "no new icon uploaded yet");
|
define("CONTENT_ADMIN_ITEM_LAN_121", "no new icon uploaded yet");
|
||||||
define("CONTENT_ADMIN_ITEM_LAN_122", "no new attachment uploaded yet");
|
define("CONTENT_ADMIN_ITEM_LAN_122", "no new attachment uploaded yet");
|
||||||
define("CONTENT_ADMIN_ITEM_LAN_123", "no new image uploaded yet");
|
define("CONTENT_ADMIN_ITEM_LAN_123", "no new image uploaded yet");
|
||||||
|
|
||||||
define("CONTENT_ADMIN_ITEM_LAN_124", "to view the item");
|
define("CONTENT_ADMIN_ITEM_LAN_124", "to view the item");
|
||||||
|
|
||||||
|
|
||||||
@@ -247,7 +239,6 @@ define("CONTENT_ADMIN_ORDER_LAN_1", "order is decreased");
|
|||||||
define("CONTENT_ADMIN_ORDER_LAN_2", "new order for content items is saved");
|
define("CONTENT_ADMIN_ORDER_LAN_2", "new order for content items is saved");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
define("CONTENT_ADMIN_MAIN_LAN_0", "existing content categories");
|
define("CONTENT_ADMIN_MAIN_LAN_0", "existing content categories");
|
||||||
define("CONTENT_ADMIN_MAIN_LAN_1", "no content categories yet");
|
define("CONTENT_ADMIN_MAIN_LAN_1", "no content categories yet");
|
||||||
define("CONTENT_ADMIN_MAIN_LAN_2", "main content categories");
|
define("CONTENT_ADMIN_MAIN_LAN_2", "main content categories");
|
||||||
@@ -297,7 +288,6 @@ define("CONTENT_ADMIN_MAIN_LAN_28", "choose category ...");
|
|||||||
define("CONTENT_ADMIN_MAIN_LAN_29", "NEW MAIN CATEGORY");
|
define("CONTENT_ADMIN_MAIN_LAN_29", "NEW MAIN CATEGORY");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
define("CONTENT_ADMIN_MENU_LAN_0", "Manage Content");
|
define("CONTENT_ADMIN_MENU_LAN_0", "Manage Content");
|
||||||
define("CONTENT_ADMIN_MENU_LAN_1", "Create Content");
|
define("CONTENT_ADMIN_MENU_LAN_1", "Create Content");
|
||||||
define("CONTENT_ADMIN_MENU_LAN_2", "Manage Category");
|
define("CONTENT_ADMIN_MENU_LAN_2", "Manage Category");
|
||||||
@@ -315,7 +305,7 @@ define("CONTENT_ADMIN_MENU_LAN_13", "Content pages");
|
|||||||
define("CONTENT_ADMIN_MENU_LAN_14", "Menu");
|
define("CONTENT_ADMIN_MENU_LAN_14", "Menu");
|
||||||
define("CONTENT_ADMIN_MENU_LAN_15", "Order");
|
define("CONTENT_ADMIN_MENU_LAN_15", "Order");
|
||||||
define("CONTENT_ADMIN_MENU_LAN_16", "Archive Page");
|
define("CONTENT_ADMIN_MENU_LAN_16", "Archive Page");
|
||||||
define("CONTENT_ADMIN_MENU_LAN_17", "Personal Content Manager");
|
define("CONTENT_ADMIN_MENU_LAN_17", "Submit And Content Manager");
|
||||||
define("CONTENT_ADMIN_MENU_LAN_18", "Author Page");
|
define("CONTENT_ADMIN_MENU_LAN_18", "Author Page");
|
||||||
define("CONTENT_ADMIN_MENU_LAN_19", "Content Manager");
|
define("CONTENT_ADMIN_MENU_LAN_19", "Content Manager");
|
||||||
define("CONTENT_ADMIN_MENU_LAN_20", "Top Rated Page");
|
define("CONTENT_ADMIN_MENU_LAN_20", "Top Rated Page");
|
||||||
@@ -325,6 +315,7 @@ define("CONTENT_ADMIN_MENU_LAN_23", "Admin : Create Category");
|
|||||||
define("CONTENT_ADMIN_MENU_LAN_24", "Breadcrumb");
|
define("CONTENT_ADMIN_MENU_LAN_24", "Breadcrumb");
|
||||||
define("CONTENT_ADMIN_MENU_LAN_25", "Navigator / Search / Order");
|
define("CONTENT_ADMIN_MENU_LAN_25", "Navigator / Search / Order");
|
||||||
|
|
||||||
|
|
||||||
define("CONTENT_ADMIN_JS_LAN_0", "Are you sure you want to delete this category?");
|
define("CONTENT_ADMIN_JS_LAN_0", "Are you sure you want to delete this category?");
|
||||||
define("CONTENT_ADMIN_JS_LAN_1", "Are you sure you want to delete this content?");
|
define("CONTENT_ADMIN_JS_LAN_1", "Are you sure you want to delete this content?");
|
||||||
define("CONTENT_ADMIN_JS_LAN_2", "are you sure you want to remove the current image ?");
|
define("CONTENT_ADMIN_JS_LAN_2", "are you sure you want to remove the current image ?");
|
||||||
@@ -338,7 +329,6 @@ define("CONTENT_ADMIN_JS_LAN_9", "NOTICE :\\nonly empty categories can be delete
|
|||||||
define("CONTENT_ADMIN_JS_LAN_10", "Are you sure you want to delete this submitted content before posting it?");
|
define("CONTENT_ADMIN_JS_LAN_10", "Are you sure you want to delete this submitted content before posting it?");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
define("CONTENT_ADMIN_SUBMIT_LAN_0", "you do not have enough permission or user submission is not enabled");
|
define("CONTENT_ADMIN_SUBMIT_LAN_0", "you do not have enough permission or user submission is not enabled");
|
||||||
define("CONTENT_ADMIN_SUBMIT_LAN_1", "content submit types");
|
define("CONTENT_ADMIN_SUBMIT_LAN_1", "content submit types");
|
||||||
define("CONTENT_ADMIN_SUBMIT_LAN_2", "Thank you, your content item has been submitted.");
|
define("CONTENT_ADMIN_SUBMIT_LAN_2", "Thank you, your content item has been submitted.");
|
||||||
@@ -348,18 +338,6 @@ define("CONTENT_ADMIN_SUBMIT_LAN_5", "Go back to the <a href='".e_SELF."'>main s
|
|||||||
define("CONTENT_ADMIN_SUBMIT_LAN_6", "");
|
define("CONTENT_ADMIN_SUBMIT_LAN_6", "");
|
||||||
define("CONTENT_ADMIN_SUBMIT_LAN_7", "");
|
define("CONTENT_ADMIN_SUBMIT_LAN_7", "");
|
||||||
define("CONTENT_ADMIN_SUBMIT_LAN_8", "submitted content item deleted");
|
define("CONTENT_ADMIN_SUBMIT_LAN_8", "submitted content item deleted");
|
||||||
define("CONTENT_ADMIN_SUBMIT_LAN_9", "");
|
|
||||||
define("CONTENT_ADMIN_SUBMIT_LAN_10", "");
|
|
||||||
define("CONTENT_ADMIN_SUBMIT_LAN_11", "");
|
|
||||||
define("CONTENT_ADMIN_SUBMIT_LAN_12", "");
|
|
||||||
define("CONTENT_ADMIN_SUBMIT_LAN_13", "");
|
|
||||||
define("CONTENT_ADMIN_SUBMIT_LAN_14", "");
|
|
||||||
define("CONTENT_ADMIN_SUBMIT_LAN_15", "");
|
|
||||||
define("CONTENT_ADMIN_SUBMIT_LAN_16", "");
|
|
||||||
define("CONTENT_ADMIN_SUBMIT_LAN_17", "");
|
|
||||||
define("CONTENT_ADMIN_SUBMIT_LAN_18", "");
|
|
||||||
define("CONTENT_ADMIN_SUBMIT_LAN_19", "");
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
define("CONTENT_ADMIN_CONVERSION_LAN_0", "content");
|
define("CONTENT_ADMIN_CONVERSION_LAN_0", "content");
|
||||||
@@ -421,7 +399,6 @@ define("CONTENT_ADMIN_CONVERSION_LAN_55", "content management plugin : conversio
|
|||||||
define("CONTENT_ADMIN_CONVERSION_LAN_56", "click the button to go to the Content Create New Category page.");
|
define("CONTENT_ADMIN_CONVERSION_LAN_56", "click the button to go to the Content Create New Category page.");
|
||||||
define("CONTENT_ADMIN_CONVERSION_LAN_57", "choose parent");
|
define("CONTENT_ADMIN_CONVERSION_LAN_57", "choose parent");
|
||||||
define("CONTENT_ADMIN_CONVERSION_LAN_58", "upgrade successful<br /><br /><b>Please note:<br />you need to reconfigure the options for each main parent<br />and you need to delete the menus you've created in your content/menus folder, and recreate them by updating the options for the specific main parents you want to use menus for.</b>");
|
define("CONTENT_ADMIN_CONVERSION_LAN_58", "upgrade successful<br /><br /><b>Please note:<br />you need to reconfigure the options for each main parent<br />and you need to delete the menus you've created in your content/menus folder, and recreate them by updating the options for the specific main parents you want to use menus for.</b>");
|
||||||
|
|
||||||
define("CONTENT_ADMIN_CONVERSION_LAN_59", "convert table");
|
define("CONTENT_ADMIN_CONVERSION_LAN_59", "convert table");
|
||||||
define("CONTENT_ADMIN_CONVERSION_LAN_60", "create defaults");
|
define("CONTENT_ADMIN_CONVERSION_LAN_60", "create defaults");
|
||||||
define("CONTENT_ADMIN_CONVERSION_LAN_61", "create new category");
|
define("CONTENT_ADMIN_CONVERSION_LAN_61", "create new category");
|
||||||
@@ -435,10 +412,11 @@ define("CONTENT_ADMIN_CONVERSION_LAN_68", "Content Management Plugin : content_t
|
|||||||
define("CONTENT_ADMIN_CONVERSION_LAN_69", "");
|
define("CONTENT_ADMIN_CONVERSION_LAN_69", "");
|
||||||
define("CONTENT_ADMIN_CONVERSION_LAN_70", "");
|
define("CONTENT_ADMIN_CONVERSION_LAN_70", "");
|
||||||
|
|
||||||
|
|
||||||
define("CONTENT_ADMIN_OPT_LAN_MENU_1", "Options:");
|
define("CONTENT_ADMIN_OPT_LAN_MENU_1", "Options:");
|
||||||
define("CONTENT_ADMIN_OPT_LAN_MENU_2", "Pages:");
|
define("CONTENT_ADMIN_OPT_LAN_MENU_2", "Pages:");
|
||||||
define("CONTENT_ADMIN_OPT_LAN_MENU_3", "Admin : Create Item");
|
define("CONTENT_ADMIN_OPT_LAN_MENU_3", "Admin : Create Item");
|
||||||
define("CONTENT_ADMIN_OPT_LAN_MENU_4", "Submit Item");
|
define("CONTENT_ADMIN_OPT_LAN_MENU_4", "options : submit content");
|
||||||
define("CONTENT_ADMIN_OPT_LAN_MENU_5", "Path Locations");
|
define("CONTENT_ADMIN_OPT_LAN_MENU_5", "Path Locations");
|
||||||
define("CONTENT_ADMIN_OPT_LAN_MENU_6", "General");
|
define("CONTENT_ADMIN_OPT_LAN_MENU_6", "General");
|
||||||
define("CONTENT_ADMIN_OPT_LAN_MENU_7", "Content Manager");
|
define("CONTENT_ADMIN_OPT_LAN_MENU_7", "Content Manager");
|
||||||
@@ -457,6 +435,8 @@ define("CONTENT_ADMIN_OPT_LAN_MENU_19", "recent items list");
|
|||||||
define("CONTENT_ADMIN_OPT_LAN_MENU_20", "links to pages");
|
define("CONTENT_ADMIN_OPT_LAN_MENU_20", "links to pages");
|
||||||
define("CONTENT_ADMIN_OPT_LAN_MENU_21", "Admin : Create Category");
|
define("CONTENT_ADMIN_OPT_LAN_MENU_21", "Admin : Create Category");
|
||||||
define("CONTENT_ADMIN_OPT_LAN_MENU_22", "Theme and Layout");
|
define("CONTENT_ADMIN_OPT_LAN_MENU_22", "Theme and Layout");
|
||||||
|
define("CONTENT_ADMIN_OPT_LAN_MENU_23", "options : content managers");
|
||||||
|
|
||||||
|
|
||||||
define("CONTENT_ADMIN_OPT_LAN_SECTION_0", "sections");
|
define("CONTENT_ADMIN_OPT_LAN_SECTION_0", "sections");
|
||||||
define("CONTENT_ADMIN_OPT_LAN_SECTION_1", "choose what will be displayed");
|
define("CONTENT_ADMIN_OPT_LAN_SECTION_1", "choose what will be displayed");
|
||||||
@@ -535,7 +515,6 @@ define("CONTENT_PRESET_LAN_31", "radio");
|
|||||||
define("CONTENT_PRESET_LAN_32", "example:");
|
define("CONTENT_PRESET_LAN_32", "example:");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
define("CONTENT_ADMIN_OPT_LAN_0", "options");
|
define("CONTENT_ADMIN_OPT_LAN_0", "options");
|
||||||
define("CONTENT_ADMIN_OPT_LAN_1", "default preferences");
|
define("CONTENT_ADMIN_OPT_LAN_1", "default preferences");
|
||||||
define("CONTENT_ADMIN_OPT_LAN_2", "update options");
|
define("CONTENT_ADMIN_OPT_LAN_2", "update options");
|
||||||
@@ -554,8 +533,7 @@ define("CONTENT_ADMIN_OPT_LAN_15", "path to content cat icons (large)");
|
|||||||
define("CONTENT_ADMIN_OPT_LAN_16", "path to content cat icons (small)");
|
define("CONTENT_ADMIN_OPT_LAN_16", "path to content cat icons (small)");
|
||||||
define("CONTENT_ADMIN_OPT_LAN_17", "path to content item icons");
|
define("CONTENT_ADMIN_OPT_LAN_17", "path to content item icons");
|
||||||
define("CONTENT_ADMIN_OPT_LAN_18", "path to content item images");
|
define("CONTENT_ADMIN_OPT_LAN_18", "path to content item images");
|
||||||
define("CONTENT_ADMIN_OPT_LAN_19", "path to content item attachments
|
define("CONTENT_ADMIN_OPT_LAN_19", "path to content item attachments");
|
||||||
");
|
|
||||||
define("CONTENT_ADMIN_OPT_LAN_20", "define theme for this main category");
|
define("CONTENT_ADMIN_OPT_LAN_20", "define theme for this main category");
|
||||||
define("CONTENT_ADMIN_OPT_LAN_21", "define default layout scheme");
|
define("CONTENT_ADMIN_OPT_LAN_21", "define default layout scheme");
|
||||||
define("CONTENT_ADMIN_OPT_LAN_22", "activate logging of refer count");
|
define("CONTENT_ADMIN_OPT_LAN_22", "activate logging of refer count");
|
||||||
@@ -640,7 +618,7 @@ define("CONTENT_ADMIN_OPT_LAN_100", "link : all content items");
|
|||||||
define("CONTENT_ADMIN_OPT_LAN_101", "link : top rated");
|
define("CONTENT_ADMIN_OPT_LAN_101", "link : top rated");
|
||||||
define("CONTENT_ADMIN_OPT_LAN_102", "link : top score");
|
define("CONTENT_ADMIN_OPT_LAN_102", "link : top score");
|
||||||
define("CONTENT_ADMIN_OPT_LAN_103", "link : recent items");
|
define("CONTENT_ADMIN_OPT_LAN_103", "link : recent items");
|
||||||
define("CONTENT_ADMIN_OPT_LAN_104", "link : submit item");
|
define("CONTENT_ADMIN_OPT_LAN_104", "link : Submit And Content Manager");
|
||||||
define("CONTENT_ADMIN_OPT_LAN_105", "icon : links");
|
define("CONTENT_ADMIN_OPT_LAN_105", "icon : links");
|
||||||
define("CONTENT_ADMIN_OPT_LAN_106", "none (), bullet (), middot (·), white bullet (<28>), arrow (»), category_icon()");
|
define("CONTENT_ADMIN_OPT_LAN_106", "none (), bullet (), middot (·), white bullet (<28>), arrow (»), category_icon()");
|
||||||
define("CONTENT_ADMIN_OPT_LAN_107", "none");
|
define("CONTENT_ADMIN_OPT_LAN_107", "none");
|
||||||
@@ -654,8 +632,8 @@ define("CONTENT_ADMIN_OPT_LAN_114", "rendertype for links");
|
|||||||
define("CONTENT_ADMIN_OPT_LAN_115", "caption for link list");
|
define("CONTENT_ADMIN_OPT_LAN_115", "caption for link list");
|
||||||
define("CONTENT_ADMIN_OPT_LAN_116", "this caption will only be used if the links are shown as 'normallinks'.");
|
define("CONTENT_ADMIN_OPT_LAN_116", "this caption will only be used if the links are shown as 'normallinks'.");
|
||||||
define("CONTENT_ADMIN_OPT_LAN_117", "display categories");
|
define("CONTENT_ADMIN_OPT_LAN_117", "display categories");
|
||||||
define("CONTENT_ADMIN_OPT_LAN_118", "include main category");
|
define("CONTENT_ADMIN_OPT_LAN_118", "include top level category");
|
||||||
define("CONTENT_ADMIN_OPT_LAN_119", "if disabled only the subcategories of the main parent are displayed");
|
define("CONTENT_ADMIN_OPT_LAN_119", "if disabled only the subcategories of the top level category are displayed");
|
||||||
define("CONTENT_ADMIN_OPT_LAN_120", "display number of items in each category");
|
define("CONTENT_ADMIN_OPT_LAN_120", "display number of items in each category");
|
||||||
define("CONTENT_ADMIN_OPT_LAN_121", "icon: category");
|
define("CONTENT_ADMIN_OPT_LAN_121", "icon: category");
|
||||||
define("CONTENT_ADMIN_OPT_LAN_122", "icon: category (default)");
|
define("CONTENT_ADMIN_OPT_LAN_122", "icon: category (default)");
|
||||||
@@ -680,7 +658,7 @@ define("CONTENT_ADMIN_OPT_LAN_140", "Manage Category");
|
|||||||
define("CONTENT_ADMIN_OPT_LAN_141", "Create Category");
|
define("CONTENT_ADMIN_OPT_LAN_141", "Create Category");
|
||||||
define("CONTENT_ADMIN_OPT_LAN_142", "Order");
|
define("CONTENT_ADMIN_OPT_LAN_142", "Order");
|
||||||
define("CONTENT_ADMIN_OPT_LAN_143", "Options");
|
define("CONTENT_ADMIN_OPT_LAN_143", "Options");
|
||||||
define("CONTENT_ADMIN_OPT_LAN_144", "Personal Content Manager");
|
define("CONTENT_ADMIN_OPT_LAN_144", "Submit And Content Manager");
|
||||||
define("CONTENT_ADMIN_OPT_LAN_145", "Recent");
|
define("CONTENT_ADMIN_OPT_LAN_145", "Recent");
|
||||||
define("CONTENT_ADMIN_OPT_LAN_146", "All Categories");
|
define("CONTENT_ADMIN_OPT_LAN_146", "All Categories");
|
||||||
define("CONTENT_ADMIN_OPT_LAN_147", "One Category");
|
define("CONTENT_ADMIN_OPT_LAN_147", "One Category");
|
||||||
|
@@ -4,71 +4,70 @@
|
|||||||
| e107 website system - Language File.
|
| e107 website system - Language File.
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/languages/English/lan_content_help.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/languages/English/lan_content_help.php,v $
|
||||||
| $Revision: 1.3 $
|
| $Revision: 1.4 $
|
||||||
| $Date: 2007-03-01 09:32:28 $
|
| $Date: 2007-03-13 16:51:05 $
|
||||||
| $Author: lisa_ $
|
| $Author: lisa_ $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
|
|
||||||
define("CONTENT_ADMIN_HELP_1", "Content Management Help Area");
|
define("CONTENT_ADMIN_HELP_1", "Content Management Help Area");
|
||||||
|
|
||||||
define("CONTENT_ADMIN_HELP_ITEM_1", "<i>if you have not yet added main parent categories, please do so at the <a href='".e_SELF."?cat.create'>Create New Category</a> page.</i><br /><br /><b>category</b><br />select a category from the pull-down menu to manage content for that category.<br /><br />Selecting a main parent from the pull-down menu will show all content items in that main category.<br />Selecting a subcategory will show only those content items in the specified subcategory.<br /><br />You can also use the menu on the right to view all content items for a specified category.");
|
define("CONTENT_ADMIN_HELP_ITEM_1", "<i>if you have not yet added top level categories, please do so at the <a href='".e_SELF."?cat.create'>Create New Category</a> page.</i><br /><br /><b>category</b><br />select a category from the pull-down menu to manage content for that category.<br /><br />Selecting a top level category from the pull-down menu will show all content items in that top level category.<br />Selecting a subcategory will show only those content items in the specified subcategory.");
|
||||||
|
|
||||||
define("CONTENT_ADMIN_HELP_ITEM_2", "<b>first letters</b><br />if multiple content item starting letters of the content_heading are present, you will see buttons to select only those content items starting with that letter. Selecting the 'all' button will show a list containing all content items in this category.<br /><br /><b>detailed list</b><br />You see a list of all content items with their id, icon, author, heading [subheading] and options.<br /><br /><b>explanation of icons</b><br />".CONTENT_ICON_DETAILS." : view detailed information<br />".CONTENT_ICON_USER." : link to the author profile<br />".CONTENT_ICON_LINK." : link to the content item<br />".CONTENT_ICON_EDIT." : edit the content item<br />".CONTENT_ICON_DELETE." : delete the content item<br />");
|
define("CONTENT_ADMIN_HELP_ITEM_2", "<b>first letters</b><br />if multiple content item starting letters of the content_heading are present, you will see buttons to select only those content items starting with that letter. Selecting the 'all' button will show a list containing all content items in this category.<br /><br /><b>explanation of icons</b><br />".CONTENT_ICON_DETAILS." : view detailed information<br />".CONTENT_ICON_EDIT." : edit the content item<br />".CONTENT_ICON_DELETE." : delete the content item<br />");
|
||||||
|
|
||||||
define("CONTENT_ADMIN_HELP_ITEMEDIT_1", "<b>edit form</b><br />you can now edit all information for this content item and submit your changes.<br /><br />If you need to change the category for this content item, please do so first. After you have selected the correct category, change or add any fields present, before you submit the changes.");
|
define("CONTENT_ADMIN_HELP_ITEMEDIT_1", "<b>edit form</b><br />you can now edit all information for this content item and submit your changes.<br /><br />If you need to change the category for this content item, please do so first. After you have selected the correct category, change or add any fields present, before you submit the changes.");
|
||||||
|
|
||||||
define("CONTENT_ADMIN_HELP_ITEMCREATE_1", "<b>category</b><br />please select a category from the select box to create your content item for.<br />");
|
define("CONTENT_ADMIN_HELP_ITEMCREATE_1", "<b>category</b><br />please select a category from the select box to create your content item for.<br />");
|
||||||
|
|
||||||
define("CONTENT_ADMIN_HELP_ITEMCREATE_2", "<b>creation form</b><br />you can now provide all information for this content item and submit it.<br /><br />Be aware of the fact that different main parent categories can have a different set of preferences; different fields can be available for you to fill in. Therefore you always need to select a category first before you fill in other fields!");
|
define("CONTENT_ADMIN_HELP_ITEMCREATE_2", "<b>creation form</b><br />you can now provide all information for this content item and submit it.<br /><br /><b>Be aware of the fact that different top level categories can have a different set of preferences; different fields can be available for you to fill in. Therefore you always need to select a category first before you fill in other fields!</b>");
|
||||||
|
|
||||||
define("CONTENT_ADMIN_HELP_CAT_1", "<i>this page shows all categories and subcategories present.</i><br /><br /><b>detailed list</b><br />You see a list of all subcategories with their id, icon, author, category [subheading] and options.<br /><br /><b>explanation of icons</b><br />".CONTENT_ICON_DETAILS." : view detailed information<br />".CONTENT_ICON_USER." : link to the author profile<br />".CONTENT_ICON_LINK." : link to the category<br />".CONTENT_ICON_EDIT." : edit the category<br />".CONTENT_ICON_DELETE." : delete the category<br />");
|
define("CONTENT_ADMIN_HELP_CAT_1", "<i>this page shows all categories and subcategories present.</i><br /><br /><b>explanation of icons</b><br />".CONTENT_ICON_DETAILS." : view detailed information<br />".CONTENT_ICON_EDIT." : edit the category<br />".CONTENT_ICON_DELETE." : delete the category<br />");
|
||||||
|
|
||||||
define("CONTENT_ADMIN_HELP_CAT_2", "<i>this page allows you to create a new category</i><br /><br />Always choose a parent category before you fill in the other fields !<br /><br />This must be done, because some unique category preferences need to be loaded in the system.<br /><br />By default the category page is shown to create a new main category.");
|
define("CONTENT_ADMIN_HELP_CAT_2", "<i>this page allows you to create a new category</i><br /><br />Always choose a parent category before you fill in the other fields !<br /><br />This must be done, because some unique category preferences need to be loaded in the system.<br /><br />By default the category page is shown to create a new top level category.");
|
||||||
|
|
||||||
define("CONTENT_ADMIN_HELP_CAT_3", "<i>this page shows the category edit form.</i><br /><br /><b>category edit form</b><br />you can now edit all information for this (sub)category and submit your changes.<br /><br />If you want to change the parent location for this category, please do so first. After you have set the correct category edit all other fields.");
|
define("CONTENT_ADMIN_HELP_CAT_3", "<i>this page shows the category edit form.</i><br /><br /><b>category edit form</b><br />you can now edit all information for this (sub)category and submit your changes.<br /><br />If you want to change the parent location for this category, please do so first. After you have set the correct category edit all other fields.");
|
||||||
|
|
||||||
define("CONTENT_ADMIN_HELP_ORDER_1", "<i>this page shows all categories and subcategories present.</i><br /><br /><b>detailed list</b><br />you see the category id and the category name. also you see several options to manage the order of the categories.<br /><br /><b>explanation of icons</b><br />".CONTENT_ICON_DETAILS." : view detailed information<br />".CONTENT_ICON_USER." : link to the author profile<br />".CONTENT_ICON_LINK." : link to the category<br />".CONTENT_ICON_ORDERALL." : manage the global order of content item regardless of category.<br />".CONTENT_ICON_ORDERCAT." : manage the order of content items in the specific category.<br />".CONTENT_ICON_ORDER_UP." : the up button allows you to move a content item one up in order.<br />".CONTENT_ICON_ORDER_DOWN." : the down button allows you to move a content item one down in order.<br /><br /><b>order</b><br />here you can manually set the order of all the categories in this each parent. You need to change the values in the select boxes to the order of your kind and then press the update button below to save the new order.<br />");
|
define("CONTENT_ADMIN_HELP_ORDER_1", "<i>This page shows all categories and subcategories present.</i><br /><br /><b>explanation of icons</b><br />".CONTENT_ICON_DETAILS." : view detailed information<br />".CONTENT_ICON_ORDERALL." : manage the global order of content item regardless of category.<br />".CONTENT_ICON_ORDERCAT." : manage the order of content items in the specific category.<br />".CONTENT_ICON_ORDER_UP." : the up button allows you to move a content item one up in order.<br />".CONTENT_ICON_ORDER_DOWN." : the down button allows you to move a content item one down in order.<br /><br /><b>order</b><br />here you can manually set the order of all the categories in this each parent. You need to change the values in the select boxes to the order of your kind and then press the update button below to save the new order.<br />");
|
||||||
|
|
||||||
define("CONTENT_ADMIN_HELP_ORDER_2", "<i>this page shows all content items from the category you have selected.</i><br /><br /><b>detailed list</b><br />you see the content id, the content author and the content heading. also you see several options to manage the order of the content items.<br /><br /><b>explanation of icons</b><br />".CONTENT_ICON_DETAILS." : view detailed information<br />".CONTENT_ICON_USER." : link to the author profile<br />".CONTENT_ICON_LINK." : link to the content item<br />".CONTENT_ICON_ORDER_UP." : the up button allows you to move a content item one up in order.<br />".CONTENT_ICON_ORDER_DOWN." : the down button allows you to move a content item one down in order.<br /><br /><b>order</b><br />here you can manually set the order of all the categories in this main parent. You need to change the values in the select boxes to the order of your kind and then press the update button below to save the new order.<br />");
|
define("CONTENT_ADMIN_HELP_ORDER_2", "<i>This page shows all content items from the category you have selected.</i><br /><br /><b>explanation of icons</b><br />".CONTENT_ICON_DETAILS." : view detailed information<br />".CONTENT_ICON_ORDER_UP." : the up button allows you to move a content item one up in order.<br />".CONTENT_ICON_ORDER_DOWN." : the down button allows you to move a content item one down in order.<br /><br /><b>order</b><br />here you can manually set the order of all the categories in this top level category. You need to change the values in the select boxes to the order of your kind and then press the update button below to save the new order.<br />");
|
||||||
|
|
||||||
define("CONTENT_ADMIN_HELP_ORDER_3", "<i>this page shows all content items from main parent category you have selected.</i><br /><br /><b>detailed list</b><br />you see the content id, the content author and the content heading. also you see several options to manage the order of the content items.<br /><br /><b>explanation of icons</b><br />".CONTENT_ICON_DETAILS." : view detailed information<br />".CONTENT_ICON_USER." : link to the author profile<br />".CONTENT_ICON_LINK." : link to the content item<br />".CONTENT_ICON_ORDER_UP." : the up button allow you to move a content item one up in order.<br />".CONTENT_ICON_ORDER_DOWN." : the down button allow you to move a content item one down in order.<br /><br /><b>order</b><br />here you can manually set the order of all the categories in this main parent. You need to change the values in the select boxes to the order of your kind and then press the update button below to save the new order.<br />");
|
define("CONTENT_ADMIN_HELP_ORDER_3", "<i>This page shows all content items from the top level category you have selected.</i><br /><br /><b>explanation of icons</b><br />".CONTENT_ICON_DETAILS." : view detailed information<br />".CONTENT_ICON_ORDER_UP." : the up button allow you to move a content item one up in order.<br />".CONTENT_ICON_ORDER_DOWN." : the down button allow you to move a content item one down in order.<br /><br /><b>order</b><br />here you can manually set the order of all the categories in this top level category. You need to change the values in the select boxes to the order of your kind and then press the update button below to save the new order.<br />");
|
||||||
|
|
||||||
define("CONTENT_ADMIN_HELP_OPTION_1", "On this page you can select a main parent category to set options for, or you can choose to edit the default preferences.<br /><br /><b>explanation of icons</b><br />".CONTENT_ICON_DETAILS." : view detailed information<br />".CONTENT_ICON_USER." : link to the author profile<br />".CONTENT_ICON_LINK." : link to the category<br />".CONTENT_ICON_OPTIONS." : edit the options<br /><br /><br />The default preferences are only used when you create a new main parent. So when you create a new main parent these default preferences will be stored. You can change these to make sure newly created main parents already have a certain set of features present.<br /><br />Each main parent has its own set of options, which are unique to that specific main parent category<br /><br /><b>inherit</b><br />The inherit checkboxes allow you to override the main parents individual options, and use the default preferences for the checked main parents.");
|
define("CONTENT_ADMIN_HELP_OPTION_1", "On this page you can select a top level category to set options for, or you can choose to edit the default preferences.<br /><br /><b>explanation of icons</b><br />".CONTENT_ICON_DETAILS." : view detailed information<br />".CONTENT_ICON_OPTIONS." : edit the options<br /><br /><br />The default preferences are only used when you create a new top level category and when you use the inherit option. So when you create a new top level category these default preferences will be stored. You can change these to make sure newly created top level categories already have a certain set of features present.<br /><br />Each top level category has its own set of options, which are unique to that specific top level category<br /><br /><b>inherit</b><br />The inherit checkboxes allow you to override the individual options for a top level category, and use the default preferences instead.");
|
||||||
|
|
||||||
//define("CONTENT_ADMIN_HELP_OPTION_2", "<i>this page shows the options you can set for this main parent. Each main parent has their own specific set of options, so be sure to set them all correctly.</i><br /><br />");
|
define("CONTENT_ADMIN_HELP_OPTION_2", "");
|
||||||
//<b>default values</b><br />By default all values are present and already updated in the preferences when you view this page, but change any setting to your own standards.<br /><br />
|
|
||||||
define("CONTENT_ADMIN_HELP_MANAGER_1", "On this page you see a list of all categories. You can manage the 'personal content manager' for each category by clicking the icon.<br /><br /><b>explanation of icons</b><br />".CONTENT_ICON_DETAILS." : view detailed information<br />".CONTENT_ICON_LINK." : link to the category<br />".CONTENT_ICON_CONTENTMANAGER_SMALL." : edit the personal content managers<br />");
|
|
||||||
|
|
||||||
define("CONTENT_ADMIN_HELP_MANAGER_2", "<i>on this page you can assign the userclasses to the selected category you have clicked</i><br /><br /><b>personal manager</b><br />You can define classes for the different types of personal managers. currently there are three types of managers you can define:<br /><br />approve submitted: users with this class are able to approve submitted content items<br /><br />personal manager: users with this class are able to manage only their personal content items<br /><br />category manager: users with this class are able to manage all content items in this category<br />");
|
define("CONTENT_ADMIN_HELP_MANAGER_1", "On this page you see a list of all categories. You can manage the different userclasses for each category by clicking the icon.<br /><br /><b>explanation of icons</b><br />".CONTENT_ICON_DETAILS." : view detailed information<br />".CONTENT_ICON_CONTENTMANAGER_SMALL." : edit the personal content managers<br />");
|
||||||
|
|
||||||
|
define("CONTENT_ADMIN_HELP_MANAGER_2", "<i>on this page you can assign the userclasses to the selected category you have clicked</i><br /><br />You can define userclasses for the different types of managers and set certain options for the submit/create page. Currently there are four types of managers you can define:<br /><br /><b>submit content:</b> users with this class are able to submit content items<br /><br /><b>approve submitted:</b> users with this class are able to approve submitted content items<br /><br /><b>personal manager:</b> users with this class are able to manage only their personal content items<br /><br /><b>category manager:</b> users with this class are able to manage all content items in this category<br />");
|
||||||
|
|
||||||
define("CONTENT_ADMIN_HELP_SUBMIT_1", "<i>On this page you see a list of all content items that were submitted by users.</i><br /><br /><b>detailed list</b><br />You see a list of these content items with their id, icon, main parent, heading [subheading], author and options.<br /><br /><b>options</b><br />you can post or delete a content item using the buttons shown.");
|
define("CONTENT_ADMIN_HELP_SUBMIT_1", "<i>On this page you see a list of all content items that were submitted by users.</i><br /><br /><b>detailed list</b><br />You see a list of these content items with their id, icon, main parent, heading [subheading], author and options.<br /><br /><b>options</b><br />you can post or delete a content item using the buttons shown.");
|
||||||
|
|
||||||
define("CONTENT_ADMIN_HELP_OPTION_DIV_1", "This page allows you to set options for the admin create page for a content item and a category.<br /><br />You can define which sections are available when an admin (or personal content manager) creates a new content item or category.<br /><br /><b>custom data tags</b><br />you can allow a user or admin to add optional fields to the content item by using these custom data tags. These optional fields are blank key=>value pairs. For instance: you could add a key field for 'photographer' and provide the value field with 'all photos by me'. Both these key and value fields are empty textfields which will be present in the create form.<br /><br /><b>preset data tags</b><br />apart from the custom data tags, you can provide preset data tags. The difference is that in preset data tags, the key field already is given and the user only needs to provide the value field for the preset. In the same example as above 'photographer' can be predefined, and the user needs to provide 'all photos by me'. You can choose the element type by selecting one option in the selectbox. In the popup window, you can provide all the information for the preset data tag.<br />");
|
define("CONTENT_ADMIN_HELP_OPTION_DIV_1", "This page allows you to set options for the admin create page for a content item and a category.<br /><br />You can define which sections are available when an admin (or manager) creates a new content item or category.<br /><br /><b>custom data tags</b><br />you can allow a user or admin to add optional fields to the content item by using these custom data tags. These optional fields are blank key=>value pairs. For instance: you could add a key field for 'photographer' and provide the value field with 'all photos by me'. Both these key and value fields are empty textfields which will be present in the create form.<br /><br /><b>preset data tags</b><br />apart from the custom data tags, you can provide preset data tags. The difference is that in preset data tags, the key field already is given and the user only needs to provide the value field for the preset. In the same example as above 'photographer' can be predefined, and the user needs to provide 'all photos by me'. You can choose the element type by selecting one option in the selectbox. In the popup window, you can provide all the information for the preset data tag.<br />");
|
||||||
|
|
||||||
define("CONTENT_ADMIN_HELP_OPTION_DIV_2", "The Submit Options have affect on the user submit form for content items.<br /><br />You can define which sections are available for a user when submitting a content item.<br /><br />".CONTENT_ADMIN_OPT_LAN_11.":<br />".CONTENT_ADMIN_OPT_LAN_12."");
|
define("CONTENT_ADMIN_HELP_OPTION_DIV_2", "");
|
||||||
|
|
||||||
define("CONTENT_ADMIN_HELP_OPTION_DIV_3", "The General Options are options that are used throughout the content pages of the content management plugin.<br /><br />In the Path and Theme Options you can define where images and files are stored.<br /><br />you can define which theme will be used by this main parent. You can create additional themes by copying (and renaming) the whole 'default' directory in your templates directory.<br /><br />You can define a default layout scheme for new content items. You can create new layout schemes by creating a content_content_template_XXX.php file in your 'templates/default' folder. These layouts can be used to give each content item in this main parent a different layout.<br /><br />");
|
define("CONTENT_ADMIN_HELP_OPTION_DIV_3", "The General Options are options that are used throughout the content pages of the content management plugin.<br /><br />In the Path and Theme Options you can define where images and files are stored.<br /><br />you can define which theme will be used by this top level category. You can create additional themes by copying (and renaming) the whole 'default' directory in your templates directory.<br /><br />You can define a default layout scheme for new content items. You can create new layout schemes by creating a content_content_template_XXX.php file in your 'templates/default' folder. These layouts can be used to give each content item in this top level category a different layout.<br /><br />");
|
||||||
|
|
||||||
define("CONTENT_ADMIN_HELP_OPTION_DIV_4", "");
|
define("CONTENT_ADMIN_HELP_OPTION_DIV_4", "");
|
||||||
|
|
||||||
define("CONTENT_ADMIN_HELP_OPTION_DIV_5", "");
|
define("CONTENT_ADMIN_HELP_OPTION_DIV_5", "");
|
||||||
|
|
||||||
define("CONTENT_ADMIN_HELP_OPTION_DIV_6", "These Options are used in the Menu for this main parent if you have activated the menu.<br /><br />".CONTENT_ADMIN_OPT_LAN_68."<br /><br />".CONTENT_ADMIN_OPT_LAN_118.":<br />".CONTENT_ADMIN_OPT_LAN_119."<br /><br />");
|
define("CONTENT_ADMIN_HELP_OPTION_DIV_6", "These Options are used in the Menu for top level category, if you have activated the menu.<br /><br />".CONTENT_ADMIN_OPT_LAN_68);
|
||||||
|
|
||||||
define("CONTENT_ADMIN_HELP_OPTION_DIV_7", "The Content Item Preview options have affect on the small preview that is given for a content item.<br /><br />This preview is given on several pages, like the recent page, the view items in category page and the view items of author page.<br /><br />".CONTENT_ADMIN_OPT_LAN_68."");
|
define("CONTENT_ADMIN_HELP_OPTION_DIV_7", "The Content Item Preview options have affect on the small preview that is given for a content item.<br /><br />This preview is given on several pages, like the recent page, the view items in category page and the view items of author page.<br /><br />".CONTENT_ADMIN_OPT_LAN_68."");
|
||||||
|
|
||||||
define("CONTENT_ADMIN_HELP_OPTION_DIV_8", "The Category Pages show information on the content categories in this main parent.<br /><br />There are two distinct areas present:<br /><br />all categories page:<br />this page shows all the categories in this main parent<br /><br />view category page:<br />this page shows the category item, optionally the subcategories in that category and the content items in that category or those categories<br />");
|
define("CONTENT_ADMIN_HELP_OPTION_DIV_8", "The Category Pages show information on the content categories in this top level category.<br /><br />There are two distinct areas present:<br /><br />all categories page:<br />this page shows all the categories in this top level category<br /><br />view category page:<br />this page shows the category item, optionally the subcategories in that category and the content items in that category or those categories<br />");
|
||||||
|
|
||||||
define("CONTENT_ADMIN_HELP_OPTION_DIV_9", "The Content Page shows the Content Item.<br /><br />you can define which sections to show by checking/unchecking the boxes.<br /><br />you can show the email address of a non-member author.<br /><br />you can override the email/print/pdf icons, the rating system and the comments.<br /><br />".CONTENT_ADMIN_OPT_LAN_74."");
|
define("CONTENT_ADMIN_HELP_OPTION_DIV_9", "The Content Page shows the Content Item.<br /><br />you can define which sections to show by checking/unchecking the boxes.<br /><br />you can show the email address of a non-member author.<br /><br />you can override the email/print/pdf icons, the rating system and the comments.<br /><br />".CONTENT_ADMIN_OPT_LAN_74."");
|
||||||
|
|
||||||
define("CONTENT_ADMIN_HELP_OPTION_DIV_10", "The Author Page shows a list of all unique authors of the content items in this main parent.<br /><br />you can define which sections to show by checking/unchecking the boxes.<br /><br />You can limit the number of items to show per page.<br />");
|
define("CONTENT_ADMIN_HELP_OPTION_DIV_10", "The Author Page shows a list of all unique authors of the content items in this main parent.<br /><br />you can define which sections to show by checking/unchecking the boxes.<br /><br />You can limit the number of items to show per page.<br />");
|
||||||
|
|
||||||
define("CONTENT_ADMIN_HELP_OPTION_DIV_11", "The Archive Page shows all content items in the main parent.<br /><br />you can define which sections to show by checking/unchecking the boxes.<br /><br />you can show the email address of a non-member author.<br /><br />You can limit the number of items to show per page.<br /><br />".CONTENT_ADMIN_OPT_LAN_66."<br /><br />".CONTENT_ADMIN_OPT_LAN_68."");
|
define("CONTENT_ADMIN_HELP_OPTION_DIV_11", "The Archive Page shows all content items in the top level category.<br /><br />you can define which sections to show by checking/unchecking the boxes.<br /><br />you can show the email address of a non-member author.<br /><br />You can limit the number of items to show per page.<br /><br />".CONTENT_ADMIN_OPT_LAN_66."<br /><br />".CONTENT_ADMIN_OPT_LAN_68."");
|
||||||
|
|
||||||
define("CONTENT_ADMIN_HELP_OPTION_DIV_12", "The Top Rated Page shows all content items that have been rated by users.<br /><br />You can choose the sections to display by checking the boxes.<br /><br />Also you can define if the email address of a non-member author will be displayed.");
|
define("CONTENT_ADMIN_HELP_OPTION_DIV_12", "The Top Rated Page shows all content items that have been rated by users.<br /><br />You can choose the sections to display by checking the boxes.<br /><br />Also you can define if the email address of a non-member author will be displayed.");
|
||||||
|
|
||||||
define("CONTENT_ADMIN_HELP_OPTION_DIV_13", "The Top Score Page shows all content items that have been given a score by the author of the content item.<br /><br />You can choose the sections to display by checking the boxes.<br /><br />Also you can define if the email address of a non-member author will be displayed.");
|
define("CONTENT_ADMIN_HELP_OPTION_DIV_13", "The Top Score Page shows all content items that have been given a score by the author of the content item.<br /><br />You can choose the sections to display by checking the boxes.<br /><br />Also you can define if the email address of a non-member author will be displayed.");
|
||||||
|
|
||||||
define("CONTENT_ADMIN_HELP_OPTION_DIV_14", "this page allows you to set options for the admin create category page.<br /><br />You can define which sections are available when an admin (or personal content manager) creates a new content category.");
|
|
||||||
?>
|
?>
|
@@ -16,8 +16,7 @@
|
|||||||
if (!defined('e107_INIT')) { exit; }
|
if (!defined('e107_INIT')) { exit; }
|
||||||
|
|
||||||
global $PLUGINS_DIRECTORY;
|
global $PLUGINS_DIRECTORY;
|
||||||
@include_once(e_PLUGIN.'content/languages/'.e_LANGUAGE.'/lan_content_admin.php');
|
include_lan(e_PLUGIN."content/languages/".e_LANGUAGE."/lan_content_admin.php");
|
||||||
@include_once(e_PLUGIN.'content/languages/English/lan_content_admin.php');
|
|
||||||
|
|
||||||
// Plugin info -------------------------------------------------------------------------------------------------------
|
// Plugin info -------------------------------------------------------------------------------------------------------
|
||||||
$eplug_name = "CONTENT_PLUGIN_LAN_1";
|
$eplug_name = "CONTENT_PLUGIN_LAN_1";
|
||||||
@@ -107,4 +106,14 @@ $upgrade_alter_tables = array(
|
|||||||
);
|
);
|
||||||
$eplug_upgrade_done = CONTENT_PLUGIN_LAN_6;
|
$eplug_upgrade_done = CONTENT_PLUGIN_LAN_6;
|
||||||
|
|
||||||
|
//uninstall function: remove core prefs
|
||||||
|
if(!function_exists(content_uninstall)){
|
||||||
|
function content_uninstall(){
|
||||||
|
global $sql;
|
||||||
|
if($sql->db_Select("core","*","e107_name='pcontent'")){
|
||||||
|
$sql -> db_Delete("core", "e107_name='pcontent' ");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
?>
|
?>
|
@@ -11,8 +11,8 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/templates/content_admin_template.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/templates/content_admin_template.php,v $
|
||||||
| $Revision: 1.2 $
|
| $Revision: 1.3 $
|
||||||
| $Date: 2007-01-14 11:59:11 $
|
| $Date: 2007-03-13 16:51:05 $
|
||||||
| $Author: lisa_ $
|
| $Author: lisa_ $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
@@ -109,8 +109,19 @@ if(!isset($CONTENT_ADMIN_MANAGER_START)){
|
|||||||
<tr>
|
<tr>
|
||||||
<td class='fcaption' style='width:1%;'></td>
|
<td class='fcaption' style='width:1%;'></td>
|
||||||
<td class='fcaption' style='width:5%; text-align:center;'>".CONTENT_ADMIN_CAT_LAN_25."</td>
|
<td class='fcaption' style='width:5%; text-align:center;'>".CONTENT_ADMIN_CAT_LAN_25."</td>
|
||||||
<td class='fcaption' style='width:84%;'>".CONTENT_ADMIN_CAT_LAN_19."</td>
|
<td class='fcaption' style='width:74%;'>".CONTENT_ADMIN_CAT_LAN_19."</td>
|
||||||
<td class='fcaption' style='width:10%; text-align:center;'>".CONTENT_ADMIN_CAT_LAN_20."</td>
|
<td class='fcaption' style='width:10%; text-align:center;'>".CONTENT_ADMIN_CAT_LAN_20."</td>
|
||||||
|
<td class='fcaption' style='width:10%; text-align:center;'>".CONTENT_ADMIN_OPT_LAN_167."</td>
|
||||||
|
</tr>
|
||||||
|
{CONTENT_ADMIN_SPACER=true}
|
||||||
|
<tr>
|
||||||
|
<td class='forumheader3' style='width:1%;'></td>
|
||||||
|
<td class='forumheader3' style='width:5%;'></td>
|
||||||
|
<td class='forumheader3' style='width:74%; white-space:nowrap;'>".CONTENT_ADMIN_OPT_LAN_1."</td>
|
||||||
|
<td class='forumheader3' style='width:10%; text-align:center; white-space:nowrap;'>
|
||||||
|
<a href='".e_SELF."?manager.default'>".CONTENT_ICON_CONTENTMANAGER_SMALL."</a>
|
||||||
|
</td>
|
||||||
|
<td class='forumheader3' style='width:10%;'></td>
|
||||||
</tr>";
|
</tr>";
|
||||||
}
|
}
|
||||||
if(!isset($CONTENT_ADMIN_MANAGER_TABLE)){
|
if(!isset($CONTENT_ADMIN_MANAGER_TABLE)){
|
||||||
@@ -119,7 +130,7 @@ if(!isset($CONTENT_ADMIN_MANAGER_TABLE)){
|
|||||||
<tr>
|
<tr>
|
||||||
<td class='{CONTENT_ADMIN_HTML_CLASS}' style='width:1%; text-align:left; vertical-align:top;'><a href='javascript:void(0);' onclick=\"expandit('ci_{CONTENT_ID}')\">".CONTENT_ICON_DETAILS."</a></td>
|
<td class='{CONTENT_ADMIN_HTML_CLASS}' style='width:1%; text-align:left; vertical-align:top;'><a href='javascript:void(0);' onclick=\"expandit('ci_{CONTENT_ID}')\">".CONTENT_ICON_DETAILS."</a></td>
|
||||||
<td class='{CONTENT_ADMIN_HTML_CLASS}' style='width:5%; text-align:center; vertical-align:top;'>{CONTENT_CAT_ICON}</td>
|
<td class='{CONTENT_ADMIN_HTML_CLASS}' style='width:5%; text-align:center; vertical-align:top;'>{CONTENT_CAT_ICON}</td>
|
||||||
<td class='{CONTENT_ADMIN_HTML_CLASS}' style='width:84%;'>
|
<td class='{CONTENT_ADMIN_HTML_CLASS}' style='width:74%;'>
|
||||||
{CONTENT_MANAGER_PRE}{CONTENT_HEADING}
|
{CONTENT_MANAGER_PRE}{CONTENT_HEADING}
|
||||||
<div id='ci_{CONTENT_ID}' style='display:none; vertical-align:top; margin-top:10px;'>
|
<div id='ci_{CONTENT_ID}' style='display:none; vertical-align:top; margin-top:10px;'>
|
||||||
<table class='fborder' style='width:98%;'>
|
<table class='fborder' style='width:98%;'>
|
||||||
@@ -145,10 +156,19 @@ if(!isset($CONTENT_ADMIN_MANAGER_TABLE)){
|
|||||||
<td class='{CONTENT_ADMIN_HTML_CLASS}' style='width:10%; text-align:center; vertical-align:top; white-space:nowrap;'>
|
<td class='{CONTENT_ADMIN_HTML_CLASS}' style='width:10%; text-align:center; vertical-align:top; white-space:nowrap;'>
|
||||||
{CONTENT_LINK_MANAGER}
|
{CONTENT_LINK_MANAGER}
|
||||||
</td>
|
</td>
|
||||||
|
<td class='{CONTENT_ADMIN_HTML_CLASS}' style='width:10%; text-align:center; vertical-align:top; white-space:nowrap;'>
|
||||||
|
{CONTENT_MANAGER_INHERIT}
|
||||||
|
</td>
|
||||||
</tr>";
|
</tr>";
|
||||||
}
|
}
|
||||||
if(!isset($CONTENT_ADMIN_MANAGER_END)){
|
if(!isset($CONTENT_ADMIN_MANAGER_END)){
|
||||||
$CONTENT_ADMIN_MANAGER_END = "
|
$CONTENT_ADMIN_MANAGER_END = "
|
||||||
|
<tr>
|
||||||
|
<td class='forumheader3' colspan='4'></td>
|
||||||
|
<td class='forumheader3' style='text-align:center;'>
|
||||||
|
<input class='button' type='submit' name='updatemanagerinherit' value='".CONTENT_ADMIN_CAT_LAN_7."' />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</form>
|
</form>
|
||||||
</div>";
|
</div>";
|
||||||
@@ -156,11 +176,31 @@ if(!isset($CONTENT_ADMIN_MANAGER_END)){
|
|||||||
|
|
||||||
|
|
||||||
// ##### CONTENT MANAGER CATEGORY --------------------------------------------------
|
// ##### CONTENT MANAGER CATEGORY --------------------------------------------------
|
||||||
|
$CONTENT_ADMIN_MANAGER_ROW_TITLE = "<tr><td colspan='2' class='fcaption'>{TOPIC_CAPTION}</td></tr>";
|
||||||
|
$CONTENT_ADMIN_MANAGER_ROW_NOEXPAND = "
|
||||||
|
<tr>
|
||||||
|
<td class='forumheader3' style='width:35%; vertical-align:top;'>{TOPIC_TOPIC}</td>
|
||||||
|
<td class='forumheader3'>{TOPIC_FIELD}</td>
|
||||||
|
</tr>";
|
||||||
|
|
||||||
if(!isset($CONTENT_ADMIN_MANAGER_CATEGORY)){
|
if(!isset($CONTENT_ADMIN_MANAGER_CATEGORY)){
|
||||||
$CONTENT_ADMIN_MANAGER_CATEGORY = "
|
$CONTENT_ADMIN_MANAGER_CATEGORY = "
|
||||||
<div style='text-align:center'>
|
<div style='text-align:center'>
|
||||||
".$rs -> form_open("post", e_SELF."?".e_QUERY, "managerform", "", "enctype='multipart/form-data'")."
|
".$rs -> form_open("post", e_SELF."?".e_QUERY, "managerform", "", "enctype='multipart/form-data'")."
|
||||||
<table class='fborder' style='".ADMIN_WIDTH."'>
|
<table class='fborder' style='".ADMIN_WIDTH."'>
|
||||||
|
<tr>
|
||||||
|
<td colspan='2' class='fcaption'>
|
||||||
|
manage permissions
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class='forumheader3' style='text-align:left'>
|
||||||
|
".CONTENT_ADMIN_MANAGER_LAN_6."<br />".CONTENT_ADMIN_MANAGER_LAN_7."<br />
|
||||||
|
</td>
|
||||||
|
<td class='forumheader3' style='text-align:left'>
|
||||||
|
{CONTENT_ADMIN_MANAGER_SUBMIT}
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class='forumheader3' style='text-align:left'>
|
<td class='forumheader3' style='text-align:left'>
|
||||||
".CONTENT_ADMIN_MANAGER_LAN_0."<br />".CONTENT_ADMIN_MANAGER_LAN_1."<br />
|
".CONTENT_ADMIN_MANAGER_LAN_0."<br />".CONTENT_ADMIN_MANAGER_LAN_1."<br />
|
||||||
@@ -185,6 +225,11 @@ if(!isset($CONTENT_ADMIN_MANAGER_CATEGORY)){
|
|||||||
{CONTENT_ADMIN_MANAGER_CATEGORY}
|
{CONTENT_ADMIN_MANAGER_CATEGORY}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
</table>
|
||||||
|
<br /><br />
|
||||||
|
{CONTENT_ADMIN_MANAGER_OPTIONS}
|
||||||
|
<br /><br />
|
||||||
|
<table class='fborder' style='".ADMIN_WIDTH."'>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan='2' class='fcaption' style='text-align:center'>
|
<td colspan='2' class='fcaption' style='text-align:center'>
|
||||||
{CONTENT_ADMIN_BUTTON}
|
{CONTENT_ADMIN_BUTTON}
|
||||||
@@ -255,16 +300,15 @@ if(!isset($CONTENT_ADMIN_CATEGORY_END)){
|
|||||||
|
|
||||||
|
|
||||||
// ##### CONTENT SUBMITTED --------------------------------------------------
|
// ##### CONTENT SUBMITTED --------------------------------------------------
|
||||||
|
|
||||||
if(!isset($CONTENT_ADMIN_SUBMITTED_START)){
|
if(!isset($CONTENT_ADMIN_SUBMITTED_START)){
|
||||||
$CONTENT_ADMIN_SUBMITTED_START = "
|
$CONTENT_ADMIN_SUBMITTED_START = "
|
||||||
<div style='text-align:center'>
|
<div style='text-align:center'>
|
||||||
".$rs -> form_open("post", e_SELF, "submittedform","","", "")."
|
".$rs -> form_open("post", e_SELF, "submittedform","","", "")."
|
||||||
<table style='".ADMIN_WIDTH."' class='fborder'>
|
<table style='".ADMIN_WIDTH."' class='fborder'>
|
||||||
<tr>
|
<tr>
|
||||||
<td style='width:5%; text-align:center;' class='fcaption'>".CONTENT_ADMIN_ITEM_LAN_8."</td>
|
<td class='fcaption' style='width:1%'>".CONTENT_ADMIN_ITEM_LAN_8."</td>
|
||||||
<td style='width:5%; text-align:center;' class='fcaption'>".CONTENT_ADMIN_ITEM_LAN_9."</td>
|
<td style='width:5%; text-align:center;' class='fcaption'>".CONTENT_ADMIN_ITEM_LAN_9."</td>
|
||||||
<td style='width:15%; text-align:left;' class='fcaption'>".CONTENT_ADMIN_ITEM_LAN_48."</td>
|
|
||||||
<td style='width:15%; text-align:left;' class='fcaption'>".CONTENT_ADMIN_ITEM_LAN_10."</td>
|
|
||||||
<td style='width:50%; text-align:left;' class='fcaption'>".CONTENT_ADMIN_ITEM_LAN_11."</td>
|
<td style='width:50%; text-align:left;' class='fcaption'>".CONTENT_ADMIN_ITEM_LAN_11."</td>
|
||||||
<td style='width:10%; text-align:center;' class='fcaption'>".CONTENT_ADMIN_ITEM_LAN_12."</td>
|
<td style='width:10%; text-align:center;' class='fcaption'>".CONTENT_ADMIN_ITEM_LAN_12."</td>
|
||||||
</tr>";
|
</tr>";
|
||||||
@@ -272,18 +316,37 @@ if(!isset($CONTENT_ADMIN_SUBMITTED_START)){
|
|||||||
if(!isset($CONTENT_ADMIN_SUBMITTED_TABLE)){
|
if(!isset($CONTENT_ADMIN_SUBMITTED_TABLE)){
|
||||||
$CONTENT_ADMIN_SUBMITTED_TABLE = "
|
$CONTENT_ADMIN_SUBMITTED_TABLE = "
|
||||||
<tr>
|
<tr>
|
||||||
<td class='forumheader3' style='width:5%; text-align:center;'>{CONTENT_ID}</td>
|
<td class='{CONTENT_ADMIN_HTML_CLASS}' style='width:1%; text-align:left; vertical-align:top;'><a href='javascript:void(0);' onclick=\"expandit('ci_{CONTENT_ID}')\">".CONTENT_ICON_DETAILS."</a></td>
|
||||||
<td class='forumheader3' style='width:5%; text-align:center;'>{CONTENT_ICON}</td>
|
<td class='{CONTENT_ADMIN_HTML_CLASS}' style='width:5%; text-align:center; vertical-align:top;'>{CONTENT_ICON}</td>
|
||||||
<td class='forumheader3' style='width:15%; text-align:left;'>{CONTENT_ADMIN_CATEGORY}</td>
|
<td class='{CONTENT_ADMIN_HTML_CLASS}' style='width:64%;'>
|
||||||
<td class='forumheader3' style='width:15%; text-align:left;'>{CONTENT_AUTHOR}</td>
|
{CONTENT_HEADING}
|
||||||
<td class='forumheader3' style='width:75%; text-align:left;'>
|
<div id='ci_{CONTENT_ID}' style='display:none; vertical-align:top; margin-top:10px;'>
|
||||||
{CONTENT_HEADING} {CONTENT_SUBHEADING}
|
<table class='fborder' style='width:98%;'>
|
||||||
</td>
|
<tr>
|
||||||
<td class='forumheader3' style='width:5%; text-align:center; white-space:nowrap;'>
|
<td style='width:15%; white-space:nowrap; line-height:150%;'>".CONTENT_TEMPLATE_LAN_1."</td>
|
||||||
{CONTENT_ADMIN_OPTIONS}
|
<td>{CONTENT_ID}</td>
|
||||||
</td>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style='width:15%; white-space:nowrap; line-height:150%;'>".CONTENT_TEMPLATE_LAN_2."</td>
|
||||||
|
<td>{CONTENT_AUTHOR}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style='line-height:150%;'>".CONTENT_TEMPLATE_LAN_5."</td>
|
||||||
|
<td>{CONTENT_ADMIN_CATEGORY}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style='line-height:150%;'>".CONTENT_TEMPLATE_LAN_4."</td>
|
||||||
|
<td>{CONTENT_SUBHEADING}</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
<td class='{CONTENT_ADMIN_HTML_CLASS}' style='width:10%; text-align:center; vertical-align:top; white-space:nowrap;'>
|
||||||
|
{CONTENT_ADMIN_OPTIONS}
|
||||||
|
</td>
|
||||||
</tr>";
|
</tr>";
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!isset($CONTENT_ADMIN_SUBMITTED_END)){
|
if(!isset($CONTENT_ADMIN_SUBMITTED_END)){
|
||||||
$CONTENT_ADMIN_SUBMITTED_END = "
|
$CONTENT_ADMIN_SUBMITTED_END = "
|
||||||
</table>
|
</table>
|
||||||
|
@@ -11,33 +11,37 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/templates/content_manager_template.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/templates/content_manager_template.php,v $
|
||||||
| $Revision: 1.1.1.1 $
|
| $Revision: 1.2 $
|
||||||
| $Date: 2006-12-02 04:35:08 $
|
| $Date: 2007-03-13 16:51:05 $
|
||||||
| $Author: mcfly_e107 $
|
| $Author: lisa_ $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
global $sc_style, $content_shortcodes;
|
global $sc_style, $content_shortcodes;
|
||||||
|
|
||||||
|
$sc_style['CONTENT_CONTENTMANAGER_ICONEDIT']['pre'] = " | ";
|
||||||
|
$sc_style['CONTENT_CONTENTMANAGER_ICONEDIT']['post'] = "";
|
||||||
|
|
||||||
|
$sc_style['CONTENT_CONTENTMANAGER_ICONSUBM']['pre'] = " | ";
|
||||||
|
$sc_style['CONTENT_CONTENTMANAGER_ICONSUBM']['post'] = "";
|
||||||
|
|
||||||
|
$sc_style['CONTENT_CONTENTMANAGER_CATEGORY_SUBHEADING']['pre'] = "<div class='forumheader3'>";
|
||||||
|
$sc_style['CONTENT_CONTENTMANAGER_CATEGORY_SUBHEADING']['post'] = "</div>";
|
||||||
|
|
||||||
// ##### CONTENT CONTENTMANAGER LIST --------------------------------------------------
|
// ##### CONTENT CONTENTMANAGER LIST --------------------------------------------------
|
||||||
if(!isset($CONTENT_CONTENTMANAGER_TABLE_START)){
|
if(!isset($CONTENT_CONTENTMANAGER_TABLE_START)){
|
||||||
$CONTENT_CONTENTMANAGER_TABLE_START = "
|
$CONTENT_CONTENTMANAGER_TABLE_START = "";
|
||||||
<table class='fborder' style='width:98%; text-align:left;' cellpadding='0' cellspacing='0'>
|
|
||||||
<tr>
|
|
||||||
<td class='forumheader3'>".CONTENT_ADMIN_ITEM_LAN_57."</td>
|
|
||||||
<td class='forumheader3'>".CONTENT_ADMIN_ITEM_LAN_12."</td>
|
|
||||||
</tr>\n";
|
|
||||||
}
|
}
|
||||||
if(!isset($CONTENT_CONTENTMANAGER_TABLE)){
|
if(!isset($CONTENT_CONTENTMANAGER_TABLE)){
|
||||||
$CONTENT_CONTENTMANAGER_TABLE = "
|
$CONTENT_CONTENTMANAGER_TABLE = "
|
||||||
<tr>
|
<div class='fcaption'>{CONTENT_CONTENTMANAGER_CATEGORY}</div>
|
||||||
<td class='forumheader3'>{CONTENT_CONTENTMANAGER_CATEGORY}</td>
|
{CONTENT_CONTENTMANAGER_CATEGORY_SUBHEADING}
|
||||||
<td class='forumheader3' style='width:10%;white-space:nowrap;'>{CONTENT_CONTENTMANAGER_ICONEDIT} {CONTENT_CONTENTMANAGER_ICONNEW} {CONTENT_CONTENTMANAGER_ICONSUBM}</td>
|
<div class='forumheader3' style='margin-bottom:20px;'>
|
||||||
</tr>";
|
{CONTENT_CONTENTMANAGER_ICONNEW} {CONTENT_CONTENTMANAGER_ICONEDIT} {CONTENT_CONTENTMANAGER_ICONSUBM}
|
||||||
|
</div>";
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!isset($CONTENT_CONTENTMANAGER_TABLE_END)){
|
if(!isset($CONTENT_CONTENTMANAGER_TABLE_END)){
|
||||||
$CONTENT_CONTENTMANAGER_TABLE_END = "
|
$CONTENT_CONTENTMANAGER_TABLE_END = "";
|
||||||
</table>";
|
|
||||||
}
|
}
|
||||||
// ##### ----------------------------------------------------------------------
|
// ##### ----------------------------------------------------------------------
|
||||||
|
|
||||||
|
@@ -1,46 +0,0 @@
|
|||||||
<?php
|
|
||||||
/*
|
|
||||||
+ ----------------------------------------------------------------------------+
|
|
||||||
| e107 website system
|
|
||||||
|
|
|
||||||
| <20>Steve Dunstan 2001-2002
|
|
||||||
| http://e107.org
|
|
||||||
| jalist@e107.org
|
|
||||||
|
|
|
||||||
| Released under the terms and conditions of the
|
|
||||||
| GNU General Public License (http://gnu.org).
|
|
||||||
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/templates/content_submit_type_template.php,v $
|
|
||||||
| $Revision: 1.1.1.1 $
|
|
||||||
| $Date: 2006-12-02 04:35:08 $
|
|
||||||
| $Author: mcfly_e107 $
|
|
||||||
+----------------------------------------------------------------------------+
|
|
||||||
*/
|
|
||||||
global $sc_style, $content_shortcodes;
|
|
||||||
|
|
||||||
$sc_style['CONTENT_SUBMIT_TYPE_TABLE_ICON']['pre'] = "";
|
|
||||||
$sc_style['CONTENT_SUBMIT_TYPE_TABLE_ICON']['post'] = "";
|
|
||||||
|
|
||||||
$sc_style['CONTENT_SUBMIT_TYPE_TABLE_SUBHEADING']['pre'] = "";
|
|
||||||
$sc_style['CONTENT_SUBMIT_TYPE_TABLE_SUBHEADING']['post'] = "";
|
|
||||||
|
|
||||||
// ##### CONTENT SUBMIT TYPE LIST --------------------------------------------------
|
|
||||||
if(!isset($CONTENT_SUBMIT_TYPE_TABLE_START)){
|
|
||||||
$CONTENT_SUBMIT_TYPE_TABLE_START = "
|
|
||||||
<table class='fborder' style='width:98%; text-align:left;'>\n";
|
|
||||||
}
|
|
||||||
if(!isset($CONTENT_SUBMIT_TYPE_TABLE)){
|
|
||||||
$CONTENT_SUBMIT_TYPE_TABLE = "
|
|
||||||
<tr>
|
|
||||||
<td class='forumheader3' style='width:10%; white-space:nowrap;' rowspan='2'>{CONTENT_SUBMIT_TYPE_TABLE_ICON}</td>
|
|
||||||
<td class='forumheader3'>{CONTENT_SUBMIT_TYPE_TABLE_HEADING}</td>
|
|
||||||
</tr>
|
|
||||||
<tr><td class='forumheader3'>{CONTENT_SUBMIT_TYPE_TABLE_SUBHEADING}<br /></td></tr>\n";
|
|
||||||
}
|
|
||||||
if(!isset($CONTENT_SUBMIT_TYPE_TABLE_END)){
|
|
||||||
$CONTENT_SUBMIT_TYPE_TABLE_END = "
|
|
||||||
</table>";
|
|
||||||
}
|
|
||||||
// ##### ----------------------------------------------------------------------
|
|
||||||
|
|
||||||
?>
|
|
@@ -11,9 +11,9 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/templates/content_type_template.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/templates/content_type_template.php,v $
|
||||||
| $Revision: 1.1.1.1 $
|
| $Revision: 1.2 $
|
||||||
| $Date: 2006-12-02 04:35:08 $
|
| $Date: 2007-03-13 16:51:05 $
|
||||||
| $Author: mcfly_e107 $
|
| $Author: lisa_ $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -45,21 +45,13 @@ if(!isset($CONTENT_TYPE_TABLE)){
|
|||||||
</tr>
|
</tr>
|
||||||
<tr><td class='forumheader2' colspan='2'>{CONTENT_TYPE_TABLE_SUBHEADING}<br /></td></tr>\n";
|
<tr><td class='forumheader2' colspan='2'>{CONTENT_TYPE_TABLE_SUBHEADING}<br /></td></tr>\n";
|
||||||
}
|
}
|
||||||
if(!isset($CONTENT_TYPE_TABLE_SUBMIT)){
|
|
||||||
$CONTENT_TYPE_TABLE_SUBMIT = "
|
|
||||||
<tr>
|
|
||||||
<td class='forumheader3' style='width:5%; white-space:nowrap; padding-bottom:5px;' rowspan='2'>{CONTENT_TYPE_TABLE_SUBMIT_ICON}</td>
|
|
||||||
<td class='fcaption' colspan='2'>{CONTENT_TYPE_TABLE_SUBMIT_HEADING}</td>
|
|
||||||
</tr>
|
|
||||||
<tr><td class='forumheader2' colspan='2'>{CONTENT_TYPE_TABLE_SUBMIT_SUBHEADING}</td></tr>\n";
|
|
||||||
}
|
|
||||||
if(!isset($CONTENT_TYPE_TABLE_MANAGER)){
|
if(!isset($CONTENT_TYPE_TABLE_MANAGER)){
|
||||||
$CONTENT_TYPE_TABLE_MANAGER = "
|
$CONTENT_TYPE_TABLE_MANAGER = "
|
||||||
<tr>
|
<tr>
|
||||||
<td class='forumheader3' style='width:5%; white-space:nowrap; padding-bottom:5px;' rowspan='2'>{CONTENT_TYPE_TABLE_MANAGER_ICON}</td>
|
<td class='forumheader3' style='width:5%; white-space:nowrap; padding-bottom:5px;' rowspan='2'>{CONTENT_TYPE_TABLE_MANAGER_ICON}</td>
|
||||||
<td class='fcaption' colspan='2'>{CONTENT_TYPE_TABLE_MANAGER_HEADING}</td>
|
<td class='fcaption' colspan='2'>{CONTENT_TYPE_TABLE_MANAGER_HEADING}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr><td class='forumheader2' colspan='2'>{CONTENT_TYPE_TABLE_MANAGER_SUBHEADING}</td></tr>\n";
|
<tr><td class='forumheader2' colspan='2'>".CONTENT_LAN_68."</td></tr>\n";
|
||||||
}
|
}
|
||||||
if(!isset($CONTENT_TYPE_TABLE_LINE)){
|
if(!isset($CONTENT_TYPE_TABLE_LINE)){
|
||||||
$CONTENT_TYPE_TABLE_LINE = "";
|
$CONTENT_TYPE_TABLE_LINE = "";
|
||||||
|
Reference in New Issue
Block a user