Exemplo n.º 1
0
function display_sub_dirs($current_dir, $sub_dirs)
{
    $results = explore($current_dir, $sub_dirs, 1);
    foreach ($results as $r) {
        echo '<tr id = "row" data-file="' . $r[0] . '" data-type="dir">
				<td id = "thumbnail_container" width = "14%"><div id = "thumbs">';
        $is_dir = check_dir_exists($current_dir, $r[0]);
        if ($is_dir == false) {
            echo '<img src= "' . OCP\image_path('reader', 'download.jpg') . '" style = "width:100px; height:100px;">';
        } else {
            $margin = 10;
            $img_id = 1;
            foreach ($r[1] as $thumbs) {
                $thumb_exists = false;
                $thumb_exists = check_thumb_exists($current_dir . $r[0] . '/' . $thumbs);
                if ($thumb_exists != 'true') {
                    $img_path = "/owncloud/apps/reader/img/images.jpg";
                    echo '<div style =';
                    echo 'background-image:url("';
                    echo OCP\image_path('reader', 'images.jpg');
                    echo '");width:100px;height:100px;';
                    echo "></div>";
                } else {
                    if ($thumb_exists == 'true') {
                        $img_path = \OCP\Util::linkTo('reader', 'ajax/thumbnail.php') . '&filepath=' . urlencode($current_dir . $r[0] . '/' . rtrim($thumbs, 'pdf') . 'png');
                        $counter = 3;
                    }
                }
                if ($thumb_exists != 'false') {
                    for ($i = 1; $i <= $counter; $i++) {
                        echo '<img class = "thumb" id = "img' . $img_id . '" src = "' . $img_path . '" style = "position:absolute;top:-55px;left:10px;margin-left:' . $margin . 'px; z-index:' . (50 - $margin) . ';"/>';
                        $margin = $margin + 5;
                        $img_id = $img_id + 1;
                    }
                }
            }
        }
        echo '</div></td>';
        echo '<td class = "filename svg" width = "86%">
					<a class = "dirs" id = "' . $r[0] . '" href = "' . OCP\Util::linkTo('reader', 'index.php') . '&dir=' . $current_dir . $r[0] . '/' . '">
						<span class = "nametext">' . htmlspecialchars($r[0]) . '</span>
					</a>
					<div id = "more_info" style = "color:#666;margin-left:15px;margin-top:35px; vertical-align:bottom">';
        echo "Browse in for";
        echo '<br>';
        $dir_browse_results = explore($current_dir, array($r[0]), 5);
        foreach ($dir_browse_results as $browse_result) {
            foreach ($browse_result[1] as $each) {
                $each_sub_dir = explode("/", $each);
                if (count($each_sub_dir) > 1) {
                    foreach ($each_sub_dir as $element) {
                        echo '<span style = "color:#DDD;">>></span>' . $element;
                    }
                } else {
                    echo '<span style = "color:#DDD;"> >></span>' . $each;
                }
                echo '<br>';
            }
        }
        echo '</div> 
			</td>
		</tr>';
    }
}
Exemplo n.º 2
0
<?php

global $profile;
?>

<div id="login">
	<img src="<?php 
print_unescaped(OCP\image_path("", "logo.png"));
?>
" alt="ownCloud" />
	<ul>
		<li class='error'>
			<div id="setup_form">
				<p><?php 
p($l->t('This is an OpenID server endpoint. For more information, see '));
?>
<a href='http://openid.net/' title='openid.net'>http://openid.net/</a></p>
				<?php 
if ($_['user']) {
    ?>
					<p><?php 
    p($l->t('Identity: <b>') . $profile['idp_url']);
    ?>
</b></p>
					<p><?php 
    p($l->t('Realm: <b>') . $profile['php_realm']);
    ?>
</b></p>
					<p><?php 
    p($l->t('User: <b>') . $_['user']);
    ?>
Exemplo n.º 3
0
    $tmpl->printPage();
    exit;
}
echo $l->t('Music');
?>
<div class='player-controls' id="playercontrols">
	<div class="player" id="jp-player"></div>
	<ul class="jp-controls">
		<li><a href="#" class="jp-play action"><img class="svg" alt="<?php 
echo $l->t('Play');
?>
" src="<?php 
echo OCP\image_path('core', 'actions/play.svg');
?>
" /></a></li>
		<li><a href="#" class="jp-pause action"><img class="svg" alt="<?php 
echo $l->t('Pause');
?>
" src="<?php 
echo OCP\image_path('core', 'actions/pause.svg');
?>
" /></a></li>
		<li><a href="#" class="jp-next action"><img class="svg" alt="<?php 
echo $l->t('Next');
?>
" src="<?php 
echo OCP\image_path('core', 'actions/play-next.svg');
?>
" /></a></li>
	</ul>
</div>
Exemplo n.º 4
0
?>
</span><span class="sort-indicator"></span></a>
			</th>
			<th id="headerDate" class="hidden column-mtime">
				<a id="modified" class="columntitle" data-sort="mtime"><span><?php 
p($l->t('Modified'));
?>
</span><span class="sort-indicator"></span></a>
					<span class="selectedActions"><a href="" class="delete-selected">
						<?php 
p($l->t('Delete'));
?>
						<img class="svg" alt="<?php 
p($l->t('Delete'));
?>
"
							 src="<?php 
print_unescaped(OCP\image_path("core", "actions/delete.svg"));
?>
" />
					</a></span>
			</th>
		</tr>
	</thead>
	<tbody id="fileList">
	</tbody>
	<tfoot>
	</tfoot>
</table>

Exemplo n.º 5
0
			<option value="IMPP"><?php p($l->t('Instant Messaging')); ?></option>
			<option value="ADR"><?php p($l->t('Address')); ?></option>
			<option value="NOTE"><?php p($l->t('Note')); ?></option>
			<option value="URL"><?php p($l->t('Web site')); ?></option>
		</select>
		<a class="cancel">
			<?php p($l->t('Cancel')); ?>
			<img class="svg" alt="<?php p($l->t('Cancel'))?>" src="<?php print_unescaped(OCP\image_path("core", "actions/close.svg")); ?>" />
		</a>
		<a class="close">
			<?php p($l->t('Close')); ?>
			<img class="svg" alt="<?php p($l->t('Close'))?>" src="<?php print_unescaped(OCP\image_path("core", "actions/checkmark.svg")); ?>" />
		</a>
		<a class="export">
			<?php p($l->t('Download')); ?>
			<img class="svg" alt="<?php p($l->t('Download'))?>" src="<?php print_unescaped(OCP\image_path("core", "actions/download.svg")); ?>" />
		</a>
	</footer>
	</section>
	</form>
	</td></tr>
</script>

<script id="contactDetailsTemplate" class="hidden" type="text/template">
	<div class="email" type="text/template">
		<li data-element="email" data-checksum="{checksum}" class="propertycontainer">
			<span class="parameters">
				<input type="checkbox" class="parameter tooltipped rightwards" data-parameter="TYPE" name="parameters[TYPE][]" value="PREF" title="<?php p($l->t('Preferred')); ?>" />
				<select class="rtl type parameter" data-parameter="TYPE" name="parameters[TYPE][]">
					<?php print_unescaped(OCP\html_select_options($_['emailTypes'], array())) ?>
				</select>
Exemplo n.º 6
0
        ?>
" src="<?php 
        echo OCP\image_path("core", "actions/delete.svg");
        ?>
" /></a></span>
					<?php 
    } else {
        ?>
						<span class="selectedActions"><a href="" class="delete"><?php 
        echo $l->t('Delete');
        ?>
 <img class="svg" alt="<?php 
        echo $l->t('Delete');
        ?>
" src="<?php 
        echo OCP\image_path("core", "actions/delete.svg");
        ?>
" /></a></span>
					<?php 
    }
    ?>
				<?php 
}
?>
			</th>
		</tr>
	</thead>
	<tbody id="fileList">
		<?php 
echo $_['fileList'];
?>
Exemplo n.º 7
0
<div class="crumb home">
		<a href="<?php 
print_unescaped($_['home']);
?>
">
			<img src="<?php 
print_unescaped(OCP\image_path('core', 'places/home.svg'));
?>
" class="svg" />
		</a>
</div>
<div class="crumb svg"
	 data-dir='/'>
	<a href="<?php 
p($_['baseURL']);
?>
"><?php 
p($l->t("Deleted Files"));
?>
</a>
</div>
<?php 
if (count($_["breadcrumb"])) {
}
for ($i = 0; $i < count($_["breadcrumb"]); $i++) {
    $crumb = $_["breadcrumb"][$i];
    $dir = \OCP\Util::encodePath($crumb["dir"]);
    ?>
	<div class="crumb <?php 
    if ($i === count($_["breadcrumb"]) - 1) {
        p('last');
Exemplo n.º 8
0
p($l->t('Categories (separate by comma)'));
?>
"
			value="<?php 
p(isset($_['categories']) ? $_['categories'] : '');
?>
">
		<a class="action edit" id="editCategories" title="<?php 
p($l->t('Edit categories'));
?>
">
		<img alt="<?php 
p($l->t('Edit categories'));
?>
" src="<?php 
print_unescaped(OCP\image_path('core', 'actions/rename.svg'));
?>
" class="svg action" style="width: 16px; height: 16px;"></a>

		<textarea id="event-description" placeholder="<?php 
p($l->t('Description'));
?>
" name="description"><?php 
p(isset($_['description']) ? $_['description'] : '');
?>
</textarea>

		<?php 
if ($_['eventid'] != 'new') {
    ?>
		<input type="button" class="submit" id="editEvent-export"  name="export" value="<?php 
Exemplo n.º 9
0
		$("a[rel=images]").fancybox({
			'titlePosition': 'inside'
		});
});

</script>

<div id="controls"><?php 
$sr = trim($root, '/');
if (!empty($sr)) {
    $paths = explode('/', $sr);
    $path = '/';
    for ($i = 0; $i < count($paths); $i++) {
        $path .= urlencode($paths[$i]) . '/';
        $classess = 'crumb' . ($i == count($paths) - 1 ? ' last' : '');
        echo '<div class="' . $classess . '" style="background-image:url(\'' . \OCP\image_path('core', 'breadcrumb.png') . '\')"><a href="' . \OCP\Util::linkTo('gallery', 'index.php') . '&root=' . $path . '">' . \OCP\Util::sanitizeHTML($paths[$i]) . '</a></div>';
    }
}
?>
	<!--<a href="javascript:shareGallery();"><input type="button" value="<?php 
echo $l->t('Share');
?>
" /></a>--><br/>
</div>
<div id="gallerycontent">
<?php 
include 'apps/gallery/lib/tiles.php';
$root = empty($_GET['root']) ? '/' : $_GET['root'];
$images = \OC_FileCache::searchByMime('image', null, '/' . \OCP\USER::getUser() . '/files' . $root);
sort($images);
$tl = new \OC\Pictures\TilesLine();
Exemplo n.º 10
0
    $tmpl->printPage();
    exit;
}
p($l->t('Music'));
?>
<div class='player-controls' id="playercontrols">
	<div class="player" id="jp-player"></div>
	<ul class="jp-controls">
		<li><a href="#" class="jp-play action"><img class="svg" alt="<?php 
p($l->t('Play'));
?>
" src="<?php 
print_unescaped(OCP\image_path('core', 'actions/play.svg'));
?>
" /></a></li>
		<li><a href="#" class="jp-pause action"><img class="svg" alt="<?php 
p($l->t('Pause'));
?>
" src="<?php 
print_unescaped(OCP\image_path('core', 'actions/pause.svg'));
?>
" /></a></li>
		<li><a href="#" class="jp-next action"><img class="svg" alt="<?php 
p($l->t('Next'));
?>
" src="<?php 
print_unescaped(OCP\image_path('core', 'actions/play-next.svg'));
?>
" /></a></li>
	</ul>
</div>
Exemplo n.º 11
0
        </form>
    </div>
</script>
<script type="text/html" id="tag_tmpl">
    <li><a href="" class="tag"><&= escapeHTML(tag) &></a>
        <div class="tags_actions">
            <span class="tag_delete">
                <img class="svg" src="<?php 
print_unescaped(OCP\image_path("", "actions/delete.svg"));
?>
"
                     title="<?php 
p($l->t('Delete'));
?>
">
            </span>
            <span class="tag_edit">
                <img class="svg" src="<?php 
print_unescaped(OCP\image_path("", "actions/rename.svg"));
?>
"
                     title="<?php 
p($l->t('Edit'));
?>
">
            </span>
            <em><&= nbr &></em>
        </div>
    </li>
</script>
Exemplo n.º 12
0
<?php

global $profile;
?>

<div id="login">
	<img src="<?php 
echo OCP\image_path("", "logo.png");
?>
" alt="ownCloud" />
	<ul>
		<li class='error'>
			<div id="setup_form">
				<p><?php 
echo $l->t('This is an OpenID server endpoint. For more information, see ');
?>
<a href='http://openid.net/' title='openid.net'>http://openid.net/</a></p>
				<?php 
if ($_['user']) {
    ?>
					<p><?php 
    echo $l->t('Identity: <b>') . $profile['idp_url'];
    ?>
</b></p>
					<p><?php 
    echo $l->t('Realm: <b>') . $profile['php_realm'];
    ?>
</b></p>
					<p><?php 
    echo $l->t('User: <b>') . $_['user'];
    ?>
Exemplo n.º 13
0
				<div class="jp-play-bar"></div>
			</div>
			<div class="jp-current-time"></div>
		</div>
		<a href="#" class="jp-mute action"><img class="svg" alt="<?php 
p($l->t('Mute'));
?>
" src="<?php 
print_unescaped(OCP\image_path('core', 'actions/sound.svg'));
?>
" /></a>
		<a href="#" class="jp-unmute action"><img class="svg" alt="<?php 
p($l->t('Unmute'));
?>
" src="<?php 
print_unescaped(OCP\image_path('core', 'actions/sound-off.svg'));
?>
" /></a>
		<div class="jp-volume-bar">
			<div class="jp-volume-bar-value"></div>
		</div>

		<div class="jp-current-song"></div>

		<div id="scan">
			<input type="button" class="start" value="<?php 
p($l->t('Rescan Collection'));
?>
" />
			<input type="button" class="stop" style="display:none" value="<?php 
p($l->t('Pause'));
Exemplo n.º 14
0
" class="svg"><?php 
p($l->t('More'));
?>
	</span>
	<span class="task_less">
		<img title="<?php 
p($l->t('Less'));
?>
" src="<?php 
p(OCP\image_path('core', 'actions/triangle-n.svg'));
?>
" class="svg"><?php 
p($l->t('Less'));
?>
	</span>
	<span class="task_delete">
		<img title="<?php 
p($l->t('Delete'));
?>
" src="<?php 
p(OCP\image_path('core', 'actions/delete.svg'));
?>
" class="svg"><?php 
p($l->t('Delete'));
?>
	</span>
</p>
<script type="text/javascript" src="<?php 
print_unescaped(OC_Helper::linkTo('tasks/js', 'categories.php'));
?>
"></script>
Exemplo n.º 15
0
?>

<div id="app-navigation">
    <ul id="navigation-list">
        <li>
            <form id="add_form">
                <input type="text" id="add_url" value="" placeholder="<?php 
p($l->t('Address'));
?>
"/>
                <input type="submit" value="<?php 
p($l->t('Add'));
?>
" id="bookmark_add_submit" />
                <div id="add_form_loading"><img src="<?php 
print_unescaped(OCP\image_path("bookmarks", "loading.gif"));
?>
"> </div>
            </form>
            <p id="tag_filter" class="open">
                <input type="text" value="<?php 
p($_['req_tag']);
?>
"/>


            </p>
            <input type="hidden" id="bookmarkFilterTag" value="<?php 
p($_['req_tag']);
?>
" />
Exemplo n.º 16
0
print_unescaped("<h1>" . $l->t($data['name']) . "</h1>");
?>
</td>
            </tr>
        </thead>
        <tbody>
            <tr>
            <?php 
// Date
print_unescaped("<td class='center width13'><h3>" . $l->t("today") . "</h3></td>");
print_unescaped("<td class='center width13'><h3>" . $l->t("tomorrow") . "</h3></td>");
print_unescaped("<td class='center width13'><h3>" . $l->t("in two days") . "</h3></td>");
print_unescaped("</tr><tr>");
// icon
for ($i = 0; $i < $cols; $i++) {
    $src = \OCP\image_path("ocDashboard", "widgets/openweather/" . $data[$i]['symbol']['var'] . ".png");
    print_unescaped("<td class='center'><img src='" . $src . "' /></td>");
}
?>
            </tr>
        </tbody>
    </table>
    <table class='openweatherTable paddingRight'>
        <tbody>
        <?php 
print_unescaped("<tr>");
// temperature
print_unescaped("<td colspan='" . ($cols + 1) . "'><h2>" . $l->t("Temperature") . "</h2></td></tr><tr>");
print_unescaped("<td class='right'>");
print_unescaped($l->t("day") . "<br>");
print_unescaped($l->t("min") . "<br>");
Exemplo n.º 17
0
	<div id="slideshow-controls-wrapper" class="load-item">
		<div id="slideshow-controls">

			<a id="play-button"><img id="pauseplay" src="<?php 
echo OCP\image_path('gallery', 'supersized/pause.png');
?>
"/></a>

			<!--Slide counter-->
			<div id="slidecounter">
				<span class="slidenumber"></span> / <span class="totalslides"></span>
			</div>

			<!--Slide captions displayed here-->
			<div id="slidecaption"></div>

			<!--Thumb Tray button-->
			<a id="tray-button"><img id="tray-arrow" src="<?php 
echo OCP\image_path('gallery', 'supersized/button-tray-up.png');
?>
"/></a>

			<!--Navigation-->
			<!--
			<ul id="slide-list"></ul>
			-->
		</div>
	</div>

</div><!-- end supersized block -->
Exemplo n.º 18
0
p($l->t('Furthermore please note that many sites these days disallow iframing due to security reasons.'));
?>
</em>
			<br>
			<em><?php 
p($l->t('We highly recommend to test the configured sites below properly.'));
?>
</em>
		</p>
		<ul class="external_sites">

		<?php 
$sites = \OCA\External\External::getSites();
for ($i = 0; $i < sizeof($sites); $i++) {
    print_unescaped('<li><input type="text" name="site_name[]" class="site_name" value="' . OCP\Util::sanitizeHTML($sites[$i][0]) . '" placeholder="' . $l->t('Name') . '" />
			<input type="text" class="site_url" name="site_url[]"  value="' . OCP\Util::sanitizeHTML($sites[$i][1]) . '"  placeholder="' . $l->t('URL') . '" />
			<img class="svg action delete_button" src="' . OCP\image_path("", "actions/delete.svg") . '" title="' . $l->t("Remove site") . '" />
			</li>');
}
?>

		</ul>

        <input type="button" id="add_external_site" value="<?php 
p($l->t("Add"));
?>
" />
		<span class="msg"></span>
	</fieldset>
</form>
Exemplo n.º 19
0
" src="<?php 
echo OCP\image_path('core', 'actions/play-next.svg');
?>
" /></a></li>
		<li><a href="#" class="jp-mute action"><img class="svg" alt="<?php 
echo $l->t('Mute');
?>
" src="<?php 
echo OCP\image_path('core', 'actions/sound.svg');
?>
" /></a></li>
		<li><a href="#" class="jp-unmute action"><img class="svg" alt="<?php 
echo $l->t('Unmute');
?>
" src="<?php 
echo OCP\image_path('core', 'actions/sound-off.svg');
?>
" /></a></li>
	</ul>
	<div class="jp-progress">
		<div class="jp-seek-bar">
			<div class="jp-play-bar"></div>
		</div>
	</div>
	<div class="jp-current-time"></div>
	<div class="jp-duration"></div>
	<div class="jp-volume-bar">
		<div class="jp-volume-bar-value"></div>
	</div>
        <div class="jp-current-song"></div>
Exemplo n.º 20
0
			<img id="repeat" class="control small svg" alt="{{'Repeat' | translate }}"
				src="<?php 
p(OCP\image_path('music', 'repeat.svg'));
?>
" ng-class="{active: repeat}" ng-click="repeat=!repeat" />
		</div>

		<!--<div id="app-navigation">
			<ul ng-controller="PlaylistController">
				<li><a href="#/" translate>All</a></li>
				<li class="app-navigation-separator"><a href="#/" translate>Favorites</a></li>
				<li><a href="#/" translate>+ New Playlist</a></li>
				<li ng-repeat="playlist in playlists">
					<a href="#/playlist/{{playlist.id}}">{{playlist.name}}</a>
					<img alt="{{ 'Delete' | translate }}" 	src="<?php 
p(OCP\image_path('core', 'actions/close.svg'));
?>
" />
				</li>
			</ul>
		</div>-->

		<div id="app-content" ng-class="{started: started}">
			<?php 
print_unescaped($this->inc('part.main'));
?>
		</div>

		<div ng-show="artists" class="alphabet-navigation" ng-class="{started: started}" resize>
			<a scroll-to="{{ letter }}" ng-repeat="letter in letters" ng-class="{available: letterAvailable[letter], filler: ($index % 2) == 1}">
				<span class="letter-content">{{ letter }}</span>
Exemplo n.º 21
0
	<div class="album-area" ng-repeat="album in artist.albums | orderBy:'year'">
		<h2 ng-click="playAlbum(album)" title="{{ album.name }} ({{ album.year}})"><div>{{ album.name }}
			<span ng-show="album.year" class="muted">({{ album.year }})</span></div>
		</h2>
		<div ng-click="playAlbum(album)" class="albumart" cover="{{ album.cover }}" albumart="{{ album.name }}"></div>
		<img ng-click="playAlbum(album)" class="play overlay svg" alt="{{ 'Play' | translate }}"
			src="<?php 
p(OCP\image_path('music', 'play-big.svg'));
?>
" />
		<!-- variable "limit" toogles length of track list for each album -->
		<ul class="track-list" ng-init="limit.count = 5; trackcount = album.tracks.length">
			<li ng-click="playTrack(track)"
				ng-repeat="track in album.tracks | orderBy:'number' | limitTo:limit.count" title="{{ track.title }}">
				<img class="play svg" alt="{{ 'Play' | translate }}" src="<?php 
p(OCP\image_path('music', 'play-big.svg'));
?>
"
					ng-class="{playing: currentTrack.id == track.id}" />
				<span ng-show="track.number" class="muted">{{ track.number }}.</span>
				{{ track.title }}
			</li>
			<li class="muted" translate translate-n="trackcount"
				translate-plural="Show all {{ trackcount }} songs ..."
				ng-click="limit.count = trackcount"
				ng-hide="trackcount <= limit.count || limit.count != 5"
				>Show all {{ trackcount }} songs ...</li>
			<li class="muted"
				ng-click="limit.count = 5"
				ng-hide="limit.count == 5" translate>Show less ...</li>
		</ul>
Exemplo n.º 22
0
$path = explode('/', trim($current_dir, '/'));
// Navaigation Tab.
if ($path != '') {
    for ($i = 0; $i < count($path); $i++) {
        $curr_path .= '/' . str_replace('+', '%20', urlencode($path[$i]));
        ?>
			<div class="crumb <?php 
        if ($i == count($path) - 1) {
            p('last');
        }
        ?>
 svg" data-dir='<?php 
        p($curr_path);
        ?>
' style='background-image:url("<?php 
        print_unescaped(OCP\image_path('core', 'breadcrumb.png'));
        ?>
")'>
				<a href="<?php 
        print_unescaped($base_url . $curr_path . '/');
        ?>
"><?php 
        p($path[$i]);
        ?>
</a>
			</div>
	<?php 
    }
}
?>
	<div id="file_action_panel"></div>
Exemplo n.º 23
0
					<div class="progress">
						<div class="seek-bar" ng-click="seek($event)">
							<div class="buffer-bar" style="width: {{ position.buffer }}%"></div>
							<div class="play-bar" ng-show="position.total" style="width: {{ position.current/position.total * 100 }}%"></div>
						</div>
					</div>
				</div>

				<img id="shuffle" class="control small svg" alt="{{'Shuffle' | translate }}"
					src="<?php 
p(OCP\image_path('music', 'shuffle.svg'));
?>
" ng-class="{active: shuffle}" ng-click="shuffle=!shuffle" />
				<img id="repeat" class="control small svg" alt="{{'Repeat' | translate }}"
					src="<?php 
p(OCP\image_path('music', 'repeat.svg'));
?>
" ng-class="{active: repeat}" ng-click="repeat=!repeat" />
			</div>

			<div id="app-view" ng-view ng-class="{started: started, 'icon-loading': loading}">
			</div>

			<div ng-show="artists" class="alphabet-navigation" ng-class="{started: started}" resize>
				<a scroll-to="{{ letter }}" ng-repeat="letter in letters" ng-class="{available: letterAvailable[letter], filler: ($index % 2) == 1}">
					<span class="letter-content">{{ letter }}</span>
				</a>
			</div>

		</div>
Exemplo n.º 24
0
	</span -->
	<span class="task_more">
		<img title="<?php 
echo $l->t('More');
?>
" src="<?php 
echo OCP\image_path('core', 'actions/triangle-s.svg');
?>
" class="svg"><?php 
echo $l->t('More');
?>
	</span>
	<span class="task_less">
		<img title="<?php 
echo $l->t('Less');
?>
" src="<?php 
echo OCP\image_path('core', 'actions/triangle-n.svg');
?>
" class="svg"><?php 
echo $l->t('Less');
?>
	</span>
</p>
<script type='text/javascript'>
var categories = <?php 
echo json_encode($_['categories']);
?>
;
</script>
			<td>
				<input id="category" name="categories" type="text" placeholder="<?php 
echo $l->t('Separate categories with commas');
?>
" value="<?php 
echo isset($_['categories']) ? htmlspecialchars($_['categories']) : '';
?>
">
				<a class="action edit" onclick="$(this).tipsy('hide');OCCategories.edit();" title="<?php 
echo $l->t('Edit categories');
?>
"><img alt="<?php 
echo $l->t('Edit categories');
?>
" src="<?php 
echo OCP\image_path('core', 'actions/rename.svg');
?>
" class="svg action" style="width: 16px; height: 16px;"></a>
			</td>
			<?php 
if (count($_['calendar_options']) > 1) {
    ?>
			<th width="75px">&nbsp;&nbsp;&nbsp;<?php 
    echo $l->t("Calendar");
    ?>
:</th>
			<td>
				<select style="width:140px;" name="calendar">
					<?php 
    if (!isset($_['calendar'])) {
        $_['calendar'] = false;
Exemplo n.º 26
0
" />
			</div>
		<?php 
    }
    ?>
		<ul id="noPreview">
			<li class="error">
				<?php 
    echo $l->t('No preview available for') . ' ' . $_['filename'];
    ?>
<br />
				<a href="<?php 
    echo $_['downloadURL'];
    ?>
" id="download"><img class="svg" alt="Download" src="<?php 
    echo OCP\image_path("core", "actions/download.svg");
    ?>
" /><?php 
    echo $l->t('Download');
    ?>
</a>
			</li>
		</ul>
	<?php 
}
?>
</div>
<footer><p class="info"><a href="http://owncloud.org/">ownCloud</a> &ndash; <?php 
echo $l->t('web services under your control');
?>
</p></footer>
Exemplo n.º 27
0
	<?php 
for ($i = 0; $i < count($_["breadcrumb"]); $i++) {
    $crumb = $_["breadcrumb"][$i];
    $dir = str_replace('+', '%20', urlencode($crumb["dir"]));
    ?>
		<div class="crumb <?php 
    if ($i == count($_["breadcrumb"]) - 1) {
        echo 'last';
    }
    ?>
 svg"
			 data-dir='<?php 
    echo $dir;
    ?>
'
			 style='background-image:url("<?php 
    echo OCP\image_path('core', 'breadcrumb.png');
    ?>
")'>
		<a href="<?php 
    echo $_['baseURL'] . $dir;
    ?>
"><?php 
    echo OCP\Util::sanitizeHTML($crumb["name"]);
    ?>
</a>
		</div>
	<?php 
}
Exemplo n.º 28
0
<!-- results list -->
<table class="resultsList">
    <thead>
        <tr>
            <th id='headerName'>
                <input type="checkbox" id="select_all" />
                <span class='name'><?php 
p($l->t('Name'));
?>
</span>
                <span class='selectedActions'>
                    <?php 
if ($_['allowZipDownload']) {
    ?>
                        <a href="" class="download"><img class='svg' alt="Download" src="<?php 
    print_unescaped(OCP\image_path("core", "actions/download.svg"));
    ?>
" /> <?php 
    p($l->t('Download'));
    ?>
</a>
                    <?php 
}
?>
                </span>
            </th>
            <th id="headerSize"><?php 
p($l->t('Size'));
?>
</th>
            <th id="headerDate">
Exemplo n.º 29
0
		</div>
		<div class="tattooTile">
			<div class="tattooTilePicture"><img src="<?php 
print_unescaped(OCP\image_path('tattoo', 'tattoo-clouds.png'));
?>
" width="71" height="71"></div>
			<input type="radio" name="tattooWallpaper" value="tattoo-clouds.png"<?php 
if ($_['tattooSelectedWallpaper'] == 'tattoo-clouds.png') {
    print_unescaped(' checked="checked"');
}
?>
/>
		</div>
		<div class="tattooTile">
			<div class="tattooTilePicture"><img src="<?php 
print_unescaped(OCP\image_path('tattoo', 'tattoo-sun.png'));
?>
" width="71" height="71"></div>
			<input type="radio" name="tattooWallpaper" value="tattoo-sun.png"<?php 
if ($_['tattooSelectedWallpaper'] == 'tattoo-sun.png') {
    print_unescaped(' checked="checked"');
}
?>
/>
		</div>
		<br/>
		<input type="hidden" name="requesttoken" value="<?php 
p($_['requesttoken']);
?>
">
		<input type="submit" name="tattooSetWallpaper" id="tattooSetWallpaper" value="Save"/>