1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +02:00

content: several updates and improved admin layout

This commit is contained in:
lia
2007-03-01 09:32:28 +00:00
parent 822a17ae17
commit b5829cf02e
6 changed files with 230 additions and 295 deletions

View File

@@ -12,8 +12,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/admin_content_config.php,v $
| $Revision: 1.4 $
| $Date: 2007-01-13 23:18:39 $
| $Revision: 1.5 $
| $Date: 2007-03-01 09:32:28 $
| $Author: lisa_ $
+---------------------------------------------------------------+
*/
@@ -492,9 +492,9 @@ function admin_content_config_adminmenu(){
unset($var);
$var=array();
$var['creation']['text'] = CONTENT_ADMIN_MENU_LAN_7;
$var['catcreation']['text'] = CONTENT_ADMIN_MENU_LAN_23;
//$var['catcreation']['text'] = CONTENT_ADMIN_MENU_LAN_23;
$var['submission']['text'] = CONTENT_ADMIN_MENU_LAN_8;
$var['paththeme']['text'] = CONTENT_ADMIN_MENU_LAN_9;
//$var['paththeme']['text'] = CONTENT_ADMIN_MENU_LAN_9;
$var['general']['text'] = CONTENT_ADMIN_MENU_LAN_10;
$var['menu']['text'] = CONTENT_ADMIN_MENU_LAN_14;

View File

@@ -12,8 +12,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/handlers/content_class.php,v $
| $Revision: 1.7 $
| $Date: 2007-01-17 14:04:31 $
| $Revision: 1.8 $
| $Date: 2007-03-01 09:32:28 $
| $Author: lisa_ $
+---------------------------------------------------------------+
*/
@@ -565,7 +565,7 @@ class content{
}else{
$agc[$row['content_id']] = array($row['content_id'], $row['content_heading']);
}
$this -> getCategoryTree($row['content_id'], "", $classcheck);
$this -> getCategoryTree($row['content_id'], "", $classcheck, $level+1);
}
}
return $agc;

File diff suppressed because it is too large Load Diff

View File

@@ -64,6 +64,7 @@ if(!e_QUERY){
//option: with main parent selected, show all options
}elseif($qs[0] == "option" && isset($qs[1]) && (is_numeric($qs[1]) || $qs[1] == "default") ){
//$text = CONTENT_ADMIN_HELP_OPTION_2;
/*
$text .= "
<div id='creationhelp'>".CONTENT_ADMIN_HELP_OPTION_DIV_1."</div>
<div id='catcreationhelp' style='display:none;'>".CONTENT_ADMIN_HELP_OPTION_DIV_14."</div>
@@ -79,6 +80,21 @@ if(!e_QUERY){
<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='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>
";
//##### CATEGORY --------------------------------------------------
//category content manager : choose category

View File

@@ -4,8 +4,8 @@
| e107 website system - Language File.
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/languages/English/lan_content_admin.php,v $
| $Revision: 1.4 $
| $Date: 2007-01-15 14:17:15 $
| $Revision: 1.5 $
| $Date: 2007-03-01 09:32:28 $
| $Author: lisa_ $
+----------------------------------------------------------------------------+
*/
@@ -304,7 +304,7 @@ define("CONTENT_ADMIN_MENU_LAN_3", "Create Category");
define("CONTENT_ADMIN_MENU_LAN_4", "Submitted Content Items");
define("CONTENT_ADMIN_MENU_LAN_5", "Category");
define("CONTENT_ADMIN_MENU_LAN_6", "Options");
define("CONTENT_ADMIN_MENU_LAN_7", "Admin : Create Item");
define("CONTENT_ADMIN_MENU_LAN_7", "Admin : Create");
define("CONTENT_ADMIN_MENU_LAN_8", "Submit Item");
define("CONTENT_ADMIN_MENU_LAN_9", "Path And Theme");
define("CONTENT_ADMIN_MENU_LAN_10", "General");
@@ -438,7 +438,7 @@ define("CONTENT_ADMIN_OPT_LAN_MENU_1", "Options:");
define("CONTENT_ADMIN_OPT_LAN_MENU_2", "Pages:");
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_5", "path locations and theme settings");
define("CONTENT_ADMIN_OPT_LAN_MENU_5", "Path Locations");
define("CONTENT_ADMIN_OPT_LAN_MENU_6", "General");
define("CONTENT_ADMIN_OPT_LAN_MENU_7", "Content Manager");
define("CONTENT_ADMIN_OPT_LAN_MENU_8", "Menu Properties");
@@ -455,7 +455,7 @@ define("CONTENT_ADMIN_OPT_LAN_MENU_18", "categories");
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_21", "Admin : Create Category");
define("CONTENT_ADMIN_OPT_LAN_MENU_22", "Theme and Layout");
define("CONTENT_ADMIN_OPT_LAN_SECTION_0", "sections");
define("CONTENT_ADMIN_OPT_LAN_SECTION_1", "choose what will be displayed");

View File

@@ -4,8 +4,8 @@
| e107 website system - Language File.
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/languages/English/lan_content_help.php,v $
| $Revision: 1.2 $
| $Date: 2007-01-14 11:59:11 $
| $Revision: 1.3 $
| $Date: 2007-03-01 09:32:28 $
| $Author: lisa_ $
+----------------------------------------------------------------------------+
*/
@@ -44,13 +44,13 @@ define("CONTENT_ADMIN_HELP_MANAGER_2", "<i>on this page you can assign the userc
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 item page.<br /><br />You can define which sections are available when an admin (or personal content manager) creates a new content item<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 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_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_3", "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 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_4", "The General Options are options that are used throughout the content pages of the content management plugin.");
define("CONTENT_ADMIN_HELP_OPTION_DIV_4", "");
define("CONTENT_ADMIN_HELP_OPTION_DIV_5", "");