Index: branches/RC/core/units/categories/categories_tag_processor.php
===================================================================
diff -u -N -r11538 -r11592
--- branches/RC/core/units/categories/categories_tag_processor.php (.../categories_tag_processor.php) (revision 11538)
+++ branches/RC/core/units/categories/categories_tag_processor.php (.../categories_tag_processor.php) (revision 11592)
@@ -1125,9 +1125,11 @@
// link from Front-End to admin, don't remove "index.php"
$edit_url = $this->Application->HREF('categories/edit_content', ADMIN_DIRECTORY, $url_params, 'index.php');
- $button_css = 'font-family: Arial, Verdana; font-size: 9pt; '.$pos_float.' z-index: 99; background-color: #F7C300; color: #CE0031; border: 1px solid #CE0031; padding: 1px 10px 1px 10px; cursor: pointer;';
- $edit_code = '
Edit '.(defined('DEBUG_MODE') && DEBUG_MODE ? "({$num})" : '').'
';
+ $button_image = '';
+ $button_css = 'vertical-align: middle; font-family: Arial, Verdana; font-size: 13px; '.$pos_float.' z-index: 99; background-color: #FFCC00; color: black; border: 2px solid #FF6E00; padding: 2px 10px; margin-top: -5px; margin-left: -5px; cursor: pointer;';
+ $edit_code = '' . $button_image . '
Edit '.(defined('DEBUG_MODE') && DEBUG_MODE ? " - #{$num}" : '').'
';
+
if (isset($params['forms_later']) && $params['forms_later']) {
$tmp = $edit_code;
$edit_code = '';
@@ -1154,7 +1156,13 @@
$data = $content->GetField('Content');
}
- return $edit_code . $this->_replacePageIds($data);
+ $data = $edit_code . $this->_replacePageIds($data);
+
+ if (EDITING_MODE == EDITING_MODE_CMS) {
+ $data .= '
';
+ }
+
+ return $data;
}
/**
@@ -1308,9 +1316,10 @@
);
$edit_url = $this->Application->HREF('categories/categories_edit', '/admin', $url_params);
- $button_css = 'position: absolute; z-index: 1; top: 1; left 1; font-family: Arial, Verdana; font-size: 9px; background-color: #F7C300; color: #CE0031; border: 1px solid #CE0031; width: auto; padding: 2px 10px 2px 10px; cursor: pointer;';
- $edit_code = 'Page Properties';
- $title = $this->PageInfo(array('type' => 'htmlhead_title'));
+ $button_image = '
';
+ $button_css = 'position: absolute; z-index: 1; top: 1; left 1; font-family: Arial, Verdana; font-size: 13px; background-color: #CCFF00; color: black; border: 2px solid #A1D0A1; width: auto; padding: 2px 10px; cursor: pointer;';
+ $edit_code = '
' . $button_image . '
Section Properties
';
+// $title = $this->PageInfo(array('type' => 'htmlhead_title'));
$edit_code .= '