Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

# [#29687] *Adapting hathor to new message using editor

  • Loading branch information...
commit 836c4a4df0863835d15ce0563b1e1edbe01013c0 1 parent df2e514
@infograf768 infograf768 authored
View
4 administrator/templates/hathor/css/template.css
@@ -1935,9 +1935,6 @@ table.adminlist .pagination button {
line-height: 1.5em;
margin-right: 20px;
}
-div.toggle-editor {
- margin: -15px;
-}
.tip {
float: left;
padding: 5px;
@@ -2872,6 +2869,7 @@ fieldset.uploadform {
-moz-border-radius: 4px;
border-radius: 4px;
color: #c09853;
+ font-size: 120%;
}
.alert-heading {
color: inherit;
View
2  administrator/templates/hathor/css/template_rtl.css
@@ -760,7 +760,7 @@ table.adminlist .pagination button {
* MCE Editor
*/
div.toggle-editor {
- margin-top: -15px;
+
}
/**
View
43 administrator/templates/hathor/html/com_messages/message/edit.php
@@ -0,0 +1,43 @@
+<?php
+/**
+ * @package Joomla.Administrator
+ * @subpackage com_messages
+ *
+ * @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
+ * @license GNU General Public License version 2 or later; see LICENSE.txt
+ */
+
+defined('_JEXEC') or die;
+
+// Include the HTML helpers.
+JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
+JHtml::_('behavior.tooltip');
+JHtml::_('behavior.formvalidation');
+JHtml::_('behavior.keepalive');
+?>
+<script type="text/javascript">
+ Joomla.submitbutton = function(task) {
+ if (task == 'message.cancel' || document.formvalidator.isValid(document.id('message-form'))) {
+ Joomla.submitform(task, document.getElementById('message-form'));
+ }
+ }
+</script>
+<form action="<?php echo JRoute::_('index.php?option=com_messages'); ?>" method="post" name="adminForm" id="message-form" class="form-validate form-horizontal">
+ <fieldset class="adminform">
+ <ul class="adminformlist">
+ <li><?php echo $this->form->getLabel('user_id_to'); ?>
+ <?php echo $this->form->getInput('user_id_to'); ?></li>
+
+ <li><?php echo $this->form->getLabel('subject'); ?>
+ <?php echo $this->form->getInput('subject'); ?></li>
+ </ul>
+ </fieldset>
+ <fieldset class="adminform">
+ <legend><?php echo $this->form->getLabel('message'); ?></legend>
+ <ul class="adminformlist">
+ <li><?php echo $this->form->getInput('message'); ?> </li>
+ </ul>
+ </fieldset>
+ <input type="hidden" name="task" value="" />
+ <?php echo JHtml::_('form.token'); ?>
+</form>
View
1  administrator/templates/hathor/html/com_messages/message/index.html
@@ -0,0 +1 @@
+<!DOCTYPE html><title></title>
View
3  administrator/templates/hathor/less/template.less
@@ -1799,7 +1799,7 @@ table.adminlist .pagination button {
* MCE Editor
*/
div.toggle-editor {
- margin: -15px;
+
}
/**
@@ -2989,6 +2989,7 @@ fieldset.uploadform {
-moz-border-radius: 4px;
border-radius: 4px;
color: #c09853;
+ font-size: 120%;
}
.alert-heading {
View
1  installation/CHANGELOG
@@ -29,6 +29,7 @@ $ -> Language fix or change
18-Nov-2012 Jean-Marie Simonet
# [#29684] Wrong HTML markup on category edit. Thanks Ofer
# [#29528] Incorrect arrows in table heading. Thanks Dennis
+ # [#29687] *Adapting hathor to new message using editor
16-Nov-2012 Jean-Marie Simonet
$+ Adding Uyghur ug-CN installation files
Please sign in to comment.
Something went wrong with that request. Please try again.