Skip to content

Commit

Permalink
Split compose page CSS out of main CSS file
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Oct 20, 2014
1 parent 5a8f722 commit 657ee99
Show file tree
Hide file tree
Showing 6 changed files with 343 additions and 350 deletions.
2 changes: 2 additions & 0 deletions imp/lib/Dynamic/Compose/Common.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ public function compose(IMP_Dynamic_Base $base, array $args = array())
$page_output->addScriptPackage('IMP_Script_Package_Autocomplete');
}

$page_output->addThemeStylesheet('compose.css');

$this->_addComposeVars($base);

$view = $base->getEmptyView();
Expand Down
8 changes: 7 additions & 1 deletion imp/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<email>chuck@horde.org</email>
<active>no</active>
</lead>
<date>2014-10-17</date>
<date>2014-10-18</date>
<version>
<release>7.0.0</release>
<api>7.0.0</api>
Expand Down Expand Up @@ -166,6 +166,7 @@
<dir name="Basic">
<file name="Base.php" role="horde" />
<file name="Contacts.php" role="horde" />
<file name="Error.php" role="horde" />
<file name="Listinfo.php" role="horde" />
<file name="Pgp.php" role="horde" />
<file name="Saveimage.php" role="horde" />
Expand Down Expand Up @@ -995,6 +996,7 @@
<file name="screen.css" role="horde" />
</dir> <!-- /themes/default/block -->
<dir name="dynamic">
<file name="compose.css" role="horde" />
<file name="screen.css" role="horde" />
</dir> <!-- /themes/default/dynamic -->
<dir name="graphics">
Expand Down Expand Up @@ -1144,6 +1146,7 @@
</dir> <!-- /themes/default -->
</dir> <!-- /themes -->
<file name="attachment.php" role="horde" />
<file name="basic.php" role="horde" />
<file name="COPYING" role="doc" />
<file name="dynamic.php" role="horde" />
<file name="index.php" role="horde" />
Expand Down Expand Up @@ -1569,6 +1572,7 @@
<install as="imp/lib/Ajax/Imple/VcardImport.php" name="lib/Ajax/Imple/VcardImport.php" />
<install as="imp/lib/Basic/Base.php" name="lib/Basic/Base.php" />
<install as="imp/lib/Basic/Contacts.php" name="lib/Basic/Contacts.php" />
<install as="imp/lib/Basic/Error.php" name="lib/Basic/Error.php" />
<install as="imp/lib/Basic/Listinfo.php" name="lib/Basic/Listinfo.php" />
<install as="imp/lib/Basic/Pgp.php" name="lib/Basic/Pgp.php" />
<install as="imp/lib/Basic/Saveimage.php" name="lib/Basic/Saveimage.php" />
Expand Down Expand Up @@ -2020,6 +2024,7 @@
<install as="imp/themes/default/rtl.css" name="themes/default/rtl.css" />
<install as="imp/themes/default/screen.css" name="themes/default/screen.css" />
<install as="imp/themes/default/block/screen.css" name="themes/default/block/screen.css" />
<install as="imp/themes/default/dynamic/compose.css" name="themes/default/dynamic/compose.css" />
<install as="imp/themes/default/dynamic/screen.css" name="themes/default/dynamic/screen.css" />
<install as="imp/themes/default/graphics/addressbook_browse.png" name="themes/default/graphics/addressbook_browse.png" />
<install as="imp/themes/default/graphics/add_contact.png" name="themes/default/graphics/add_contact.png" />
Expand Down Expand Up @@ -2151,6 +2156,7 @@
<install as="imp/themes/default/graphics/nav/right.png" name="themes/default/graphics/nav/right.png" />
<install as="imp/themes/default/smartmobile/screen.css" name="themes/default/smartmobile/screen.css" />
<install as="imp/attachment.php" name="attachment.php" />
<install as="imp/basic.php" name="basic.php" />
<install as="COPYING" name="COPYING" />
<install as="imp/dynamic.php" name="dynamic.php" />
<install as="imp/index.php" name="index.php" />
Expand Down
2 changes: 1 addition & 1 deletion imp/templates/dynamic/compose.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<?php if (!$this->is_template): ?>
<ul>
<li class="horde-icon">
<?php echo $this->actionButton(array('htmltitle' => _("Accesskey Ctrl-Enter"), 'icon' => 'Forward', 'id' => 'send_button', 'title' => _("Send"))) ?>
<?php echo $this->actionButton(array('htmltitle' => _("Accesskey Ctrl-Enter"), 'icon' => 'Send', 'id' => 'send_button', 'title' => _("Send"))) ?>
</li>
<?php endif; ?>
<?php endif; ?>
Expand Down
Loading

0 comments on commit 657ee99

Please sign in to comment.