Change image links to use imagePath function
This commit is contained in:
parent
329bc28d06
commit
cb71996008
|
@ -44,7 +44,7 @@
|
|||
<form id="choosecalendar">
|
||||
<!--<input type="button" id="today_input" value="<?php echo $l->t("Today");?>"/>-->
|
||||
<a class="settings calendarsettings" title="<?php echo $l->t('Settings'); ?>"><img class="svg" src="<?php echo OCP\Util::imagePath('calendar', 'icon.svg'); ?>" alt="<?php echo $l->t('Settings'); ?>" /></a>
|
||||
<a class="settings generalsettings" title="<?php echo $l->t('Settings'); ?>"><img class="svg" src="core/img/actions/settings.svg" alt="<?php echo $l->t('Settings'); ?>" /></a>
|
||||
<a class="settings generalsettings" title="<?php echo $l->t('Settings'); ?>"><img class="svg" src="<?php echo OCP\Util::imagePath('core', 'actions/settings.svg'); ?>" alt="<?php echo $l->t('Settings'); ?>" /></a>
|
||||
</form>
|
||||
<form id="datecontrol">
|
||||
<input type="button" value=" < " id="datecontrol_left"/>
|
||||
|
|
|
@ -33,7 +33,7 @@ echo OCP\html_select_options($allusers, array());
|
|||
</select><br>
|
||||
<ul id="sharewithuser_list">
|
||||
<?php foreach($users as $user): ?>
|
||||
<li id="sharewithuser_<?php echo $user['share']; ?>"><input type="checkbox" width="12px" <?php echo ($user['permissions']?'checked="checked"':'')?> style="visibility:hidden;" title="<?php echo $l->t('Editable'); ?>"><?php echo $user['share']; ?><img src="<?php echo OC::$WEBROOT; ?>/core/img/actions/delete.svg" class="svg action" style="display:none;float:right;"></li>
|
||||
<li id="sharewithuser_<?php echo $user['share']; ?>"><input type="checkbox" width="12px" <?php echo ($user['permissions']?'checked="checked"':'')?> style="visibility:hidden;" title="<?php echo $l->t('Editable'); ?>"><?php echo $user['share']; ?><img src="<?php echo OCP\Util::imagePath('core', 'actions/delete.svg'); ?>" class="svg action" style="display:none;float:right;"></li>
|
||||
<script>
|
||||
$('#sharewithuser_<?php echo $user['share']; ?> > img').click(function(){
|
||||
$('#share_user option[value="<?php echo $user['share']; ?>"]').removeAttr('disabled');
|
||||
|
@ -59,7 +59,7 @@ echo OCP\html_select_options($allgroups, array());
|
|||
</select><br>
|
||||
<ul id="sharewithgroup_list">
|
||||
<?php foreach($groups as $group): ?>
|
||||
<li id="sharewithgroup_<?php echo $group['share']; ?>"><input type="checkbox" width="12px" <?php echo ($group['permissions']?'checked="checked"':'')?> style="visibility:hidden;" title="<?php echo $l->t('Editable'); ?>"><?php echo $group['share']; ?><img src="<?php echo OC::$WEBROOT; ?>/core/img/actions/delete.svg" class="svg action" style="display:none;float:right;"></li>
|
||||
<li id="sharewithgroup_<?php echo $group['share']; ?>"><input type="checkbox" width="12px" <?php echo ($group['permissions']?'checked="checked"':'')?> style="visibility:hidden;" title="<?php echo $l->t('Editable'); ?>"><?php echo $group['share']; ?><img src="<?php echo OCP\Util::imagePath('core', 'actions/delete.svg'); ?>" class="svg action" style="display:none;float:right;"></li>
|
||||
<script>
|
||||
$('#sharewithgroup_<?php echo $group['share']; ?> > img').click(function(){
|
||||
$('#share_group option[value="<?php echo $group['share']; ?>"]').removeAttr('disabled');
|
||||
|
|
|
@ -13,9 +13,9 @@
|
|||
<div id="bottomcontrols">
|
||||
<button class="svg" id="contacts_newcontact" title="<?php echo $l->t('Add Contact'); ?>"><img class="svg" src="<?php echo OCP\Util::imagePath('contacts', 'contact-new.svg'); ?>" alt="<?php echo $l->t('Add Contact'); ?>" /></button>
|
||||
<button class="svg import tip" title="<?php echo $l->t('Import'); ?>">
|
||||
<img class="svg" src="core/img/actions/upload.svg" alt="<?php echo $l->t('Import'); ?>" />
|
||||
<img class="svg" src="<?php echo OCP\Util::imagePath('core', 'actions/upload.svg') ?>" alt="<?php echo $l->t('Import'); ?>" />
|
||||
</button>
|
||||
<button class="svg settings tip" title="<?php echo $l->t('Settings'); ?>"><img class="svg" src="core/img/actions/settings.svg" alt="<?php echo $l->t('Addressbooks'); ?>" /></button>
|
||||
<button class="svg settings tip" title="<?php echo $l->t('Settings'); ?>"><img class="svg" src="<?php echo OCP\Util::imagePath('core', 'actions/settings.svg') ?>" alt="<?php echo $l->t('Addressbooks'); ?>" /></button>
|
||||
<form id="import_upload_form" action="<?php echo OCP\Util::linkTo('contacts', 'ajax/uploadimport.php'); ?>" method="post" enctype="multipart/form-data" target="import_upload_target">
|
||||
<input class="float" id="import_upload_start" type="file" accept="text/directory,text/vcard,text/x-vcard" name="importfile" />
|
||||
<input type="hidden" name="MAX_FILE_SIZE" value="<?php echo $_['uploadMaxFilesize'] ?>" id="max_upload">
|
||||
|
@ -69,6 +69,6 @@
|
|||
<div id="dialog_holder"></div>
|
||||
<!-- End of Dialogs -->
|
||||
<menu type="context" id="addressbookmenu">
|
||||
<menuitem label="Delete" icon="core/img/actions/delete.svg" onclick="alert('Really? ' + $(this).attr('data-id'))"></menuitem>
|
||||
<menuitem label="Rename" icon="core/img/actions/rename.svg" onclick="alert('Can\'t do that')"></menuitem>
|
||||
<menuitem label="Delete" icon="<?php echo OCP\Util::imagePath('core', 'actions/delete.svg') ?>" onclick="alert('Really? ' + $(this).attr('data-id'))"></menuitem>
|
||||
<menuitem label="Rename" icon="<?php echo OCP\Util::imagePath('core', 'actions/rename.svg') ?>" onclick="alert('Can\'t do that')"></menuitem>
|
||||
</menu>
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
<strong>Versions</strong><!-- translate using echo $l->t('foo'); -->
|
||||
</legend>
|
||||
<p>This will delete all existing backup versions of your files</p><!-- translate using echo $l->t('foo'); -->
|
||||
<button id="expireAllBtn">Expire all versions<img style="display: none;" class="expireAllLoading" src="<?php echo OCP\Util::linkTo('core', 'img/loading.gif'); ?>" /></button>
|
||||
<button id="expireAllBtn">Expire all versions<img style="display: none;" class="expireAllLoading" src="<?php echo OCP\Util::imagePath('core', 'loading.gif'); ?>" /></button>
|
||||
</fieldset>
|
||||
</form>
|
||||
</form>
|
||||
|
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
@ -1,6 +1,6 @@
|
|||
<fieldset class="personalblock">
|
||||
<?php
|
||||
echo '<img src="../apps/remoteStorage/remoteStorage.png" style="width:16px"> '
|
||||
echo '<img src="'.image_path('remoteStorage', 'remoteStorage.png').'" style="width:16px"> '
|
||||
.'<strong>'.$l->t('remoteStorage').'</strong> user address: '
|
||||
.OCP\USER::getUser().'@'.$_SERVER['SERVER_NAME']
|
||||
.' (<a href="http://unhosted.org/">more info</a>)';
|
||||
|
@ -22,7 +22,7 @@
|
|||
.'> <strong>'.$details['appUrl'].'</strong>: '.$details['categories']
|
||||
.' <a href="#" title="Revoke" class="action" style="display:none" id="revoke_'.$token.'" onclick="'
|
||||
.'revokeToken(\''.$token.'\');this.parentNode.style.display=\'none\';"'
|
||||
.'><img src="/core/img/actions/delete.svg"></a></li>'."\n";
|
||||
.'><img src="'.OCP\Util::imagePath('core', 'actions/delete.svg').'"></a></li>'."\n";
|
||||
}
|
||||
?></ul>
|
||||
</fieldset>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<legend><strong><?php echo $l->t('Export your user account');?></strong></legend>
|
||||
<p><?php echo $l->t('This will create a compressed file that contains your ownCloud account.');?>
|
||||
</p>
|
||||
<button id="exportbtn">Export<img style="display: none;" class="loading" src="<?php echo OCP\Util::linkTo('core', 'img/loading.gif'); ?>" /></button>
|
||||
<button id="exportbtn">Export<img style="display: none;" class="loading" src="<?php echo OCP\Util::imagePath('core', 'loading.gif'); ?>" /></button>
|
||||
</fieldset>
|
||||
<form id="import" action="#" method="post" enctype="multipart/form-data">
|
||||
<fieldset class="personalblock">
|
||||
|
|
Loading…
Reference in New Issue