Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

トークンの取得に失敗しました。

<a href=<?php url_for("opDropboxPlugini/index"); ?>">プラグイン設定画面</a>
<?php link_to('プラグイン設定画面', 'opDropboxPlugin/index') ?>

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

<?php echo $message; ?><br>

<a href="/pc_backend.php/opDropboxPlugin/auth">Get OAuth Token</a>
<?php echo link_to('Get OAuth Token', 'opDropboxPlugin/auth') ?>

6 changes: 3 additions & 3 deletions apps/pc_frontend/modules/dropbox/templates/_dropboxBox.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<ul class="nav nav-tabs nav-stacked">
<li class="active"><a href="#">${title}</a></li>
{{each data.contents}}
<li><a class="shareLink" href="/dropbox?path={{html encodeURIComponent(path)}}">${path}</a></li>
<li><a class="shareLink" href="<?php echo url_for('dropbox/index') ?>?path={{html encodeURIComponent(path)}}">${path}</a></li>
{{/each}}
</ul>
</script>
Expand All @@ -14,7 +14,7 @@
data.apiKey = openpne.apiKey;
data.path = '/m<?php echo $member->getId(); ?>';
var $pushHtml;
$.get('/api.php/dropbox/list',data,function(json){
$.get(openpne.apiBase + 'dropbox/list',data,function(json){
console.log(json);
json.title = "マイファイルリスト"
$pushHtml = $("#fileListTemplate").tmpl(json);
Expand All @@ -23,7 +23,7 @@

</script>

<form class="well" action="/api.php/dropbox/upload" method="post" enctype="multipart/form-data">
<form class="well" action="<?php echo app_url_for('api', 'dropbox/upload') ?>" method="post" enctype="multipart/form-data">
アップロード:<br />
<input class="fileupload" type="hidden" name="apiKey" value="" />
<input type="file" name="upfile" size="5" /><br />
Expand Down
2 changes: 1 addition & 1 deletion apps/pc_frontend/modules/f/templates/_fBox.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

</script>

<form class="well" action="/api.php/f/upload" method="post" enctype="multipart/form-data">
<form class="well" action="<?php echo app_url_for('api', 'f/upload') ?>" method="post" enctype="multipart/form-data">
アップロード:<br />
<input class="fileupload" type="hidden" name="apiKey" value="" />
<input type="file" name="upfile" size="5" /><br />
Expand Down