[svn r15277] New templates added. (see FS#2525)

skala
Julio Montoya 18 years ago
parent 0e646dc740
commit 8a7997b0a3
  1. BIN
      main/default_course_document/images/dialogs/border-bottom-right.png
  2. BIN
      main/default_course_document/images/dialogs/border-bottom.jpg
  3. BIN
      main/default_course_document/images/dialogs/border-top.jpg
  4. BIN
      main/default_course_document/images/dialogs/dialog_elastic_left_border-left.png
  5. BIN
      main/default_course_document/images/dialogs/dialog_elastic_left_border-right.png
  6. BIN
      main/default_course_document/images/dialogs/dialog_elastic_right_border-left.png
  7. BIN
      main/default_course_document/images/dialogs/dialog_elastic_right_border-right.png
  8. BIN
      main/default_course_document/images/dialogs/dialog_elastictop_left_.png
  9. BIN
      main/default_course_document/images/dialogs/dialog_elastictop_right_.png
  10. BIN
      main/default_course_document/images/dialogs/dialog_left_500x500.png
  11. BIN
      main/default_course_document/images/dialogs/dialog_right_500x500.png
  12. BIN
      main/default_course_document/images/dialogs/height_500px.png
  13. BIN
      main/default_course_document/images/dialogs/width_500px.png
  14. BIN
      main/default_course_document/images/help.png
  15. BIN
      main/default_course_document/images/logo.png
  16. 38
      main/default_course_document/themes/elegant.css
  17. BIN
      main/default_course_document/themes/images/help.png
  18. 6
      main/inc/lib/fckeditor/editor/dialog/fck_template.html
  19. 28
      main/inc/lib/fckeditor/editor/fckdialogframe.html
  20. 1059
      main/inc/lib/fckeditor/fcktemplates.xml.php
  21. 5
      main/newscorm/lp_add_item.php
  22. 9
      main/newscorm/lp_edit_item.php

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

@ -0,0 +1,38 @@
@charset "UTF-8";
/* CSS Document */
body{
background-repeat:no-repeat;
background-position:right;
background-position:bottom;
}
#course-content
{
min-height:500px;
margin:1em;
}
#course-content h1,h2,h3,h4{
font-family:Arial, Helvetica, sans-serif;
}
.tip{
-moz-border-radius:1em;
border:1px solid black;
border:1px 2px 2px 1px;
background:#F5F5B5;
padding:1em;
padding-left:40px;
background-image:url(../images/help.png) left;
}
.dial_horizontal
{
border:3px 0px black;
}
.dial_vert
{
border:0px 3px black;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

@ -15,6 +15,7 @@
*
* File Authors:
* Frederico Caldeira Knabben (fredck@fckeditor.net)
* Julio Montoya Armas (template's changes)
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
@ -27,12 +28,12 @@
/* border: #dcdcdc 2px solid; */
background-color: #ffffff;
overflow: auto;
width: 90%;
width: 100%;
}
.TplItem
{
margin: 5px;
margin: 3px;
padding: 0px;
border: #eeeeee 0px solid;
text-align:right;
@ -184,7 +185,6 @@ function SelectTemplate( index )
{
oEditor.FCKUndo.SaveUndoStep() ;
FCK.SetHTML( FCK._Templates[index].Html ) ;
window.parent.Cancel() ;
}
</script>

@ -15,6 +15,7 @@
*
* File Authors:
* Frederico Caldeira Knabben (fredck@fckeditor.net)
* Julio Montoya Armas (template's changes)
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
@ -32,7 +33,7 @@ if ( !window.dialogArguments )
}
// Dialog's size
var WindowSize= '500px';
var WindowSize= '580px';
// Sets the Skin CSS
document.write( '<link href="' + window.dialogArguments.Editor.FCKConfig.SkinPath + 'fck_dialog.css" type="text/css" rel="stylesheet">' ) ;
@ -113,26 +114,6 @@ function RefreshSize()
}
}
function Ok()
{
if ( window.frames["frmMain"].Ok && window.frames["frmMain"].Ok() )
Cancel() ;
}
function Cancel()
{
// we hide the DIV
//window.parent.document.getElementById('frmModel').style.display='none';
}
function Hide()
{
// we hide the DIV
window.parent.document.getElementById('frmModel').style.display='none';
// window.parent.document.getElementById('content___Frame').width='100%';
}
// Object that holds all available tabs.
var oTabs = new Object() ;
@ -278,8 +259,7 @@ if ( window.dialogArguments.Editor.FCKBrowserInfo.IsIE )
}
window.attachEvent( "onbeforeunload", Window_OnBeforeUnload ) ;
}
</script>
</script>
</head>
<body onload="LoadInnerDialog();" class="PopupBody">
<table height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
@ -291,7 +271,7 @@ if ( window.dialogArguments.Editor.FCKBrowserInfo.IsIE )
</td>
</tr>
<tr>
<td id="FrameCell" height="100%" valign="top">
<td id="FrameCell" border="1" height="100%" valign="top">
<iframe id="frmMain" src="fckblank.html" name="frmMain" frameborder="0" height="100%" width="100%" scrolling="auto">
</iframe>
</td>

File diff suppressed because it is too large Load Diff

@ -71,12 +71,11 @@ $htmlHeadXtra[] = '
<script type="text/javascript">
function launch_templates(){
//window.frames[0].FCKToolbarItems.GetItem("Templates").Click();
//document.getElementById(\'frmModel\').innerHTML = "<iframe height=600px; width=230; frameborder=0 src=\''.api_get_path(WEB_LIBRARY_PATH).'fckeditor/editor/fckdialogframe.html \'>";
}
function FCKeditor_OnComplete( editorInstance )
{
document.getElementById(\'frmModel\').innerHTML = "<iframe height=600px; width=230; frameborder=0 src=\''.api_get_path(WEB_LIBRARY_PATH).'fckeditor/editor/fckdialogframe.html \'>";
document.getElementById(\'frmModel\').innerHTML = "<iframe height=600px; width=230px; frameborder=0 src=\''.api_get_path(WEB_LIBRARY_PATH).'fckeditor/editor/fckdialogframe.html \'>";
}
function InnerDialogLoaded()
@ -225,7 +224,7 @@ echo '<table cellpadding="0" cellspacing="0" class="lp_build">';
echo '</div>';
echo '<div class="lp_tree" style="height:90%">';
echo '<div class="lp_tree" style="height:50%">';
//build the tree with the menu items in it
echo $_SESSION['oLP']->build_tree();
echo '</div>';

@ -70,12 +70,11 @@ $htmlHeadXtra[] = '
<script type="text/javascript">
function launch_templates(){
//window.frames[0].FCKToolbarItems.GetItem("Templates").Click();
}
}
function FCKeditor_OnComplete( editorInstance )
{
document.getElementById(\'frmModel\').innerHTML = "<iframe height=600px; width=230; frameborder=0 src=\''.api_get_path(WEB_LIBRARY_PATH).'fckeditor/editor/fckdialogframe.html \'>";
document.getElementById(\'frmModel\').innerHTML = "<iframe height=600px; width=230px; frameborder=0 src=\''.api_get_path(WEB_LIBRARY_PATH).'fckeditor/editor/fckdialogframe.html \'>";
}
function InnerDialogLoaded()
@ -84,10 +83,6 @@ function InnerDialogLoaded()
return B.ClickFrame();
};
</script>';
$htmlHeadXtra[] = $_SESSION['oLP']->create_js();
/*

Loading…
Cancel
Save