link. */ public function adjacent_rel_url( $link, $rel, $presentation = null ) { if ( ! $this->woocommerce_helper->is_shop_page() ) { return $link; } if ( $rel !== 'next' && $rel !== 'prev' ) { return $link; } $url = $this->get_shop_paginated_link( $rel, $presentation ); if ( $url ) { return $url; } return $link; } /** * Adds a breadcrumb for the shop page. * * @param Indexable[] $indexables The array with indexables. * * @return Indexable[] The indexables to be shown in the breadcrumbs, with the shop page added. */ public function add_shop_to_breadcrumbs( $indexables ) { $shop_page_id = $this->woocommerce_helper->get_shop_page_id(); if ( ! \is_int( $shop_page_id ) || $shop_page_id < 1 ) { return $indexables; } foreach ( $indexables as $index => $indexable ) { if ( $indexable->object_type === 'post-type-archive' && $indexable->object_sub_type === 'product' ) { $shop_page_indexable = $this->repository->find_by_id_and_type( $shop_page_id, 'post' ); if ( \is_a( $shop_page_indexable, Indexable::class ) ) { $indexables[ $index ] = $shop_page_indexable; } } } return $indexables; } /** * Returns the ID of the WooCommerce shop page when the currently opened page is the shop page. * * @param int $page_id The page id. * * @return int The Page ID of the shop. */ public function get_page_id( $page_id ) { if ( ! $this->woocommerce_helper->is_shop_page() ) { return $page_id; } return $this->woocommerce_helper->get_shop_page_id(); } /** * Handles the title. * * @param string $title The title. * @param Indexable_Presentation|null $presentation The indexable presentation. * * @return string The title to use. */ public function title( $title, $presentation = null ) { $presentation = $this->ensure_presentation( $presentation ); if ( $presentation->model->title ) { return $title; } if ( ! $this->woocommerce_helper->is_shop_page() ) { return $title; } if ( ! \is_archive() ) { return $title; } $shop_page_id = $this->woocommerce_helper->get_shop_page_id(); if ( $shop_page_id < 1 ) { return $title; } $product_template_title = $this->get_product_template( 'title-product', $shop_page_id ); if ( $product_template_title ) { return $product_template_title; } return $title; } /** * Handles the meta description. * * @param string $description The title. * @param Indexable_Presentation|null $presentation The indexable presentation. * * @return string The description to use. */ public function description( $description, $presentation = null ) { $presentation = $this->ensure_presentation( $presentation ); if ( $presentation->model->description ) { return $description; } if ( ! $this->woocommerce_helper->is_shop_page() ) { return $description; } if ( ! \is_archive() ) { return $description; } $shop_page_id = $this->woocommerce_helper->get_shop_page_id(); if ( $shop_page_id < 1 ) { return $description; } $product_template_description = $this->get_product_template( 'metadesc-product', $shop_page_id ); if ( $product_template_description ) { return $product_template_description; } return $description; } /** * Uses template for the given option name and replace the replacement variables on it. * * @param string $option_name The option name to get the template for. * @param string $shop_page_id The page id to retrieve template for. * * @return string The rendered value. */ protected function get_product_template( $option_name, $shop_page_id ) { $template = $this->options->get( $option_name ); $page = \get_post( $shop_page_id ); return $this->replace_vars->replace( $template, $page ); } /** * Get paginated link for shop page. * * @param string $rel Link relationship, prev or next or curr. * @param Indexable_Presentation|null $presentation The indexable presentation. * * @return string|null The link. */ protected function get_shop_paginated_link( $rel, $presentation = null ) { $presentation = $this->ensure_presentation( $presentation ); $permalink = $presentation->permalink; if ( ! $permalink ) { return null; } $current_page = \max( 1, $this->pagination_helper->get_current_archive_page_number() ); if ( $rel === 'curr' && $current_page === 1 ) { return $permalink; } if ( $rel === 'curr' && $current_page > 1 ) { return $this->pagination_helper->get_paginated_url( $permalink, $current_page ); } if ( $rel === 'prev' && $current_page === 2 ) { return $permalink; } if ( $rel === 'prev' && $current_page > 2 ) { return $this->pagination_helper->get_paginated_url( $permalink, ( $current_page - 1 ) ); } if ( $rel === 'next' && $current_page < $this->pagination_helper->get_number_of_archive_pages() ) { return $this->pagination_helper->get_paginated_url( $permalink, ( $current_page + 1 ) ); } return null; } /** * Ensures a presentation is available. * * @param Indexable_Presentation $presentation The indexable presentation. * * @return Indexable_Presentation The presentation, taken from the current page if the input was invalid. */ protected function ensure_presentation( $presentation ) { if ( \is_a( $presentation, Indexable_Presentation::class ) ) { return $presentation; } $context = $this->context_memoizer->for_current_page(); return $context->presentation; } } #جبهة_البوليساريو Archives - i3lam tv - إعلام تيفي

#جبهة_البوليساريو

  • سياسة

    بعد افتتاح سفارتها بالرباط.. زيارة رسمية مرتقبة للرئيس الكيني للمغرب

    إيمان أوكريش يواصل المغرب وكينيا تعزيز علاقاتهما الثنائية بخطوات متسارعة منذ تولي الرئيس الكيني، ويليام روتو، منصبه سنة 2022، حيث شهدت العلاقات بين البلدين تطورًا تُوج بافتتاح كينيا سفارة لها في الرباط لأول مرة وتعيين جيسيكا موتوني جاكينيا سفيرة لها في المغرب خلال غشت الماضي. وكشفت صحيفة “أفريكا إنتجلنس” المتخصصة في الشؤون الإفريقية، في وقت سابق، أن الرئيس الكيني يستعد للقيام بأول زيارة رسمية له إلى المغرب عقب شهر رمضان. وذكرت الصحيفة أن هذه الزيارة كانت من بين المواضيع التي ناقشها وزير الخارجية المغربي، ناصر بوريطة، ونظيره الكيني، موساليا كودافادي، خلال اجتماعات الدورة الـ46 للمجلس التنفيذي للاتحاد الإفريقي بإثيوبيا. ومن…

  • الأخبار الرئيسية

    تنازع المصالح يقود لنشوب صراعات بينهما.. البوليساريو والجزائر تفقدان البوصلة

    إيمان أوكريش قبل أيام قليلة فقط، نشبت صراعات دامية بين “البوليساريو” والجيش الجزائري، في مشهد هزلي يترجم الخلاف مع من كانت تحسبه الجبهة الانفصالية حليفا. يذكر أن هذه المواجهات العنيفة بالرصاص، كان سببها خلافات حول تجارة المخدرات التي يستأثر بها بعض قادة  “البوليساريو” بالمخيمات. وغير بعيد عن هذا، فالمؤسسات التعليمية في الجزائر تعرف تصاعدًا في حالات التمييز العنصري والعنف ضد الطلبة الصحراويين القادمين من مخيمات تندوف، إذ تعرضت طالبات صحراويات في إحدى الثانويات الجزائرية للضرب المبرح من قبل زميلاتهن، بتوجيه ومشاركة من مدير المؤسسة، مما يعكس حجم العنصرية ضد هؤلاء الطلبة. لا تقتصر هذه الاعتداءات على هؤلاء الطلبة من قبل…

  • الأخبار الرئيسية

    “المأزق في نزاع الصحراء: فهم دور الجزائر والطريق إلى الحل“… إصدار عن النزاع المفتعل

    إيمان أوكريش: صحافية متدربة نشرت مؤخراً ياسمين حسناوي، أستاذة العلوم السياسية في الجامعة الأمريكية الدولية في الكويت، كتابها الجديد بعنوان “المأزق في نزاع الصحراء: فهم دور الجزائر والطريق إلى الحل“. يسلط الكتاب، الذي نشرته دار Rowman & Littlefield في الولايات المتحدة باللغة الإنجليزية، على دور الجزائر في إدامة النزاع المستمر حول الصحراء المغربية، حيث اعتمدت، في الكتاب، على البحث والمقابلات مع أكثر من ثلاثين شخصية رئيسية خلال سنوات. وفي حوار، خصت به “إعلام تيفي”، حول كتابها الأخير، أكدت الحسناوي أن اهتمامها بالقضية بدأ منذ عام 2008 عندما كانت أستاذة جامعية للثقافة في شمال إفريقيا واللغات، بالولايات المتحدة الأمريكية، حيث لاحظت…

  • سياسة

    ”فورساتين”… رفاهية قيادة ”البوليساريو” مقابل معاناة سكان تندوف

    إيمان أوكريش: صحافية متدربة كشف منتدى “فورساتين” عن تشييد إبراهيم غالي، زعيم جبهة “البوليساريو” الانفصالية، قصرا فاخرا في مخيمات تندوف بدعم مالي سخي من رجال أعمال جزائريين، بالإضافة إلى أموال مهربين وتجار مخدرات وأسلحة تربطهم علاقات وصفقات مشبوهة مع قيادة الجبهة، حسب تعبيره. وأوضح المنتدى أن هذا المشروع يأتي في وقت يعاني فيه سكان المخيمات من الجوع والحرمان، فيما يواصل غالي التمتع بالترف والبذخ. وأشار المنتدى إلى أن القصر الرئاسي الجديد، المعروف باسم مقر الكتابة العامة، يتم بناؤه بتمويل لا يقتصر على مصادر مشبوهة، بل يشمل أيضاً مساعدات خارجية مقدمة لدعم سكان المخيمات، بما في ذلك دعم الاتحاد الأوروبي وعدد…

  • الأخبار الرئيسية

    البوليساريو تعترف بالهجمات الإرهابية في المغرب: تصعيد خطير وتهديد للأمن الإقليمي

    بعد حادثة الاعتداء الإجرامي والإرهابي الغاشم الذي استهدف حياً سكنيًا في المغرب، وأسفر عن مقتل مواطن مغربي وإصابة ثلاثة آخرين، خرجت جبهة البوليساريو الانفصالية بتصريح مثير. قبل أن تعلن السلطات المغربية نتائج تحقيقها، أصدرت الجبهة بيانًا رسميًا أقرت فيه بتنفيذ الهجمات الإرهابية التي استهدفت مدينة السمارة بالصحراء المغربية في صباح يوم الأحد.

زر الذهاب إلى الأعلى