Added missing _32 icons to admin_images, added some more admin theming options for icons to header.php and added a test to the _blank admin theme.
@@ -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_admin/header.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_admin/header.php,v $
|
||||||
| $Revision: 1.35 $
|
| $Revision: 1.36 $
|
||||||
| $Date: 2009-07-16 23:09:40 $
|
| $Date: 2009-07-17 03:53:14 $
|
||||||
| $Author: bugrain $
|
| $Author: e107coders $
|
||||||
+---------------------------------------------------------------+
|
+---------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -88,49 +88,112 @@ if (file_exists(e_LANGUAGEDIR.e_LANGUAGE.'/admin/lan_footer.php')) {
|
|||||||
} else {
|
} else {
|
||||||
@include_once(e_LANGUAGEDIR.'English/admin/lan_footer.php');
|
@include_once(e_LANGUAGEDIR.'English/admin/lan_footer.php');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
if (file_exists(THEME.'admin_template.php')) // load template before icon definitions.
|
||||||
|
{
|
||||||
|
require_once(THEME.'admin_template.php');
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
require_once(e_BASE.$THEMES_DIRECTORY.'templates/admin_template.php');
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (!defined('ADMIN_WIDTH')) {
|
if (!defined('ADMIN_WIDTH')) {
|
||||||
define('ADMIN_WIDTH', "width: 95%");
|
define('ADMIN_WIDTH', "width: 95%");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!defined('ADMIN_TRUE_ICON'))
|
if (!defined('ADMIN_TRUE_ICON'))
|
||||||
{
|
{
|
||||||
define("ADMIN_TRUE_ICON", "<img class='icon action S16' src='".e_IMAGE_ABS."fileinspector/integrity_pass.png' alt='' />");
|
define("ADMIN_TRUE_ICON", "<img class='icon action S16' src='".e_IMAGE_ABS."admin_images/true_16.png' alt='' />");
|
||||||
define("ADMIN_TRUE_ICON_PATH", e_IMAGE."fileinspector/integrity_pass.png");
|
define("ADMIN_TRUE_ICON_PATH", e_IMAGE."admin_images/true_16.png");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!defined('ADMIN_FALSE_ICON'))
|
if (!defined('ADMIN_FALSE_ICON'))
|
||||||
{
|
{
|
||||||
define("ADMIN_FALSE_ICON", "<img class='icon action S16' src='".e_IMAGE_ABS."fileinspector/integrity_fail.png' alt='' />");
|
define("ADMIN_FALSE_ICON", "<img class='icon action S16' src='".e_IMAGE_ABS."admin_images/false_16.png' alt='' />");
|
||||||
define("ADMIN_FALSE_ICON_PATH", e_IMAGE."fileinspector/integrity_fail.png");
|
define("ADMIN_FALSE_ICON_PATH", e_IMAGE."admin_images/false_16.png");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (!defined('ADMIN_EDIT_ICON'))
|
if (!defined('ADMIN_EDIT_ICON'))
|
||||||
{
|
{
|
||||||
define("ADMIN_EDIT_ICON", "<img class='icon action S16' src='".e_IMAGE_ABS."admin_images/edit_16.png' alt='' title='".LAN_EDIT."' />");
|
define("ADMIN_EDIT_ICON", "<img class='icon action S16' src='".e_IMAGE_ABS."admin_images/edit_16.png' alt='' title='".LAN_EDIT."' />");
|
||||||
define("ADMIN_EDIT_ICON_PATH", e_IMAGE."admin_images/edit_16.png");
|
define("ADMIN_EDIT_ICON_PATH", e_IMAGE."admin_images/edit_16.png");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (!defined('ADMIN_DELETE_ICON'))
|
if (!defined('ADMIN_DELETE_ICON'))
|
||||||
{
|
{
|
||||||
define("ADMIN_DELETE_ICON", "<img class='icon action S16' src='".e_IMAGE_ABS."admin_images/delete_16.png' alt='' title='".LAN_DELETE."' />");
|
define("ADMIN_DELETE_ICON", "<img class='icon action S16' src='".e_IMAGE_ABS."admin_images/delete_16.png' alt='' title='".LAN_DELETE."' />");
|
||||||
define("ADMIN_DELETE_ICON_PATH", e_IMAGE."admin_images/delete_16.png");
|
define("ADMIN_DELETE_ICON_PATH", e_IMAGE."admin_images/delete_16.png");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!defined('ADMIN_UP_ICON'))
|
||||||
|
{
|
||||||
|
define("ADMIN_UP_ICON", "<img class='icon action S16' src='".e_IMAGE_ABS."admin_images/up_16.png' alt='' title='".LAN_DELETE."' />");
|
||||||
|
define("ADMIN_UP_ICON_PATH", e_IMAGE."admin_images/up_16.png");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!defined('ADMIN_DOWN_ICON'))
|
||||||
|
{
|
||||||
|
define("ADMIN_DOWN_ICON", "<img class='icon action S16' src='".e_IMAGE_ABS."admin_images/down_16.png' alt='' title='".LAN_DELETE."' />");
|
||||||
|
define("ADMIN_DOWN_ICON_PATH", e_IMAGE."admin_images/down_16.png");
|
||||||
|
}
|
||||||
|
|
||||||
if (!defined('ADMIN_WARNING_ICON'))
|
if (!defined('ADMIN_WARNING_ICON'))
|
||||||
{
|
{
|
||||||
define("ADMIN_WARNING_ICON", "<img class='icon action S16' src='".e_IMAGE_ABS."fileinspector/warning.png' alt='' />");
|
define("ADMIN_WARNING_ICON", "<img class='icon action S16' src='".e_IMAGE_ABS."admin_images/warning_16.png' alt='' />");
|
||||||
define("ADMIN_WARNING_ICON_PATH", e_IMAGE."fileinspector/warning.png");
|
define("ADMIN_WARNING_ICON_PATH", e_IMAGE."admin_images/warning_16.png");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!defined('ADMIN_INFO_ICON'))
|
if (!defined('ADMIN_INFO_ICON'))
|
||||||
{
|
{
|
||||||
define("ADMIN_INFO_ICON", "<img class='icon action S16' src='".e_IMAGE_ABS."fileinspector/info.png' alt='' />");
|
define("ADMIN_INFO_ICON", "<img class='icon action S16' src='".e_IMAGE_ABS."admin_images/info_16.png' alt='' />");
|
||||||
define("ADMIN_INFO_ICON_PATH", e_IMAGE."fileinspector/info.png");
|
define("ADMIN_INFO_ICON_PATH", e_IMAGE."admin_images/info_16.png");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!defined('ADMIN_CONFIGURE_ICON'))
|
||||||
|
{
|
||||||
|
define("ADMIN_CONFIGURE_ICON", "<img class='icon action S16' src='".e_IMAGE_ABS."admin_images/cat_tools_16.png' alt='' />");
|
||||||
|
define("ADMIN_CONFIGURE_ICON_PATH", e_IMAGE."admin_images/cat_tools_16.png");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!defined('ADMIN_VIEW_ICON'))
|
||||||
|
{
|
||||||
|
define("ADMIN_VIEW_ICON", "<img class='icon action S16' src='".e_IMAGE_ABS."admin_images/search_16.png' alt='' />");
|
||||||
|
define("ADMIN_VIEW_ICON_PATH", e_IMAGE."admin_images/admin_images/search_16.png");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!defined('ADMIN_URL_ICON'))
|
||||||
|
{
|
||||||
|
define("ADMIN_URL_ICON", "<img class='icon action S16' src='".e_IMAGE_ABS."admin_images/forums_16.png' alt='' />");
|
||||||
|
define("ADMIN_URL_ICON_PATH", e_IMAGE."admin_images/forums_16.png");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!defined('ADMIN_INSTALLPLUGIN_ICON'))
|
||||||
|
{
|
||||||
|
define("ADMIN_INSTALLPLUGIN_ICON", "<img class='icon action S16' src='".e_IMAGE_ABS."admin_images/plugin_install_16.png' alt='' />");
|
||||||
|
define("ADMIN_INSTALLPLUGIN_ICON_PATH", e_IMAGE."admin_images/plugin_install_16.png");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!defined('ADMIN_UNINSTALLPLUGIN_ICON'))
|
||||||
|
{
|
||||||
|
define("ADMIN_UNINSTALLPLUGIN_ICON", "<img class='icon action S16' src='".e_IMAGE_ABS."admin_images/plugin_uninstall_16.png' alt='' />");
|
||||||
|
define("ADMIN_UNINSTALLPLUGIN_ICON_PATH", e_IMAGE."admin_images/plugin_unstall_16.png");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!defined('ADMIN_UPGRADEPLUGIN_ICON'))
|
||||||
|
{
|
||||||
|
define("ADMIN_UPGRADEPLUGIN_ICON", "<img class='icon action S16' src='".e_IMAGE_ABS."admin_images/up_16.png' alt='' />");
|
||||||
|
define("ADMIN_UPGRADEPLUGIN_ICON_PATH", e_IMAGE."admin_images/up_16.png");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// C: Send start of HTML
|
// C: Send start of HTML
|
||||||
//
|
//
|
||||||
@@ -588,11 +651,6 @@ if (!function_exists('show_admin_menu')) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (file_exists(THEME.'admin_template.php')) {
|
|
||||||
require_once(THEME.'admin_template.php');
|
|
||||||
} else {
|
|
||||||
require_once(e_BASE.$THEMES_DIRECTORY.'templates/admin_template.php');
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!function_exists("parse_admin")) {
|
if (!function_exists("parse_admin")) {
|
||||||
function parse_admin($ADMINLAYOUT) {
|
function parse_admin($ADMINLAYOUT) {
|
||||||
|
@@ -9,8 +9,8 @@
|
|||||||
* Administration Area - Site Links
|
* Administration Area - Site Links
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_admin/links.php,v $
|
* $Source: /cvs_backup/e107_0.8/e107_admin/links.php,v $
|
||||||
* $Revision: 1.23 $
|
* $Revision: 1.24 $
|
||||||
* $Date: 2009-07-07 06:50:55 $
|
* $Date: 2009-07-17 03:53:14 $
|
||||||
* $Author: e107coders $
|
* $Author: e107coders $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@@ -463,8 +463,8 @@ class links
|
|||||||
";
|
";
|
||||||
$name_suffix = URL_SEPARATOR.$link_id.URL_SEPARATOR.$link_order;
|
$name_suffix = URL_SEPARATOR.$link_id.URL_SEPARATOR.$link_order;
|
||||||
$text .= "
|
$text .= "
|
||||||
<input name='inc".$name_suffix."' type='image' src='".e_IMAGE."admin_images/up.png' title='".LCLAN_30."' />
|
<input name='inc".$name_suffix."' type='image' src='".ADMIN_UP_ICON_PATH."' title='".LCLAN_30."' />
|
||||||
<input name='dec".$name_suffix."' type='image' src='".e_IMAGE."admin_images/down.png' title='".LCLAN_31."' />
|
<input name='dec".$name_suffix."' type='image' src='".ADMIN_DOWN_ICON_PATH."' title='".LCLAN_31."' />
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<select name='link_order[]' class='tbox select order'>\n
|
<select name='link_order[]' class='tbox select order'>\n
|
||||||
|
@@ -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_admin/plugin.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_admin/plugin.php,v $
|
||||||
| $Revision: 1.32 $
|
| $Revision: 1.33 $
|
||||||
| $Date: 2009-07-15 09:38:00 $
|
| $Date: 2009-07-17 03:53:14 $
|
||||||
| $Author: e107coders $
|
| $Author: e107coders $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
@@ -748,7 +748,7 @@ class pluginManager{
|
|||||||
$conf_file = e_PLUGIN.$plug['plugin_path'].'/'.$plug_vars['administration']['configFile'];
|
$conf_file = e_PLUGIN.$plug['plugin_path'].'/'.$plug_vars['administration']['configFile'];
|
||||||
$conf_title = LAN_CONFIGURE.' '.$tp->toHtml($plug_vars['@attributes']['name'], "", "defs,emotes_off, no_make_clickable");
|
$conf_title = LAN_CONFIGURE.' '.$tp->toHtml($plug_vars['@attributes']['name'], "", "defs,emotes_off, no_make_clickable");
|
||||||
$plugin_icon = "<a title='{$conf_title}' href='{$conf_file}' >".$plugin_icon."</a>";
|
$plugin_icon = "<a title='{$conf_title}' href='{$conf_file}' >".$plugin_icon."</a>";
|
||||||
$plugin_config_icon = "<a title='{$conf_title}' href='{$conf_file}' ><img class='icon action S16' src='".e_IMAGE_ABS."admin_images/cat_tools_16.png' alt='' style='border:0px' /></a>";
|
$plugin_config_icon = "<a title='{$conf_title}' href='{$conf_file}' >".ADMIN_CONFIGURE_ICON."</a>";
|
||||||
}
|
}
|
||||||
|
|
||||||
$plugEmail = varset($plug_vars['author']['@attributes']['email'],'');
|
$plugEmail = varset($plug_vars['author']['@attributes']['email'],'');
|
||||||
@@ -787,8 +787,8 @@ class pluginManager{
|
|||||||
$text .= (in_array("plugin_folder",$this->fieldpref)) ? "<td class='middle'>".$plug['plugin_path']."</td>" : "";
|
$text .= (in_array("plugin_folder",$this->fieldpref)) ? "<td class='middle'>".$plug['plugin_path']."</td>" : "";
|
||||||
$text .= (in_array("plugin_category",$this->fieldpref)) ? "<td class='middle'>".$plug['plugin_category']."</td>" : "";
|
$text .= (in_array("plugin_category",$this->fieldpref)) ? "<td class='middle'>".$plug['plugin_category']."</td>" : "";
|
||||||
$text .= (in_array("plugin_author",$this->fieldpref)) ? "<td class='middle'><a href='mailto:".$plugEmail."' title='".$plugEmail."'>".$plugAuthor."</a> </td>" : "";
|
$text .= (in_array("plugin_author",$this->fieldpref)) ? "<td class='middle'><a href='mailto:".$plugEmail."' title='".$plugEmail."'>".$plugAuthor."</a> </td>" : "";
|
||||||
$text .= (in_array("plugin_website",$this->fieldpref)) ? "<td class='center middle'>".($plugURL ? "<a href='{$plugURL}' title='{$plugURL}' ><img src='".e_IMAGE_ABS."admin_images/forums_16.png' alt='' style='border:0px' /></a>" : "")."</td>" : "";
|
$text .= (in_array("plugin_website",$this->fieldpref)) ? "<td class='center middle'>".($plugURL ? "<a href='{$plugURL}' title='{$plugURL}' >".ADMIN_URL_ICON."</a>" : "")."</td>" : "";
|
||||||
$text .= (in_array("plugin_notes",$this->fieldpref)) ? "<td class='center middle'>".($plugReadme ? "<a href='".e_PLUGIN.$plug['plugin_path']."/".$plugReadme."' title='".$plugReadme."'><img src='".e_IMAGE_ABS."admin_images/info_16.png' alt='' style='border:0px' /></a>" : " ")."</td>" : "";
|
$text .= (in_array("plugin_notes",$this->fieldpref)) ? "<td class='center middle'>".($plugReadme ? "<a href='".e_PLUGIN.$plug['plugin_path']."/".$plugReadme."' title='".$plugReadme."'>".ADMIN_INFO_ICON."</a>" : " ")."</td>" : "";
|
||||||
$text .= (in_array("plugin_description",$this->fieldpref)) ? "<td class='middle'>".$tp->toHTML($plug_vars['description'], false, "defs,emotes_off, no_make_clickable")."</td>" : "";
|
$text .= (in_array("plugin_description",$this->fieldpref)) ? "<td class='middle'>".$tp->toHTML($plug_vars['description'], false, "defs,emotes_off, no_make_clickable")."</td>" : "";
|
||||||
$text .= (in_array("plugin_compatible",$this->fieldpref)) ? "<td class='center middle'>".varset($plug_vars['@attributes']['compatibility'],'')."</td>" : "";
|
$text .= (in_array("plugin_compatible",$this->fieldpref)) ? "<td class='center middle'>".varset($plug_vars['@attributes']['compatibility'],'')."</td>" : "";
|
||||||
$text .= (in_array("plugin_compliant",$this->fieldpref)) ? "<td class='center middle'>".((varset($plug_vars['compliant']) || varsettrue($plug_vars['@attributes']['xhtmlcompliant'])) ? ADMIN_TRUE_ICON : " ")."</td>" : "";
|
$text .= (in_array("plugin_compliant",$this->fieldpref)) ? "<td class='center middle'>".((varset($plug_vars['compliant']) || varsettrue($plug_vars['@attributes']['xhtmlcompliant'])) ? ADMIN_TRUE_ICON : " ")."</td>" : "";
|
||||||
@@ -803,7 +803,7 @@ class pluginManager{
|
|||||||
{
|
{
|
||||||
if ($plug['plugin_installflag'])
|
if ($plug['plugin_installflag'])
|
||||||
{
|
{
|
||||||
$text .= ($plug['plugin_installflag'] ? "<a href=\"".e_SELF."?uninstall.{$plug['plugin_id']}'\" title='".EPL_ADLAN_1."' >".ADMIN_DELETE_ICON."</a>" : "<a href=\"".e_SELF."?install.{$plug['plugin_id']}\" title='".EPL_ADLAN_0."' ><img class='middle' src='".e_IMAGE_ABS."admin_images/plugins_16.png' alt=\"".EPL_ADLAN_0."\" style='border:0px' /></a>");
|
$text .= ($plug['plugin_installflag'] ? "<a href=\"".e_SELF."?uninstall.{$plug['plugin_id']}'\" title='".EPL_ADLAN_1."' >".ADMIN_UNINSTALLPLUGIN_ICON."</a>" : "<a href=\"".e_SELF."?install.{$plug['plugin_id']}\" title='".EPL_ADLAN_0."' >".ADMIN_INSTALLPLUGIN_ICON."</a>");
|
||||||
|
|
||||||
// $text .= ($plug['plugin_installflag'] ? "<button type='button' class='delete' value='".EPL_ADLAN_1."' onclick=\"location.href='".e_SELF."?uninstall.{$plug['plugin_id']}'\"><span>".EPL_ADLAN_1."</span></button>" : "<button type='button' class='update' value='".EPL_ADLAN_0."' onclick=\"location.href='".e_SELF."?install.{$plug['plugin_id']}'\"><span>".EPL_ADLAN_0."</span></button>");
|
// $text .= ($plug['plugin_installflag'] ? "<button type='button' class='delete' value='".EPL_ADLAN_1."' onclick=\"location.href='".e_SELF."?uninstall.{$plug['plugin_id']}'\"><span>".EPL_ADLAN_1."</span></button>" : "<button type='button' class='update' value='".EPL_ADLAN_0."' onclick=\"location.href='".e_SELF."?install.{$plug['plugin_id']}'\"><span>".EPL_ADLAN_0."</span></button>");
|
||||||
if (PLUGIN_SHOW_REFRESH && !varsettrue($plug_vars['plugin_php']))
|
if (PLUGIN_SHOW_REFRESH && !varsettrue($plug_vars['plugin_php']))
|
||||||
@@ -815,7 +815,7 @@ class pluginManager{
|
|||||||
{
|
{
|
||||||
// $text .= "<input type='button' class='button' onclick=\"location.href='".e_SELF."?install.{$plug['plugin_id']}'\" title='".EPL_ADLAN_0."' value='".EPL_ADLAN_0."' />";
|
// $text .= "<input type='button' class='button' onclick=\"location.href='".e_SELF."?install.{$plug['plugin_id']}'\" title='".EPL_ADLAN_0."' value='".EPL_ADLAN_0."' />";
|
||||||
// $text .= "<button type='button' class='update' value='".EPL_ADLAN_0."' onclick=\"location.href='".e_SELF."?install.{$plug['plugin_id']}'\"><span>".EPL_ADLAN_0."</span></button>";
|
// $text .= "<button type='button' class='update' value='".EPL_ADLAN_0."' onclick=\"location.href='".e_SELF."?install.{$plug['plugin_id']}'\"><span>".EPL_ADLAN_0."</span></button>";
|
||||||
$text .= "<a href=\"".e_SELF."?install.{$plug['plugin_id']}\" title='".EPL_ADLAN_0."' ><img class='middle' src='".e_IMAGE_ABS."admin_images/plugins_16.png' alt=\"".EPL_ADLAN_0."\" style='border:0px' /></a>";
|
$text .= "<a href=\"".e_SELF."?install.{$plug['plugin_id']}\" title='".EPL_ADLAN_0."' >".ADMIN_INSTALLPLUGIN_ICON."</a>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -838,7 +838,7 @@ class pluginManager{
|
|||||||
if ($plug['plugin_version'] != $plug_vars['@attributes']['version'] && $plug['plugin_installflag'])
|
if ($plug['plugin_version'] != $plug_vars['@attributes']['version'] && $plug['plugin_installflag'])
|
||||||
{
|
{
|
||||||
// $text .= "<br /><input type='button' class='button' onclick=\"location.href='".e_SELF."?upgrade.{$plug['plugin_id']}'\" title='".EPL_UPGRADE." to v".$plug_vars['@attributes']['version']."' value='".EPL_UPGRADE."' />";
|
// $text .= "<br /><input type='button' class='button' onclick=\"location.href='".e_SELF."?upgrade.{$plug['plugin_id']}'\" title='".EPL_UPGRADE." to v".$plug_vars['@attributes']['version']."' value='".EPL_UPGRADE."' />";
|
||||||
$text .= "<a href='".e_SELF."?upgrade.{$plug['plugin_id']}' title=\"".EPL_UPGRADE." to v".$plug_vars['@attributes']['version']."\" ><img class='middle' src='".e_IMAGE_ABS."admin_images/up_16.png' alt=\"".EPL_UPGRADE."\" style='border:0px' /></a>";
|
$text .= "<a href='".e_SELF."?upgrade.{$plug['plugin_id']}' title=\"".EPL_UPGRADE." to v".$plug_vars['@attributes']['version']."\" >".ADMIN_UPGRADEPLUGIN_ICON."</a>";
|
||||||
}
|
}
|
||||||
|
|
||||||
$text .="</td>";
|
$text .="</td>";
|
||||||
|
@@ -9,8 +9,8 @@
|
|||||||
* Form Handler
|
* Form Handler
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_handlers/form_handler.php,v $
|
* $Source: /cvs_backup/e107_0.8/e107_handlers/form_handler.php,v $
|
||||||
* $Revision: 1.34 $
|
* $Revision: 1.35 $
|
||||||
* $Date: 2009-07-16 08:15:35 $
|
* $Date: 2009-07-17 03:53:14 $
|
||||||
* $Author: e107coders $
|
* $Author: e107coders $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@@ -333,12 +333,12 @@ class e_form
|
|||||||
$options = $this->format_options('submit_image', $name, $options);
|
$options = $this->format_options('submit_image', $name, $options);
|
||||||
switch ($image) {
|
switch ($image) {
|
||||||
case 'edit':
|
case 'edit':
|
||||||
$image = e_IMAGE_ABS.'admin_images/edit_16.png';
|
$image = ADMIN_EDIT_ICON_PATH;
|
||||||
$options['class'] = 'action edit';
|
$options['class'] = 'action edit';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'delete':
|
case 'delete':
|
||||||
$image = e_IMAGE_ABS.'admin_images/delete_16.png';
|
$image = ADMIN_DELETE_ICON_PATH;
|
||||||
$options['class'] = 'action delete';
|
$options['class'] = 'action delete';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@@ -10,8 +10,8 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_handlers/menu_class.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/menu_class.php,v $
|
||||||
| $Revision: 1.3 $
|
| $Revision: 1.4 $
|
||||||
| $Date: 2009-07-17 02:28:49 $
|
| $Date: 2009-07-17 03:53:14 $
|
||||||
| $Author: e107coders $
|
| $Author: e107coders $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
@@ -1016,19 +1016,19 @@ class menuManager{
|
|||||||
$text .= $rs->form_select_close();
|
$text .= $rs->form_select_close();
|
||||||
|
|
||||||
$text .= "<div style='width:80px;float:right;display:block;text-align:right'>
|
$text .= "<div style='width:80px;float:right;display:block;text-align:right'>
|
||||||
<a href='#' onclick=\"parent.location.href='".e_SELF."?lay=".$this->curLayout."&vis=".$menu_id."'; \">
|
<a href='#' onclick=\"parent.location.href='".e_SELF."?lay=".$this->curLayout."&vis=".$menu_id."'; \" title='visibility'>
|
||||||
<img src='".e_IMAGE_ABS."admin_images/search_16.png' alt='visibility' style='border:0px' />
|
".ADMIN_VIEW_ICON."
|
||||||
</a>";
|
</a>";
|
||||||
|
|
||||||
if($conf)
|
if($conf)
|
||||||
{
|
{
|
||||||
$text .= "<a href='#' onclick=\"parent.location.href='".e_SELF."?lay=".$this->curLayout."&mode=conf&path=".urlencode($conf)."'; \">
|
$text .= "<a title='configure' href='#' onclick=\"parent.location.href='".e_SELF."?lay=".$this->curLayout."&mode=conf&path=".urlencode($conf)."'; \">
|
||||||
<img src='".e_IMAGE_ABS."admin_images/cat_tools_16.png' alt='configure' style='border:0px' />
|
".ADMIN_CONFIGURE_ICON."
|
||||||
</a>";
|
</a>";
|
||||||
}
|
}
|
||||||
|
|
||||||
$text .= "<a href='#' onclick=\"parent.location.href='".e_SELF."?lay=".$this->curLayout."&mode=deac&id=".$menu_id."'; \">
|
$text .= "<a href='#' title='deactivate' onclick=\"parent.location.href='".e_SELF."?lay=".$this->curLayout."&mode=deac&id=".$menu_id."'; \">
|
||||||
<img src='".e_IMAGE_ABS."admin_images/delete_16.png' alt='deactivate' style='border:0px' />
|
".ADMIN_DELETE_ICON."
|
||||||
</a>
|
</a>
|
||||||
</div>";
|
</div>";
|
||||||
|
|
||||||
|
BIN
e107_images/admin_images/down_16.png
Normal file
After Width: | Height: | Size: 912 B |
BIN
e107_images/admin_images/down_32.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
e107_images/admin_images/false_16.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
e107_images/admin_images/false_32.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
e107_images/admin_images/plugin_install_16.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
e107_images/admin_images/plugin_install_32.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
e107_images/admin_images/plugin_uninstall_16.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
e107_images/admin_images/plugin_uninstall_32.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
e107_images/admin_images/true_16.png
Normal file
After Width: | Height: | Size: 883 B |
BIN
e107_images/admin_images/true_32.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 833 B After Width: | Height: | Size: 906 B |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.8 KiB |
BIN
e107_images/admin_images/warning_16.png
Normal file
After Width: | Height: | Size: 937 B |
BIN
e107_images/admin_images/warning_32.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
@@ -9,8 +9,8 @@
|
|||||||
* Admin template - _blank theme
|
* Admin template - _blank theme
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_themes/_blank/admin_template.php,v $
|
* $Source: /cvs_backup/e107_0.8/e107_themes/_blank/admin_template.php,v $
|
||||||
* $Revision: 1.12 $
|
* $Revision: 1.13 $
|
||||||
* $Date: 2009-07-12 10:11:35 $
|
* $Date: 2009-07-17 03:53:14 $
|
||||||
* $Author: e107coders $
|
* $Author: e107coders $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@@ -18,6 +18,95 @@
|
|||||||
if (!defined('e107_INIT')) { exit; }
|
if (!defined('e107_INIT')) { exit; }
|
||||||
|
|
||||||
define("ADLINK_COLS",5);
|
define("ADLINK_COLS",5);
|
||||||
|
|
||||||
|
|
||||||
|
if (!defined('ADMIN_TRUE_ICON'))
|
||||||
|
{
|
||||||
|
define("ADMIN_TRUE_ICON", "<img class='icon action S32' src='".e_IMAGE_ABS."admin_images/true_32.png' alt='' />");
|
||||||
|
define("ADMIN_TRUE_ICON_PATH", e_IMAGE."admin_images/true_32.png");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!defined('ADMIN_FALSE_ICON'))
|
||||||
|
{
|
||||||
|
define("ADMIN_FALSE_ICON", "<img class='icon action S32' src='".e_IMAGE_ABS."admin_images/false_32.png' alt='' />");
|
||||||
|
define("ADMIN_FALSE_ICON_PATH", e_IMAGE."admin_images/false_32.png");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!defined('ADMIN_EDIT_ICON'))
|
||||||
|
{
|
||||||
|
define("ADMIN_EDIT_ICON", "<img class='icon action S32' src='".e_IMAGE_ABS."admin_images/edit_32.png' alt='' title='".LAN_EDIT."' />");
|
||||||
|
define("ADMIN_EDIT_ICON_PATH", e_IMAGE."admin_images/edit_32.png");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!defined('ADMIN_DELETE_ICON'))
|
||||||
|
{
|
||||||
|
define("ADMIN_DELETE_ICON", "<img class='icon action S32' src='".e_IMAGE_ABS."admin_images/delete_32.png' alt='' title='".LAN_DELETE."' />");
|
||||||
|
define("ADMIN_DELETE_ICON_PATH", e_IMAGE."admin_images/delete_32.png");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!defined('ADMIN_WARNING_ICON'))
|
||||||
|
{
|
||||||
|
define("ADMIN_WARNING_ICON", "<img class='icon action S32' src='".e_IMAGE_ABS."admin_images/warning_32.png' alt='' />");
|
||||||
|
define("ADMIN_WARNING_ICON_PATH", e_IMAGE."admin_images/warning_32.png");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!defined('ADMIN_INFO_ICON'))
|
||||||
|
{
|
||||||
|
define("ADMIN_INFO_ICON", "<img class='icon action S32' src='".e_IMAGE_ABS."admin_images/info_32.png' alt='' />");
|
||||||
|
define("ADMIN_INFO_ICON_PATH", e_IMAGE."admin_images/info_32.png");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!defined('ADMIN_CONFIGURE_ICON'))
|
||||||
|
{
|
||||||
|
define("ADMIN_CONFIGURE_ICON", "<img class='icon action S32' src='".e_IMAGE_ABS."admin_images/cat_tools_32.png' alt='' />");
|
||||||
|
define("ADMIN_CONFIGURE_ICON_PATH", e_IMAGE."admin_images/cat_tools_32.png");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!defined('ADMIN_VIEW_ICON'))
|
||||||
|
{
|
||||||
|
define("ADMIN_VIEW_ICON", "<img class='icon action S32' src='".e_IMAGE_ABS."admin_images/search_32.png' alt='' />");
|
||||||
|
define("ADMIN_VIEW_ICON_PATH", e_IMAGE."admin_images/admin_images/search_32.png");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!defined('ADMIN_URL_ICON'))
|
||||||
|
{
|
||||||
|
define("ADMIN_URL_ICON", "<img class='icon action S32' src='".e_IMAGE_ABS."admin_images/forums_32.png' alt='' />");
|
||||||
|
define("ADMIN_URL_ICON_PATH", e_IMAGE."admin_images/forums_32.png");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!defined('ADMIN_INSTALLPLUGIN_ICON'))
|
||||||
|
{
|
||||||
|
define("ADMIN_INSTALLPLUGIN_ICON", "<img class='icon action S32' src='".e_IMAGE_ABS."admin_images/plugin_install_32.png' alt='' />");
|
||||||
|
define("ADMIN_INSTALLPLUGIN_ICON_PATH", e_IMAGE."admin_images/plugin_install_32.png");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!defined('ADMIN_UNINSTALLPLUGIN_ICON'))
|
||||||
|
{
|
||||||
|
define("ADMIN_UNINSTALLPLUGIN_ICON", "<img class='icon action S32' src='".e_IMAGE_ABS."admin_images/plugin_uninstall_32.png' alt='' />");
|
||||||
|
define("ADMIN_UNINSTALLPLUGIN_ICON_PATH", e_IMAGE."admin_images/plugin_unstall_32.png");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!defined('ADMIN_UPGRADEPLUGIN_ICON'))
|
||||||
|
{
|
||||||
|
define("ADMIN_UPGRADEPLUGIN_ICON", "<img class='icon action S32' src='".e_IMAGE_ABS."admin_images/up_32.png' alt='' />");
|
||||||
|
define("ADMIN_UPGRADEPLUGIN_ICON_PATH", e_IMAGE."admin_images/up_32.png");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!defined('ADMIN_UP_ICON'))
|
||||||
|
{
|
||||||
|
define("ADMIN_UP_ICON", "<img class='icon action S32' src='".e_IMAGE_ABS."admin_images/up_32.png' alt='' title='".LAN_DELETE."' />");
|
||||||
|
define("ADMIN_UP_ICON_PATH", e_IMAGE."admin_images/up_32.png");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!defined('ADMIN_DOWN_ICON'))
|
||||||
|
{
|
||||||
|
define("ADMIN_DOWN_ICON", "<img class='icon action S32' src='".e_IMAGE_ABS."admin_images/down_32.png' alt='' title='".LAN_DELETE."' />");
|
||||||
|
define("ADMIN_DOWN_ICON_PATH", e_IMAGE."admin_images/down_32.png");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
include_lan(THEME."languages/".e_LANGUAGE.".php");
|
include_lan(THEME."languages/".e_LANGUAGE.".php");
|
||||||
|
|
||||||
//{FS_ADMIN_ALT_NAV}
|
//{FS_ADMIN_ALT_NAV}
|
||||||
|