Exemple #1
0
/**
 * Copyright (c) 2011, Robin Appelman <*****@*****.**>
 * This file is licensed under the Affero General Public License version 3 or later.
 * See the COPYING-README file.
 */
/**
 * @var array $_
 * @var \OCP\IL10N $l
 * @var OC_Defaults $theme
 */
style('settings', 'settings');
script('settings', ['settings', 'admin', 'log']);
script('core', ['multiselect', 'setupchecks']);
vendor_script('select2/select2');
vendor_style('select2/select2');
$levels = ['Debug', 'Info', 'Warning', 'Error', 'Fatal'];
$levelLabels = [$l->t('Everything (fatal issues, errors, warnings, info, debug)'), $l->t('Info, warnings, errors and fatal issues'), $l->t('Warnings, errors and fatal issues'), $l->t('Errors and fatal issues'), $l->t('Fatal issues only')];
$mail_smtpauthtype = ['' => $l->t('None'), 'LOGIN' => $l->t('Login'), 'PLAIN' => $l->t('Plain'), 'NTLM' => $l->t('NT LAN Manager')];
$mail_smtpsecure = ['' => $l->t('None'), 'ssl' => $l->t('SSL'), 'tls' => $l->t('TLS')];
$mail_smtpmode = ['php', 'smtp'];
if ($_['sendmail_is_available']) {
    $mail_smtpmode[] = 'sendmail';
}
if ($_['mail_smtpmode'] == 'qmail') {
    $mail_smtpmode[] = 'qmail';
}
?>

<div id="app-navigation">
	<ul>
Exemple #2
0
<?php

style('settings', 'settings');
vendor_style('core', ['select2/select2']);
vendor_script('core', ['handlebars/handlebars', 'select2/select2']);
script('settings', ['settings', 'apps']);
/** @var array $_ */
?>
<script id="categories-template" type="text/x-handlebars-template">
{{#each this}}
	<li id="app-category-{{id}}" data-category-id="{{id}}" tabindex="0">
		<a>{{displayName}}</a>
	</li>
{{/each}}

<?php 
if (OC_Config::getValue('appstoreenabled', true) === true) {
    ?>
	<li>
		<a class="app-external" target="_blank" href="https://apps.owncloud.com/?xsortmode=high"><?php 
    p($l->t('More apps'));
    ?>
 …</a>
	</li>
	<li>
		<a class="app-external" target="_blank" href="https://owncloud.org/dev"><?php 
    p($l->t('Developer documentation'));
    ?>
 …</a>
	</li>
<?php 
Exemple #3
0
	'multi-select',
	'jquery.ocaddnew',
	'contacts',
	'jquery.Jcrop.min',
));

vendor_script('contacts', array(
	'ui-multiselect/src/jquery.multiselect',
	'blueimp-md5/js/md5.min',
	'jcrop/js/jquery.Jcrop.min',
	'blueimp-file-upload/js/jquery.fileupload',
	'combobox'
));

vendor_style('contacts', array(
	'ui-multiselect/jquery.multiselect',
));

?>
<div id="app">
	<div id="app-navigation" class="loading">
		<ul id="grouplist" class="hidden-on-load">
			<li class="special">
				<a role="button" class="add-contact">
				  <?php p($l->t('New contact')); ?>
				</a>
			</li>
			<li class="special">
				<input class="add-group hidden" type="text" tabindex="0" autofocus placeholder="<?php p($l->t('Group name')); ?>" title="<?php p($l->t('New group')); ?>" />
			</li>
		</ul>
Exemple #4
0
<?php

vendor_script('user_ldap', 'ui-multiselect/src/jquery.multiselect');
vendor_style('user_ldap', 'ui-multiselect/jquery.multiselect');
script('user_ldap', ['wizard/controller', 'wizard/configModel', 'wizard/view', 'wizard/wizardObject', 'wizard/wizardTabGeneric', 'wizard/wizardTabElementary', 'wizard/wizardTabAbstractFilter', 'wizard/wizardTabUserFilter', 'wizard/wizardTabLoginFilter', 'wizard/wizardTabGroupFilter', 'wizard/wizardTabAdvanced', 'wizard/wizardTabExpert', 'wizard/wizardDetectorQueue', 'wizard/wizardDetectorGeneric', 'wizard/wizardDetectorPort', 'wizard/wizardDetectorBaseDN', 'wizard/wizardDetectorFeatureAbstract', 'wizard/wizardDetectorUserObjectClasses', 'wizard/wizardDetectorGroupObjectClasses', 'wizard/wizardDetectorGroupsForUsers', 'wizard/wizardDetectorGroupsForGroups', 'wizard/wizardDetectorSimpleRequestAbstract', 'wizard/wizardDetectorFilterUser', 'wizard/wizardDetectorFilterLogin', 'wizard/wizardDetectorFilterGroup', 'wizard/wizardDetectorUserCount', 'wizard/wizardDetectorGroupCount', 'wizard/wizardDetectorEmailAttribute', 'wizard/wizardDetectorUserDisplayNameAttribute', 'wizard/wizardDetectorUserGroupAssociation', 'wizard/wizardDetectorAvailableAttributes', 'wizard/wizardDetectorTestAbstract', 'wizard/wizardDetectorTestLoginName', 'wizard/wizardDetectorTestBaseDN', 'wizard/wizardDetectorTestConfiguration', 'wizard/wizardDetectorClearUserMappings', 'wizard/wizardDetectorClearGroupMappings', 'wizard/wizardFilterOnType', 'wizard/wizardFilterOnTypeFactory', 'wizard/wizard']);
style('user_ldap', 'settings');
?>

<form id="ldap" class="section" action="#" method="post">
	<h2><?php 
p($l->t('LDAP'));
?>
</h2>

	<div id="ldapSettings">
	<ul>
		<?php 
foreach ($_['toc'] as $id => $title) {
    ?>
			<li id="<?php 
    p($id);
    ?>
"><a href="<?php 
    p($id);
    ?>
"><?php 
    p($title);
    ?>
</a></li>
		<?php 
}
Exemple #5
0
<?php

include __DIR__ . '/../lib/compat.php';
// Vendor client-side code
vendor_script('chat', 'all.min');
vendor_style('chat', array('emojione/assets/sprites/emojione.sprites', 'emojione/assets/css/emojione.min'));
if (defined('DEBUG') && DEBUG) {
    vendor_script('chat', 'angular-mocks/angular-mocks');
}
// Chat app client-side code
script('chat', 'app.min');
style('chat', 'main.min');
?>

<div
	ng-app="chat"
	ng-click="view.hide('invite', $event, ['invite-no-hide', 'invite-button']);view.hide('files', $event, ['files-no-hide', 'file-element', 'files-button']);view.hide('emojiContainer', $event, ['emoji-no-hide']);"
	ng-controller="ConvController"
	id="app"
	>
	<!-- Variables which are needed to boot up the Chat app in JS-->
	<div style="display:none;" id="initvar">
		<?php 
echo $_['initvar'];
?>
	</div>
	<div
		id="app-navigation"
		ng-cloak
		>
		<?php 
* 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/>.
*
*/
vendor_style('imprint', 'chosen.jquery.min');
vendor_script('imprint', 'chosen.jquery.min');
?>

<?php 
/**
 * @file templates/tmpl_settings.php
 * Dialog to change app settings, to be included in the clouds settings page.
 * @access public
 * @author Christian Reiner
 */
?>


<!-- settings of app 'imprint' -->
<div class="section" id="imprint">