本文整理汇总了PHP中osc_current_admin_theme_url函数的典型用法代码示例。如果您正苦于以下问题:PHP osc_current_admin_theme_url函数的具体用法?PHP osc_current_admin_theme_url怎么用?PHP osc_current_admin_theme_url使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了osc_current_admin_theme_url函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: processData
private function processData($pages)
{
if (!empty($pages)) {
$prefLocale = osc_current_user_locale();
foreach ($pages as $aRow) {
$row = array();
$content = array();
if (isset($aRow['locale'][$prefLocale]) && !empty($aRow['locale'][$prefLocale]['s_title'])) {
$content = $aRow['locale'][$prefLocale];
} else {
$content = current($aRow['locale']);
}
// -- options --
$options = array();
View::newInstance()->_exportVariableToView('page', $aRow);
$options[] = '<a href="' . osc_static_page_url() . '" target="_blank">' . __('View page') . '</a>';
$options[] = '<a href="' . osc_admin_base_url(true) . '?page=pages&action=edit&id=' . $aRow['pk_i_id'] . '">' . __('Edit') . '</a>';
if (!$aRow['b_indelible']) {
$options[] = '<a onclick="return delete_dialog(\'' . $aRow['pk_i_id'] . '\');" href="' . osc_admin_base_url(true) . '?page=pages&action=delete&id=' . $aRow['pk_i_id'] . '&' . osc_csrf_token_url() . '">' . __('Delete') . '</a>';
}
$auxOptions = '<ul>' . PHP_EOL;
foreach ($options as $actual) {
$auxOptions .= '<li>' . $actual . '</li>' . PHP_EOL;
}
$actions = '<div class="actions">' . $auxOptions . '</div>' . PHP_EOL;
$row['bulkactions'] = '<input type="checkbox" name="id[]"" value="' . $aRow['pk_i_id'] . '"" />';
$row['internal_name'] = $aRow['s_internal_name'] . $actions;
$row['title'] = $content['s_title'];
$row['order'] = '<div class="order-box">' . $aRow['i_order'] . ' <img class="up" onclick="order_up(' . $aRow['pk_i_id'] . ');" src="' . osc_current_admin_theme_url('images/arrow_up.png') . '" alt="' . __('Up') . '" title="' . __('Up') . '" /> <img class="down" onclick="order_down(' . $aRow['pk_i_id'] . ');" src="' . osc_current_admin_theme_url('images/arrow_down.png') . '" alt="' . __('Down') . '" title="' . __('Down') . '" /></div>';
$row = osc_apply_filter('pages_processing_row', $row, $aRow);
$this->addRow($row);
$this->rawRows[] = $aRow;
}
}
}
示例2: add_market_jsvariables
function add_market_jsvariables()
{
$marketPage = Params::getParam("mPage");
$version_length = strlen(osc_version());
$main_version = substr(osc_version(), 0, $version_length - 2) . "." . substr(osc_version(), $version_length - 2, 1);
if ($marketPage >= 1) {
$marketPage--;
}
$action = Params::getParam("action");
$js_lang = array('by' => __('by'), 'ok' => __('Ok'), 'error_item' => __('There was a problem, try again later please'), 'wait_download' => __('Please wait until the download is completed'), 'downloading' => __('Downloading'), 'close' => __('Close'), 'download' => __('Download'), 'update' => __('Update'), 'last_update' => __('Last update'), 'downloads' => __('Downloads'), 'requieres_version' => __('Requires at least'), 'compatible_with' => __('Compatible up to'), 'screenshots' => __('Screenshots'), 'preview_theme' => __('Preview theme'), 'download_manually' => __('Download manually'), 'buy' => __('Buy'), 'proceed_anyway' => sprintf(__('Warning! This package is not compatible with your current version of Osclass (%s)'), $main_version), 'sure' => __('Are you sure?'), 'proceed_anyway_btn' => __('Ok, proceed anyway'), 'not_compatible' => sprintf(__('Warning! This theme is not compatible with your current version of Osclass (%s)'), $main_version), 'themes' => array('download_ok' => __('The theme has been downloaded correctly, proceed to activate or preview it.')), 'plugins' => array('download_ok' => __('The plugin has been downloaded correctly, proceed to install and configure.')), 'languages' => array('download_ok' => __('The language has been downloaded correctly, proceed to activate.')));
?>
<script type="text/javascript">
var theme = window.theme || {};
theme.adminBaseUrl = "<?php
echo osc_admin_base_url(true);
?>
";
theme.marketAjaxUrl = "<?php
echo osc_admin_base_url(true);
?>
?page=ajax&action=market&<?php
echo osc_csrf_token_url();
?>
";
theme.marketCurrentURL = "<?php
echo osc_admin_base_url(true);
?>
?page=market&action=<?php
echo Params::getParam('action');
?>
";
theme.themUrl = "<?php
echo osc_current_admin_theme_url();
?>
";
theme.langs = <?php
echo json_encode($js_lang);
?>
;
theme.CSRFToken = "<?php
echo osc_csrf_token_url();
?>
";
var osc_market = {};
osc_market.main_version = <?php
echo $main_version;
?>
;
</script>
<?php
}
示例3: doModel
//.........这里部分代码省略.........
$conditions = array('pk_i_id' => $auxpage['pk_i_id']);
$mPages->update($array, $conditions);
$array = array('i_order' => $new_order);
$conditions = array('pk_i_id' => $id);
$mPages->update($array, $conditions);
} else {
}
// json for datatables
$prefLocale = osc_current_admin_locale();
$aPages = $mPages->listAll(0);
$json = "[";
foreach ($aPages as $key => $page) {
$body = array();
if (isset($page['locale'][$prefLocale]) && !empty($page['locale'][$prefLocale]['s_title'])) {
$body = $page['locale'][$prefLocale];
} else {
$body = current($page['locale']);
}
$p_body = str_replace("'", "\\'", trim(strip_tags($body['s_title']), "\"'"));
$json .= "[\"<input type='checkbox' name='id[]' value='" . $page['pk_i_id'] . "' />\",";
$json .= "\"" . $page['s_internal_name'] . "<div id='datatables_quick_edit'>";
$json .= "<a href='" . osc_static_page_url() . "'>" . __('View page') . "</a> | ";
$json .= "<a href='" . osc_admin_base_url(true) . "?page=pages&action=edit&id=" . $page['pk_i_id'] . "'>";
$json .= __('Edit') . "</a>";
if (!$page['b_indelible']) {
$json .= " | ";
$json .= "<a onclick=\\\"javascript:return confirm('";
$json .= __('This action can\\\\\'t be undone. Are you sure you want to continue?') . "')\\\" ";
$json .= " href='" . osc_admin_base_url(true) . "?page=pages&action=delete&id=" . $page['pk_i_id'] . "'>";
$json .= __('Delete') . "</a>";
}
$json .= "</div>\",";
$json .= "\"" . $p_body . "\",";
$json .= "\"<img id='up' onclick='order_up(" . $page['pk_i_id'] . ");' style='cursor:pointer;width:15;height:15px;' src='" . osc_current_admin_theme_url('images/arrow_up.png') . "'/> <br/> <img id='down' onclick='order_down(" . $page['pk_i_id'] . ");' style='cursor:pointer;width:15;height:15px;' src='" . osc_current_admin_theme_url('images/arrow_down.png') . "'/>\"]";
if ($key != count($aPages) - 1) {
$json .= ',';
} else {
$json .= '';
}
}
$json .= "]";
echo $json;
}
break;
/******************************
** COMPLETE UPGRADE PROCESS **
******************************/
/******************************
** COMPLETE UPGRADE PROCESS **
******************************/
case 'upgrade':
// AT THIS POINT WE KNOW IF THERE'S AN UPDATE OR NOT
$message = "";
$error = 0;
$remove_error_msg = "";
$sql_error_msg = "";
$rm_errors = 0;
$perms = osc_save_permissions();
osc_change_permissions();
$maintenance_file = ABS_PATH . '.maintenance';
$fileHandler = @fopen($maintenance_file, 'w');
fclose($fileHandler);
/***********************
**** DOWNLOAD FILE ****
***********************/
if (Params::getParam('file') != '') {
示例4: osc_current_admin_theme_url
</script>
<script type="text/javascript" src="<?php
echo osc_current_admin_theme_url();
?>
js/datatables.post_init.js"></script>
<div id="content">
<div id="separator"></div>
<?php
osc_current_admin_theme_path('include/backoffice_menu.php');
?>
<div id="right_column">
<div id="content_header" class="content_header">
<div id="content_header" class="content_header">
<div style="float: left;">
<img src="<?php
echo osc_current_admin_theme_url();
?>
images/currencies.gif" title="" alt="" />
</div>
<div id="content_header_arrow">» <?php
_e('Currencies');
?>
</div>
<a href="<?php
echo osc_admin_base_url(true);
?>
?page=settings&action=currencies&type=add" id="button_open"><?php
_e('Add');
?>
</a>
<div style="clear: both;"></div>
示例5: osc_add_hook
</script>
<?php
}
osc_add_hook('admin_header', 'customHead');
osc_current_admin_theme_path('parts/header.php');
?>
<div id="backup-settings">
<h2 class="render-title"><?php
_e('Upgrade');
?>
</h2>
<div id="result">
<div id="output" style="display:none">
<img id="loading_immage" src="<?php
echo osc_current_admin_theme_url('images/loading.gif');
?>
" title="" alt="" />
<?php
_e('Upgrading your OSClass installation (this could take a while): ', 'admin');
?>
</div>
<div id="tohide">
<p>
<?php
_e('You have uploaded a new version of OSClass, you need to upgrade OSClass for it to work correctly.');
?>
</p>
<a class="btn" href="<?php
echo osc_admin_base_url(true);
?>
示例6: customHead
function customHead()
{
?>
<script type="text/javascript">
document.write('<style type="text/css">.tabber{ display:none; }</style>');
</script>
<style>
.placeholder {
background-color: #cfcfcf;
}
.footest .category_div {
opacity: 0.8;
}
.list-categories li {
opacity: 1 !important;
}
.category_div {
background: #ffffff;
}
.alert-custom {
background-color: #FDF5D9;
border-bottom: 1px solid #EEDC94;
color: #404040;
}
.cat-hover,
.cat-hover .category_row{
background-color:#fffccc !important;
background:#fffccc !important;
}
</style>
<script type="text/javascript">
$(function() {
$('.category_div').on('mouseenter',function(){
$(this).addClass('cat-hover');
}).on('mouseleave',function(){
$(this).removeClass('cat-hover');
});
var list_original = '';
$('.sortable').nestedSortable({
disableNesting: 'no-nest',
forcePlaceholderSize: true,
handle: '.handle',
helper: 'clone',
listType: 'ul',
items: 'li',
maxLevels: 4,
opacity: .6,
placeholder: 'placeholder',
revert: 250,
tabSize: 25,
tolerance: 'pointer',
toleranceElement: '> div',
create: function(event, ui) {
},
start: function(event, ui) {
list_original = $('.sortable').nestedSortable('serialize');
$(ui.helper).addClass('footest');
$(ui.helper).prepend('<div style="opacity: 1 !important; padding:5px;" class="alert-custom"><?php
echo osc_esc_js(__('Note: You must expand the category in order to make it a subcategory.'));
?>
</div>');
},
stop: function(event, ui) {
$(".jsMessage").fadeIn("fast");
$(".jsMessage p").attr('class', '');
$(".jsMessage p").html('<img height="16" width="16" src="<?php
echo osc_current_admin_theme_url('images/loading.gif');
?>
"> <?php
echo osc_esc_js(__('This action could take a while.'));
?>
');
var list = '';
list = $('.sortable').nestedSortable('serialize');
var array_list = $('.sortable').nestedSortable('toArray');
var l = array_list.length;
for(var k = 0; k < l; k++ ) {
if( array_list[k].item_id == $(ui.item).find('div').attr('category_id') ) {
if( array_list[k].parent_id == 'root' ) {
$(ui.item).closest('.toggle').show();
}
break;
}
}
if( !$(ui.item).parent().hasClass('sortable') ) {
$(ui.item).parent().addClass('subcategory');
}
if(list_original != list) {
var plist = array_list.reduce(function ( total, current, index ) {
total[index] = {'c' : current.item_id, 'p' : current.parent_id};
return total;
}, {});
$.ajax({
type: 'POST',
url: "<?php
echo osc_admin_base_url(true) . "?page=ajax&action=categories_order&" . osc_csrf_token_url();
?>
//.........这里部分代码省略.........
示例7: drawMarketItem
function drawMarketItem($item, $color = false)
{
//constants
$updateClass = '';
$updateData = '';
$thumbnail = false;
$featuredClass = '';
$style = '';
$letterDraw = '';
$compatible = '';
$type = strtolower($item['e_type']);
$items_to_update = json_decode(osc_get_preference($type . 's_to_update'), true);
$items_downloaded = json_decode(osc_get_preference($type . 's_downloaded'), true);
if ($item['s_thumbnail']) {
$thumbnail = $item['s_thumbnail'];
}
if ($item['s_banner']) {
if (@$item['s_banner_path'] != '') {
$thumbnail = $item['s_banner_path'] . $item['s_banner'];
} else {
$thumbnail = 'http://market.osclass.org/oc-content/uploads/market/' . $item['s_banner'];
}
}
$downloaded = false;
if (in_array($item['s_update_url'], $items_downloaded)) {
if (in_array($item['s_update_url'], $items_to_update)) {
$updateClass = 'has-update';
$updateData = ' data-update="true"';
} else {
// market item downloaded !
$downloaded = true;
}
}
//Check if is compatibleosc_version()
if ($type == 'language') {
if (!check_market_language_compatibility($item['s_update_url'], $item['s_version'])) {
$compatible = ' not-compatible';
}
} else {
if (!check_market_compatibility($item['s_compatible'], $type)) {
$compatible = ' not-compatible';
}
}
if (!$thumbnail && $color) {
$thumbnail = osc_current_admin_theme_url('images/gr-' . $color . '.png');
$letterDraw = $item['s_update_url'][0];
if ($type == 'language') {
$letterDraw = $item['s_update_url'];
}
}
if ($item['b_featured']) {
$featuredClass = ' is-featured';
if ($downloaded || $updateClass) {
$featuredClass .= '-';
}
}
if ($downloaded) {
$featuredClass .= 'is-downloaded';
}
$buyClass = '';
if ($item['i_price'] != '' && (double) $item['i_price'] > 0 && $item['b_paid'] == 1) {
$buyClass = ' is-buy ';
}
$style = 'background-image:url(' . $thumbnail . ');';
echo '<a href="#' . $item['s_update_url'] . '" class="mk-item-parent ' . $featuredClass . $updateClass . $compatible . $buyClass . '" data-type="' . $type . '"' . $updateData . ' data-gr="' . $color . '" data-letter="' . $item['s_update_url'][0] . '">';
echo '<div class="mk-item mk-item-' . $type . '">';
echo ' <div class="banner" style="' . $style . '">' . $letterDraw . '</div>';
echo ' <div class="mk-info"><i class="flag"></i>';
echo ' <h3>' . $item['s_title'] . '</h3>';
echo ' <span class="downloads"><strong>' . $item['i_total_downloads'] . '</strong> ' . __('downloads') . '</span>';
echo ' <i>by ' . $item['s_contact_name'] . '</i>';
echo ' <div class="market-actions">';
echo ' <span class="more">' . __('View more') . '</span>';
if ($item['i_price'] != '' && (double) $item['i_price'] > 0 && $item['b_paid'] == 0) {
echo ' <span class="buy-btn' . $compatible . '" data-code="' . $item['s_buy_url'] . '" data-type="' . $type . '"' . '>' . sprintf(__('Buy $%s'), number_format($item['i_price'] / 1000000, 0, '.', ',')) . '</span>';
} else {
echo ' <span class="download-btn' . $compatible . '" data-code="' . $item['s_update_url'] . '" data-type="' . $type . '"' . '>' . __('Download') . '</span>';
}
echo ' </div>';
echo ' </div>';
echo '</div>';
echo '</a>';
}
示例8: osc_current_admin_theme_url
</script>
<script type="text/javascript" src="<?php
echo osc_current_admin_theme_url('js/datatables.post_init.js');
?>
"></script>
<div id="content">
<div id="separator"></div>
<?php
osc_current_admin_theme_path('include/backoffice_menu.php');
?>
<div id="right_column">
<div id="content_header" class="content_header">
<div id="content_header" class="content_header">
<div style="float: left;">
<img src="<?php
echo osc_current_admin_theme_url('images/currencies.gif');
?>
" title="" alt="" />
</div>
<div id="content_header_arrow">» <?php
_e('Currencies');
?>
</div>
<a href="<?php
echo osc_admin_base_url(true);
?>
?page=settings&action=currencies&type=add" id="button_open"><?php
_e('Add');
?>
</a>
<div style="clear: both;"></div>
示例9: doModel
//.........这里部分代码省略.........
$page = $mPages->findPrevPage($actual_order);
} else {
if ($order == 'down') {
$page = $mPages->findNextPage($actual_order);
}
}
if (isset($page['i_order'])) {
$mPages->update(array('i_order' => $page['i_order']), array('pk_i_id' => $id));
$mPages->update(array('i_order' => $actual_order), array('pk_i_id' => $page['pk_i_id']));
}
// TO BE IMPROVED
// json for datatables
$prefLocale = osc_current_user_locale();
$this->_exportVariableToView('pages', $mPages->listAll(0));
$o_json = array();
while (osc_has_static_pages()) {
$row = array();
$page = osc_static_page();
$content = array();
if (isset($page['locale'][$prefLocale]) && !empty($page['locale'][$prefLocale]['s_title'])) {
$content = $page['locale'][$prefLocale];
} else {
$content = current($page['locale']);
}
$options = array();
$options[] = '<a href="' . osc_static_page_url() . '">' . __('View page') . '</a>';
$options[] = '<a href="' . osc_admin_base_url(true) . '?page=pages&action=edit&id=' . osc_static_page_id() . '">' . __('Edit') . '</a>';
if (!$page['b_indelible']) {
$options[] = '<a onclick="javascript:return confirm(\'' . osc_esc_js("This action can't be undone. Are you sure you want to continue?") . '\')" href="' . osc_admin_base_url(true) . '?page=pages&action=delete&id=' . osc_static_page_id() . '">' . __('Delete') . '</a>';
}
$row[] = '<input type="checkbox" name="id[]"" value="' . osc_static_page_id() . '"" />';
$row[] = $page['s_internal_name'] . '<div id="datatables_quick_edit" style="display: none;">' . implode(' · ', $options) . '</div>';
$row[] = $content['s_title'];
$row[] = osc_static_page_order() . ' <img id="up" onclick="order_up(' . osc_static_page_id() . ');" style="cursor:pointer; width:15px; height:15px;" src="' . osc_current_admin_theme_url('images/arrow_up.png') . '"/> <br/><img id="down" onclick="order_down(' . osc_static_page_id() . ');" style="cursor:pointer; width:15px; height:15px; margin-left: 10px;" src="' . osc_current_admin_theme_url('images/arrow_down.png') . '"/>';
$o_json[] = $row;
}
echo json_encode($o_json);
}
break;
/******************************
** COMPLETE UPGRADE PROCESS **
******************************/
/******************************
** COMPLETE UPGRADE PROCESS **
******************************/
case 'upgrade':
// AT THIS POINT WE KNOW IF THERE'S AN UPDATE OR NOT
$message = "";
$error = 0;
$sql_error_msg = "";
$rm_errors = 0;
$perms = osc_save_permissions();
osc_change_permissions();
$maintenance_file = ABS_PATH . '.maintenance';
$fileHandler = @fopen($maintenance_file, 'w');
fclose($fileHandler);
/***********************
**** DOWNLOAD FILE ****
***********************/
$data = osc_file_get_contents("http://osclass.org/latest_version.php");
$data = json_decode(substr($data, 1, strlen($data) - 3), true);
$source_file = $data['url'];
if ($source_file != '') {
$tmp = explode("/", $source_file);
$filename = end($tmp);
$result = osc_downloadFile($source_file, $filename);
示例10: _e
</a><!-- ↵ --></em>
<div id="user_links"><?php
_e('Hi');
?>
, <a title="<?php
_e('Your profile');
?>
" href="<?php
echo osc_admin_base_url(true);
?>
?page=admins&action=edit"><?php
echo osc_logged_admin_username();
?>
!</a> | <a title="<?php
_e('Log Out');
?>
" href="index.php?action=logout"><?php
_e('Log Out');
?>
</a></div>
<?php
osc_run_hook('admin_header');
?>
</div>
<div id="static"> <a style="text-decoration:none;" target="_blank" href="http://admin.osclass.org/feedback.php"><img style="border:0px;" alt="<?php
_e('Feedback');
?>
" src="<?php
echo osc_current_admin_theme_url('images/feedback_button_new.gif');
?>
"></a> </div>
示例11: customHead
function customHead()
{
?>
<script type="text/javascript">
$(document).ready(function() {
$("#steps_div").hide();
});
<?php
$perms = osc_save_permissions();
$ok = osc_change_permissions();
foreach ($perms as $k => $v) {
@chmod($k, $v);
}
if ($ok) {
?>
$(function() {
var steps_div = document.getElementById('steps_div');
steps_div.style.display = '';
var steps = document.getElementById('steps');
var version = <?php
echo osc_version();
?>
;
var fileToUnzip = '';
steps.innerHTML += '<?php
echo osc_esc_js(sprintf(__('Checking for updates (Current version %s)'), osc_version()));
?>
';
$.getJSON("http://osclass.org/latest_version_v1.php?callback=?", function(data) {
if(data.version <= version) {
steps.innerHTML += '<?php
echo osc_esc_js(__('Congratulations! Your Osclass installation is up to date!'));
?>
';
} else {
steps.innerHTML += '<?php
echo osc_esc_js(__('New version to update:'));
?>
' + data.version + "<br />";
<?php
if (Params::getParam('confirm') == 'true') {
?>
steps.innerHTML += '<img id="loading_image" src="<?php
echo osc_current_admin_theme_url('images/loading.gif');
?>
" /><?php
echo osc_esc_js(__('Upgrading your Osclass installation (this could take a while):'));
?>
';
var tempAr = data.url.split('/');
fileToUnzip = tempAr.pop();
$.getJSON('<?php
echo osc_admin_base_url(true);
?>
?page=ajax&action=upgrade&<?php
echo osc_csrf_token_url();
?>
' , function(data) {
if(data.error==0 || data.error==6) {
window.location = "<?php
echo osc_admin_base_url(true);
?>
?page=tools&action=version";
}
var loading_image = document.getElementById('loading_image');
loading_image.style.display = "none";
steps.innerHTML += data.message+"<br />";
});
<?php
} else {
?>
steps.innerHTML += '<input type="button" value="<?php
echo osc_esc_html(__('Upgrade'));
?>
" onclick="window.location.href=\'<?php
echo osc_admin_base_url(true);
?>
?page=tools&action=upgrade&confirm=true\';" />';
<?php
}
?>
}
});
});
<?php
}
?>
</script>
<?php
}
示例12: osc_current_admin_theme_url
",
"sWidth": "auto"
}
],
"aoColumnDefs": [
{
"bVisible": false,
"aTargets": [ 0 ]
}
],
"aaSorting": [[0, 'asc']]
});
});
</script>
<script type="text/javascript" src="<?php
echo osc_current_admin_theme_url('js/datatables.post_init.js');
?>
"></script>
</head>
<body>
<?php
osc_current_admin_theme_path('header.php');
?>
<!-- container -->
<div id="content">
<?php
osc_current_admin_theme_path('include/backoffice_menu.php');
?>
<!-- right container -->
<div class="right">
<div class="header_title">
示例13: osc_current_admin_theme_path
return true;
}
</script>
<div id="content">
<div id="separator"></div>
<?php
osc_current_admin_theme_path('include/backoffice_menu.php');
?>
<div id="right_column">
<div id="content_header" class="content_header">
<div style="float: left;">
<img src="<?php
echo osc_current_admin_theme_url('images/comments-icon2.png');
?>
" title="" alt=""/>
</div>
<div id="content_header_arrow">» <?php
_e($title);
?>
</div>
<div style="clear: both;"></div>
</div>
<div id="content_separator"></div>
<?php
osc_show_flash_message('admin');
?>
示例14: function
});
$('#down').live('mouseover', function(event) {
$(this).attr('src', '<?php
echo osc_current_admin_theme_url('images/arrow_down_dark.png');
?>
');
});
$('#up').live('mouseleave', function(event) {
$(this).attr('src', '<?php
echo osc_current_admin_theme_url('images/arrow_up.png');
?>
');
});
$('#down').live('mouseleave', function(event) {
$(this).attr('src', '<?php
echo osc_current_admin_theme_url('images/arrow_down.png');
?>
');
});
});
</script>
<script type="text/javascript" src="<?php
echo osc_current_admin_theme_js_url('datatables.post_init.js');
?>
"></script>
</head>
<body>
<?php
osc_current_admin_theme_path('header.php');
?>
<!-- container -->
示例15: _e
?>
<div id="update_version" style="display:none;"></div>
<div class="Header"><?php
_e('Media settings');
?>
</div>
<div id="content">
<div id="separator"></div>
<?php
osc_current_admin_theme_path('include/backoffice_menu.php');
?>
<div id="right_column">
<div id="content_header" class="content_header">
<div style="float: left;">
<img src="<?php
echo osc_current_admin_theme_url('images/media-config-icon.png');
?>
" title="" alt=""/>
</div>
<div id="content_header_arrow">» <?php
_e('Configure media');
?>
</div>
<div style="clear: both;"></div>
</div>
<div id="content_separator"></div>
<?php
osc_show_flash_message('admin');
?>
<div style="border: 1px solid #ccc; background: #eee;">
<div style="padding: 20px;">