style_preview.php 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. <?php
  2. /* For licensing terms, see /chamilo_license.txt */
  3. // @deprecated This page is not used
  4. exit;
  5. $language_file = array('create_course', 'courses', 'admin');
  6. require_once '../inc/global.inc.php';
  7. // Setting the section (for the tabs).
  8. $this_section = SECTION_PLATFORM_ADMIN;
  9. // Access restriction.
  10. api_protect_admin_script();
  11. // Manipulation of the platform-wide css setting.
  12. if (isset($_GET['style']) && $_GET['style'] != '') {
  13. $_setting['stylesheets'] = Security::remove_XSS($_GET['style']);
  14. }
  15. // Hiding the link "Teacher/Student view", it is not needed to be shown here.
  16. $_setting['student_view_enabled'] = 'false';
  17. require_once api_get_path(INCLUDE_PATH).'header.inc.php';
  18. $week_days_short = api_get_week_days_short();
  19. $months_long = api_get_months_long();
  20. ?>
  21. <div class="maincontent" id="content">
  22. <h3><?php echo get_lang('Title'); ?></h3>
  23. <div id="courseintro">
  24. <p><?php echo get_lang('IntroductionText'); ?></p>
  25. </div>
  26. <div id="courseintro_icons">
  27. <a href="#"><?php Display::display_icon('edit.gif', get_lang('Edit')); ?></a><a href="#"><?php Display::display_icon('delete.gif', get_lang('Delete')); ?></a></div>
  28. <div class="normal-message">Normal Message</div>
  29. <div class="confirmation-message">Confirmation Message</div>
  30. <div class="warning-message">Warning Message</div>
  31. <div class="error-message">Error Message</div>
  32. <table width="750">
  33. <tr>
  34. <td>
  35. <table>
  36. <tr>
  37. <td width="220">
  38. <table id="smallcalendar" class="data_table">
  39. <tr id="title">
  40. <td width="10%"><a href="#"><?php Display::display_icon('action_prev.png'); ?></a></td>
  41. <td width="80%" colspan="5" align="center"><?php echo $months_long[6]; ?> 2010</td>
  42. <td width="10%"><a href="#"><?php Display::display_icon('action_next.png'); ?></a></td>
  43. </tr>
  44. <tr>
  45. <td class="weekdays"><?php echo $week_days_short[1]; ?></td>
  46. <td class="weekdays"><?php echo $week_days_short[2]; ?></td>
  47. <td class="weekdays"><?php echo $week_days_short[3]; ?></td>
  48. <td class="weekdays"><?php echo $week_days_short[4]; ?></td>
  49. <td class="weekdays"><?php echo $week_days_short[5]; ?></td>
  50. <td class="weekdays"><?php echo $week_days_short[6]; ?></td>
  51. <td class="weekdays"><?php echo $week_days_short[0]; ?></td>
  52. </tr>
  53. <tr>
  54. <td>&nbsp;</td>
  55. <td>&nbsp;</td>
  56. <td>&nbsp;</td>
  57. <td>&nbsp;</td>
  58. <td>&nbsp;</td>
  59. <td>&nbsp;</td>
  60. <td class="days_weekend">1</td>
  61. </tr>
  62. <tr>
  63. <td class="days_week">2</td>
  64. <td class="days_week">3</td>
  65. <td class="days_week">4</td>
  66. <td class="days_week">5</td>
  67. <td class="days_week">6</td>
  68. <td class="days_weekend">7</td>
  69. <td class="days_weekend">8</td>
  70. </tr>
  71. <tr>
  72. <td class="days_week">9</td>
  73. <td class="days_week">10</td>
  74. <td class="days_week">11</td>
  75. <td class="days_week">12</td>
  76. <td class="days_week">13</td>
  77. <td class="days_weekend">14</td>
  78. <td class="days_weekend">15</td>
  79. </tr>
  80. <tr>
  81. <td class="days_week">16</td>
  82. <td class="days_week">17</td>
  83. <td class="days_week">18</td>
  84. <td class="days_week">19</td>
  85. <td class="days_week">20</td>
  86. <td class="days_weekend">21</td>
  87. <td class="days_weekend">22</td>
  88. </tr>
  89. <tr>
  90. <td class="days_week">23</td>
  91. <td class="days_today">24</td>
  92. <td class="days_week">25</td>
  93. <td class="days_week">26</td>
  94. <td class="days_week">27</td>
  95. <td class="days_weekend">28</td>
  96. <td class="days_weekend">29</td>
  97. </tr>
  98. <tr>
  99. <td class="days_week">30</td>
  100. <td class="days_week">31</td>
  101. <td>&nbsp;</td>
  102. <td>&nbsp;</td>
  103. <td>&nbsp;</td>
  104. <td>&nbsp;</td>
  105. <td>&nbsp;</td>
  106. </tr>
  107. </table>
  108. </td>
  109. </tr>
  110. </table>
  111. </td>
  112. <td width="500">
  113. <table width="100%">
  114. <tr>
  115. <td></td>
  116. <td align="right"></td>
  117. </tr>
  118. </table>
  119. <table class="data_table" style="width: 250px;">
  120. <tr>
  121. <th style="width: 50%;"><a href="#"><?php echo get_lang('FirstName'); ?></a>&nbsp;&#8595; </th>
  122. <th><a href="#"><?php echo get_lang('LastName'); ?></a></th>
  123. </tr>
  124. <tr class="row_odd">
  125. <td>Julio</td>
  126. <td>Montoya</td>
  127. </tr>
  128. <tr class="row_even">
  129. <td>Yannick</td>
  130. <td>Warnier</td>
  131. </tr>
  132. </table>
  133. <table width="100%">
  134. <tr>
  135. <td></td>
  136. <td align="right"></td>
  137. </tr>
  138. </table>
  139. </td>
  140. </tr>
  141. </table>
  142. </div>
  143. <div class="menu" id="menu">
  144. <form action="#" method="post" id="formLogin" name="formLogin"><br />
  145. <label><?php echo get_lang('UserName'); ?></label><br />
  146. <input type="text" name="login" id="login" size="15" value="" /><br />
  147. <label><?php echo get_lang('Password'); ?></label><br />
  148. <input type="password" name="password" id="password" size="15" /><br />
  149. <button class="login" type="submit" name="submitAuth"disabled="disabled" ><?php echo get_lang('LoginEnter'); ?></button>
  150. <div class="clear">
  151. &nbsp;
  152. </div>
  153. </form>
  154. <div class="menusection"><span class="menusectioncaption"><?php echo get_lang('User'); ?></span>
  155. <ul class="menulist">
  156. <li><a href="#"><?php echo get_lang('CourseManagement'); ?></a></li>
  157. <li><a href="#"><?php echo get_lang('CourseCreate'); ?></a></li>
  158. </ul>
  159. </div>
  160. <div class="note"><b>Example notice</b><br />
  161. To modify this notice, go to the administration area of the portal.</div>
  162. </div>
  163. <?php
  164. Display::display_footer();
  165. ?>