Advertisement
gerganadimowa

OMFA demo vQmod script

Mar 13th, 2013
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.75 KB | None | 0 0
  1. <modification>
  2. <id>Extension admin panel demo</id>
  3. <version>1.0.0</version>
  4. <vqmver>2.1.5</vqmver>
  5. <author>omframework.com</author>
  6. <!--
  7.  
  8.         Preeneter your demo username and pass so that the you
  9.         save your users the need to remember them or type them.
  10.    
  11. -->
  12. <file name="admin/view/template/common/login.tpl">
  13. <operation>
  14. <search>
  15. <![CDATA[ <?php echo $username; ?> ]]>
  16. </search>
  17. <add>
  18. <![CDATA[ demo ]]>
  19. </add>
  20. </operation>
  21. <operation>
  22. <search>
  23. <![CDATA[ <?php echo $password; ?> ]]>
  24. </search>
  25. <add>
  26. <![CDATA[ demo ]]>
  27. </add>
  28. </operation>
  29. </file>
  30. <!--
  31.  
  32.         Redirect directly to the settings of your extension.
  33.    
  34. -->
  35. <file name="admin/controller/common/login.php">
  36. <operation>
  37. <search>
  38. <![CDATA[ common/home ]]>
  39. </search>
  40. <add>
  41. <![CDATA[ module/omfa ]]>
  42. </add>
  43. </operation>
  44. </file>
  45. <!--
  46.         Hide unneeded elements from the admin menu
  47.      -->
  48. <file name="admin/view/template/common/header.tpl">
  49. <operation>
  50. <search>
  51. <![CDATA[ id="dashboard" ]]>
  52. </search>
  53. <add>
  54. <![CDATA[ id="dashboard" style="display:none" ]]>
  55. </add>
  56. </operation>
  57. <operation>
  58. <search>
  59. <![CDATA[ id="catalog" ]]>
  60. </search>
  61. <add>
  62. <![CDATA[ id="catalog" style="display:none" ]]>
  63. </add>
  64. </operation>
  65. <operation>
  66. <search>
  67. <![CDATA[ id="sale" ]]>
  68. </search>
  69. <add>
  70. <![CDATA[ id="sale" style="display:none" ]]>
  71. </add>
  72. </operation>
  73. <operation>
  74. <search>
  75. <![CDATA[ id="reports" ]]>
  76. </search>
  77. <add>
  78. <![CDATA[ id="reports" style="display:none" ]]>
  79. </add>
  80. </operation>
  81. <operation>
  82. <search>
  83. <![CDATA[ id="system" ]]>
  84. </search>
  85. <add>
  86. <![CDATA[ id="system" style="display:none" ]]>
  87. </add>
  88. </operation>
  89. <operation>
  90. <search>
  91. <![CDATA[ id="help" ]]>
  92. </search>
  93. <add>
  94. <![CDATA[ id="help" style="display:none" ]]>
  95. </add>
  96. </operation>
  97. </file>
  98. </modification>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement