PageRenderTime 89ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

/administrator/components/com_imageshow/views/cpanel/tmpl/default.php

https://gitlab.com/Yishagerew/GDA
PHP | 143 lines | 127 code | 4 blank | 12 comment | 5 complexity | 2e30db6f715a18f4f04fd68a5c4b4e0b MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1, MIT
  1. <?php
  2. /**
  3. * @version $Id: default.php 17065 2012-10-16 04:06:37Z giangnd $
  4. * @package JSN.ImageShow
  5. * @author JoomlaShine Team <support@joomlashine.com>
  6. * @copyright Copyright (C) 2012 JoomlaShine.com. All Rights Reserved.
  7. * @license GNU/GPL v2 or later http://www.gnu.org/licenses/gpl-2.0.html
  8. *
  9. * Websites: http://www.joomlashine.com
  10. * Technical Support: Feedback - http://www.joomlashine.com/contact-us/get-support.html
  11. */
  12. // No direct access to this file
  13. defined('_JEXEC') or die('Restricted access');
  14. $session = JFactory::getSession();
  15. $identifier = md5('jsn_imageshow_downloasource_identify_name');
  16. $session->set($identifier, '', 'jsnimageshowsession');
  17. // Display messages
  18. if (JRequest::getInt('ajax') != 1)
  19. {
  20. echo $this->msgs;
  21. }
  22. $objJSNUtils = JSNISFactory::getObj('classes.jsn_is_utils');
  23. $products = $objJSNUtils->getCurrentElementsOfImageShow();
  24. ?>
  25. <!--[if IE 7]>
  26. <link rel="stylesheet" type="text/css" href="components/com_imageshow/assets/css/fixie7.css">
  27. <![endif]-->
  28. <script type="text/javascript">
  29. var baseUrl = '<?php echo JURI::root(); ?>';
  30. </script>
  31. <div id="jsn-launchpad" class="jsn-cpanel-container jsn-bootstrap">
  32. <div class="jsn-launchpad-option jsn-section">
  33. <div class="jsn-badge-large">1</div>
  34. <div class="jsn-pane pane-default">
  35. <h3 class="jsn-section-header">
  36. <?php echo JText::_('CPANEL_CPANEL_SHOWLIST'); ?>
  37. </h3>
  38. <div class="jsn-section-content">
  39. <p>
  40. <?php echo JText::_('CPANEL_SETUP_WHAT_IMAGES_TO_BE_SHOWN_IN_THE_GALLERY'); ?>
  41. </p>
  42. <div class="control-group clearfix">
  43. <?php echo $this->lists['showlist']; ?>
  44. <div class="jsn-iconbar pull-left">
  45. <a href="javascript:void(0);" id="edit-showlist" target=""
  46. rel='{"title": "<?php echo $this->objJSNUtils->escapeSpecialString(JText::_('CPANEL_SHOWLIST_SETTINGS')); ?>"}'
  47. class="disabled"
  48. title="<?php echo $this->objJSNUtils->escapeSpecialString(JText::_('CPANEL_YOU_MUST_SELECT_SOME_SHOWLIST_TO_EDIT')); ?>">
  49. <i class="jsn-icon24 jsn-icon-pencil"></i> </a>
  50. <?php
  51. if ($this->totalShowlist >= 3 && strtolower(JSN_IMAGESHOW_EDITION) == 'free')
  52. {
  53. ?>
  54. <a href="javascript: void(0);" id="cannot-add-showlist"
  55. rel='{"title": "<?php echo $this->objJSNUtils->escapeSpecialString(JText::_('CPANEL_UPGRADE_TO_PRO_EDITION_FOR_MORE')); ?>", "content": "<?php echo $this->objJSNUtils->escapeSpecialString(JText::sprintf('SHOWLIST_YOU_HAVE_REACHED_THE_LIMITATION_OF_3_SHOWLISTS_IN_FREE_EDITION', '<a href="' . JSN_IMAGESHOW_UPGRADE_LINK . '" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only">' . JText::_('UPGRADE_TO_PRO_EDITION') . '</a>')); ?>"}'
  56. title="<?php echo $this->objJSNUtils->escapeSpecialString(JText::_('CPANEL_CREATE_NEW_SHOWCASE')); ?>">
  57. <i class="jsn-icon24 jsn-icon-plus"></i> </a>
  58. <?php
  59. }
  60. else
  61. {
  62. ?>
  63. <a
  64. href="index.php?option=com_imageshow&controller=showlist&task=add&tmpl=component"
  65. id="add-showlist"
  66. rel='{"title": "<?php echo $this->objJSNUtils->escapeSpecialString(JText::_('CPANEL_SHOWLIST_SETTINGS')); ?>"}'
  67. title="<?php echo $this->objJSNUtils->escapeSpecialString(JText::_('CPANEL_CREATE_NEW_SHOWLIST')); ?>">
  68. <i class="jsn-icon24 jsn-icon-plus"></i> </a>
  69. <?php
  70. }
  71. ?>
  72. <a href="index.php?option=com_imageshow&controller=showlist"
  73. target="_blank"
  74. title="<?php echo $this->objJSNUtils->escapeSpecialString(JText::_('CPANEL_SEE_ALL_SHOWLISTS')); ?>">
  75. <i class="jsn-icon24 jsn-icon-folder"></i> </a>
  76. </div>
  77. </div>
  78. </div>
  79. </div>
  80. </div>
  81. <div class="jsn-launchpad-option jsn-section">
  82. <div class="jsn-badge-large">2</div>
  83. <div class="jsn-pane pane-default">
  84. <h3 class="jsn-section-header">
  85. <?php echo JText::_('CPANEL_CPANEL_SHOWCASE'); ?>
  86. </h3>
  87. <div class="jsn-section-content">
  88. <p>
  89. <?php echo JText::_('CPANEL_SETUP_HOW_TO_PRESENT_IMAGES_IN_THE_GALLERY'); ?>
  90. </p>
  91. <div class="control-group clearfix">
  92. <?php echo $this->lists['showcase']; ?>
  93. <div class="jsn-iconbar pull-left">
  94. <a href="javascript:void(0);" id="edit-showcase" target=""
  95. rel='{"title": "<?php echo $this->objJSNUtils->escapeSpecialString(JText::_('CPANEL_SHOWCASE_SETTINGS')); ?>"}'
  96. class="disabled"
  97. title="<?php echo $this->objJSNUtils->escapeSpecialString(JText::_('CPANEL_YOU_MUST_SELECT_SOME_SHOWCASE_TO_EDIT')); ?>">
  98. <i class="jsn-icon24 jsn-icon-pencil"></i> </a>
  99. <a
  100. href="index.php?option=com_imageshow&controller=showcase&task=add&tmpl=component"
  101. id="add-showcase"
  102. rel='{"title": "<?php echo $this->objJSNUtils->escapeSpecialString(JText::_('CPANEL_SHOWCASE_SETTINGS')); ?>"}'
  103. title="<?php echo $this->objJSNUtils->escapeSpecialString(JText::_('CPANEL_CREATE_NEW_SHOWCASE')); ?>">
  104. <i class="jsn-icon24 jsn-icon-plus"></i> </a>
  105. <a href="index.php?option=com_imageshow&controller=showcase"
  106. target="_blank"
  107. title="<?php echo $this->objJSNUtils->escapeSpecialString(JText::_('CPANEL_SEE_ALL_SHOWCASES')); ?>">
  108. <i class="jsn-icon24 jsn-icon-folder"></i> </a>
  109. </div>
  110. </div>
  111. </div>
  112. </div>
  113. </div>
  114. <div class="jsn-launchpad-action jsn-section">
  115. <div class="jsn-badge-large">3</div>
  116. <div class="jsn-pane pane-info">
  117. <h3 class="jsn-section-header">
  118. <?php echo JText::_('CPANEL_PRESENTATION'); ?>
  119. </h3>
  120. <div class="jsn-section-content">
  121. <p>
  122. <?php echo JText::_('CPANEL_CONFIGURE_HOW_TO_PRESENT_THE_GALLERY'); ?>
  123. </p>
  124. <div class="control-group">
  125. <?php echo $this->lists['presentationMethods']; ?>
  126. <?php echo $this->lists['menu']; ?>
  127. <a href="javascript:void(0);" class="btn disabled"
  128. title="<?php echo $this->objJSNUtils->escapeSpecialString(JText::_('CPANEL_GO')); ?>"
  129. id="jsn-go-link"><?php echo JText::_('CPANEL_GO'); ?> </a> <a
  130. rel='{"size": {"x": 500, "y": 450}, "buttons": {"ok": false, "close": true}}'
  131. class="btn disabled jsn-is-modal" id="jsn-go-link-modal"
  132. title="<?php echo $this->objJSNUtils->escapeSpecialString(JText::_('CPANEL_GO')); ?>"><?php echo JText::_('CPANEL_GO'); ?>
  133. </a>
  134. </div>
  135. </div>
  136. </div>
  137. </div>
  138. </div>
  139. <?php JSNHtmlGenerate::footer($products); ?>