commit
42a570788b
@ -1,7 +1,11 @@ |
||||
/* Copyright (c) 2011, Jan-Christoph Borchardt, http://jancborchardt.net |
||||
This file is licensed under the Affero General Public License version 3 or later. |
||||
See the COPYING-README file. */ |
||||
|
||||
ul.multiselectoptions { z-index:49; position:absolute; background-color:#fff; padding-top:.5em; border:1px solid #ddd; border-top:none; -moz-border-radius-bottomleft:.5em; -webkit-border-bottom-left-radius:.5em; border-bottom-left-radius:.5em; -moz-border-radius-bottomright:.5em; -webkit-border-bottom-right-radius:.5em; border-bottom-right-radius:.5em; -moz-box-shadow:0 1px 1px #ddd; -webkit-box-shadow:0 1px 1px #ddd; box-shadow:0 1px 1px #ddd; } |
||||
ul.multiselectoptions>li{ white-space:nowrap; overflow: hidden; } |
||||
div.multiselect { padding-right:.6em; display:inline; position:relative; display:inline-block; vertical-align: bottom; } |
||||
div.multiselect { padding-right:.6em; display:inline; position:relative; display:inline-block; vertical-align: bottom; min-width:100px; max-width:400px; } |
||||
div.multiselect.active { background-color:#fff; border-bottom:none; border-bottom-left-radius:0; border-bottom-right-radius:0; z-index:50; position:relative } |
||||
div.multiselect>span:first-child { margin-right:2em; float:left; } |
||||
div.multiselect>span:last-child { float:right; position:relative } |
||||
div.multiselect>span:first-child { margin-right:2em; float:left; width:90%; overflow:hidden; text-overflow:ellipsis; } |
||||
div.multiselect>span:last-child { position:absolute; right:.8em; } |
||||
ul.multiselectoptions input.new{ margin:0; padding-bottom:0.2em; padding-top:0.2em; border-top-left-radius:0; border-top-right-radius:0; } |
||||
|
||||
@ -0,0 +1,60 @@ |
||||
<?php |
||||
/** |
||||
* ownCloud |
||||
* |
||||
* @author Frank Karlitschek |
||||
* @copyright 2010 Frank Karlitschek karlitschek@kde.org |
||||
* |
||||
* This library is free software; you can redistribute it and/or |
||||
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
* License as published by the Free Software Foundation; either |
||||
* version 3 of the License, or any later version. |
||||
* |
||||
* This library is distributed in the hope that it will be useful, |
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
* GNU AFFERO GENERAL PUBLIC LICENSE for more details. |
||||
* |
||||
* You should have received a copy of the GNU Affero General Public |
||||
* License along with this library. If not, see <http://www.gnu.org/licenses/>. |
||||
* |
||||
*/ |
||||
|
||||
/** |
||||
* Public interface of ownCloud for apps to use. |
||||
* Utility Class. |
||||
* |
||||
*/ |
||||
|
||||
// use OCP namespace for all classes that are considered public. |
||||
// This means that they should be used by apps instead of the internal ownCloud classes |
||||
namespace OCP; |
||||
|
||||
class Util { |
||||
|
||||
/** |
||||
* send an email |
||||
* |
||||
* @param string $toaddress |
||||
* @param string $toname |
||||
* @param string $subject |
||||
* @param string $mailtext |
||||
* @param string $fromaddress |
||||
* @param string $fromname |
||||
* @param bool $html |
||||
*/ |
||||
public static function sendmail($toaddress,$toname,$subject,$mailtext,$fromaddress,$fromname,$html=0,$altbody='',$ccaddress='',$ccname='',$bcc='') { |
||||
|
||||
// call the internal mail class |
||||
OC_MAIL::send($toaddress,$toname,$subject,$mailtext,$fromaddress,$fromname,$html=0,$altbody='',$ccaddress='',$ccname='',$bcc=''); |
||||
|
||||
} |
||||
|
||||
|
||||
|
||||
} |
||||
|
||||
|
||||
|
||||
|
||||
?> |
||||
Loading…
Reference in new issue