/**
  * @return string
  */
 public static function getAppUrl()
 {
     if (class_exists('\\OCP\\Util')) {
         return OCP\Util::linkToRoute('rainloop_app');
     }
     $sRequestUri = empty($_SERVER['REQUEST_URI']) ? '' : trim($_SERVER['REQUEST_URI']);
     $sRequestUri = preg_replace('/index.php\\/.+$/', 'index.php/', $sRequestUri);
     $sRequestUri = $sRequestUri . 'apps/rainloop/app/';
     return '/' . ltrim($sRequestUri, '/\\');
 }
Beispiel #2
0
OC::$CLASSPATH['OC_Connector_Sabre_CalDAV_Calendar'] = 'calendar/lib/sabre/calendar.php';
OC::$CLASSPATH['OC_Connector_Sabre_CalDAV_CalendarObject'] = 'calendar/lib/sabre/object.php';
OC::$CLASSPATH['OC_Calendar_Repeat'] = 'calendar/lib/repeat.php';
OC::$CLASSPATH['OC_Calendar_Export'] = 'calendar/lib/export.php';
OC::$CLASSPATH['OC_Calendar_Import'] = 'calendar/lib/import.php';
OC::$CLASSPATH['OC_Share_Backend_Calendar'] = 'calendar/lib/share/calendar.php';
OC::$CLASSPATH['OC_Share_Backend_Event'] = 'calendar/lib/share/event.php';
//General Hooks
OCP\Util::connectHook('OC_User', 'post_createUser', 'OC_Calendar_Hooks', 'createUser');
OCP\Util::connectHook('OC_User', 'post_deleteUser', 'OC_Calendar_Hooks', 'deleteUser');
//Repeating Events Hooks
OCP\Util::connectHook('OC_Calendar', 'addEvent', 'OC_Calendar_Repeat', 'generate');
OCP\Util::connectHook('OC_Calendar', 'editEvent', 'OC_Calendar_Repeat', 'update');
OCP\Util::connectHook('OC_Calendar', 'deleteEvent', 'OC_Calendar_Repeat', 'clean');
OCP\Util::connectHook('OC_Calendar', 'moveEvent', 'OC_Calendar_Repeat', 'update');
OCP\Util::connectHook('OC_Calendar', 'deleteCalendar', 'OC_Calendar_Repeat', 'cleanCalendar');
OCP\App::addNavigationEntry(array('id' => 'calendar_index', 'order' => 10, 'href' => OCP\Util::linkToRoute('calendar_index'), 'icon' => OCP\Util::imagePath('calendar', 'calendar.svg'), 'name' => $l->t('Calendar')));
\OC::$server->getSearch()->registerProvider('OCA\\Calendar\\Search\\Provider', array('apps' => array('calendar')));
OCP\Share::registerBackend('calendar', 'OC_Share_Backend_Calendar');
OCP\Share::registerBackend('event', 'OC_Share_Backend_Event');
$request = \OC::$server->getRequest();
if (isset($request->server['REQUEST_URI'])) {
    $url = $request->server['REQUEST_URI'];
    if (preg_match('%index.php/apps/files(/.*)?%', $url)) {
        OCP\Util::addScript('calendar', 'loader');
        OCP\Util::addScript('calendar', '../3rdparty/chosen/js/chosen.jquery.min');
        OCP\Util::addStyle('calendar', '../3rdparty/chosen/css/chosen');
        OCP\Util::addStyle('calendar', '../3rdparty/miniColors/css/jquery.miniColors');
        OCP\Util::addscript('calendar', '../3rdparty/miniColors/js/jquery.miniColors.min');
    }
}
 * License along with this library.  If not, see <http://www.gnu.org/licenses/>.
 *
 */
print_unescaped($this->inc('tabs'));
?>

<div id="app-content">
	<div class="cb_contentcontainer">
	<h1 id="title">
		<?php 
p($l->t('My Skillset'));
?>
	</h1>

	<form action="<?php 
print_unescaped(OCP\Util::linkToRoute('collaboration_route', array('rel_path' => 'submit_skillset')));
?>
" method="post" >
	<table id="skills" >
		<tr>
			<th><?php 
p($l->t('Skill'));
?>
</th>
			<th><?php 
p($l->t('Expertise'));
?>
</th>
			<th><?php 
print_unescaped($l->t('Experience') . '<br />' . $l->t('(in years)'));
?>
Beispiel #4
0
 // insert
 foreach ($sel_yes as $dt) {
     $query->execute(array('yes', $poll_id, $user, $dt));
 }
 foreach ($sel_no as $dt) {
     $query->execute(array('no', $poll_id, $user, $dt));
 }
 foreach ($users as $uid) {
     if ($user === $uid) {
         continue;
     }
     $email = \OCP\Config::getUserValue($uid, 'settings', 'email');
     if (strlen($email) === 0 || !isset($email)) {
         continue;
     }
     $url = \OC::$server->getURLGenerator()->getAbsoluteURL(OCP\Util::linkToRoute('polls_goto', array('poll_id' => $poll_id)));
     // set translation language according to the user who receives the email
     OC_L10N::forceLanguage($uid, 'core', 'lang', 'en');
     $msg = $l->t('Hello %s,<br/><br/><strong>%s</strong> participated in the poll \'%s\'.<br/><br/>To go directly to the poll, you can use this link: <a href="%s">%s</a>', array(OCP\User::getDisplayName($uid), OCP\User::getDisplayName($user), $title, $url, $url));
     $msg .= "<br/><br/>";
     $toname = OCP\User::getDisplayName($uid);
     $subject = $l->t('ownCloud Polls -- New Comment');
     $fromaddress = \OCP\Util::getDefaultEmailAddress('no-reply');
     $fromname = $l->t("ownCloud Polls");
     try {
         OCP\Util::sendMail($email, $toname, $subject, $msg, $fromaddress, $fromname, $html = 1);
     } catch (\Exception $e) {
         $message = 'error sending mail to: ' . $toname . ' (' . $email . ')';
         \OCP\Util::writeLog("polls", $message, \OCP\Util::ERROR);
     }
 }
    header("Location: settings/personal.php");
    exit;
}
$fh = fopen($_FILES['rootcert_import']['tmp_name'], 'r');
$data = fread($fh, filesize($_FILES['rootcert_import']['tmp_name']));
fclose($fh);
$filename = $_FILES['rootcert_import']['name'];
$view = new \OC\Files\View('/' . \OCP\User::getUser() . '/files_external/uploads');
if (!$view->file_exists('')) {
    $view->mkdir('');
}
$isValid = openssl_pkey_get_public($data);
//maybe it was just the wrong file format, try to convert it...
if ($isValid == false) {
    $data = chunk_split(base64_encode($data), 64, "\n");
    $data = "-----BEGIN CERTIFICATE-----\n" . $data . "-----END CERTIFICATE-----\n";
    $isValid = openssl_pkey_get_public($data);
}
// add the certificate if it could be verified
if ($isValid) {
    // disable proxy to prevent multiple fopen calls
    $proxyStatus = \OC_FileProxy::$enabled;
    \OC_FileProxy::$enabled = false;
    $view->file_put_contents($filename, $data);
    OC_Mount_Config::createCertificateBundle();
    \OC_FileProxy::$enabled = $proxyStatus;
} else {
    OCP\Util::writeLog('files_external', 'Couldn\'t import SSL root certificate (' . $filename . '), allowed formats: PEM and DER', OCP\Util::WARN);
}
header('Location:' . OCP\Util::linkToRoute("settings_personal"));
exit;
Beispiel #6
0
<?php

/**
 * ownCloud - gallery application
 *
 * @author Bartek Przybylski
 * @copyright 2012 Bartek Przybylski bart.p.pl@gmail.com
 *
 * 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/>.
 *
 */
$l = OCP\Util::getL10N('gallery');
OCP\App::addNavigationEntry(array('id' => 'gallery_index', 'order' => 3, 'href' => OCP\Util::linkToRoute('gallery_index'), 'icon' => OCP\Util::imagePath('gallery', 'gallery.svg'), 'name' => $l->t('Pictures')));
// make slideshow available in files and public shares
OCP\Util::addScript('gallery', 'jquery.mousewheel-3.1.1');
OCP\Util::addScript('gallery', 'slideshow');
OCP\Util::addScript('gallery', 'public');
OCP\Util::addStyle('gallery', 'slideshow');
Beispiel #7
0
<?php

/**
 * ownCloud - RainLoop mail plugin
 *
 * @author RainLoop Team
 * @copyright 2015 RainLoop Team
 *
 * https://github.com/RainLoop/owncloud
 */
OC::$CLASSPATH['OC_RainLoop_Helper'] = OC_App::getAppPath('rainloop') . '/lib/RainLoopHelper.php';
OCP\App::registerAdmin('rainloop', 'admin');
OCP\App::registerPersonal('rainloop', 'personal');
if (OCP\Config::getAppValue('rainloop', 'rainloop-autologin', false)) {
    OCP\Util::connectHook('OC_User', 'post_login', 'OC_RainLoop_Helper', 'login');
    OCP\Util::connectHook('OC_User', 'post_setPassword', 'OC_RainLoop_Helper', 'changePassword');
}
OCP\Util::connectHook('OC_User', 'logout', 'OC_RainLoop_Helper', 'logout');
OCP\Util::addScript('rainloop', 'rainloop');
OCP\App::addNavigationEntry(array('id' => 'rainloop_index', 'order' => 10, 'href' => OCP\Util::linkToRoute('rainloop_index'), 'icon' => OCP\Util::imagePath('rainloop', 'mail.png'), 'name' => 'Email'));
</h1>
  </div>
	<div id="content-body" >
	  <?php 
if (!isset($_['tid']) && (!isset($_['projects']) || count($_['projects']) == 0)) {
    ?>
		  <p>
		  	<?php 
    p($l->t('Sorry, you are not into any project yet. You can create tasks only after joining a project.'));
    ?>
		  </p>
  	<?php 
} else {
    ?>
		<form action="<?php 
    print_unescaped(OCP\Util::linkToRoute('collaboration_route', array('rel_path' => 'submit_update_task')));
    ?>
" method="post" name="task_updation_form">
		  <?php 
    if (isset($_['tid'])) {
        ?>
		   <input type="hidden" id="tid" name="tid" value="<?php 
        p($_['tid']);
        ?>
" />
		  <?php 
    }
    ?>
		  <table>
				<tr>
					<td>
Beispiel #9
0
<?php

/**
 * ownCloud - Activity App
 *
 * @author Frank Karlitschek
 * @copyright 2013 Frank Karlitschek frank@owncloud.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/>.
 *
 */
$l = OC_L10N::get('activity');
// add an navigation entry
OCP\App::addNavigationEntry(array('id' => 'activity', 'order' => 1, 'href' => OCP\Util::linkToRoute('activity.index'), 'icon' => OCP\Util::imagePath('activity', 'activity.svg'), 'name' => $l->t('Activity')));
// register the hooks for filesystem operations. All other events from other apps has to be send via the public api
OCA\Activity\Hooks::register();
// Personal settings for notifications and emails
OCP\App::registerPersonal('activity', 'personal');
// Cron job for sending Emails
OCP\Backgroundjob::registerJob('OCA\\Activity\\BackgroundJob\\EmailNotification');
Beispiel #10
0
<?php

/**
 * ownCloud - External app
 *
 * @author Frank Karlitschek
 * @copyright 2012 Frank Karlitschek frank@owncloud.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/>.
 *
 */
use OCA\External\External;
OCP\Util::addStyle('external', 'style');
OCP\App::registerAdmin('external', 'settings');
$sites = External::getSites();
for ($i = 0; $i < sizeof($sites); $i++) {
    OCP\App::addNavigationEntry(array('id' => 'external_index' . ($i + 1), 'order' => 80 + $i, 'href' => OCP\Util::linkToRoute('external_index', array('id' => $i + 1)), 'icon' => OCP\Util::imagePath('external', !empty($sites[$i][2]) ? $sites[$i][2] : 'external.svg'), 'name' => $sites[$i][0]));
}
Beispiel #11
0
					<video tabindex="0" controls="" autoplay="">
						<source src="<?php 
        p($_['downloadURL']);
        ?>
" type="<?php 
        p($_['mimetype']);
        ?>
" />
					</video>
				</div>
			<?php 
    } elseif (\OC\Preview::isMimeSupported($_['mimetype'])) {
        ?>
				<div id="imgframe">
					<img src="<?php 
        p(OCP\Util::linkToRoute('core_ajax_public_preview', array('x' => 500, 'y' => 500, 'file' => urlencode($_['directory_path']), 't' => $_['dirToken'])));
        ?>
" class="publicpreview"/>
				</div>
			<?php 
    } else {
        ?>
				<ul id="noPreview">
					<li class="error">
						<?php 
        p($l->t('No preview available for') . ' ' . $_['filename']);
        ?>
<br />
						<a href="<?php 
        p($_['downloadURL']);
        ?>
Beispiel #12
0
<?php

/**
 * ownCloud - pong app
 *
 * @author Frank Karlitschek
 * @copyright 2014 Frank Karlitschek frank@owncloud.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/>.
 *
 */
OCP\App::addNavigationEntry(array('id' => 'pong', 'order' => 80, 'href' => OCP\Util::linkToRoute('pong.index'), 'icon' => OCP\Util::imagePath('pong', 'pong.png'), 'name' => 'Pong'));
OCP\JSON::callCheck();
$path = isset($_POST['path']) ? $_POST['path'] : false;
if ($path) {
    $room = OC_Conversations::getRoom();
    $userId = OC_User::getUser();
    \OC_Util::setupFS($userId);
    \OC\Files\Filesystem::initMountPoints($userId);
    $view = new \OC\Files\View('/' . $userId . '/files');
    $fileinfo = $view->getFileInfo($path);
    $owner = $view->getOwner($path);
    if (strpos($fileinfo['mimetype'], "image") !== false) {
        $type = 'internal_image';
    } else {
        $type = 'internal_file';
    }
    $download_url = OCP\Util::linkToRoute('download', array('file' => $path));
    // File not found
    if (\OC\Files\Filesystem::is_file($path) == false) {
        $fileinfo['name'] = "File not found.";
        $download_url = "#";
    }
    // array for attachment template
    $tmpl_arr = array("type" => $type, "mimetype" => $fileinfo['mimetype'], "path" => $path, "name" => $fileinfo['name'], "download_url" => $download_url);
    // result array for new comment attachment data
    $data = array("type" => $type, "fileid" => $fileinfo['fileid'], "path" => urlencode($fileinfo['path']), "owner" => $owner);
    $room_arr = explode(":", $room);
    $l = OC_L10N::get('conversations');
    // store attachment template into variable
    $tmpl = new OCP\Template('conversations', 'part.attachment');
    $tmpl->assign('attachment', $tmpl_arr);
    ob_start();
<div id="errorMsg">
    <h1><?php 
echo $l->t("You have errors in your settings");
?>
</h1>
    <div>
        <small><?php 
echo $l->t('You can manage your admin settings here:');
?>
</small>
	    <a class="button" href="<?php 
print_unescaped(OCP\Util::linkToRoute('settings_admin'));
?>
"><?php 
echo $l->t('Settings');
?>
</a>
	</div>
</div>
Beispiel #15
0
?>
"></script>
	<script type="text/javascript" src="<?php 
print_unescaped(OCP\Util::linkTo('core', 'js/jquery-migrate-1.2.1.min.js'));
?>
"></script>
	<script type="text/javascript" src="<?php 
print_unescaped(OC_Helper::linkTo('core', 'js/jquery-showpassword.js'));
?>
"></script>
	<script type="text/javascript" src="<?php 
print_unescaped(OC_Helper::linkTo('core', 'js/jquery-tipsy.js'));
?>
"></script>
	<script type="text/javascript" src="<?php 
print_unescaped(OCP\Util::linkToRoute('js_config'));
?>
"></script>
    <script type="text/javascript" src="<?php 
print_unescaped(OCP\Util::linkTo('core', 'js/oc-dialogs.js'));
?>
"></script>
    <script type="text/javascript" src="<?php 
print_unescaped(OCP\Util::linkTo('core', 'js/underscore.js'));
?>
"></script>
    <script type="text/javascript" src="<?php 
print_unescaped(OCP\Util::linkTo('core', 'js/js.js'));
?>
"></script>
    <!-- oC changes -->
Beispiel #16
0
print_unescaped($src);
?>
" alt="<?php 
p($l->t('Settings'));
?>
" />
	</button>
	<label for="ownpad-title"><?php 
p($l->t('Pad Title'));
?>
</label><input id="ownpad-title" value="eetest" />
	<button id="ownpad-open"><?php 
p($l->t('Open'));
?>
</button>
	<label for="ownpad-share"><?php 
p($l->t('Share with'));
?>
</label><input id="ownpad-share" value="" />
	<button id="ownpad-share-button"><?php 
p($l->t('Share'));
?>
</button>
</div>
<div id="ownpad-content"></div>
<div id="ownpad-appsettings"><div id="appsettings" class="popup hidden topright"></div></div>

<script type="text/javascript" src="<?php 
print_unescaped(OCP\Util::linkToRoute('ownpad_lite'));
?>
"></script>
<div id="errorMsg">
	<h1>
		<?php 
echo $l->t("You don't have any email account configured yet.");
?>
	</h1>
	<div>
		<span><?php 
echo $l->t('You can manage your email accounts here:');
?>
</span> 
		<br> <br> 
		<a class="button"
			href="<?php 
print_unescaped(OCP\Util::linkToRoute('settings_personal'));
?>
"><?php 
echo $l->t('Settings');
?>
		</a>
	</div>
</div>
}
foreach ($member_role as $role => $members) {
    print_unescaped('<tr><td>' . $role . '</td><td>');
    foreach ($members as $index => $member) {
        print_unescaped($member . '<br />');
    }
    print_unescaped('</td></tr>');
}
?>
	</table>

	<?php 
if (OC_Collaboration_Project::isProjectCreatedByMember($_['project_details']['pid'], OC_User::getUser())) {
    ?>
			<form action="<?php 
    print_unescaped(OCP\Util::linkToRoute('collaboration_route', array('rel_path' => 'update_project')));
    ?>
" method="post" >
				<input type="hidden" name="pid" value="<?php 
    p($_['project_details']['pid']);
    ?>
" />
				<input type="submit" value="<?php 
    p($l->t('Edit'));
    ?>
" id="edit_project_btn" disabled />
			</form>
	<?php 
}
?>
	</div>
Beispiel #19
0
// Init owncloud
OCP\JSON::checkLoggedIn();
// Load the files
$dir = isset($_GET['dir']) ? (string) $_GET['dir'] : '';
$dir = \OC\Files\Filesystem::normalizePath($dir);
if (!\OC\Files\Filesystem::is_dir($dir . '/')) {
    header("HTTP/1.0 404 Not Found");
    exit;
}
$doBreadcrumb = isset($_GET['breadcrumb']);
$data = array();
$baseUrl = OCP\Util::linkTo('files', 'index.php') . '?dir=';
$permissions = \OCA\Files\Helper::getDirPermissions($dir);
// Make breadcrumb
if ($doBreadcrumb) {
    $breadcrumb = \OCA\Files\Helper::makeBreadcrumb($dir);
    $breadcrumbNav = new OCP\Template('files', 'part.breadcrumb', '');
    $breadcrumbNav->assign('breadcrumb', $breadcrumb, false);
    $breadcrumbNav->assign('baseURL', $baseUrl);
    $data['breadcrumb'] = $breadcrumbNav->fetchPage();
}
// make filelist
$files = \OCA\Files\Helper::getFiles($dir);
$list = new OCP\Template("files", "part.list", "");
$list->assign('files', $files, false);
$list->assign('baseURL', $baseUrl, false);
$list->assign('downloadURL', OCP\Util::linkToRoute('download', array('file' => '/')));
$list->assign('isPublic', false);
$data['files'] = $list->fetchPage();
$data['permissions'] = $permissions;
OCP\JSON::success(array('data' => $data));
	private static function getInternalFileAttachment($attachment) {
		$path = urldecode($attachment['path']);
		$path = substr($path, strpos($path, "/")+1 ); //remove root folder "files/"	
		$userId = OC_User::getUser();
		
		if ( $attachment['owner'] == $userId ) {
			// file-owner can use own path
			$path = \OC\Files\Filesystem::getPath($attachment['fileid']);
		} else {			
			$item_shared = OCP\Share::getItemSharedWithBySource('file', $attachment['fileid']);
			if ( $item_shared != false ) { // if item is direct shared use shared-file target
				$path = $item_shared['file_target'];
			} else {
				// else search shared parent folder
				$path = "/" . self::getInheritedSharedPath( urldecode($attachment['path']), $userId, $attachment['owner'] );
			}

			$ocVersion = OCP\Util::getVersion();
			if ( $ocVersion[0] < 7 ) {
				$path = "/Shared" . $path;
			}
		}
		$view = new \OC\Files\View('/' . $userId . '/files');
		$fileinfo = $view->getFileInfo($path);

		$download_url = OCP\Util::linkToRoute('download', array('file' => $path));		

		// File not found		
		if ( \OC\Files\Filesystem::is_file( $path ) == false ) {
			$fileinfo['name'] = "File not found.";
			$download_url = "#";
		}
		
		$result = array(
			"type" => $attachment['type'],
			"mimetype"	=> $fileinfo['mimetype'],
			"name"		=> $fileinfo['name'],
			"path"		=> $path,
			"download_url"	=> $download_url
		);
		return $result;
	}
Beispiel #21
0
OCP\Util::addScript('files', 'filesummary');
OCP\Util::addScript('files', 'breadcrumb');
OCP\Util::addScript('files', 'fileinfomodel');
OCP\Util::addScript('files', 'newfilemenu');
OCP\Util::addScript('files', 'files');
OCP\Util::addScript('files', 'filelist');
OCP\Util::addscript('files', 'keyboardshortcuts');
$thumbSize = 1024;
?>

<?php 
if ($_['previewSupported']) {
    /* This enables preview images for links (e.g. on Facebook, Google+, ...)*/
    ?>
	<link rel="image_src" href="<?php 
    p(OCP\Util::linkToRoute('core_ajax_public_preview', array('x' => $thumbSize, 'y' => $thumbSize, 'file' => $_['directory_path'], 't' => $_['dirToken'])));
    ?>
" />
<?php 
}
?>

<div id="notification-container">
	<div id="notification" style="display: none;"></div>
</div>

<input type="hidden" id="filesApp" name="filesApp" value="1">
<input type="hidden" id="isPublic" name="isPublic" value="1">
<input type="hidden" name="dir" value="<?php 
p($_['dir']);
?>
Beispiel #22
0
    print_unescaped(link_to('', 'index.php'));
    ?>
"
        	                	title="" id="owncloud">
					<div class="logo-wide svg"></div>
				</a>
	                	<div id="logo-claim" style="display:none;"><?php 
    p($theme->getLogoClaim());
    ?>
</div>
        	        	<div class="header-right">
					<?php 
    p($l->t('Already have an account?'));
    ?>
					<?php 
    $url = OCP\Util::linkToAbsolute('', 'index.php') . '?redirect_url=' . OCP\Util::linkToRoute('polls_goto', array('poll_id' => $poll_id));
    ?>
					<a href="<?php 
    echo $url;
    ?>
"><?php 
    p($l->t('Login'));
    ?>
</a>
				</div>
			</div>
		</header>
</p>
		<p>&nbsp;</p><p>&nbsp;</p> <?php 
    // for some reason the header covers the title otherwise
    ?>