git-svn-id: http://xe-core.googlecode.com/svn/trunk@1850 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-07-03 13:10:40 +00:00
parent a0526f8485
commit bc3fba33b2
231 changed files with 2671 additions and 2132 deletions

166
common/css/button.css Normal file
View file

@ -0,0 +1,166 @@
/*
http://www.hedgerwow.com/360/dhtml/css-round-button/demo.php
*/
a.button, span.button, del.button {
display:-moz-inline-box;
display:inline-block;
cursor:pointer;
border:none;
font-size:0;
line-height:0;
/*
for Safari, read this first
http://creativebits.org/webdev/safari_background_repeat_bug_fix
*/
background-position:0 -3px;
background-repeat:no-repeat;
height:24px;
text-decoration:none;
color:#2e523b;
font-style:normal;
margin:0 6px 0px 0;
padding:0 10px 0 0;
vertical-align:middle;
padding-top:-2px;
_position:relative;
_width:10px;
_overflow-y:hidden;
}
a.button, span.button, del.button, a.button span, span.button button, span.button input, del.button span {
background-image:url(../tpl/images/form_buttons.png);
_background-image:url(../tpl/images/form_buttons.gif);
}
a.button span, span.button button, span.button input, del.button span {
white-space:nowrap;
cursor:pointer;
color:#222;
display:-moz-inline-box;
display:inline-block;
line-height:1;
letter-spacing:0 !important;
font-size:12px !important;
font-style:normal;
background-color:transparent;
background-position:100% -3px;
background-repeat:no-repeat;
height:24px;
padding:4px 10px 0 4px;
margin:0 -16px 0 7px;
border:none;
vertical-align:text-top;
zoom:1;
_position:relative;
_padding-left:0px;
_padding-right:10px;
_padding-top:6px;
_margin-right:-10px;
_margin-left:6px;
_display:block;
_top:0;
_right:-5px;
}
*:first-child+html a.button span, span.button button, span.button input, del.button span { padding-top:6px; }
span.button button {
line-height:2.5;/*Opera need this*/
}
html.safari a.button span, html.safari del.button span {
line-height:1.3;
}
html.safari span.button button {
line-height:2.6;
}
html.safari a.button:focus, html.safari span.button button:focus {
outline:none;
}
del.button{
/* cursor:not-allowed; */
background-position:0 -123px;
}
del.button span {
cursor:default;
color:#aaa !important;
background-position:100% -123px;
}
span.button button, span.button input {
padding-top:0px;
line-height:2.5;/*Opera need this*/
}
/** optional **/
/*
a.button:visited{
color:#aaa;
}
*/
/*Hover Style*/
a.button:hover, span.button:hover, a.button:focus, a.dom-button-focus, span.button-behavior-hover {
background-position:0 -63px;
color:#222;
text-decoration:none;
}
a.button:hover span, span.button:hover button, a.button:focus span, span.button-behavior-hover button, span.button-behavior-hover input {
background-position:100% -63px;
}
a.button:active, a.button:focus span {
color:#444;
}
del.button-behavior-hover, del.button:hover {
background-position:0 -183px;
/* cursor:not-allowed; */
}
del.button-behavior-hover span, del.button:hover span {
background-position:100% -183px;
/* cursor:not-allowed; */
}
/*Optional hack for IE6 to simulate :hover selector*/
span.button button, del.button span, span.button input {
_behavior:expression(
(function(el){
if( typeof( behavior_onMouseEnter) == 'undefined'){
behavior_onMouseEnter = function(el) {
var dEl = this.parentNode;
var sClass = dEl.className ;
dEl.__defaultClassName = sClass ;
dEl.className = sClass + ' button-behavior-hover';
this.setCapture();
};
behavior_onMouseLeave = function(el) {
var dEl = this.parentNode;
dEl.className = dEl.__defaultClassName ;
dEl.__defaultClassName = undefined;
this.releaseCapture();
};
};
el.runtimeStyle.behavior = 'none';
el.onmouseenter = behavior_onMouseEnter;
el.onmouseleave = behavior_onMouseLeave;
}
)(this));
}

View file

@ -3,7 +3,7 @@
/*
Used Hack
IE6 & Below
{ property:value; _property:value;}
{ property:value; _property:value; }
IE7 Only
*:first-child+html #selector
IE7 & IE6 & Below
@ -12,58 +12,64 @@ IE7 & IE6 & Below
*/
/* Special Class Selector */
.fr { float:right;}
.fl { float:left;}
.fr { float:right; }
.fl { float:left; }
.clear { clear:both; }
.fwB { font-weight:bold;}
.tCenter { text-align:center; }
.tRight { text-align:right; }
.tLeft { text-align:left; }
.gap1 { margin-top:.8em; }
/* default.css - Type Selector Definition */
* { margin:0; padding:0; }
html, body { }
html { width:100%; position:relative;}
body { font-size:.75em; margin:0;}
img { border:none;}
label { cursor:pointer;}
/*select { height:1.6em;}*/
option { padding-right:.5em;}
li { list-style:none;}
a { text-decoration:none;}
a:hover { text-decoration:underline;}
address { font-style:normal;}
body { margin:0; font-size:.75em;}
img { border:none; }
label { cursor:pointer; }
form { margin:0; padding:0; }
.iePngFix { behavior:url(./common/js/iePngFix.htc);}
input,textarea,button { font-size:1em; }
.iePngFix { behavior:url(./common/js/iePngFix.htc); }
/* Input Style Definition */
.inputTypeText { border:1px solid; border-color:#a6a6a6 #d8d8d8 #d8d8d8 #a6a6a6; padding:3px; height:1em; line-height:1em; background:#ffffff;}
.inputTypeText { border:1px solid; border-color:#a6a6a6 #d8d8d8 #d8d8d8 #a6a6a6; padding:3px; height:1.2em; line-height:1em; background:#ffffff; font-size:1em;}
.inputTypeText:hover,
.inputTypeText:focus { background:#f4f4f4;}
.inputTypeTextArea { border:1px solid !important; border-color:#a6a6a6 #d8d8d8 #d8d8d8 #a6a6a6 !important; padding:3px; background:#ffffff;}
.inputTypeText:focus { background:#f4f4f4; }
.inputTypeTextArea { border:1px solid !important; border-color:#a6a6a6 #d8d8d8 #d8d8d8 #a6a6a6 !important; padding:3px; background:#ffffff; }
.w40 { width:40px; }
.w60 { width:60px; }
.w80 { width:80px; }
.w100 { width:100px; }
.w120 { width:120px; }
.w140 { width:140px; }
.w200 { width:200px; }
.w300 { width:300px; }
.w400 { width:400px; }
/* editor style */
a.bold { font-weight:bold; }
.editor_blue_text { color: #145ff9; text-decoration:none; border-bottom:2px solid #4a7fec;}
.editor_red_text { color: #f42126; text-decoration:none; border-bottom:2px solid #e54347;}
.editor_yellow_text { color: #c9bd00; text-decoration:none; border-bottom:2px solid #ece460;}
.editor_green_text { color: #08830B; text-decoration:none; border-bottom:2px solid #08830B;}
.editor_blue_text { color: #145ff9; text-decoration:none; border-bottom:2px solid #4a7fec; }
.editor_red_text { color: #f42126; text-decoration:none; border-bottom:2px solid #e54347; }
.editor_yellow_text { color: #c9bd00; text-decoration:none; border-bottom:2px solid #ece460; }
.editor_green_text { color: #08830B; text-decoration:none; border-bottom:2px solid #08830B; }
.folder_opener { display: block; }
.folder_closer { display: none; }
.folder_area { display: none; }
.zbxe_widget_output { background:url(../tpl/images/widget.gif) no-repeat center; background-color:#FFFFFF; border:3px dotted #039311; display:block; }
.member_signature { margin-top:10px; border:1px solid #DDDDDD; padding:10px; }
#waitingforserverresponse { display:inline; border:2px solid #444444; background-color:#FFFFFF; padding:15px 20px 13px 20px; font-weight:bold; font-size:9pt; color:#444444; top:40px; left:40px; position:absolute; z-index:100; visibility:hidden; }
#waitingforserverresponse { display:inline; border:2px solid #444444; background-color:#FFFFFF; padding:15px 20px 13px 20px; font-weight:bold; color:#444444; top:40px; left:40px; position:absolute; z-index:100; visibility:hidden; }
#fororiginalimageareabg { z-index:1001; background-color:#FFFFFF; width:100%; height:100%; top:0px; left:0px; position:relative; padding:20px 10px 10px 10px; border:8px solid #DDDDDD; }
#fororiginalimagearea { visibility:hidden; padding:0px; margin:0px; width:100%; height:100%; top:0px; left:0px; position:absolute; z-index:1000; text-align:left; overflow:hidden; }
#fororiginalimage { z-index:1002; }
#closeOriginalImageBtn { position:absolute; right:8px; top:5px; cursor:pointer; width:50px; height:12px; z-index:1003; }
#membermenuarea { position:absolute; left:0px; top:0px; z-index:1003; visibility:hidden; border:1px solid #555555; background-color:#FFFFFF; padding:2px; width:110px; }
#membermenuarea .item { color:#353249; cursor:pointer; padding:3px 2px 1px 18px; height:17px; margin-left:2px; }
#membermenuarea .item_on { color:#2911B8; font-weight:bold; letter-spacing:-1px; cursor:pointer; padding:3px 2px 1px 18px; height:17px; margin-left:2px; }

View file

@ -246,7 +246,6 @@ function setFixedPopupSize() {
xGetElementById('popBody').style.overflowX = 'hidden';
xHeight('popBody', 600);
}
}
var w = xWidth("popup_content");
@ -270,6 +269,8 @@ function setFixedPopupSize() {
var h1 = xHeight(window.document.body);
window.resizeBy(0,h-h1);
window.scrollTo(0,0);
}
/**

214
common/lang/en.lang.php Normal file
View file

@ -0,0 +1,214 @@
<?php
/**
* @file common/lang/en.lang.php
* @author zero (zero@nzeo.com)
* @brief English Language Pack (Only basic words are included here)
**/
// words for action, which is basically used
$lang->cmd_write = 'Write';
$lang->cmd_reply = 'Reply';
$lang->cmd_delete = 'Delete';
$lang->cmd_modify = 'Modify';
$lang->cmd_edit = 'Edit';
$lang->cmd_view = 'View';
$lang->cmd_view_all = 'View All';
$lang->cmd_list = 'List';
$lang->cmd_prev = 'Prev';
$lang->cmd_next = 'Next';
$lang->cmd_send_trackback = 'Send Trackback';
$lang->cmd_registration = $lang->cmd_submit = 'Submit';
$lang->cmd_comment_registration = 'Add Comment';
$lang->cmd_insert = 'Insert';
$lang->cmd_save = 'Save';
$lang->cmd_input = 'Input';
$lang->cmd_search = 'Search';
$lang->cmd_cancel = 'Cancel';
$lang->cmd_back = 'Go Back';
$lang->cmd_vote = 'Vote';
$lang->cmd_move = 'Move';
$lang->cmd_move_up = 'Up';
$lang->cmd_move_down = 'Down';
$lang->cmd_add_indent = 'Indent';
$lang->cmd_remove_indent = 'Outdent';
$lang->cmd_management = 'Manage';
$lang->cmd_make = 'Create';
$lang->cmd_select = 'Select';
$lang->cmd_select_all = 'Select All';
$lang->cmd_unselect_all = 'Deselect All';
$lang->cmd_close_all = 'Close All';
$lang->cmd_open_all = 'Open All';
$lang->cmd_reload = 'Reload';
$lang->cmd_close = 'Close';
$lang->cmd_open = 'Open';
$lang->cmd_setup = 'Configure';
$lang->cmd_apply = 'Apply';
$lang->cmd_open_calendar = 'Select a Date';
$lang->cmd_send = 'Send';
$lang->enable = 'Enable';
$lang->disable = 'Disable';
// Essencial Words
$lang->no = 'No';
$lang->notice = 'Notice';
$lang->secret = 'Secret';
$lang->category = 'Category';
$lang->document_srl = 'Doc. No.';
$lang->user_id = 'ID';
$lang->author = 'Author';
$lang->password = 'Password';
$lang->password1 = 'Password';
$lang->password2 = 'Confirm Password';
$lang->admin_id = 'Admin ID';
$lang->writer = 'Writer';
$lang->user_name = 'User Name';
$lang->nick_name = 'Nick Name';
$lang->email_address = 'Email';
$lang->homepage = 'Homepage';
$lang->blog = 'Blog';
$lang->birthday = 'Birthdate';
$lang->browser_title = 'Browser Title';
$lang->title = 'Title';
$lang->title_content = 'Title+Content';
$lang->content = 'Content';
$lang->document = 'Entry';
$lang->comment = 'Comment';
$lang->description = 'Description';
$lang->trackback = 'Trackback';
$lang->tag = 'Tag';
$lang->allow_comment = 'Allow Comment';
$lang->lock_comment = 'Lock Comment';
$lang->allow_trackback = 'Allow Trackback';
$lang->uploaded_file = 'Attachment';
$lang->grant = 'Authority';
$lang->target = 'Target';
$lang->total = 'Total';
$lang->total_count = 'Count Total';
$lang->ipaddress = 'IP Address';
$lang->path = 'Path';
$lang->cart = 'Selected Item';
$lang->friend = 'Friends';
$lang->mid = 'Module Name';
$lang->layout = 'Layout';
$lang->widget = 'Widget';
$lang->module = 'Module';
$lang->skin = 'Theme';
$lang->colorset = 'Colorset';
$lang->extra_vars = 'Extra Vars';
$lang->document_url = 'Entry URL';
$lang->trackback_url = 'Trackback URL';
$lang->blog_name = 'Blog Title';
$lang->excerpt = 'Quotation';
$lang->document_count = 'Entry Count';
$lang->page_count = 'Page Count';
$lang->list_count = 'List Count';
$lang->readed_count = 'Count Referred';
$lang->voted_count = 'Count Voted';
$lang->member_count = 'Member Count';
$lang->date = 'Date';
$lang->regdate = 'Date Published';
$lang->last_update = 'Last Update';
$lang->signup_date = 'Signup Date';
$lang->last_login = 'Last Login';
$lang->first_page = 'First Page';
$lang->last_page = 'Last Page';
$lang->search_target = 'Searching Target';
$lang->search_keyword = 'Searching Keyword';
$lang->is_default = 'Default';
$lang->no_documents = 'No Entries!';
$lang->board_manager = 'Board Setting';
$lang->member_manager = 'Member Setting';
$lang->layout_manager = 'Layout Setting';
$lang->use = 'Use';
$lang->notuse = 'Disuse';
$lang->not_exists = 'Not exists';
$lang->unit_sec = 'sec';
$lang->unit_min = 'min';
$lang->unit_hour = 'hr';
$lang->unit_day = 'day';
$lang->unit_week = 'week';
$lang->unit_month = 'month';
$lang->unit_year = 'year';
// Related to Description
$lang->about_tag = 'When typing tags, inserting a comma(,) between each tag allows you to input multiple tags';
$lang->about_layout = 'Layout decorates an appearance of your module. you could configure it from Layout menu on the top';
// Related to Message
$lang->msg_call_server = 'Requesting to the server, please wait';
$lang->msg_db_not_setted = 'DB configuration has not been set';
$lang->msg_invalid_queryid = 'Query ID value specified wrong';
$lang->msg_not_permitted = 'You have no permission';
$lang->msg_input_password = 'Please enter your password';
$lang->msg_invalid_document = 'Invalid Entry Number';
$lang->msg_invalid_request = 'Invalid Request';
$lang->msg_invalid_password = 'Invalid Password';
$lang->msg_error_occured = 'Error has been Occured';
$lang->msg_not_founded = 'Target could not be found';
$lang->msg_no_result = 'This search has no result';
$lang->msg_not_permitted_act = 'You are not permitted to request the action to be executed';
$lang->msg_module_is_not_exists = 'Could not find the module you requested';
$lang->msg_module_is_not_standalone = 'The module you requested could not behave independently';
$lang->success_registed = 'Successfully Registered';
$lang->success_updated = 'Successfully Updated';
$lang->success_deleted = 'Successfully Deleted';
$lang->success_voted = 'Successfully Voted';
$lang->success_moved = 'Successfully Moved';
$lang->success_sended = 'Successfully Sent';
$lang->success_reset = 'Successfully Reset';
$lang->success_leaved = 'Successfully Seceded';
$lang->fail_to_delete = 'Deletion Failed';
$lang->fail_to_move = 'Moving Failed';
$lang->failed_voted = 'Could not be voted';
$lang->fail_to_delete_have_children = 'Deletion Failed, since there are one or more replies';
$lang->confirm_submit = 'Confirm to Submit?';
$lang->confirm_logout = 'Confirm to Logout?';
$lang->confirm_vote = 'Confirm to Vote?';
$lang->confirm_delete = 'Confirm to Delete?';
$lang->confirm_move = 'Confirm to Move?';
$lang->confirm_reset = 'Confirm to Reset?';
$lang->confirm_leave = 'Confirm to Secede?';
$lang->column_type = 'Column Type';
$lang->column_type_list['text'] = 'one-line text';
$lang->column_type_list['homepage'] = 'url';
$lang->column_type_list['email_address'] = 'email';
$lang->column_type_list['tel'] = 'phone number';
$lang->column_type_list['textarea'] = 'multi-line textarea';
$lang->column_type_list['checkbox'] = 'checkbox (multiple selection)';
$lang->column_type_list['select'] = 'select box (single selection)';
$lang->column_type_list['kr_zip'] = 'zip code (Korean)';
$lang->column_type_list['date'] = 'date (yyyy/mm/dd)';
//$lang->column_type_list['jp_zip'] = 'zip code (Japanese)';
$lang->column_name = 'Column Name';
$lang->column_title = 'Column Title';
$lang->default_value = 'Default Value';
$lang->is_active = 'Present tense';
$lang->is_required = 'Required field';
// Alert messages for Javascript using by XML filter
$lang->filter->isnull = 'Input a value for %s';
$lang->filter->outofrange = 'Align the text lenghth of %s';
$lang->filter->equalto = 'Invalid value assigned for %s';
$lang->filter->invalid_email = '%s got an invalid format (eg. zbxe@zeroboard.com)';
$lang->filter->invalid_user_id = $lang->filter->invalid_userid = "%s got an invalid format.\\nIt takes English letters, numbers, and underbar(_) of which should start with English letters";
$lang->filter->invalid_homepage = '%s got an invalid format. (ex: http://www.zeroboard.com)';
$lang->filter->invalid_korean = '%s got an invalid format. Only Korean letters are accepted';
$lang->filter->invalid_korean_number = '%s got an invalid format. Only a combination of Korean letters and numbers is accepted';
$lang->filter->invalid_alpha = '%s got an invalid format. Only English letters are accepted';
$lang->filter->invalid_alpha_number = '%s got an invalid format. Only a combination of English letters and numbers is accepted';
$lang->filter->invalid_number = '%s got an invalid format. Only numbers are accepted';
?>

View file

@ -16,6 +16,7 @@
<!--@foreach(Context::getJsFile() as $key => $js_file)--><script type="text/javascript" src="{$js_file}"></script>
<!--@end--><!--@if($rss_url)--><link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="{$rss_url}" />
<!--@end--><link rel="stylesheet" href="./common/css/default.css" type="text/css" />
<link rel="stylesheet" href="./common/css/button.css" type="text/css" />
<!--@foreach(Context::getCssFile() as $key => $css_file)--><link rel="stylesheet" href="{$css_file}" type="text/css" />
<!--@end--><!--@if($module=='admin' || strpos($act,'Admin')>0)--><link rel="stylesheet" href="./modules/admin/tpl/css/admin.css" type="text/css" />
<!--@end--><script type="text/javascript">//<![CDATA[

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

View file

@ -1,6 +1,5 @@
<!--%import("css/popup.css")-->
<!--%import("../../modules/admin/tpl/css/admin.css")-->
<div id="popup_content" style="float:right;">{$content}</div>
<div id="popup_content">{$content}</div>
<script type="text/javascript">
xAddEventListener(window, 'load', setFixedPopupSize);