当前位置: 首页>>代码示例>>PHP>>正文


PHP dcPage::jsCandyUpload方法代码示例

本文整理汇总了PHP中dcPage::jsCandyUpload方法的典型用法代码示例。如果您正苦于以下问题:PHP dcPage::jsCandyUpload方法的具体用法?PHP dcPage::jsCandyUpload怎么用?PHP dcPage::jsCandyUpload使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在dcPage的用法示例。


在下文中一共展示了dcPage::jsCandyUpload方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: rawurlencode

        http::redirect($page_url . '&d=' . rawurlencode($d) . '&rebuildok=1');
    } catch (Exception $e) {
        $core->error->add($e->getMessage());
    }
}
# DISPLAY confirm page for rmdir & rmfile
if ($dir && !empty($_GET['remove'])) {
    call_user_func($open_f, __('Media manager'));
    echo '<h2>' . html::escapeHTML($core->blog->name) . ' &rsaquo; ' . __('Media manager') . ' &rsaquo; ' . __('confirm removal') . '</h2>';
    echo '<form action="' . html::escapeURL($page_url) . '" method="post">' . '<p>' . sprintf(__('Are you sure you want to remove %s?'), html::escapeHTML($_GET['remove'])) . '</p>' . '<p><input type="submit" value="' . __('cancel') . '" /> ' . ' &nbsp; <input type="submit" name="rmyes" value="' . __('yes') . '" />' . form::hidden('d', $d) . $core->formNonce() . form::hidden('remove', html::escapeHTML($_GET['remove'])) . '</p>' . '</form>';
    call_user_func($close_f);
    exit;
}
/* DISPLAY Main page
-------------------------------------------------------- */
call_user_func($open_f, __('Media manager'), dcPage::jsLoad('js/_media.js') . ($core_media_writable ? dcPage::jsCandyUpload(array('d=' . $d)) : ''));
if (!empty($_GET['mkdok'])) {
    echo '<p class="message">' . __('Directory has been successfully created.') . '</p>';
}
if (!empty($_GET['upok'])) {
    echo '<p class="message">' . __('Files have been successfully uploaded.') . '</p>';
}
if (!empty($_GET['rmfok'])) {
    echo '<p class="message">' . __('File has been successfully removed.') . '</p>';
}
if (!empty($_GET['rmdok'])) {
    echo '<p class="message">' . __('Directory has been successfully removed.') . '</p>';
}
if (!empty($_GET['rebuildok'])) {
    echo '<p class="message">' . __('Directory has been successfully rebuilt.') . '</p>';
}
开发者ID:HackerMajor,项目名称:root,代码行数:31,代码来源:media.php


注:本文中的dcPage::jsCandyUpload方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。